From 8de28bd12565f66b7b168767a17210bb29a5a0aa Mon Sep 17 00:00:00 2001 From: Bernhard Froehlich Date: Sun, 25 Sep 2011 00:12:09 +0200 Subject: Changes from https://bugs.cacert.org/view.php?id=965#c2374 --- pages/account/37.php | 21 +++++++-------------- pages/account/38.php | 6 +++++- www/account.php | 4 ++++ 3 files changed, 16 insertions(+), 15 deletions(-) mode change 100644 => 100755 www/account.php diff --git a/pages/account/37.php b/pages/account/37.php index 4b021e0..48c737a 100755 --- a/pages/account/37.php +++ b/pages/account/37.php @@ -15,17 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ ?> -

- -

- -

", ""); ?>

- -

- -

- -

- -

-

http://wiki.cacert.org/wiki/CAcertIncorporated

+

+', ''); +?> +

diff --git a/pages/account/38.php b/pages/account/38.php index 34cbea4..f311bf5 100755 --- a/pages/account/38.php +++ b/pages/account/38.php @@ -19,7 +19,11 @@

-

+

+', ''); +?>

diff --git a/www/account.php b/www/account.php old mode 100644 new mode 100755 index 434053f..d1dd695 --- a/www/account.php +++ b/www/account.php @@ -64,6 +64,10 @@ die("No such file."); } exit; + } else if ($id == 37) { + $protocol = $_SERVER['HTTPS'] ? 'https' : 'http'; + $newUrl = $protocol . '://wiki.cacert.org/FAQ/AboutUs'; + header('Location: '.$newUrl, true, 301); // 301 = Permanently Moved } else { showheader(_("My CAcert.org Account!")); includeit($id, "account"); -- cgit v1.2.1