{include file='include/autosize.inc.tpl'} {include file='include/datepicker.inc.tpl'} {include file='include/colorbox.inc.tpl'} {combine_css path='themes/default/js/plugins/jquery.tokeninput.css'} {combine_script id='jquery.tokeninput' load='async' require='jquery' path='themes/default/js/plugins/jquery.tokeninput.js'} {footer_script require='jquery.tokeninput'} jQuery(document).ready(function() {ldelim} jQuery('select[name|="tags"]').tokenInput( [{foreach from=$tags item=tag name=tags}{ldelim}name:"{$tag.name|@escape:'javascript'}",id:"{$tag.id}"{rdelim}{if !$smarty.foreach.tags.last},{/if}{/foreach}], {ldelim} hintText: '{'Type in a search term'|@translate}', noResultsText: '{'No results'|@translate}', searchingText: '{'Searching...'|@translate}', newText: ' ({'new'|@translate})', animateDropdown: false, preventDuplicates: true, allowFreeTagging: true } ); jQuery("a.preview-box").colorbox(); }); {/footer_script}

{'Batch Manager'|@translate}

{'Display options'|@translate}

{'photos per page'|@translate} : 5 | 10 | 50 | {'all'|@translate}

{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} {if !empty($elements) }
{foreach from=$elements item=element}
{$element.LEGEND}
{'Edit'|@translate}
{'Title'|@translate}
{'Author'|@translate}
{'Creation date'|@translate} {footer_script} pwg_initialization_datepicker("#date_creation_day-{$element.id}", "#date_creation_month-{$element.id}", "#date_creation_year-{$element.id}", "#date_creation_linked_date-{$element.id}", "#date_creation_action_set-{$element.id}"); {/footer_script}
{'Who can see this photo?'|@translate}
{'Tags'|@translate}
{'Description'|@translate}
{/foreach} {if !empty($navbar)}{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}

{/if}
{footer_script} {literal}$(document).ready(function() { $(".elementEdit img") .fadeTo("slow", 0.6) // Opacity on page load .hover(function(){ $(this).fadeTo("slow", 1.0); // Opacity on hover },function(){ $(this).fadeTo("slow", 0.6); // Opacity on mouseout }); });{/literal} {/footer_script}