{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', 5*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) { jQuery('[data-selectize=categories]').each(function() { this.selectize.load(function(callback) { callback(categories); }); jQuery.each(jQuery(this).data('value'), jQuery.proxy(function(i, id) { this.selectize.addItem(id); }, this)); }); }); {* *} var tagsCache = new LocalStorageCache('tagsAdminList', 5*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 *} jQuery(function(){ {* *} jQuery('[data-datepicker]').pwgDatepicker({ showTimepicker: true }); }); }()); {/footer_script}

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

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

{'Title'|@translate}

{'Author'|@translate}

{'Creation date'|@translate}
{'unset'|translate}

{'Linked albums'|@translate}

{'Representation of albums'|@translate}

{'Tags'|@translate}

{'Description'|@translate}

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