Changeset 21039
- Timestamp:
- Feb 25, 2013, 10:16:10 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/picture.php
r20609 r21039 773 773 array('action'=>'add_to_caddie') 774 774 ), 775 'U_ADMIN' => $url_admin, 775 'U_PHOTO_ADMIN' => $url_admin, 776 'U_ADMIN' => $url_admin, // TEMP 2.5 for backward compatibility 776 777 ) 777 778 ); … … 986 987 if (!isset($page['start'])) $page['start'] = 0; 987 988 include( PHPWG_ROOT_PATH.'include/menubar.inc.php'); 988 if (is_admin()) $template->assign('U_ADMIN', $url_admin); // overwrited by the menu 989 if (is_admin()) $template->assign('U_ADMIN', $url_admin); // overwrited by the menu TEMP 2.5 for backward compatibility 989 990 } 990 991 -
trunk/themes/default/template/picture.tpl
r19581 r21039 88 88 </a> 89 89 {/if}{/strip} 90 {strip}{if isset($U_ ADMIN)}91 <a href="{$U_ ADMIN}" title="{'Modify information'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">90 {strip}{if isset($U_PHOTO_ADMIN)} 91 <a href="{$U_PHOTO_ADMIN}" title="{'Modify information'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> 92 92 <span class="pwg-icon pwg-icon-edit"> </span><span class="pwg-button-text">{'Edit'|@translate}</span> 93 93 </a>
Note: See TracChangeset
for help on using the changeset viewer.