cvs: phpweb / index.php tips.php

From: Date: Thu, 08 Mar 2001 20:41:11 +0000
Subject: cvs: phpweb / index.php tips.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-4259@lists.php.net to get a copy of this message
jimw Thu Mar 8 12:41:11 2001 EDT Modified files: /phpweb index.php tips.php Log: put introductory text in sidebar on main page, move a tip from the main page to the tips page Index: phpweb/index.php diff -u phpweb/index.php:1.42 phpweb/index.php:1.43 --- phpweb/index.php:1.42 Thu Mar 8 12:16:04 2001 +++ phpweb/index.php Thu Mar 8 12:41:10 2001 @@ -1,6 +1,28 @@ <?php require_once 'prepend.inc'; +$SIDEBAR_DATA = ' +<b>What is PHP?</b> +<p> +PHP is a server-side, cross-platform, HTML embedded scripting +language. If you are completely new to PHP and want to get some idea +of how it works, have a look at the <a href="/tut.php">Introductory +Tutorial</a>. Once you get beyond that, have a look at the example +archive sites and some of the other resources available in the <a +href="/links.php">Links</a> section. +</p> +<b>So, How Much Does It Cost?</b> +<p> +This may sound a little foreign to all you folks coming from a non-Unix +background, but PHP doesn\'t cost anything. You can use it for commercial +and/or non-commercial use all you want. You can give it to your friends, +print it out and hang it on your wall or eat it for lunch. Welcome to +the world of <a href="http://www.opensource.org/">Open Source</a> software! +Smile, be happy, the world is good. For the full legalese, see the +official <a href="/license/">license</a>. +</p> +'; + commonHeader("Hypertext Preprocessor"); echo "\n<!--$MYSITE-->\n"; @@ -124,17 +146,6 @@ <? echo hdelim(); ?> <h1> -Manual Search Tip -</h1> -<p> -You can go directly to PHP manual pages with a URL such as -<? print_link("http://www.php.net/strlen", "www.php.net/strlen"); ?>. -<br clear="all"> -</p> - -<? echo hdelim(); ?> - -<h1> Tips and Tricks Section </h1> <p> @@ -162,35 +173,6 @@ <? echo hdelim(); ?> -<h1> -What Is PHP? -</h1> -<p> -PHP is a server-side, cross-platform, HTML embedded scripting language. -If you are completely new to PHP and want to get some idea of how it works, -have a look at the <? print_link("/tut.php", "Introductory Tutorial"); ?>. -Once you get beyond that, have a look at the example archive sites and some -of the other resources available in the <? print_link("/links.php", "Links"); ?> section. -<br clear="all"> -</p> - - -<? echo hdelim(); ?> - - -<h1> -So, How Much Does It Cost? -</h1> -<p> -This may sound a little foreign to all you folks coming from a non-Unix -background, but PHP doesn't cost anything. You can use it for commercial -and/or non-commercial use all you want. You can give it to your friends, -print it out and hang it on your wall or eat it for lunch. Welcome to -the world of <? print_link("http://www.opensource.org", "Open Source"); ?> software! -Smile, be happy, the world is good. For the full legalese, see the -official <? print_link("/license.html", "license"); ?>. -<br clear="all"> -</p> <? commonFooter(); Index: phpweb/tips.php diff -u phpweb/tips.php:1.11 phpweb/tips.php:1.12 --- phpweb/tips.php:1.11 Thu Mar 8 12:33:17 2001 +++ phpweb/tips.php Thu Mar 8 12:41:10 2001 @@ -32,7 +32,12 @@ Send your suggestions for tips to <A HREF="mailto:webmaster@php.net">webmaster@php.net</A>. </P> -<?php tipTitle('Adding the Quick Reference to most Javascript-capable Browsers', 'Jim Winstead', '07-Mar-2001'); ?> +<?php tipTitle('Shortcut URLs for the Manual', '', '08-Mar-2001');?> + +<p>You can go directly to PHP manual pages by using a URL such as: +<a href="/strlen">http://www.php.net/strlen</a>.</p> + +<?php tipTitle('Adding the Quick Reference to most Javascript-capable Browsers', '', '07-Mar-2001'); ?> <p>Just right-click (command-click for Macintosh users) on this link: <a href="javascript:void(q=prompt('PHP Reference:',''));if(q)location.href='http://www.php.net/manual-lookup.php?lang=en&function='+escape(q)" title="PHP Quick Reference">PHP Quick Reference</A> and add it to your bookmarks. With some browsers, you may need to edit your bookmarks manually to give the bookmark an easy-to-remember title. You can also edit the bookmark to change the default language by changing 'lang=en' to whatever language you want to use by default. (For example, to pull up the German translation of the manual, you would replace "lang=en" with "lang=de".) </p>

« previous php.mirrors (#4259) next »