Re: cvs: phpweb / tips.php
| From: | Gabor Hojtsy | Date: | Fri, 25 Apr 2003 12:04:04 +0000 |
| Subject: | Re: cvs: phpweb / tips.php | ||
| References: | 1 2 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-17039@lists.php.net to get a copy of this message | ||
> > The images are now in the images dir
>
> Just a quick question ... shouldn't we endevour to replace all the lines
> like this:
>
> <img src="images/tips-quickref.gif" width="317" height="293"
> border="0"
> alt="Edit shortcut">
>
> With this:
>
> <?php print_image('tips-quickref.gif', 'Edit shortcut'); ?>
Well, yes, there are many literal <a>s and <img>s around. Maybe it is better
to print them out with print_image() and print_link(). I am not really keen
on this, but as most of the site is already done this way, it will probably
stay this way. There are quite some cleanup jobs to do on php.net, one of
those is to convert many such literal things to dynamic ones (maybe not all
of them).
Goba