Changed proposed by Uli60, see https://bugs.cacert.org/view.php?id=910#c2226
authorBernhard Fröhlich <bernhard@cacert.org>
Mon, 1 Aug 2011 19:42:51 +0000 (21:42 +0200)
committerBernhard Fröhlich <bernhard@cacert.org>
Mon, 1 Aug 2011 19:42:51 +0000 (21:42 +0200)
pages/index/8.php [changed mode: 0644->0755]
www/index.php [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index e45090d..4d515a6
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 */ ?>
-<p><b><? printf(_("The current %s board, and roles."), "CAcert Inc."); ?></b></p>
-<p>
-Lambert Hofstra - <?=_("President")?><br/>
-Peter Yuill - <?=_("Vice President")?><br/>
-Alexander Prinsier - <?=_("Treasurer")?><br/>
-Mario Lipinski - <?=_("Secretary")?><br/>
-Piers Lauder - <?=_("member")?><br/>
-Ian Grigg - <?=_("member")?><br/>
-Dirk Astrath - <?=_("member")?><br/>
+<p style="background-color: #FF8080; font-size: 150%">
+<?
+printf(_("This page has been moved to the %swiki%s. Please update your ".
+               "bookmarks and report any broken links."),
+       '<a href="//wiki.cacert.org/Board">', '</a>');
+?>
 </p>
-Kevin Dawson - <?=_("Public Officer")?><br />
-<br />
-More detailed informations can be found in the CAcert wiki under <a href="//wiki.cacert.org/Board"><?=_("CAcert Board")?></a>
old mode 100644 (file)
new mode 100755 (executable)
index fb215c6..3afe111
        if(!array_key_exists('signup',$_SESSION) || $_SESSION['signup']['year'] < 1900)
                $_SESSION['signup']['year'] = "19XX";
 
+       if ($id == 8)
+       {
+               $protocol = $_SERVER['HTTPS'] ? 'https' : 'http';
+               $newUrl = $protocol . '://wiki.cacert.org/Board';
+               header('Location: '.$newUrl, true, 301); // 301 = Permanently Moved
+       }
+       
+       if ($id == 19)
+       {
+               $protocol = $_SERVER['HTTPS'] ? 'https' : 'http';
+               $newUrl = $protocol . '://wiki.cacert.org/FAQ/Privileges';
+               header('Location: '.$newUrl, true, 301); // 301 = Permanently Moved
+       }
+
        showheader(_("Welcome to CAcert.org"));
        includeit($id);
        showfooter();