web/html/participate/documentation-guide index.php,1.5,1.6

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


Author: kwade

Update of /cvs/fedora/web/html/participate/documentation-guide
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1227/documentation-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/documentation-guide/index.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- index.php	6 Dec 2005 19:41:26 -0000	1.5
+++ index.php	8 Dec 2005 11:03:40 -0000	1.6
@@ -1,3 +1,33 @@
 <?php
-header("Location: /docs/documentation-guide/")
-?>
\ No newline at end of file
+//
+// Easily-changeable template for redirection.
+//
+
+$NEWURL="http://fedora.redhat.com/docs/documentation-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 fedora-extras-commits mailing list