From: Andy F. <and...@us...> - 2004-11-08 23:16:26
|
Update of /cvsroot/phpwebsite-comm/modules/photobox/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26709/photobox/class Modified Files: Photobox.php Log Message: updated to make XHTML compliant Index: Photobox.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/photobox/class/Photobox.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Photobox.php 3 Nov 2004 19:58:28 -0000 1.2 --- Photobox.php 8 Nov 2004 23:15:17 -0000 1.3 *************** *** 95,101 **** //create content of block ! $content .= "<div align=" . $my_align . ">"; ! $content .= "<a href=\"./index.php?module=photoalbum&PHPWS_Photo_op=view&PHPWS_Album_id=".$albumdir."&PHPWS_Photo_id=".$photoid."\">"; ! $content .= "<img src=\"" . $photodir . $albumdir . "/" . $thumbname . "\" border=\"0\""; // check override flag and set width - if needed --- 95,101 ---- //create content of block ! $content .= "<div align=\"" . $my_align . "\">"; ! $content .= "<a href=\"./index.php?module=photoalbum&PHPWS_Photo_op=view&PHPWS_Album_id=".$albumdir."&PHPWS_Photo_id=".$photoid."\">"; ! $content .= "<img src=\"" . $photodir . $albumdir . "/" . $thumbname . "\" border=\"0\" " . "alt=\"" . $thumbname . "\" "; // check override flag and set width - if needed *************** *** 113,124 **** // check flag for view photo link if ($my_plink) { ! $content .= "<br /><a href='./index.php?module=photoalbum&PHPWS_Photo_op=view&PHPWS_Album_id=".$albumdir."&PHPWS_Photo_id=".$photoid; ! $content .= "'>" . $_SESSION["translate"]->it("View Photo") . "</a>\n"; } // check flag for view photo album link if ($my_alink) { ! $content .= "<br /><a href='./index.php?module=photoalbum&PHPWS_Album_op=view&PHPWS_Album_id=".$albumdir; ! $content .= "'>" . $_SESSION["translate"]->it("View Photo Album") . "</a>"; } --- 113,124 ---- // check flag for view photo link if ($my_plink) { ! $content .= "<br /><a href=\"./index.php?module=photoalbum&PHPWS_Photo_op=view&PHPWS_Album_id=".$albumdir."&PHPWS_Photo_id=".$photoid; ! $content .= "\">" . $_SESSION["translate"]->it("View Photo") . "</a>\n"; } // check flag for view photo album link if ($my_alink) { ! $content .= "<br /><a href=\"./index.php?module=photoalbum&PHPWS_Album_op=view&PHPWS_Album_id=".$albumdir; ! $content .= "\">" . $_SESSION["translate"]->it("View Photo Album") . "</a>"; } *************** *** 297,301 **** } ! $content .= "<br /><br /><a href=\"index.php?module=photobox&PHOTOBOX_OP=admin\">"; $content .= "<b>" . $_SESSION["translate"]->it("Back") . "</b></a>"; $GLOBALS["CNT_photobox"]["content"] = $content; --- 297,301 ---- } ! $content .= "<br /><br /><a href=\"index.php?module=photobox&PHOTOBOX_OP=admin\">"; $content .= "<b>" . $_SESSION["translate"]->it("Back") . "</b></a>"; $GLOBALS["CNT_photobox"]["content"] = $content; |