Changeset 27796


Ignore:
Timestamp:
03/17/14 10:23:18 (5 years ago)
Author:
plg
Message:

picture.tpl: replace U_ADMIN by U_PHOTO_ADMIN (changed in 2.5, removed in 2.6)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/luciano/template/picture.tpl

    r18606 r27796  
    1010  <div class="imageNumber">{$PHOTO}</div> 
    1111  <ul class="randomButtons"> 
    12     {if isset($U_SLIDESHOW_START)               }<li><a href="{$U_SLIDESHOW_START}" title="{'slideshow'|@translate}" id="bn-slideshowPlay" rel="nofollow">{'slideshow'|@translate}</a></li>{/if} 
    13     {if isset($U_SLIDESHOW_STOP)                }<li><a href="{$U_SLIDESHOW_STOP}" title="{'slideshow_stop'|@translate}" id="bn-slideshowStop" rel="nofollow">{'slideshow_stop'|@translate}</a></li>{/if} 
    14     {if isset($PLUGIN_PICTURE_ACTIONS)  }<li>{$PLUGIN_PICTURE_ACTIONS}</li>{/if} 
    15     {if isset($favorite)                                }<li><a href="{$favorite.U_FAVORITE}" title="{$favorite.FAVORITE_HINT}" id="bn-favourite">{$favorite.FAVORITE_HINT}</a></li>{/if} 
     12    {if isset($U_SLIDESHOW_START)}<li><a href="{$U_SLIDESHOW_START}" title="{'slideshow'|@translate}" id="bn-slideshowPlay" rel="nofollow">{'slideshow'|@translate}</a></li>{/if} 
     13    {if isset($U_SLIDESHOW_STOP)}<li><a href="{$U_SLIDESHOW_STOP}" title="{'slideshow_stop'|@translate}" id="bn-slideshowStop" rel="nofollow">{'slideshow_stop'|@translate}</a></li>{/if} 
     14    {if isset($PLUGIN_PICTURE_ACTIONS)}<li>{$PLUGIN_PICTURE_ACTIONS}</li>{/if} 
     15    {if isset($favorite)}<li><a href="{$favorite.U_FAVORITE}" title="{$favorite.FAVORITE_HINT}" id="bn-favourite">{$favorite.FAVORITE_HINT}</a></li>{/if} 
    1616    {if !empty($U_SET_AS_REPRESENTATIVE)}<li><a href="{$U_SET_AS_REPRESENTATIVE}" title="{'set as category representative'|@translate}" id="bn-higlight">{'representative'|@translate}</a></li>{/if} 
    17     {if isset($U_ADMIN)                                 }<li><a href="{$U_ADMIN}" title="{'link_info_image'|@translate}" id="bn-edit">{'edit'|@translate}</a></li>{/if} 
    18     {if isset($U_CADDIE)                                }{*caddie management BEGIN*} 
     17    {if isset($U_PHOTO_ADMIN)}<li><a href="{$U_PHOTO_ADMIN}" title="{'link_info_image'|@translate}" id="bn-edit">{'edit'|@translate}</a></li>{/if} 
     18    {if isset($U_CADDIE)}{*caddie management BEGIN*} 
    1919                      <script type="text/javascript">{literal}function addToCadie(aElement, rootUrl, id){if (aElement.disabled) return;aElement.disabled=true;var y=new PwgWS(rootUrl);y.callService("pwg.caddie.add",{image_id: id},{onFailure:function(num,text){alert(num+" "+text);document.location=aElement.href;},onSuccess:function(result){aElement.disabled=false;}});}{/literal}</script> 
    2020                      <li><a href="{$U_CADDIE}" onclick="addToCadie(this, '{$ROOT_URL|@escape:'javascript'}', {$current.id}); return false;" title="{'add to caddie'|@translate}" id="bn-caddie">{'caddie'|@translate}</a></li> 
Note: See TracChangeset for help on using the changeset viewer.