web/html/participate/developers-guide index.php,1.3,1.4

Karsten Wade (kwade) fedora-extras-commits at redhat.com
Thu Dec 8 11:03:24 UTC 2005


Author: kwade

Update of /cvs/fedora/web/html/participate/developers-guide
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1227/developers-guide

Modified Files:
	index.php 
Log Message:
Trying to get content moved to new locations with proper redirect pages left behind.


Index: index.php
===================================================================
RCS file: /cvs/fedora/web/html/participate/developers-guide/index.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- index.php	6 Dec 2005 19:41:15 -0000	1.3
+++ index.php	8 Dec 2005 11:03:21 -0000	1.4
@@ -1,3 +1,33 @@
 <?php
-header("Location: /docs/developers-guide/")
+//
+// Easily-changeable template for redirection.
+//
+
+$NEWURL="http://fedora.redhat.com/docs/developers-guide/";
+
+include("site.inc");
+
+$template = new Page;
+$template->initCommon();
+$template->displayHeader();
+
+?>
+<h1>This Page Has Moved</h1>
+
+<p>
+The new location is:
+</p>
+
+<ul>
+ <li><a href="<?php echo $NEWURL; ?>"><?php echo $NEWURL; ?></a></li>
+</ul>
+
+<p>
+Please update your links or bookmarks accordingly.
+</p>
+
+<?php
+
+$template->displayFooter('$Date$');
+
 ?>




More information about the scm-commits mailing list