Changeset 840 in ExiteCMS for modules/common/gallery/php-files/modules/gallery/lib/content.php
- Timestamp:
- 09/26/07 00:39:24 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/common/gallery/php-files/modules/gallery/lib/content.php
r833 r840 40 40 $buf .= '</a>'; 41 41 } 42 $buf .= ' '; 42 43 43 44 if ($gallery->user->canChangeTextOfAlbum($album)) { … … 45 46 $buf = "<i><". gTranslate('common', "Empty") . "></i>"; 46 47 } 47 $url = "edit_field.php?set_albumName={$album->fields['name']}&field=$field"; // should replace with & for validatation 48 $buf .= ' <span class="editlink">'; 49 $buf .= popup_link( "[". sprintf(gTranslate('common', "edit %s"), gTranslate('common', $field)) . "]", $url) ; 50 $buf .= '</span>'; 48 $iconText = getIconText('page_edit.gif', gTranslate('core', sprintf(gTranslate('common', "edit %s"), gTranslate('common', $field))), 'yes'); 49 $buf .= popup_link($iconText, "edit_field.php?set_albumName={$album->fields['name']}&field=$field"); 50 51 51 } 52 52 … … 149 149 </tr> 150 150 <tr> 151 <td colspan="2" class="commentboxfooter" align="right"><input name="save" type="submit" value="<?php echo gTranslate('common', "Post comment") ?>"></td>151 <td colspan="2" class="commentboxfooter" align="right"><input name="save" type="submit" class="button" value="<?php echo gTranslate('common', "Post comment") ?>"></td> 152 152 </tr> 153 153 </table> … … 557 557 } 558 558 559 if (file_exists("$base/images/icons/$iconName")) { 559 if (file_exists(PATH_THEME."images/$iconName")) { 560 $imgSrc = THEME .'images/'. $iconName; 561 $linkText = "<img src=\"$imgSrc\" title=\"$altText\" alt=\"$altText\" style=\"border: none;\">"; 562 563 if ($iconMode == "both") { 564 $linkText .= "<br>$text"; 565 } 566 } elseif (file_exists("$base/images/icons/$iconName")) { 560 567 $imgSrc = $gallery->app->photoAlbumURL .'/images/icons/'. $iconName; 561 568 $linkText = "<img src=\"$imgSrc\" title=\"$altText\" alt=\"$altText\" style=\"border: none;\">";
Note: See TracChangeset
for help on using the changeset viewer.
