cvs: pres2 / objects.php

From: Date: Fri, 29 Nov 2002 18:11:49 +0000
Subject: cvs: pres2 / objects.php
Groups: php.pres 
Request: Send a blank email to pres+get-556@lists.php.net to get a copy of this message
rasmus Fri Nov 29 13:11:49 2002 EDT Modified files: /pres2 objects.php Log: Put the current slide filename in the alt tag of the top-left logo to make it easy to figure out which on-disk file generated the current slide. Index: pres2/objects.php diff -u pres2/objects.php:1.126 pres2/objects.php:1.127 --- pres2/objects.php:1.126 Thu Nov 21 15:39:20 2002 +++ pres2/objects.php Fri Nov 29 13:11:49 2002 @@ -247,7 +247,7 @@ if(!empty($this->logoimage1url)) $logo1url = $this->logoimage1url; else $logo1url = $pres[1]->logoimage1url; if(!empty($logo1)) { - echo "<a href=\"$logo1url\"><img src=\"$logo1\" border=\"0\" align=\"left\" style=\"float: left;\"></a>"; + echo "<a href=\"$logo1url\"><img src=\"$logo1\" border=\"0\" align=\"left\" style=\"float: left;\" alt=\"".$pres[1]->slides[$slideNum]->filename."\"></a>"; $offset+=2; } echo "<div align=\"center\" style=\"font-size: $this->titleSize; margin: 0 ".$offset."em 0 0;\"><a href=\"http://$_SERVER[HTTP_HOST]$baseDir$showScript/$currentPres/$slideNum\" style=\"text-decoration: none; color: $this->titleColor;\">$this->title</a></div>";

« previous php.pres (#556) next »