cvs: phpweb / source.php

From: Date: Sun, 08 Jul 2001 13:28:44 +0000
Subject: cvs: phpweb / source.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-5365@lists.php.net to get a copy of this message
goba Sun Jul 8 09:28:44 2001 EDT Modified files: /phpweb source.php Log: New sidebar, listing more include files we use Index: phpweb/source.php diff -u phpweb/source.php:1.6 phpweb/source.php:1.7 --- phpweb/source.php:1.6 Sun Jul 8 08:13:48 2001 +++ phpweb/source.php Sun Jul 8 09:28:43 2001 @@ -1,5 +1,26 @@ <?php require_once 'prepend.inc'; + +$SIDEBAR_DATA = ' +<p> +The syntax highlighted source is automatically generated by PHP from +the plaintext script.<br><br> + +If you\'re interested in what\'s behind the several functions we +used, you can always take a look at the source of the +&nbsp; ' . make_link("/source.php?url=/include/shared.inc", "shared.inc") . ', +&nbsp; ' . make_link("/source.php?url=/include/prepend.inc", "prepend.inc") . ', +&nbsp; ' . make_link("/source.php?url=/include/site.inc", "site.inc") . ', +&nbsp; ' . make_link("/source.php?url=/include/layout.inc", "layout.inc") . ', +&nbsp; ' . make_link("/source.php?url=/include/shared-manual.inc", "shared-manual.inc") . ' and +&nbsp; ' . make_link("/source.php?url=/include/manual-lookup.inc", "manual-lookup.inc") . ' +files.<br><br> + +Of course, if you want to see the source of this page, have a look ' . +make_link("/source.php?url=/source.php", "here") . '. +</p> +'; + commonHeader("Show Source"); if (!isset($url)) { @@ -38,23 +59,6 @@ echo "<p>No file specified. Can't show source for a directory.</p>\n"; } -if (!strstr($page_name,"include/shared.inc")) { - -echo hdelim(); - -?> -<p> -The syntax highlighted source is automatically generated by PHP from -the plaintext script.<br> If you're interested in what's behind -the <B>commonHeader()</B> and <B>commonFooter()</B> functions, -you can always take a look at the source of the -<?php print_link("/source.php?url=/include/shared.inc", "shared.inc"); ?> and -<?php print_link("/source.php?url=/include/layout.inc", "layout.inc"); ?> files. -And, of course, if you want to see the source of this page, have a look -<?php print_link("/source.php?url=/source.php", "here"); ?>. -</p> -<?php -} - commonFooter(); + ?>

« previous php.mirrors (#5365) next »