Ignore:
Timestamp:
Oct 17, 2011, 8:59:07 PM (13 years ago)
Author:
mistic100
Message:

feature:2471 [Batch Manager] "zoom" and "edit" links over each thumbnail

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/template/batch_manager_global.tpl

    r12456 r12474  
    11{include file='include/tag_selection.inc.tpl'}
    22{include file='include/datepicker.inc.tpl'}
     3{include file='include/colorbox.inc.tpl'}
    34
    45{footer_script}{literal}
     
    1213{footer_script require='jquery.tokeninput'}
    1314jQuery(document).ready(function() {ldelim}
     15  jQuery("a.preview-box").colorbox();
     16 
    1417        var tag_src = [{foreach from=$tags item=tag name=tags}{ldelim}name:"{$tag.name|@escape:'javascript'}",id:"{$tag.id}"{rdelim}{if !$smarty.foreach.tags.last},{/if}{/foreach}];
    1518  jQuery("#tags").tokenInput(
     
    549552        {/if}
    550553
    551       <li><span class="wrap1">
     554      <li>
     555        <span class="wrap1">
    552556          <label>
    553557            <span class="wrap2{if $isSelected} thumbSelected{/if}">
    554         {if $thumbnail.LEVEL > 0}
    555         <em class="levelIndicatorB">{$pwg->l10n($pwg->sprintf('Level %d',$thumbnail.LEVEL))}</em>
    556         <em class="levelIndicatorF" title="{'Who can see these photos?'|@translate} : ">{$pwg->l10n($pwg->sprintf('Level %d',$thumbnail.LEVEL))}</em>
    557         {/if}
    558             <span>
    559               <img src="{$thumbnail.TN_SRC}"
    560                  alt="{$thumbnail.FILE}"
    561                  title="{$thumbnail.TITLE|@escape:'html'}"
    562                  class="thumbnail">
    563             </span></span>
     558            <div class="actions"><a href="{$thumbnail.FILE_SRC}" class="preview-box">{'Zoom'|@translate}</a> | <a href="{$thumbnail.U_EDIT}" target="_blank">{'Edit'|@translate}</a></div>
     559              {if $thumbnail.LEVEL > 0}
     560              <em class="levelIndicatorB">{$pwg->l10n($pwg->sprintf('Level %d',$thumbnail.LEVEL))}</em>
     561              <em class="levelIndicatorF" title="{'Who can see these photos?'|@translate} : ">{$pwg->l10n($pwg->sprintf('Level %d',$thumbnail.LEVEL))}</em>
     562              {/if}
     563              <span>
     564                <img src="{$thumbnail.TN_SRC}"
     565                   alt="{$thumbnail.FILE}"
     566                   title="{$thumbnail.TITLE|@escape:'html'}"
     567                   class="thumbnail">
     568              </span>
     569            </span>
    564570            <input type="checkbox" name="selection[]" value="{$thumbnail.ID}" {if $isSelected}checked="checked"{/if}>
    565571          </label>
    566           </span>
     572        </span>
    567573      </li>
    568574      {/foreach}
Note: See TracChangeset for help on using the changeset viewer.