Changeset 836 in ExiteCMS for modules/common/gallery/php-files/modules/gallery/view_album.php
- Timestamp:
- 09/23/07 23:49:33 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/common/gallery/php-files/modules/gallery/view_album.php
r833 r836 606 606 } 607 607 608 $va_poll_box3 = sprintf(gTranslate('core', "To vote for an image, click on %s."), $options); 609 $va_poll_box3 .= ' '; 610 $va_poll_box3 .= sprintf(gTranslate('core', "You MUST click on %s for your vote to be recorded."), "<b>".gTranslate('core', "Vote")."</b>"); 611 $va_poll_box3 .= ' '; 608 $va_poll_box3 = ""; 609 // $va_poll_box3 = sprintf(gTranslate('core', "To vote for an image, click on %s."), $options); 610 // $va_poll_box3 .= ' '; 611 // $va_poll_box3 .= sprintf(gTranslate('core', "You MUST click on %s for your vote to be recorded."), "<b>".gTranslate('core', "Vote")."</b>"); 612 // $va_poll_box3 .= ' '; 612 613 if ($gallery->album->getPollType() == 'rank') { 613 614 $voteCount = $gallery->album->getPollScale(); … … 617 618 } 618 619 else { 619 $va_poll_box3 .= gTranslate('core', "You can change your votes later, if you wish.");620 // $va_poll_box3 .= gTranslate('core', "You can change your votes later, if you wish."); 620 621 } 621 622 … … 623 624 echo $va_poll_box3; 624 625 echo "\n</div>\n"; 625 ?>626 <div align="center">627 <input type=submit name="Vote" value="<?php print gTranslate('core', "Vote") ?>">628 </div>629 630 <?php631 626 } 632 627 ?> … … 809 804 // Caption itself 810 805 echo "\n<div align=\"center\" class=\"modcaption\">\n"; 806 $capt = ""; 811 807 $id = $gallery->album->getPhotoId($i); 812 808 if ($gallery->album->isHidden($i) && !$gallery->session->offline) { 813 echo "(" . gTranslate('core', "hidden") .")<br>";809 $capt .= ($capt == "" ? "" : "* ") . gTranslate('core', "hidden"); 814 810 } 815 811 $photo = $gallery->album->getPhoto($i); 816 812 if ($gallery->user->canWriteToAlbum($gallery->album) && 817 813 $photo->isHighlight() && !$gallery->session->offline) { 818 echo "(" . gTranslate('core', "highlight") .")<br>"; 819 } 814 $capt .= ($capt == "" ? "" : " * ") . gTranslate('core', "hightlight"); 815 } 816 echo $capt,"<br>"; 820 817 if (isset($myAlbum)) { 821 818 $myDescription = $myAlbum->fields['description'];
Note: See TracChangeset
for help on using the changeset viewer.
