[13024] | 1 | {footer_script}{literal} |
---|
| 2 | jQuery(document).ready(function(){ |
---|
| 3 | jQuery("#activate_comments").change(function(){ |
---|
| 4 | if ($(this).is(':checked')) { |
---|
| 5 | jQuery("#comments_param_warp").show(); |
---|
| 6 | } else { |
---|
| 7 | jQuery("#comments_param_warp").hide(); |
---|
| 8 | } |
---|
| 9 | }); |
---|
[2614] | 10 | |
---|
[13024] | 11 | var targets = { |
---|
| 12 | 'input[name="rate"]' : '#rate_anonymous', |
---|
| 13 | 'input[name="allow_user_registration"]' : '#email_admin_on_new_user', |
---|
| 14 | 'input[name="comments_validation"]' : '#email_admin_on_comment_validation', |
---|
| 15 | 'input[name="user_can_edit_comment"]' : '#email_admin_on_comment_edition', |
---|
| 16 | 'input[name="user_can_delete_comment"]' : '#email_admin_on_comment_deletion', |
---|
| 17 | }; |
---|
[2614] | 18 | |
---|
[13024] | 19 | for (selector in targets) { |
---|
| 20 | var target = targets[selector]; |
---|
| 21 | |
---|
| 22 | jQuery(target).toggle(jQuery(selector).is(':checked')); |
---|
| 23 | |
---|
| 24 | (function(target){ |
---|
| 25 | jQuery(selector).bind('change', function() { |
---|
| 26 | jQuery(target).toggle($(this).is(':checked')); |
---|
| 27 | }); |
---|
| 28 | })(target); |
---|
| 29 | }; |
---|
| 30 | }); |
---|
| 31 | {/literal}{/footer_script} |
---|
| 32 | |
---|
[2531] | 33 | <div class="titrePage"> |
---|
[5021] | 34 | <h2>{'Piwigo configuration'|@translate} {$TABSHEET_TITLE}</h2> |
---|
[2531] | 35 | </div> |
---|
| 36 | |
---|
[3215] | 37 | {if !isset($default)} |
---|
[2531] | 38 | <form method="post" action="{$F_ACTION}" class="properties"> |
---|
[3215] | 39 | {/if} |
---|
[5284] | 40 | <div id="configContent"> |
---|
[2531] | 41 | {if isset($main)} |
---|
| 42 | <fieldset id="mainConf"> |
---|
[3185] | 43 | <legend></legend> |
---|
[2531] | 44 | <ul> |
---|
| 45 | <li> |
---|
[13004] | 46 | |
---|
[2531] | 47 | <label for="gallery_title">{'Gallery title'|@translate}</label> |
---|
[13004] | 48 | <br> |
---|
[3185] | 49 | <input type="text" maxlength="255" size="50" name="gallery_title" id="gallery_title" value="{$main.CONF_GALLERY_TITLE}"> |
---|
[2531] | 50 | </li> |
---|
| 51 | |
---|
| 52 | <li> |
---|
[13004] | 53 | |
---|
[2531] | 54 | <label for="page_banner">{'Page banner'|@translate}</label> |
---|
[13004] | 55 | <br> |
---|
[3185] | 56 | <textarea rows="5" cols="50" class="description" name="page_banner" id="page_banner">{$main.CONF_PAGE_BANNER}</textarea> |
---|
[2531] | 57 | </li> |
---|
| 58 | |
---|
| 59 | <li> |
---|
| 60 | <label> |
---|
[3185] | 61 | <input type="checkbox" name="rate" {if ($main.rate)}checked="checked"{/if}> |
---|
[13004] | 62 | {'Allow rating'|@translate} |
---|
[2531] | 63 | </label> |
---|
| 64 | </li> |
---|
| 65 | |
---|
[13004] | 66 | <li id="rate_anonymous"> |
---|
[2531] | 67 | <label> |
---|
[3185] | 68 | <input type="checkbox" name="rate_anonymous" {if ($main.rate_anonymous)}checked="checked"{/if}> |
---|
[13004] | 69 | {'Rating by guests'|@translate} |
---|
[2531] | 70 | </label> |
---|
| 71 | </li> |
---|
| 72 | |
---|
| 73 | <li> |
---|
| 74 | <label> |
---|
[3185] | 75 | <input type="checkbox" name="allow_user_registration" {if ($main.allow_user_registration)}checked="checked"{/if}> |
---|
[13004] | 76 | {'Allow user registration'|@translate} |
---|
[2531] | 77 | </label> |
---|
| 78 | </li> |
---|
| 79 | |
---|
[13004] | 80 | <li id="email_admin_on_new_user"> |
---|
[2531] | 81 | <label> |
---|
[13004] | 82 | <input type="checkbox" name="email_admin_on_new_user" {if ($main.email_admin_on_new_user)}checked="checked"{/if}> |
---|
| 83 | {'Email admins when a new user registers'|@translate} |
---|
[5328] | 84 | </label> |
---|
| 85 | </li> |
---|
| 86 | |
---|
| 87 | <li> |
---|
| 88 | <label> |
---|
[13004] | 89 | <input type="checkbox" name="allow_user_customization" {if ($main.allow_user_customization)}checked="checked"{/if}> |
---|
| 90 | {'Allow user customization'|@translate} |
---|
[2531] | 91 | </label> |
---|
| 92 | </li> |
---|
| 93 | |
---|
| 94 | <li> |
---|
| 95 | <label> |
---|
[13004] | 96 | <input type="checkbox" name="obligatory_user_mail_address" {if ($main.obligatory_user_mail_address)}checked="checked"{/if}> |
---|
| 97 | {'Mail address is obligatory for all users'|@translate} |
---|
[2531] | 98 | </label> |
---|
| 99 | </li> |
---|
[8626] | 100 | |
---|
| 101 | <li> |
---|
[13004] | 102 | <label>{'Week starts on'|@translate} |
---|
| 103 | {html_options name="week_starts_on" options=$main.week_starts_on_options selected=$main.week_starts_on_options_selected}</label> |
---|
[8626] | 104 | </li> |
---|
[11279] | 105 | |
---|
[11589] | 106 | <li> |
---|
[13004] | 107 | <label>{'Default photos order'|@translate}</label> |
---|
[11587] | 108 | |
---|
| 109 | {foreach from=$main.order_by item=order} |
---|
[11588] | 110 | <span class="filter {if $ORDER_BY_IS_CUSTOM}transparent{/if}"> |
---|
[13087] | 111 | <select name="order_by[]" {if $ORDER_BY_IS_CUSTOM}disabled{/if}> |
---|
| 112 | {html_options options=$main.order_by_options selected=$order} |
---|
[11587] | 113 | </select> |
---|
[11588] | 114 | <a class="removeFilter">{'delete'|@translate}</a> |
---|
[11587] | 115 | </span> |
---|
| 116 | {/foreach} |
---|
| 117 | |
---|
| 118 | {if !$ORDER_BY_IS_CUSTOM} |
---|
[11588] | 119 | <a class="addFilter">{'Add a criteria'|@translate}</a> |
---|
[11587] | 120 | {else} |
---|
| 121 | <span class="order_by_is_custom">{'You can\'t define a default photo order because you have a custom setting in your local configuration.'|@translate}</span> |
---|
| 122 | {/if} |
---|
[11279] | 123 | </li> |
---|
| 124 | |
---|
[11587] | 125 | {if !$ORDER_BY_IS_CUSTOM} |
---|
[12872] | 126 | {footer_script require='jquery'} |
---|
| 127 | // counters for displaying of addFilter link |
---|
[13087] | 128 | fields = {$main.order_by|@count}; max_fields = Math.ceil({$main.order_by_options|@count}/2); |
---|
[12872] | 129 | |
---|
| 130 | {literal} |
---|
| 131 | function updateAddFilterLink() { |
---|
| 132 | if (fields >= max_fields) { |
---|
| 133 | $('.addFilter').css('display', 'none'); |
---|
| 134 | } else { |
---|
| 135 | $('.addFilter').css('display', ''); |
---|
| 136 | } |
---|
| 137 | } |
---|
| 138 | |
---|
| 139 | function updateRemoveFilterTrigger() { |
---|
| 140 | $(".removeFilter").click(function () { |
---|
| 141 | $(this).parent('span.filter').remove(); |
---|
| 142 | fields--; |
---|
| 143 | updateAddFilterLink(); |
---|
| 144 | }); |
---|
[13838] | 145 | |
---|
| 146 | $(".removeFilter").css('display', ''); |
---|
| 147 | $(".filter:first .removeFilter").css('display', 'none'); |
---|
[12872] | 148 | } |
---|
| 149 | |
---|
[11279] | 150 | jQuery(document).ready(function () { |
---|
[11587] | 151 | $('.addFilter').click(function() { |
---|
| 152 | $(this).prev('span.filter').clone().insertBefore($(this)); |
---|
[13087] | 153 | $(this).prev('span.filter').children('select[name="order_by[]"]').val(''); |
---|
[12872] | 154 | |
---|
| 155 | fields++; |
---|
| 156 | updateRemoveFilterTrigger(); |
---|
[13838] | 157 | updateAddFilterLink(); |
---|
[11279] | 158 | }); |
---|
[11587] | 159 | |
---|
[12872] | 160 | updateRemoveFilterTrigger(); |
---|
| 161 | updateAddFilterLink(); |
---|
[11279] | 162 | }); |
---|
[12872] | 163 | {/literal} |
---|
| 164 | {/footer_script} |
---|
[11587] | 165 | {/if} |
---|
[2531] | 166 | |
---|
[13004] | 167 | <li> |
---|
| 168 | <strong>{'Save visits in history for'|@translate}</strong> |
---|
[2531] | 169 | |
---|
[13004] | 170 | <label> |
---|
| 171 | <input type="checkbox" name="history_guest" {if ($main.history_guest)}checked="checked"{/if}> |
---|
| 172 | {'simple visitors'|@translate} |
---|
| 173 | </label> |
---|
[2531] | 174 | |
---|
[13004] | 175 | <label> |
---|
| 176 | <input type="checkbox" name="log" {if ($main.log)}checked="checked"{/if}> |
---|
| 177 | {'registered users'|@translate} |
---|
| 178 | </label> |
---|
| 179 | |
---|
| 180 | <label> |
---|
| 181 | <input type="checkbox" name="history_admin" {if ($main.history_admin)}checked="checked"{/if}> |
---|
| 182 | {'administrators'|@translate} |
---|
| 183 | </label> |
---|
| 184 | |
---|
| 185 | </li> |
---|
[2531] | 186 | </ul> |
---|
| 187 | </fieldset> |
---|
| 188 | {/if} |
---|
| 189 | |
---|
| 190 | {if isset($comments)} |
---|
| 191 | <fieldset id="commentsConf"> |
---|
[3215] | 192 | <legend></legend> |
---|
[2531] | 193 | <ul> |
---|
| 194 | <li> |
---|
| 195 | <label> |
---|
[12887] | 196 | <input type="checkbox" name="activate_comments" id="activate_comments"{if ($comments.activate_comments)}checked="checked"{/if}> |
---|
[13004] | 197 | {'Activate comments'|@translate} |
---|
[12887] | 198 | </label> |
---|
| 199 | </li> |
---|
| 200 | </ul> |
---|
| 201 | |
---|
| 202 | <ul id="comments_param_warp"{if not ($comments.activate_comments)} style="display:none;"{/if}> |
---|
| 203 | <li> |
---|
| 204 | <label> |
---|
[3185] | 205 | <input type="checkbox" name="comments_forall" {if ($comments.comments_forall)}checked="checked"{/if}> |
---|
[13004] | 206 | {'Comments for all'|@translate} |
---|
[2531] | 207 | </label> |
---|
| 208 | </li> |
---|
| 209 | |
---|
| 210 | <li> |
---|
| 211 | <label> |
---|
[13004] | 212 | {'Number of comments per page'|@translate} |
---|
| 213 | <input type="text" size="3" maxlength="4" name="nb_comment_page" id="nb_comment_page" value="{$comments.NB_COMMENTS_PAGE}"> |
---|
[2531] | 214 | </label> |
---|
| 215 | </li> |
---|
[13004] | 216 | |
---|
[2531] | 217 | <li> |
---|
| 218 | <label> |
---|
[13004] | 219 | {'Default comments order'|@translate} |
---|
| 220 | <select name="comments_order"> |
---|
| 221 | {html_options options=$comments.comments_order_options selected=$comments.comments_order} |
---|
| 222 | </select> |
---|
[2531] | 223 | </label> |
---|
| 224 | </li> |
---|
| 225 | |
---|
| 226 | <li> |
---|
| 227 | <label> |
---|
[13004] | 228 | <input type="checkbox" name="comments_validation" {if ($comments.comments_validation)}checked="checked"{/if}> |
---|
| 229 | {'Validation'|@translate} |
---|
[2531] | 230 | </label> |
---|
| 231 | </li> |
---|
[3445] | 232 | |
---|
| 233 | <li> |
---|
| 234 | <label> |
---|
| 235 | <input type="checkbox" name="user_can_edit_comment" {if ($comments.user_can_edit_comment)}checked="checked"{/if}> |
---|
[13004] | 236 | {'Allow users to edit their own comments'|@translate} |
---|
[3445] | 237 | </label> |
---|
| 238 | </li> |
---|
| 239 | <li> |
---|
| 240 | <label> |
---|
| 241 | <input type="checkbox" name="user_can_delete_comment" {if ($comments.user_can_delete_comment)}checked="checked"{/if}> |
---|
[13004] | 242 | {'Allow users to delete their own comments'|@translate} |
---|
[3445] | 243 | </label> |
---|
| 244 | </li> |
---|
[13004] | 245 | |
---|
[13024] | 246 | <li id="notifyAdmin"> |
---|
[13004] | 247 | <strong>{'Notify administrators when a comment is'|@translate}</strong> |
---|
| 248 | |
---|
| 249 | <label id="email_admin_on_comment_validation"> |
---|
| 250 | <input type="checkbox" name="email_admin_on_comment_validation" {if ($comments.email_admin_on_comment_validation)}checked="checked"{/if}> {'pending validation'|@translate} |
---|
[3445] | 251 | </label> |
---|
[13004] | 252 | |
---|
[3445] | 253 | <label> |
---|
[13004] | 254 | <input type="checkbox" name="email_admin_on_comment" {if ($comments.email_admin_on_comment)}checked="checked"{/if}> {'added'|@translate} |
---|
[3445] | 255 | </label> |
---|
[13004] | 256 | |
---|
| 257 | <label id="email_admin_on_comment_edition"> |
---|
| 258 | <input type="checkbox" name="email_admin_on_comment_edition" {if ($comments.email_admin_on_comment_edition)}checked="checked"{/if}> {'modified'|@translate} |
---|
| 259 | </label> |
---|
| 260 | |
---|
| 261 | <label id="email_admin_on_comment_deletion"> |
---|
| 262 | <input type="checkbox" name="email_admin_on_comment_deletion" {if ($comments.email_admin_on_comment_deletion)}checked="checked"{/if}> {'deleted'|@translate} |
---|
| 263 | </label> |
---|
[3445] | 264 | </li> |
---|
[2531] | 265 | </ul> |
---|
| 266 | </fieldset> |
---|
| 267 | {/if} |
---|
| 268 | |
---|
[12879] | 269 | {if isset($sizes)} |
---|
| 270 | |
---|
[13883] | 271 | {footer_script} |
---|
| 272 | var labelMaxWidth = "{'Maximum Width'|@translate}"; |
---|
| 273 | var labelWidth = "{'Width'|@translate}"; |
---|
| 274 | |
---|
| 275 | var labelMaxHeight = "{'Maximum Height'|@translate}"; |
---|
| 276 | var labelHeight = "{'Height'|@translate}"; |
---|
| 277 | {literal} |
---|
[12879] | 278 | jQuery(document).ready(function(){ |
---|
[13883] | 279 | function toggleResizeFields(size) { |
---|
| 280 | var checkbox = jQuery("#original_resize"); |
---|
| 281 | var needToggle = jQuery("#sizeEdit-original"); |
---|
[12879] | 282 | |
---|
| 283 | if (jQuery(checkbox).is(':checked')) { |
---|
| 284 | needToggle.show(); |
---|
| 285 | } |
---|
| 286 | else { |
---|
| 287 | needToggle.hide(); |
---|
| 288 | } |
---|
| 289 | } |
---|
| 290 | |
---|
| 291 | toggleResizeFields("original"); |
---|
| 292 | jQuery("#original_resize").click(function () {toggleResizeFields("original")}); |
---|
[13883] | 293 | |
---|
| 294 | jQuery("a[id^='sizeEditOpen-']").click(function(){ |
---|
| 295 | var sizeName = jQuery(this).attr("id").split("-")[1]; |
---|
| 296 | jQuery("#sizeEdit-"+sizeName).toggle(); |
---|
| 297 | jQuery(this).hide(); |
---|
| 298 | }); |
---|
| 299 | |
---|
| 300 | jQuery(".cropToggle").click(function() { |
---|
| 301 | var labelBoxWidth = jQuery(this).parents('table.sizeEditForm').find('td.sizeEditWidth'); |
---|
| 302 | var labelBoxHeight = jQuery(this).parents('table.sizeEditForm').find('td.sizeEditHeight'); |
---|
| 303 | |
---|
| 304 | if (jQuery(this).is(':checked')) { |
---|
| 305 | jQuery(labelBoxWidth).html(labelWidth); |
---|
| 306 | jQuery(labelBoxHeight).html(labelHeight); |
---|
| 307 | } |
---|
| 308 | else { |
---|
| 309 | jQuery(labelBoxWidth).html(labelMaxWidth); |
---|
| 310 | jQuery(labelBoxHeight).html(labelMaxHeight); |
---|
| 311 | } |
---|
| 312 | }); |
---|
| 313 | |
---|
| 314 | jQuery("#showDetails").click(function() { |
---|
| 315 | jQuery(".sizeDetails").show(); |
---|
| 316 | jQuery(this).css("visibility", "hidden"); |
---|
| 317 | }); |
---|
| 318 | |
---|
[12879] | 319 | }); |
---|
| 320 | {/literal}{/footer_script} |
---|
| 321 | |
---|
[13883] | 322 | {literal} |
---|
| 323 | <style> |
---|
| 324 | .sizeEnable {width:50px;} |
---|
| 325 | .sizeEditForm {margin:0 0 10px 20px;} |
---|
| 326 | .sizeEdit {display:none;} |
---|
| 327 | #sizesConf table {margin:0;} |
---|
| 328 | .showDetails {padding:0;} |
---|
| 329 | .sizeDetails {display:none;margin-left:10px;} |
---|
| 330 | .sizeEditOpen {margin-left:10px;} |
---|
| 331 | </style> |
---|
| 332 | {/literal} |
---|
| 333 | |
---|
[12879] | 334 | <fieldset id="sizesConf"> |
---|
| 335 | <legend>{'Original Size'|@translate}</legend> |
---|
| 336 | |
---|
[13883] | 337 | <div> |
---|
| 338 | <label for="original_resize"> |
---|
| 339 | <input type="checkbox" name="original_resize" id="original_resize" {if ($sizes.original_resize)}checked="checked"{/if}> |
---|
| 340 | {'Resize after upload'|@translate} |
---|
| 341 | </label> |
---|
| 342 | </div> |
---|
| 343 | |
---|
| 344 | <table id="sizeEdit-original"> |
---|
[12879] | 345 | <tr> |
---|
| 346 | <th>{'Maximum Width'|@translate}</th> |
---|
| 347 | <td><input type="text" name="original_resize_maxwidth" value="{$sizes.original_resize_maxwidth}" size="4" maxlength="4"> {'pixels'|@translate}</td> |
---|
| 348 | </tr> |
---|
| 349 | <tr> |
---|
| 350 | <th>{'Maximum Height'|@translate}</th> |
---|
| 351 | <td><input type="text" name="original_resize_maxheight" value="{$sizes.original_resize_maxheight}" size="4" maxlength="4"> {'pixels'|@translate}</td> |
---|
| 352 | </tr> |
---|
| 353 | <tr> |
---|
| 354 | <th>{'Image Quality'|@translate}</th> |
---|
| 355 | <td><input type="text" name="original_resize_quality" value="{$sizes.original_resize_quality}" size="3" maxlength="3"> %</td> |
---|
| 356 | </tr> |
---|
| 357 | </table> |
---|
| 358 | |
---|
| 359 | </fieldset> |
---|
[13883] | 360 | |
---|
| 361 | <div class="warnings">Warning: the following fields are for test "user interface" test only. Any change won't be saved.<br>See screen [Administration > Configuration > Multiple Size] to configure sizes.</div> |
---|
| 362 | |
---|
| 363 | <fieldset id="multiSizesConf"> |
---|
| 364 | <legend>{'Multiple Size'|@translate}</legend> |
---|
| 365 | |
---|
| 366 | <div class="showDetails"> |
---|
| 367 | <a href="#" id="showDetails"{if $show_details} style="display:none"{/if}>{'show details'|@translate}</a> |
---|
| 368 | </div> |
---|
| 369 | |
---|
| 370 | <table style="margin:0"> |
---|
| 371 | {foreach from=$derivatives item=d key=type} |
---|
| 372 | <tr> |
---|
| 373 | <td> |
---|
| 374 | <label> |
---|
| 375 | <span class="sizeEnable"> |
---|
| 376 | {if $d.must_enable} |
---|
| 377 | ✔ |
---|
| 378 | {else} |
---|
| 379 | <input type="checkbox" name="d[{$type}][enabled]" {if $d.enabled}checked="checked"{/if}> |
---|
| 380 | {/if} |
---|
| 381 | </span> |
---|
| 382 | {$type|@translate} |
---|
| 383 | </label> |
---|
| 384 | </td> |
---|
| 385 | |
---|
| 386 | <td> |
---|
| 387 | <span class="sizeDetails">{$d.w} x {$d.h} {'pixels'|@translate}{if $d.crop}, {'Crop'|@translate|lower}{/if}</span> |
---|
| 388 | </td> |
---|
| 389 | |
---|
| 390 | <td> |
---|
| 391 | <span class="sizeDetails"> |
---|
| 392 | <a href="#" id="sizeEditOpen-{$type}" class="sizeEditOpen">{'edit'|@translate}</a> |
---|
| 393 | </span> |
---|
| 394 | </td> |
---|
| 395 | </tr> |
---|
| 396 | |
---|
| 397 | <tr id="sizeEdit-{$type}" class="sizeEdit"> |
---|
| 398 | <td colspan="3"> |
---|
| 399 | <table class="sizeEditForm"> |
---|
| 400 | {if !$d.must_square} |
---|
| 401 | <tr> |
---|
| 402 | <td colspan="2"> |
---|
| 403 | <label> |
---|
| 404 | <input type="checkbox" class="cropToggle" name="d[{$type}][crop]" {if $d.crop}checked="checked"{/if}> |
---|
| 405 | {'Crop'|@translate} |
---|
| 406 | </label> |
---|
| 407 | </td> |
---|
| 408 | </tr> |
---|
| 409 | {/if} |
---|
| 410 | |
---|
| 411 | <tr> |
---|
| 412 | <td class="sizeEditWidth">{if $d.must_square or $d.crop}{'Width'|@translate}{else}{'Maximum Width'|@translate}{/if}</td> |
---|
| 413 | <td> |
---|
| 414 | <input type="text" name="d[{$type}][w]" maxlength="4" size="4" value="{$d.w}"{if isset($ferrors.$type.w)}class="dError"{/if}> |
---|
| 415 | {'pixels'|@translate} |
---|
| 416 | {if isset($ferrors.$type.w)}<span class="dErrorDesc" title="{$ferrors.$type.w}">!</span>{/if} |
---|
| 417 | </td> |
---|
| 418 | </tr> |
---|
| 419 | |
---|
| 420 | {if !$d.must_square} |
---|
| 421 | <tr> |
---|
| 422 | <td class="sizeEditHeight">{if $d.crop}{'Height'|@translate}{else}{'Maximum Height'|@translate}{/if}</td> |
---|
| 423 | <td> |
---|
| 424 | <input type="text" name="d[{$type}][h]" maxlength="4" size="4" value="{$d.h}"{if isset($ferrors.$type.h)}class="dError"{/if}> |
---|
| 425 | {'pixels'|@translate} |
---|
| 426 | {if isset($ferrors.$type.h)}<span class="dErrorDesc" title="{$ferrors.$type.h}">!</span>{/if} |
---|
| 427 | </td> |
---|
| 428 | </tr> |
---|
| 429 | {/if} |
---|
| 430 | </table> {* #sizeEdit *} |
---|
| 431 | </td> |
---|
| 432 | </tr> |
---|
| 433 | {/foreach} |
---|
| 434 | </table> |
---|
| 435 | |
---|
| 436 | <p style="margin:20px 0 0 0" class="sizeDetails"> |
---|
| 437 | {'Image Quality'|@translate} |
---|
| 438 | <input type="text" name="original_resize_quality" value="{$sizes.original_resize_quality}" size="3" maxlength="3"> % |
---|
| 439 | </p> |
---|
| 440 | </fieldset> |
---|
[12879] | 441 | {/if} |
---|
| 442 | |
---|
[5293] | 443 | {if isset($display)} |
---|
| 444 | <fieldset id="indexDisplayConf"> |
---|
| 445 | <legend>{'Main Page'|@translate}</legend> |
---|
| 446 | <ul> |
---|
| 447 | <li> |
---|
| 448 | <label> |
---|
| 449 | <input type="checkbox" name="menubar_filter_icon" {if ($display.menubar_filter_icon)}checked="checked"{/if}> |
---|
[13004] | 450 | {'display only recently posted photos'|@translate|@ucfirst|@string_format:$pwg->l10n('Activate icon "%s"')} |
---|
[5293] | 451 | </label> |
---|
[11285] | 452 | </li> |
---|
| 453 | |
---|
| 454 | <li> |
---|
| 455 | <label> |
---|
| 456 | <input type="checkbox" name="index_new_icon" {if ($display.index_new_icon)}checked="checked"{/if}> |
---|
[13004] | 457 | {'Activate icon "new" next to albums and pictures'|@translate} |
---|
[11285] | 458 | </label> |
---|
[5293] | 459 | </li> |
---|
| 460 | |
---|
| 461 | <li> |
---|
| 462 | <label> |
---|
| 463 | <input type="checkbox" name="index_sort_order_input" {if ($display.index_sort_order_input)}checked="checked"{/if}> |
---|
[13004] | 464 | {'Sort order'|@translate|@string_format:$pwg->l10n('Activate icon "%s"')} |
---|
[5293] | 465 | </label> |
---|
| 466 | </li> |
---|
| 467 | |
---|
| 468 | <li> |
---|
| 469 | <label> |
---|
| 470 | <input type="checkbox" name="index_flat_icon" {if ($display.index_flat_icon)}checked="checked"{/if}> |
---|
[13004] | 471 | {'display all photos in all sub-albums'|@translate|@ucfirst|@string_format:$pwg->l10n('Activate icon "%s"')} |
---|
[5293] | 472 | </label> |
---|
| 473 | </li> |
---|
| 474 | |
---|
| 475 | <li> |
---|
| 476 | <label> |
---|
| 477 | <input type="checkbox" name="index_posted_date_icon" {if ($display.index_posted_date_icon)}checked="checked"{/if}> |
---|
[13004] | 478 | {'display a calendar by posted date'|@translate|@ucfirst|@string_format:$pwg->l10n('Activate icon "%s"')} |
---|
[5293] | 479 | </label> |
---|
| 480 | </li> |
---|
| 481 | |
---|
| 482 | <li> |
---|
| 483 | <label> |
---|
| 484 | <input type="checkbox" name="index_created_date_icon" {if ($display.index_created_date_icon)}checked="checked"{/if}> |
---|
[13004] | 485 | {'display a calendar by creation date'|@translate|@ucfirst|@string_format:$pwg->l10n('Activate icon "%s"')} |
---|
[5293] | 486 | </label> |
---|
| 487 | </li> |
---|
| 488 | |
---|
| 489 | <li> |
---|
| 490 | <label> |
---|
| 491 | <input type="checkbox" name="index_slideshow_icon" {if ($display.index_slideshow_icon)}checked="checked"{/if}> |
---|
[13004] | 492 | {'slideshow'|@translate|@ucfirst|@string_format:$pwg->l10n('Activate icon "%s"')} |
---|
[5293] | 493 | </label> |
---|
| 494 | </li> |
---|
| 495 | </ul> |
---|
| 496 | </fieldset> |
---|
| 497 | |
---|
| 498 | <fieldset id="pictureDisplayConf"> |
---|
| 499 | <legend>{'Photo Page'|@translate}</legend> |
---|
| 500 | <ul> |
---|
| 501 | <li> |
---|
| 502 | <label> |
---|
[5298] | 503 | <input type="checkbox" name="picture_slideshow_icon" {if ($display.picture_slideshow_icon)}checked="checked"{/if}> |
---|
[13004] | 504 | {'slideshow'|@translate|@ucfirst|@string_format:$pwg->l10n('Activate icon "%s"')} |
---|
[5293] | 505 | </label> |
---|
| 506 | </li> |
---|
| 507 | |
---|
| 508 | <li> |
---|
| 509 | <label> |
---|
[5298] | 510 | <input type="checkbox" name="picture_metadata_icon" {if ($display.picture_metadata_icon)}checked="checked"{/if}> |
---|
[13004] | 511 | {'Show file metadata'|@translate|@string_format:$pwg->l10n('Activate icon "%s"')} |
---|
[5293] | 512 | </label> |
---|
| 513 | </li> |
---|
| 514 | |
---|
| 515 | <li> |
---|
| 516 | <label> |
---|
[5618] | 517 | <input type="checkbox" name="picture_download_icon" {if ($display.picture_download_icon)}checked="checked"{/if}> |
---|
[13004] | 518 | {'Download this file'|@translate|@ucfirst|@string_format:$pwg->l10n('Activate icon "%s"')} |
---|
[5618] | 519 | </label> |
---|
| 520 | </li> |
---|
| 521 | |
---|
| 522 | <li> |
---|
| 523 | <label> |
---|
[5293] | 524 | <input type="checkbox" name="picture_favorite_icon" {if ($display.picture_favorite_icon)}checked="checked"{/if}> |
---|
[13004] | 525 | {'add this photo to your favorites'|@translate|@ucfirst|@string_format:$pwg->l10n('Activate icon "%s"')} |
---|
[5293] | 526 | </label> |
---|
| 527 | </li> |
---|
| 528 | |
---|
| 529 | <li> |
---|
| 530 | <label> |
---|
| 531 | <input type="checkbox" name="picture_navigation_icons" {if ($display.picture_navigation_icons)}checked="checked"{/if}> |
---|
[13004] | 532 | {'Activate Navigation Bar'|@translate} |
---|
[5293] | 533 | </label> |
---|
| 534 | </li> |
---|
| 535 | |
---|
| 536 | <li> |
---|
| 537 | <label> |
---|
| 538 | <input type="checkbox" name="picture_navigation_thumb" {if ($display.picture_navigation_thumb)}checked="checked"{/if}> |
---|
[13004] | 539 | {'Activate Navigation Thumbnails'|@translate} |
---|
[5293] | 540 | </label> |
---|
| 541 | </li> |
---|
[10812] | 542 | |
---|
| 543 | <li> |
---|
| 544 | <label> |
---|
| 545 | <input type="checkbox" name="picture_menu" {if ($display.picture_menu)}checked="checked"{/if}> |
---|
[13004] | 546 | {'Show menubar'|@translate} |
---|
[10812] | 547 | </label> |
---|
| 548 | </li> |
---|
[5293] | 549 | </ul> |
---|
| 550 | </fieldset> |
---|
[5304] | 551 | |
---|
| 552 | <fieldset id="pictureInfoConf"> |
---|
| 553 | <legend>{'Photo Properties'|@translate}</legend> |
---|
| 554 | <ul> |
---|
| 555 | <li> |
---|
| 556 | <label> |
---|
| 557 | <input type="checkbox" name="picture_informations[author]" {if ($display.picture_informations.author)}checked="checked"{/if}> |
---|
[13004] | 558 | {'Author'|@translate} |
---|
[5304] | 559 | </label> |
---|
| 560 | </li> |
---|
| 561 | |
---|
| 562 | <li> |
---|
| 563 | <label> |
---|
| 564 | <input type="checkbox" name="picture_informations[created_on]" {if ($display.picture_informations.created_on)}checked="checked"{/if}> |
---|
[13004] | 565 | {'Created on'|@translate} |
---|
[5304] | 566 | </label> |
---|
| 567 | </li> |
---|
| 568 | |
---|
| 569 | <li> |
---|
| 570 | <label> |
---|
| 571 | <input type="checkbox" name="picture_informations[posted_on]" {if ($display.picture_informations.posted_on)}checked="checked"{/if}> |
---|
[13004] | 572 | {'Posted on'|@translate} |
---|
[5304] | 573 | </label> |
---|
| 574 | </li> |
---|
| 575 | |
---|
| 576 | <li> |
---|
| 577 | <label> |
---|
| 578 | <input type="checkbox" name="picture_informations[dimensions]" {if ($display.picture_informations.dimensions)}checked="checked"{/if}> |
---|
[13004] | 579 | {'Dimensions'|@translate} |
---|
[5304] | 580 | </label> |
---|
| 581 | </li> |
---|
| 582 | |
---|
| 583 | <li> |
---|
| 584 | <label> |
---|
| 585 | <input type="checkbox" name="picture_informations[file]" {if ($display.picture_informations.file)}checked="checked"{/if}> |
---|
[13004] | 586 | {'File'|@translate} |
---|
[5304] | 587 | </label> |
---|
| 588 | </li> |
---|
| 589 | |
---|
| 590 | <li> |
---|
| 591 | <label> |
---|
| 592 | <input type="checkbox" name="picture_informations[filesize]" {if ($display.picture_informations.filesize)}checked="checked"{/if}> |
---|
[13004] | 593 | {'Filesize'|@translate} |
---|
[5304] | 594 | </label> |
---|
| 595 | </li> |
---|
| 596 | |
---|
| 597 | <li> |
---|
| 598 | <label> |
---|
| 599 | <input type="checkbox" name="picture_informations[tags]" {if ($display.picture_informations.tags)}checked="checked"{/if}> |
---|
[13004] | 600 | {'Tags'|@translate} |
---|
[5304] | 601 | </label> |
---|
| 602 | </li> |
---|
| 603 | |
---|
| 604 | <li> |
---|
| 605 | <label> |
---|
| 606 | <input type="checkbox" name="picture_informations[categories]" {if ($display.picture_informations.categories)}checked="checked"{/if}> |
---|
[13004] | 607 | {'Albums'|@translate} |
---|
[5304] | 608 | </label> |
---|
| 609 | </li> |
---|
| 610 | |
---|
| 611 | <li> |
---|
| 612 | <label> |
---|
| 613 | <input type="checkbox" name="picture_informations[visits]" {if ($display.picture_informations.visits)}checked="checked"{/if}> |
---|
[13004] | 614 | {'Visits'|@translate} |
---|
[5304] | 615 | </label> |
---|
| 616 | </li> |
---|
| 617 | |
---|
| 618 | <li> |
---|
| 619 | <label> |
---|
[11893] | 620 | <input type="checkbox" name="picture_informations[rating_score]" {if ($display.picture_informations.rating_score)}checked="checked"{/if}> |
---|
[13004] | 621 | {'Rating score'|@translate} |
---|
[5304] | 622 | </label> |
---|
| 623 | </li> |
---|
| 624 | |
---|
| 625 | <li> |
---|
| 626 | <label> |
---|
| 627 | <input type="checkbox" name="picture_informations[privacy_level]" {if ($display.picture_informations.privacy_level)}checked="checked"{/if}> |
---|
[13004] | 628 | {'Who can see this photo?'|@translate} ({'available for administrators only'|@translate}) |
---|
[5304] | 629 | </label> |
---|
| 630 | </li> |
---|
| 631 | </ul> |
---|
| 632 | </fieldset> |
---|
[5293] | 633 | {/if} |
---|
| 634 | |
---|
[2531] | 635 | {if !isset($default)} |
---|
[13244] | 636 | <p class="formButtons"> |
---|
[12879] | 637 | <input class="submit" type="submit" name="submit" value="{'Save Settings'|@translate}"> |
---|
[2531] | 638 | </p> |
---|
[3215] | 639 | </form> |
---|
[2531] | 640 | {/if} |
---|
[13004] | 641 | |
---|
| 642 | </div> <!-- configContent --> |
---|
| 643 | |
---|
| 644 | {if isset($default)} |
---|
| 645 | {$PROFILE_CONTENT} |
---|
| 646 | {/if} |
---|