cvs: phpweb / index.php
| From: | Gabor Hojtsy | Date: | Thu, 14 Aug 2003 11:41:15 +0000 |
| Subject: | cvs: phpweb / index.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-20271@lists.php.net to get a copy of this message | ||
goba Thu Aug 14 07:41:15 2003 EDT
Modified files:
/phpweb index.php
Log:
Let the server spend it's resources on more important things
than generating the very same HTML code again and again for
every request
Index: phpweb/index.php
diff -u phpweb/index.php:1.427 phpweb/index.php:1.428
--- phpweb/index.php:1.427 Thu Aug 14 07:21:29 2003
+++ phpweb/index.php Thu Aug 14 07:41:15 2003
@@ -44,58 +44,53 @@
// This goes to the left sidebar of the front page
$SIDEBAR_DATA = '
<h3>What is PHP?</h3>
-
<p>
-<acronym title="recursive acronym for PHP: Hypertext
Preprocessor">PHP</acronym>
-is a widely-used general-purpose scripting language that is
-especially suited for Web development and can be embedded into HTML.
-If you are new to PHP and want to get some idea
-of how it works, try the ' . make_link("/tut.php", "introductory
tutorial") . '.
-After that, check out the online ' . make_link("/docs.php", "manual") .
',
-and the example archive sites and some of the other resources
-available in the ' . make_link("/links.php", "links section") . '.
+ <acronym title="recursive acronym for PHP: Hypertext
Preprocessor">PHP</acronym>
+ is a widely-used general-purpose scripting language that is
+ especially suited for Web development and can be embedded into HTML.
+ If you are new to PHP and want to get some idea
+ of how it works, try the <a href="/tut.php">introductory tutorial</a>.
+ After that, check out the online <a href="/docs.php">manual</a>,
+ and the example archive sites and some of the other resources
+ available in the <a href="/links.php">links section</a>.
</p>
-
<p>
-Ever wondered how popular PHP is? see the ' .
-make_link("/usage.php", "Netcraft Survey") . '.
+ Ever wondered how popular PHP is? see the
+ <a href="/usage.php">Netcraft Survey</a>.
</p>
-
<p>
-PHP is a project of the ' .
-make_link("http://www.apache.org/","Apache
Software Foundation") . '.
+ PHP is a project of the
+ <a href="http://www.apache.org/">Apache
Software Foundation</a>.
</p>
-<h3>' . make_link("/thanks.php", "Thanks To") . '</h3>
- ' . make_link("http://www.easydns.com/?V=698570efeb62a6e2",
"easyDNS") . '<br />
- ' . make_link("http://www.directi.com/", "Directi") .
'<br />
- ' . make_link("http://promote.pair.com/direct.pl?php.net",
"pair Networks") . '<br />
- ' . make_link("http://www.rackshack.net/", "RackShack")
. ' <br />
- ' . make_link("http://www.redundant.com/", "Redundant
Networks") . '<br />
- ' . make_link("http://www.simplicato.com/?a=1007",
"Simplicato") . '<br />
- ' . make_link("http://www.rackspace.com/?supbid=php.net",
"Rackspace") . '<br />
+<h3><a href="/thanks.php">Thanks To</a></h3>
+ <a href="http://www.easydns.com/?V=698570efeb62a6e2">easyDNS</a><br
/>
+ <a href="http://www.directi.com/">Directi</a><br
/>
+ <a href="http://promote.pair.com/direct.pl?php.net">pair
Networks</a><br />
+ <a href="http://www.rackshack.net/">RackShack</a><br
/>
+ <a href="http://www.redundant.com/">Redundant
Networks</a><br />
+ <a href="http://www.simplicato.com/?a=1007">Simplicato</a><br
/>
+ <a href="http://www.rackspace.com/?supbid=php.net">Rackspace</a><br
/>
<h3>Related sites</h3>
- ' . make_link("http://www.apache.org/", "Apache") .
'<br />
- ' . make_link("http://www.mysql.com/", "MySQL") .
'<br />
- ' . make_link("http://www.postgresql.org/",
"PostgreSQL") . '<br />
- ' . make_link("http://www.zend.com/", "Zend Technologies") .
'<br />
+ <a href="http://www.apache.org/">Apache</a><br />
+ <a href="http://www.mysql.com/">MySQL</a><br />
+ <a href="http://www.postgresql.org/">PostgreSQL</a><br
/>
+ <a href="http://www.zend.com/">Zend
Technologies</a><br />
<h3>Community</h3>
- ' . make_link("http://www.devnetwork.net/", "PHP Developers
Network") . '<br />
- ' . make_link("http://www.linuxfund.org/",
"LinuxFund.org") . '<br />
- ' . make_link("http://www.osdn.org/", "OSDN") . '<br
/>
+ <a href="http://www.devnetwork.net/">PHP Developers
Network</a><br />
+ <a href="http://www.linuxfund.org/">LinuxFund.org</a><br
/>
+ <a href="http://www.osdn.org/">OSDN</a><br />
<h3>Syndication</h3>
-
<p>
-You can grab our news as an RSS feed via a daily dump in a file
-named <a href="/news.rss">news.rss</a>.
+ You can grab our news as an RSS feed via a daily dump in a file
+ named <a href="/news.rss">news.rss</a>.
</p>
<h3>Contact</h3>
-
<p>
-Please submit website bugs in the ' .
-make_link('http://bugs.php.net/', 'bug
system') . '.
+ Please submit website bugs in the
+ <a href="http://bugs.php.net/">bug
system</a>.
</p>';
// Possible mirror provider logo