Ignore:
Timestamp:
Apr 27, 2011, 11:53:35 PM (9 years ago)
Author:
mistic100
Message:

feature:2269 add preview box on batch_manager_unit + add colorbox jquery plugin

File:
1 edited

Legend:

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

    r10422 r10648  
    1 
    21{include file='include/autosize.inc.tpl'}
    32{include file='include/datepicker.inc.tpl'}
     3{include file='include/colorbox.inc.tpl'}
    44
    55{combine_script id='jquery.fcbkcomplete' load='async' require='jquery' path='themes/default/js/plugins/jquery.fcbkcomplete.js'}
     
    2626                newel: true
    2727        });
     28 
     29  $("a.preview-box").colorbox();
    2830});
    2931{/literal}{/footer_script}
     
    5153  <legend>{$element.LEGEND}</legend>
    5254
    53   <a href="{$element.U_EDIT}"><img src="{$element.TN_SRC}" alt="" title="{'Edit photo information'|@translate}"></a>
     55  <span class="thumb">
     56    <a href="{$element.FILE_SRC}" class="preview-box" title="{$element.LEGEND}"><img src="{$element.TN_SRC}" alt=""></a>
     57    <br/>
     58    <a href="{$element.U_EDIT}">{'Informations'|@translate}</a>
     59  </span>
    5460
    5561  <table>
Note: See TracChangeset for help on using the changeset viewer.