| [ PHPXref.com ] | [ Generated: Sun Jul 20 17:56:12 2008 ] | [ Gallery 1.5.3 ] |
| [ Index ] [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Summary view] [Print] [Text view]
1 <?php /* $Id: commentbox.inc,v 1.23 2005/10/17 17:46:12 jenst Exp $ */ ?> 2 <?php 3 global $gallery, $comment, $index, $j; 4 5 $fromString = wordwrap($comment->getName(), 50, " ", 1) .' '. $comment->getDatePosted(); 6 if ($gallery->user->isAdmin() || $gallery->user->isOwnerOfAlbum($gallery->album)) { 7 $fromString .= ' (@'. strip_tags($comment->getIPNumber()) .')'; 8 } 9 ?> 10 <table width="100%" border="0" cellspacing="0" cellpadding="0" class="albumdesc"> 11 <tr> 12 <td width="75%" class="admin"><?php echo sprintf(_("From: %s"), $fromString); ?></td> 13 <td><?php 14 if ($gallery->user->canWriteToAlbum($gallery->album)) { 15 echo '<span class="admin">'. _("Delete") .'<input type="checkbox" name="comment_index['. $j .']"></span>'; 16 } 17 ?></td> 18 </tr> 19 <tr> 20 <td style="border-top:1px solid black" width="75%" height="20" valign="top" class="albumdesc"><?php echo wordwrap($comment->getCommentText(), 100, " ", 1) ?></td> 21 </tr> 22 </table> 23 <br>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| [ Powered by PHPXref - Served by Debian GNU/Linux ] |