{include file='include/colorbox.inc.tpl'} {combine_script id='common' load='footer' path='admin/themes/default/js/common.js'} {footer_script require='jquery'} (function(){ var targets = { 'input[name="rate"]' : '#rate_anonymous', 'input[name="allow_user_registration"]' : '#email_admin_on_new_user' }; for (selector in targets) { var target = targets[selector]; jQuery(target).toggle(jQuery(selector).is(':checked')); (function(target){ jQuery(selector).on('change', function() { jQuery(target).toggle($(this).is(':checked')); }); })(target); }; }()); {if !isset($ORDER_BY_IS_CUSTOM)} (function(){ var max_fields = Math.ceil({$main.order_by_options|@count}/2); function updateFilters() { var $selects = jQuery('#order_filters select'); jQuery('#order_filters .addFilter').toggle($selects.length <= max_fields); jQuery('#order_filters .removeFilter').css('display', '').filter(':first').css('display', 'none'); $selects.find('option').removeAttr('disabled'); $selects.each(function() { $selects.not(this).find('option[value="'+ jQuery(this).val() +'"]').attr('disabled', 'disabled'); }); } jQuery('#order_filters').on('click', '.removeFilter', function() { jQuery(this).parent('span.filter').remove(); updateFilters(); }); jQuery('#order_filters').on('change', 'select', updateFilters); jQuery('#order_filters .addFilter').click(function() { jQuery(this).prev('span.filter').clone().insertBefore(jQuery(this)); jQuery(this).prev('span.filter').children('select').val(''); updateFilters(); }); updateFilters(); }()); {/if} jQuery(".themeBoxes a").colorbox(); jQuery("input[name='mail_theme']").change(function() { jQuery("input[name='mail_theme']").parents(".themeBox").removeClass("themeDefault"); jQuery(this).parents(".themeBox").addClass("themeDefault"); }); {/footer_script}

{'Piwigo configuration'|translate} {$TABSHEET_TITLE}

{'Basic settings'|translate}


  • {foreach from=$main.order_by item=order} {'delete'|translate} {/foreach} {if !isset($ORDER_BY_IS_CUSTOM)} {'Add a criteria'|translate} {else} {'You can\'t define a default photo order because you have a custom setting in your local configuration.'|translate} {/if}
{'Permissions'|translate}
{'Miscellaneous'|translate}
  • {'Save visits in history for'|translate}
  • {foreach from=$main.mail_theme_options item=name key=theme} {/foreach}