{include file='include/autosize.inc.tpl'} {include file='include/dbselect.inc.tpl'} {include file='include/datepicker.inc.tpl'} {combine_script id='LocalStorageCache' load='footer' path='admin/themes/default/js/LocalStorageCache.js'} {combine_script id='jquery.selectize' load='footer' path='themes/default/js/plugins/selectize.min.js'} {combine_css id='jquery.selectize' path="themes/default/js/plugins/selectize.default.css"} {footer_script} (function(){ {* *} var categoriesCache = new LocalStorageCache('categoriesAdminList', 60, function(callback) { jQuery.getJSON('{$ROOT_URL}ws.php?format=json&method=pwg.categories.getAdminList', function(data) { callback(data.result.categories); }); }); jQuery('[data-selectize=categories]').selectize({ valueField: 'id', labelField: 'fullname', searchField: ['fullname'], plugins: ['remove_button'] }); categoriesCache.get(function(categories) { var selects = jQuery('[data-selectize=categories]'); jQuery.each(categories, function(i, category) { selects.each(function() { this.selectize.addOption(category); }); }); selects.each(function() { var that = this; jQuery.each(jQuery(this).data('value'), function(i, id) { that.selectize.addItem(id); }); }); }); {* *} var tagsCache = new LocalStorageCache('tagsAdminList', 60, function(callback) { jQuery.getJSON('{$ROOT_URL}ws.php?format=json&method=pwg.tags.getAdminList', function(data) { var tags = data.result.tags; for (var i=0, l=tags.length; i *} pwg_initialization_datepicker("#date_creation_day", "#date_creation_month", "#date_creation_year", "#date_creation_linked_date", "#date_creation_action_set"); }()); {/footer_script}

{$TITLE} › {'Edit photo'|@translate} {$TABSHEET_TITLE}

{'Informations'|@translate}
{'Thumbnail'|@translate}
{'Properties'|@translate}

{'Title'|@translate}

{'Author'|@translate}

{'Creation date'|@translate}

{'Linked albums'|@translate}

{'Representation of albums'|@translate}

{'Tags'|@translate}

{'Description'|@translate}

{'Who can see this photo?'|@translate}