{include file='include/autosize.inc.tpl'}

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

{if !isset($default)}
{/if}
{if isset($main)}
  •   {'Week starts on'|@translate} {html_options name="week_starts_on" options=$main.week_starts_on_options selected=$main.week_starts_on_options_selected}
  •   {'Default photos order'|@translate} {foreach from=$main.order_by item=order} {'delete'|@translate} {/foreach} {if !$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}
  • {if !$ORDER_BY_IS_CUSTOM} {footer_script require='jquery'}{literal} jQuery(document).ready(function () { $('.addFilter').click(function() { rel = $(this).attr('rel'); $(this).prev('span.filter').clone().insertBefore($(this)); $(this).prev('span.filter').children('select[name="order_by_field[]"]').val(''); $(this).prev('span.filter').children('select[name="order_by_direction[]"]').val('ASC'); $(".removeFilter").click(function () { $(this).parent('span.filter').remove(); }); }); $(".removeFilter").click(function () { $(this).parent('span.filter').remove(); }); }); {/literal}{/footer_script} {/if}
{/if} {if isset($history)}
{/if} {if isset($comments)}
{/if}
{if isset($default)} {$PROFILE_CONTENT} {/if} {if isset($display)}
{'Main Page'|@translate}
{'Photo Page'|@translate}
{'Photo Properties'|@translate}
{/if} {if !isset($default)}

{/if}