{include file='include/autosize.inc.tpl'} {include file='include/datepicker.inc.tpl'} {include file='include/colorbox.inc.tpl'} {combine_script id='jquery.tokeninput' load='async' require='jquery' path='themes/default/js/plugins/jquery.tokeninput.js'} {footer_script require='jquery.tokeninput'} var tag_boxes_selector = ""; {foreach from=$elements item=element name=element} {if $smarty.foreach.element.first} var prefix = ""; {else} prefix = ", "; {/if} tag_boxes_selector = tag_boxes_selector + prefix + "#tags-" + {$element.ID}; {/foreach} {literal} jQuery(document).ready(function() { jQuery.getJSON('admin.php?fckb_tags=1', function(data) { jQuery(tag_boxes_selector).tokenInput( data, { {/literal} hintText: '{'Type in a search term'|@translate}', noResultsText: '{'No results'|@translate}', searchingText: '{'Searching...'|@translate}', newText: ' ({'new'|@translate})', animateDropdown: false, preventDuplicates: true, allowCreation: true {literal} } ); }); $("a.preview-box").colorbox(); }); {/literal}{/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}
{'Informations'|@translate}
{'Name'|@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}