{footer_script}{literal} jQuery(document).ready(function(){ jQuery("#activate_comments").change(function(){ if ($(this).is(':checked')) { jQuery("#comments_param_warp").show(); } else { jQuery("#comments_param_warp").hide(); } }); var targets = { 'input[name="rate"]' : '#rate_anonymous', 'input[name="allow_user_registration"]' : '#email_admin_on_new_user', 'input[name="comments_validation"]' : '#email_admin_on_comment_validation', 'input[name="user_can_edit_comment"]' : '#email_admin_on_comment_edition', 'input[name="user_can_delete_comment"]' : '#email_admin_on_comment_deletion', }; for (selector in targets) { var target = targets[selector]; jQuery(target).toggle(jQuery(selector).is(':checked')); (function(target){ jQuery(selector).bind('change', function() { jQuery(target).toggle($(this).is(':checked')); }); })(target); }; }); {/literal}{/footer_script}

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

{if !isset($default)}
{/if}
{if isset($main)}


  • {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'} // counters for displaying of addFilter link fields = {$main.order_by|@count}; max_fields = Math.ceil({$main.order_by_options|@count}/2); {literal} function updateAddFilterLink() { if (fields >= max_fields) { $('.addFilter').css('display', 'none'); } else { $('.addFilter').css('display', ''); } } function updateRemoveFilterTrigger() { $(".removeFilter").click(function () { $(this).parent('span.filter').remove(); fields--; updateAddFilterLink(); }); $(".removeFilter").css('display', ''); $(".filter:first .removeFilter").css('display', 'none'); } jQuery(document).ready(function () { $('.addFilter').click(function() { $(this).prev('span.filter').clone().insertBefore($(this)); $(this).prev('span.filter').children('select[name="order_by[]"]').val(''); fields++; updateRemoveFilterTrigger(); updateAddFilterLink(); }); updateRemoveFilterTrigger(); updateAddFilterLink(); }); {/literal} {/footer_script} {/if}
  • {'Save visits in history for'|@translate}
{/if} {if isset($comments)}
{/if} {if isset($sizes)} {footer_script} var labelMaxWidth = "{'Maximum Width'|@translate}"; var labelWidth = "{'Width'|@translate}"; var labelMaxHeight = "{'Maximum Height'|@translate}"; var labelHeight = "{'Height'|@translate}"; {literal} jQuery(document).ready(function(){ function toggleResizeFields(size) { var checkbox = jQuery("#original_resize"); var needToggle = jQuery("#sizeEdit-original"); if (jQuery(checkbox).is(':checked')) { needToggle.show(); } else { needToggle.hide(); } } toggleResizeFields("original"); jQuery("#original_resize").click(function () {toggleResizeFields("original")}); jQuery("a[id^='sizeEditOpen-']").click(function(){ var sizeName = jQuery(this).attr("id").split("-")[1]; jQuery("#sizeEdit-"+sizeName).toggle(); jQuery(this).hide(); }); jQuery(".cropToggle").click(function() { var labelBoxWidth = jQuery(this).parents('table.sizeEditForm').find('td.sizeEditWidth'); var labelBoxHeight = jQuery(this).parents('table.sizeEditForm').find('td.sizeEditHeight'); if (jQuery(this).is(':checked')) { jQuery(labelBoxWidth).html(labelWidth); jQuery(labelBoxHeight).html(labelHeight); } else { jQuery(labelBoxWidth).html(labelMaxWidth); jQuery(labelBoxHeight).html(labelMaxHeight); } }); jQuery("#showDetails").click(function() { jQuery(".sizeDetails").show(); jQuery(this).css("visibility", "hidden"); }); }); {/literal}{/footer_script} {html_head}{literal} {/literal}{/html_head}
{'Original Size'|@translate}
{'Maximum Width'|@translate} {'pixels'|@translate} {if isset($ferrors.original_resize_maxwidth)}!{/if}
{'Maximum Height'|@translate} {'pixels'|@translate} {if isset($ferrors.original_resize_maxheight)}!{/if}
{'Image Quality'|@translate} % {if isset($ferrors.original_resize_quality)}!{/if}
{'Multiple Size'|@translate} {foreach from=$derivatives item=d key=type} {/foreach}
{$d.w} x {$d.h} {'pixels'|@translate}{if $d.crop}, {'Crop'|@translate|lower}{/if} {'edit'|@translate}
{if !$d.must_square} {/if} {if !$d.must_square} {/if}
{if $d.must_square or $d.crop}{'Width'|@translate}{else}{'Maximum Width'|@translate}{/if} {'pixels'|@translate} {if isset($ferrors.$type.w)}!{/if}
{if $d.crop}{'Height'|@translate}{else}{'Maximum Height'|@translate}{/if} {'pixels'|@translate} {if isset($ferrors.$type.h)}!{/if}
{* #sizeEdit *}

{'Image Quality'|@translate} % {if isset($ferrors.resize_quality)}!{/if}

{/if} {if isset($display)}
{'Main Page'|@translate}
{'Photo Page'|@translate}
{'Photo Properties'|@translate}
{/if} {if !isset($default)}

{/if}
{if isset($default)} {$PROFILE_CONTENT} {/if}