[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 | |
---|
[14228] | 33 | <h2>{'Piwigo configuration'|@translate} {$TABSHEET_TITLE}</h2> |
---|
[2531] | 34 | |
---|
[3215] | 35 | {if !isset($default)} |
---|
[14546] | 36 | <form method="post" action="{$F_ACTION}" class="properties"{if isset($watermark)} enctype="multipart/form-data"{/if}> |
---|
[3215] | 37 | {/if} |
---|
[5284] | 38 | <div id="configContent"> |
---|
[2531] | 39 | {if isset($main)} |
---|
| 40 | <fieldset id="mainConf"> |
---|
[3185] | 41 | <legend></legend> |
---|
[2531] | 42 | <ul> |
---|
| 43 | <li> |
---|
[23526] | 44 | |
---|
[2531] | 45 | <label for="gallery_title">{'Gallery title'|@translate}</label> |
---|
[13004] | 46 | <br> |
---|
[3185] | 47 | <input type="text" maxlength="255" size="50" name="gallery_title" id="gallery_title" value="{$main.CONF_GALLERY_TITLE}"> |
---|
[2531] | 48 | </li> |
---|
| 49 | |
---|
| 50 | <li> |
---|
[23526] | 51 | |
---|
[2531] | 52 | <label for="page_banner">{'Page banner'|@translate}</label> |
---|
[13004] | 53 | <br> |
---|
[3185] | 54 | <textarea rows="5" cols="50" class="description" name="page_banner" id="page_banner">{$main.CONF_PAGE_BANNER}</textarea> |
---|
[2531] | 55 | </li> |
---|
| 56 | |
---|
| 57 | <li> |
---|
| 58 | <label> |
---|
[3185] | 59 | <input type="checkbox" name="rate" {if ($main.rate)}checked="checked"{/if}> |
---|
[13004] | 60 | {'Allow rating'|@translate} |
---|
[2531] | 61 | </label> |
---|
| 62 | </li> |
---|
| 63 | |
---|
[13004] | 64 | <li id="rate_anonymous"> |
---|
[2531] | 65 | <label> |
---|
[3185] | 66 | <input type="checkbox" name="rate_anonymous" {if ($main.rate_anonymous)}checked="checked"{/if}> |
---|
[13004] | 67 | {'Rating by guests'|@translate} |
---|
[2531] | 68 | </label> |
---|
| 69 | </li> |
---|
| 70 | |
---|
| 71 | <li> |
---|
| 72 | <label> |
---|
[3185] | 73 | <input type="checkbox" name="allow_user_registration" {if ($main.allow_user_registration)}checked="checked"{/if}> |
---|
[13004] | 74 | {'Allow user registration'|@translate} |
---|
[2531] | 75 | </label> |
---|
| 76 | </li> |
---|
| 77 | |
---|
[13004] | 78 | <li id="email_admin_on_new_user"> |
---|
[2531] | 79 | <label> |
---|
[13004] | 80 | <input type="checkbox" name="email_admin_on_new_user" {if ($main.email_admin_on_new_user)}checked="checked"{/if}> |
---|
| 81 | {'Email admins when a new user registers'|@translate} |
---|
[5328] | 82 | </label> |
---|
| 83 | </li> |
---|
| 84 | |
---|
| 85 | <li> |
---|
| 86 | <label> |
---|
[13004] | 87 | <input type="checkbox" name="allow_user_customization" {if ($main.allow_user_customization)}checked="checked"{/if}> |
---|
| 88 | {'Allow user customization'|@translate} |
---|
[2531] | 89 | </label> |
---|
| 90 | </li> |
---|
| 91 | |
---|
| 92 | <li> |
---|
| 93 | <label> |
---|
[13004] | 94 | <input type="checkbox" name="obligatory_user_mail_address" {if ($main.obligatory_user_mail_address)}checked="checked"{/if}> |
---|
| 95 | {'Mail address is obligatory for all users'|@translate} |
---|
[2531] | 96 | </label> |
---|
| 97 | </li> |
---|
[8626] | 98 | |
---|
| 99 | <li> |
---|
[13004] | 100 | <label>{'Week starts on'|@translate} |
---|
| 101 | {html_options name="week_starts_on" options=$main.week_starts_on_options selected=$main.week_starts_on_options_selected}</label> |
---|
[8626] | 102 | </li> |
---|
[23526] | 103 | |
---|
[11589] | 104 | <li> |
---|
[13004] | 105 | <label>{'Default photos order'|@translate}</label> |
---|
[23526] | 106 | |
---|
[11587] | 107 | {foreach from=$main.order_by item=order} |
---|
[23526] | 108 | <span class="filter {if isset($ORDER_BY_IS_CUSTOM)}transparent{/if}"> |
---|
[23384] | 109 | <select name="order_by[]" {if isset($ORDER_BY_IS_CUSTOM)}disabled{/if}> |
---|
[13087] | 110 | {html_options options=$main.order_by_options selected=$order} |
---|
[11587] | 111 | </select> |
---|
[11588] | 112 | <a class="removeFilter">{'delete'|@translate}</a> |
---|
[11587] | 113 | </span> |
---|
| 114 | {/foreach} |
---|
[23526] | 115 | |
---|
[23384] | 116 | {if !isset($ORDER_BY_IS_CUSTOM)} |
---|
[11588] | 117 | <a class="addFilter">{'Add a criteria'|@translate}</a> |
---|
[11587] | 118 | {else} |
---|
| 119 | <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> |
---|
| 120 | {/if} |
---|
[11279] | 121 | </li> |
---|
[23526] | 122 | |
---|
[23384] | 123 | {if !isset($ORDER_BY_IS_CUSTOM)} |
---|
[12872] | 124 | {footer_script require='jquery'} |
---|
| 125 | // counters for displaying of addFilter link |
---|
[13087] | 126 | fields = {$main.order_by|@count}; max_fields = Math.ceil({$main.order_by_options|@count}/2); |
---|
[12872] | 127 | |
---|
| 128 | {literal} |
---|
| 129 | function updateAddFilterLink() { |
---|
| 130 | if (fields >= max_fields) { |
---|
| 131 | $('.addFilter').css('display', 'none'); |
---|
| 132 | } else { |
---|
| 133 | $('.addFilter').css('display', ''); |
---|
| 134 | } |
---|
| 135 | } |
---|
| 136 | |
---|
| 137 | function updateRemoveFilterTrigger() { |
---|
| 138 | $(".removeFilter").click(function () { |
---|
| 139 | $(this).parent('span.filter').remove(); |
---|
| 140 | fields--; |
---|
| 141 | updateAddFilterLink(); |
---|
| 142 | }); |
---|
[23526] | 143 | |
---|
[13838] | 144 | $(".removeFilter").css('display', ''); |
---|
| 145 | $(".filter:first .removeFilter").css('display', 'none'); |
---|
[12872] | 146 | } |
---|
| 147 | |
---|
[11279] | 148 | jQuery(document).ready(function () { |
---|
[11587] | 149 | $('.addFilter').click(function() { |
---|
| 150 | $(this).prev('span.filter').clone().insertBefore($(this)); |
---|
[13087] | 151 | $(this).prev('span.filter').children('select[name="order_by[]"]').val(''); |
---|
[23526] | 152 | |
---|
[12872] | 153 | fields++; |
---|
| 154 | updateRemoveFilterTrigger(); |
---|
[13838] | 155 | updateAddFilterLink(); |
---|
[11279] | 156 | }); |
---|
[23526] | 157 | |
---|
[12872] | 158 | updateRemoveFilterTrigger(); |
---|
| 159 | updateAddFilterLink(); |
---|
[11279] | 160 | }); |
---|
[12872] | 161 | {/literal} |
---|
| 162 | {/footer_script} |
---|
[11587] | 163 | {/if} |
---|
[2531] | 164 | |
---|
[13004] | 165 | <li> |
---|
| 166 | <strong>{'Save visits in history for'|@translate}</strong> |
---|
[2531] | 167 | |
---|
[13004] | 168 | <label> |
---|
| 169 | <input type="checkbox" name="history_guest" {if ($main.history_guest)}checked="checked"{/if}> |
---|
| 170 | {'simple visitors'|@translate} |
---|
| 171 | </label> |
---|
[2531] | 172 | |
---|
[13004] | 173 | <label> |
---|
| 174 | <input type="checkbox" name="log" {if ($main.log)}checked="checked"{/if}> |
---|
| 175 | {'registered users'|@translate} |
---|
| 176 | </label> |
---|
| 177 | |
---|
| 178 | <label> |
---|
| 179 | <input type="checkbox" name="history_admin" {if ($main.history_admin)}checked="checked"{/if}> |
---|
| 180 | {'administrators'|@translate} |
---|
| 181 | </label> |
---|
| 182 | |
---|
| 183 | </li> |
---|
[2531] | 184 | </ul> |
---|
| 185 | </fieldset> |
---|
| 186 | {/if} |
---|
| 187 | |
---|
| 188 | {if isset($comments)} |
---|
| 189 | <fieldset id="commentsConf"> |
---|
[3215] | 190 | <legend></legend> |
---|
[2531] | 191 | <ul> |
---|
| 192 | <li> |
---|
| 193 | <label> |
---|
[12887] | 194 | <input type="checkbox" name="activate_comments" id="activate_comments"{if ($comments.activate_comments)}checked="checked"{/if}> |
---|
[13004] | 195 | {'Activate comments'|@translate} |
---|
[12887] | 196 | </label> |
---|
| 197 | </li> |
---|
| 198 | </ul> |
---|
[23526] | 199 | |
---|
[12887] | 200 | <ul id="comments_param_warp"{if not ($comments.activate_comments)} style="display:none;"{/if}> |
---|
| 201 | <li> |
---|
| 202 | <label> |
---|
[3185] | 203 | <input type="checkbox" name="comments_forall" {if ($comments.comments_forall)}checked="checked"{/if}> |
---|
[13004] | 204 | {'Comments for all'|@translate} |
---|
[2531] | 205 | </label> |
---|
| 206 | </li> |
---|
| 207 | |
---|
| 208 | <li> |
---|
| 209 | <label> |
---|
[13004] | 210 | {'Number of comments per page'|@translate} |
---|
| 211 | <input type="text" size="3" maxlength="4" name="nb_comment_page" id="nb_comment_page" value="{$comments.NB_COMMENTS_PAGE}"> |
---|
[2531] | 212 | </label> |
---|
| 213 | </li> |
---|
[23526] | 214 | |
---|
[2531] | 215 | <li> |
---|
| 216 | <label> |
---|
[13004] | 217 | {'Default comments order'|@translate} |
---|
| 218 | <select name="comments_order"> |
---|
| 219 | {html_options options=$comments.comments_order_options selected=$comments.comments_order} |
---|
| 220 | </select> |
---|
[2531] | 221 | </label> |
---|
| 222 | </li> |
---|
| 223 | |
---|
| 224 | <li> |
---|
| 225 | <label> |
---|
[13004] | 226 | <input type="checkbox" name="comments_validation" {if ($comments.comments_validation)}checked="checked"{/if}> |
---|
| 227 | {'Validation'|@translate} |
---|
[2531] | 228 | </label> |
---|
| 229 | </li> |
---|
[23526] | 230 | |
---|
[18164] | 231 | <li> |
---|
| 232 | <label> |
---|
| 233 | <input type="checkbox" name="comments_author_mandatory" {if ($comments.comments_author_mandatory)}checked="checked"{/if}> |
---|
| 234 | {'Username is mandatory'|@translate} |
---|
| 235 | </label> |
---|
| 236 | </li> |
---|
[23526] | 237 | |
---|
[18164] | 238 | <li> |
---|
| 239 | <label> |
---|
| 240 | <input type="checkbox" name="comments_email_mandatory" {if ($comments.comments_email_mandatory)}checked="checked"{/if}> |
---|
| 241 | {'Email address is mandatory'|@translate} |
---|
| 242 | </label> |
---|
| 243 | </li> |
---|
[3445] | 244 | |
---|
| 245 | <li> |
---|
| 246 | <label> |
---|
| 247 | <input type="checkbox" name="user_can_edit_comment" {if ($comments.user_can_edit_comment)}checked="checked"{/if}> |
---|
[13004] | 248 | {'Allow users to edit their own comments'|@translate} |
---|
[3445] | 249 | </label> |
---|
| 250 | </li> |
---|
| 251 | <li> |
---|
| 252 | <label> |
---|
| 253 | <input type="checkbox" name="user_can_delete_comment" {if ($comments.user_can_delete_comment)}checked="checked"{/if}> |
---|
[13004] | 254 | {'Allow users to delete their own comments'|@translate} |
---|
[3445] | 255 | </label> |
---|
| 256 | </li> |
---|
[13004] | 257 | |
---|
[13024] | 258 | <li id="notifyAdmin"> |
---|
[13004] | 259 | <strong>{'Notify administrators when a comment is'|@translate}</strong> |
---|
| 260 | |
---|
| 261 | <label id="email_admin_on_comment_validation"> |
---|
| 262 | <input type="checkbox" name="email_admin_on_comment_validation" {if ($comments.email_admin_on_comment_validation)}checked="checked"{/if}> {'pending validation'|@translate} |
---|
[3445] | 263 | </label> |
---|
[13004] | 264 | |
---|
[3445] | 265 | <label> |
---|
[13004] | 266 | <input type="checkbox" name="email_admin_on_comment" {if ($comments.email_admin_on_comment)}checked="checked"{/if}> {'added'|@translate} |
---|
[3445] | 267 | </label> |
---|
[13004] | 268 | |
---|
| 269 | <label id="email_admin_on_comment_edition"> |
---|
| 270 | <input type="checkbox" name="email_admin_on_comment_edition" {if ($comments.email_admin_on_comment_edition)}checked="checked"{/if}> {'modified'|@translate} |
---|
| 271 | </label> |
---|
| 272 | |
---|
| 273 | <label id="email_admin_on_comment_deletion"> |
---|
| 274 | <input type="checkbox" name="email_admin_on_comment_deletion" {if ($comments.email_admin_on_comment_deletion)}checked="checked"{/if}> {'deleted'|@translate} |
---|
| 275 | </label> |
---|
[3445] | 276 | </li> |
---|
[2531] | 277 | </ul> |
---|
| 278 | </fieldset> |
---|
| 279 | {/if} |
---|
| 280 | |
---|
[12879] | 281 | {if isset($sizes)} |
---|
| 282 | |
---|
[13883] | 283 | {footer_script} |
---|
[17509] | 284 | var labelMaxWidth = "{'Maximum width'|@translate}"; |
---|
[13883] | 285 | var labelWidth = "{'Width'|@translate}"; |
---|
| 286 | |
---|
[17509] | 287 | var labelMaxHeight = "{'Maximum height'|@translate}"; |
---|
[13883] | 288 | var labelHeight = "{'Height'|@translate}"; |
---|
| 289 | {literal} |
---|
[12879] | 290 | jQuery(document).ready(function(){ |
---|
[13883] | 291 | function toggleResizeFields(size) { |
---|
| 292 | var checkbox = jQuery("#original_resize"); |
---|
| 293 | var needToggle = jQuery("#sizeEdit-original"); |
---|
[12879] | 294 | |
---|
| 295 | if (jQuery(checkbox).is(':checked')) { |
---|
| 296 | needToggle.show(); |
---|
| 297 | } |
---|
| 298 | else { |
---|
| 299 | needToggle.hide(); |
---|
| 300 | } |
---|
| 301 | } |
---|
| 302 | |
---|
| 303 | toggleResizeFields("original"); |
---|
| 304 | jQuery("#original_resize").click(function () {toggleResizeFields("original")}); |
---|
[13883] | 305 | |
---|
| 306 | jQuery("a[id^='sizeEditOpen-']").click(function(){ |
---|
| 307 | var sizeName = jQuery(this).attr("id").split("-")[1]; |
---|
| 308 | jQuery("#sizeEdit-"+sizeName).toggle(); |
---|
| 309 | jQuery(this).hide(); |
---|
[15551] | 310 | return false; |
---|
[13883] | 311 | }); |
---|
| 312 | |
---|
| 313 | jQuery(".cropToggle").click(function() { |
---|
| 314 | var labelBoxWidth = jQuery(this).parents('table.sizeEditForm').find('td.sizeEditWidth'); |
---|
| 315 | var labelBoxHeight = jQuery(this).parents('table.sizeEditForm').find('td.sizeEditHeight'); |
---|
| 316 | |
---|
| 317 | if (jQuery(this).is(':checked')) { |
---|
| 318 | jQuery(labelBoxWidth).html(labelWidth); |
---|
| 319 | jQuery(labelBoxHeight).html(labelHeight); |
---|
| 320 | } |
---|
| 321 | else { |
---|
| 322 | jQuery(labelBoxWidth).html(labelMaxWidth); |
---|
| 323 | jQuery(labelBoxHeight).html(labelMaxHeight); |
---|
| 324 | } |
---|
| 325 | }); |
---|
| 326 | |
---|
| 327 | jQuery("#showDetails").click(function() { |
---|
| 328 | jQuery(".sizeDetails").show(); |
---|
| 329 | jQuery(this).css("visibility", "hidden"); |
---|
[14228] | 330 | return false; |
---|
[13883] | 331 | }); |
---|
| 332 | |
---|
[12879] | 333 | }); |
---|
| 334 | {/literal}{/footer_script} |
---|
| 335 | |
---|
[14228] | 336 | {html_style}{literal} |
---|
[13883] | 337 | .sizeEnable {width:50px;} |
---|
| 338 | .sizeEditForm {margin:0 0 10px 20px;} |
---|
| 339 | .sizeEdit {display:none;} |
---|
| 340 | #sizesConf table {margin:0;} |
---|
| 341 | .showDetails {padding:0;} |
---|
| 342 | .sizeDetails {display:none;margin-left:10px;} |
---|
| 343 | .sizeEditOpen {margin-left:10px;} |
---|
[14228] | 344 | {/literal}{/html_style} |
---|
[13883] | 345 | |
---|
[12879] | 346 | <fieldset id="sizesConf"> |
---|
| 347 | <legend>{'Original Size'|@translate}</legend> |
---|
[23643] | 348 | {if $is_gd} |
---|
[13883] | 349 | <div> |
---|
[23643] | 350 | <label> |
---|
| 351 | {'Resize after upload disabled due to the use of GD as graphic library'|@translate} |
---|
| 352 | <input type="checkbox" name="original_resize" id="original_resize" disabled="disabled" style="visibility: hidden"> |
---|
| 353 | <input type="hidden" name="original_resize_maxwidth" value="{$sizes.original_resize_maxwidth}"> |
---|
| 354 | <input type="hidden" name="original_resize_maxheight" value="{$sizes.original_resize_maxheight}"> |
---|
| 355 | <input type="hidden" name="original_resize_quality" value="{$sizes.original_resize_quality}"> |
---|
| 356 | </label> |
---|
| 357 | </div> |
---|
| 358 | {else} |
---|
| 359 | <div> |
---|
[13883] | 360 | <label for="original_resize"> |
---|
| 361 | <input type="checkbox" name="original_resize" id="original_resize" {if ($sizes.original_resize)}checked="checked"{/if}> |
---|
| 362 | {'Resize after upload'|@translate} |
---|
| 363 | </label> |
---|
| 364 | </div> |
---|
| 365 | |
---|
| 366 | <table id="sizeEdit-original"> |
---|
[12879] | 367 | <tr> |
---|
[17509] | 368 | <th>{'Maximum width'|@translate}</th> |
---|
[14221] | 369 | <td> |
---|
| 370 | <input type="text" name="original_resize_maxwidth" value="{$sizes.original_resize_maxwidth}" size="4" maxlength="4"{if isset($ferrors.original_resize_maxwidth)} class="dError"{/if}> {'pixels'|@translate} |
---|
| 371 | {if isset($ferrors.original_resize_maxwidth)}<span class="dErrorDesc" title="{$ferrors.original_resize_maxwidth}">!</span>{/if} |
---|
| 372 | </td> |
---|
[12879] | 373 | </tr> |
---|
| 374 | <tr> |
---|
[17509] | 375 | <th>{'Maximum height'|@translate}</th> |
---|
[14221] | 376 | <td> |
---|
| 377 | <input type="text" name="original_resize_maxheight" value="{$sizes.original_resize_maxheight}" size="4" maxlength="4"{if isset($ferrors.original_resize_maxheight)} class="dError"{/if}> {'pixels'|@translate} |
---|
| 378 | {if isset($ferrors.original_resize_maxheight)}<span class="dErrorDesc" title="{$ferrors.original_resize_maxheight}">!</span>{/if} |
---|
| 379 | </td> |
---|
[12879] | 380 | </tr> |
---|
| 381 | <tr> |
---|
| 382 | <th>{'Image Quality'|@translate}</th> |
---|
[14221] | 383 | <td> |
---|
| 384 | <input type="text" name="original_resize_quality" value="{$sizes.original_resize_quality}" size="3" maxlength="3"{if isset($ferrors.original_resize_quality)} class="dError"{/if}> % |
---|
| 385 | {if isset($ferrors.original_resize_quality)}<span class="dErrorDesc" title="{$ferrors.original_resize_quality}">!</span>{/if} |
---|
| 386 | </td> |
---|
[12879] | 387 | </tr> |
---|
| 388 | </table> |
---|
[23643] | 389 | {/if} |
---|
[12879] | 390 | </fieldset> |
---|
[13883] | 391 | |
---|
| 392 | <fieldset id="multiSizesConf"> |
---|
| 393 | <legend>{'Multiple Size'|@translate}</legend> |
---|
| 394 | |
---|
| 395 | <div class="showDetails"> |
---|
[23384] | 396 | <a href="#" id="showDetails"{if isset($ferrors)} style="display:none"{/if}>{'show details'|@translate}</a> |
---|
[13883] | 397 | </div> |
---|
| 398 | |
---|
| 399 | <table style="margin:0"> |
---|
| 400 | {foreach from=$derivatives item=d key=type} |
---|
| 401 | <tr> |
---|
| 402 | <td> |
---|
| 403 | <label> |
---|
| 404 | <span class="sizeEnable"> |
---|
| 405 | {if $d.must_enable} |
---|
| 406 | ✔ |
---|
| 407 | {else} |
---|
| 408 | <input type="checkbox" name="d[{$type}][enabled]" {if $d.enabled}checked="checked"{/if}> |
---|
| 409 | {/if} |
---|
| 410 | </span> |
---|
| 411 | {$type|@translate} |
---|
| 412 | </label> |
---|
| 413 | </td> |
---|
| 414 | |
---|
| 415 | <td> |
---|
[14221] | 416 | <span class="sizeDetails"{if isset($ferrors)} style="display:inline"{/if}>{$d.w} x {$d.h} {'pixels'|@translate}{if $d.crop}, {'Crop'|@translate|lower}{/if}</span> |
---|
[13883] | 417 | </td> |
---|
| 418 | |
---|
| 419 | <td> |
---|
[14221] | 420 | <span class="sizeDetails"{if isset($ferrors) and !isset($ferrors.$type)} style="display:inline"{/if}> |
---|
[13883] | 421 | <a href="#" id="sizeEditOpen-{$type}" class="sizeEditOpen">{'edit'|@translate}</a> |
---|
| 422 | </span> |
---|
| 423 | </td> |
---|
| 424 | </tr> |
---|
| 425 | |
---|
[14221] | 426 | <tr id="sizeEdit-{$type}" class="sizeEdit" {if isset($ferrors.$type)} style="display:block"{/if}> |
---|
[13883] | 427 | <td colspan="3"> |
---|
| 428 | <table class="sizeEditForm"> |
---|
| 429 | {if !$d.must_square} |
---|
| 430 | <tr> |
---|
| 431 | <td colspan="2"> |
---|
| 432 | <label> |
---|
| 433 | <input type="checkbox" class="cropToggle" name="d[{$type}][crop]" {if $d.crop}checked="checked"{/if}> |
---|
| 434 | {'Crop'|@translate} |
---|
| 435 | </label> |
---|
| 436 | </td> |
---|
| 437 | </tr> |
---|
| 438 | {/if} |
---|
| 439 | |
---|
| 440 | <tr> |
---|
[17509] | 441 | <td class="sizeEditWidth">{if $d.must_square or $d.crop}{'Width'|@translate}{else}{'Maximum width'|@translate}{/if}</td> |
---|
[13883] | 442 | <td> |
---|
[14221] | 443 | <input type="text" name="d[{$type}][w]" maxlength="4" size="4" value="{$d.w}"{if isset($ferrors.$type.w)} class="dError"{/if}> |
---|
[13883] | 444 | {'pixels'|@translate} |
---|
| 445 | {if isset($ferrors.$type.w)}<span class="dErrorDesc" title="{$ferrors.$type.w}">!</span>{/if} |
---|
| 446 | </td> |
---|
| 447 | </tr> |
---|
| 448 | |
---|
| 449 | {if !$d.must_square} |
---|
| 450 | <tr> |
---|
[17509] | 451 | <td class="sizeEditHeight">{if $d.crop}{'Height'|@translate}{else}{'Maximum height'|@translate}{/if}</td> |
---|
[13883] | 452 | <td> |
---|
[14221] | 453 | <input type="text" name="d[{$type}][h]" maxlength="4" size="4" value="{$d.h}"{if isset($ferrors.$type.h)} class="dError"{/if}> |
---|
[13883] | 454 | {'pixels'|@translate} |
---|
| 455 | {if isset($ferrors.$type.h)}<span class="dErrorDesc" title="{$ferrors.$type.h}">!</span>{/if} |
---|
| 456 | </td> |
---|
| 457 | </tr> |
---|
| 458 | {/if} |
---|
[14649] | 459 | <tr> |
---|
| 460 | <td>{'Sharpen'|@translate}</td> |
---|
| 461 | <td> |
---|
| 462 | <input type="text" name="d[{$type}][sharpen]" maxlength="4" size="4" value="{$d.sharpen}"{if isset($ferrors.$type.sharpen)} class="dError"{/if}> |
---|
| 463 | % |
---|
| 464 | {if isset($ferrors.$type.sharpen)}<span class="dErrorDesc" title="{$ferrors.$type.sharpen}">!</span>{/if} |
---|
| 465 | </td> |
---|
| 466 | </tr> |
---|
[13883] | 467 | </table> {* #sizeEdit *} |
---|
| 468 | </td> |
---|
| 469 | </tr> |
---|
| 470 | {/foreach} |
---|
| 471 | </table> |
---|
| 472 | |
---|
[14251] | 473 | <p style="margin:10px 0 0 0;{if isset($ferrors)} display:block;{/if}" class="sizeDetails"> |
---|
[13883] | 474 | {'Image Quality'|@translate} |
---|
[14221] | 475 | <input type="text" name="resize_quality" value="{$resize_quality}" size="3" maxlength="3"{if isset($ferrors.resize_quality)} class="dError"{/if}> % |
---|
| 476 | {if isset($ferrors.resize_quality)}<span class="dErrorDesc" title="{$ferrors.resize_quality}">!</span>{/if} |
---|
[13883] | 477 | </p> |
---|
[14251] | 478 | <p style="margin:10px 0 0 0;{if isset($ferrors)} display:block;{/if}" class="sizeDetails"> |
---|
| 479 | <a href="{$F_ACTION}&action=restore_settings" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');">{'Reset to default values'|@translate}</a> |
---|
| 480 | </p> |
---|
[17302] | 481 | |
---|
| 482 | {if !empty($custom_derivatives)} |
---|
| 483 | <fieldset class="sizeDetails"><legend>{'custom'|@translate}</legend><table style="margin:0"> |
---|
| 484 | {foreach from=$custom_derivatives item=time key=custom} |
---|
| 485 | <tr><td><label><input type="checkbox" name="delete_custom_derivative_{$custom}"> {'Delete'|@translate} {$custom} ({'Last hit'|@translate}: {$time})</label></td></tr> |
---|
| 486 | {/foreach} |
---|
| 487 | </table></fieldset> |
---|
| 488 | {/if} |
---|
| 489 | |
---|
[13883] | 490 | </fieldset> |
---|
[12879] | 491 | {/if} |
---|
| 492 | |
---|
[14512] | 493 | {if isset($watermark)} |
---|
| 494 | |
---|
| 495 | {footer_script}{literal} |
---|
| 496 | jQuery(document).ready(function() { |
---|
| 497 | |
---|
[14514] | 498 | function onWatermarkChange() { |
---|
| 499 | var val = jQuery("#wSelect").val(); |
---|
| 500 | if (val.length) { |
---|
| 501 | jQuery("#wImg").attr('src', {/literal}'{$ROOT_URL}'{literal}+val).show(); |
---|
| 502 | } |
---|
| 503 | else { |
---|
| 504 | jQuery("#wImg").hide(); |
---|
| 505 | } |
---|
| 506 | } |
---|
| 507 | |
---|
| 508 | onWatermarkChange(); |
---|
| 509 | |
---|
| 510 | jQuery("#wSelect").bind("change", onWatermarkChange); |
---|
| 511 | |
---|
[14512] | 512 | if (jQuery("input[name='w[position]']:checked").val() == 'custom') { |
---|
| 513 | jQuery("#positionCustomDetails").show(); |
---|
| 514 | } |
---|
| 515 | |
---|
| 516 | jQuery("input[name='w[position]']").change(function(){ |
---|
| 517 | if (jQuery(this).val() == 'custom') { |
---|
| 518 | jQuery("#positionCustomDetails").show(); |
---|
| 519 | } |
---|
| 520 | else { |
---|
| 521 | jQuery("#positionCustomDetails").hide(); |
---|
| 522 | } |
---|
| 523 | }); |
---|
[14546] | 524 | |
---|
| 525 | jQuery(".addWatermarkOpen").click(function(){ |
---|
| 526 | jQuery("#addWatermark, #selectWatermark").toggle(); |
---|
[15551] | 527 | return false; |
---|
[14546] | 528 | }); |
---|
[14512] | 529 | }); |
---|
| 530 | {/literal}{/footer_script} |
---|
| 531 | |
---|
| 532 | <fieldset id="watermarkConf"> |
---|
| 533 | <legend></legend> |
---|
| 534 | <ul> |
---|
| 535 | <li> |
---|
[14546] | 536 | <span id="selectWatermark"{if isset($ferrors.watermarkImage)} style="display:none"{/if}><label>{'Select a file'|@translate}</label> |
---|
[14512] | 537 | <select name="w[file]" id="wSelect"> |
---|
| 538 | {html_options options=$watermark_files selected=$watermark.file} |
---|
| 539 | </select> |
---|
[14546] | 540 | {'... or '|@translate}<a href="#" class="addWatermarkOpen">{'add a new watermark'|@translate}</a> |
---|
| 541 | <br><img id="wImg"></img></span>{* #selectWatermark *} |
---|
| 542 | <span id="addWatermark"{if isset($ferrors.watermarkImage)} style="display:inline"{/if}> |
---|
[14548] | 543 | {'add a new watermark'|@translate} {'... or '|@translate}<a href="#" class="addWatermarkOpen">{'Select a file'|@translate}</a> |
---|
[14547] | 544 | <br><input type="file" size="60" id="watermarkImage" name="watermarkImage"{if isset($ferrors.watermarkImage)} class="dError"{/if}> (png) |
---|
[17675] | 545 | {if isset($ferrors.watermarkImage)}<span class="dErrorDesc" title="{$ferrors.watermarkImage|@htmlspecialchars}">!</span>{/if} |
---|
[14546] | 546 | </span>{* #addWatermark *} |
---|
[14512] | 547 | </li> |
---|
| 548 | |
---|
| 549 | <li> |
---|
| 550 | <label> |
---|
| 551 | {'Apply watermark if width is bigger than'|@translate} |
---|
[14513] | 552 | <input size="4" maxlength="4" type="text" name="w[minw]" value="{$watermark.minw}"{if isset($ferrors.watermark.minw)} class="dError"{/if}> |
---|
[14512] | 553 | </label> |
---|
| 554 | {'pixels'|@translate} |
---|
| 555 | </li> |
---|
| 556 | |
---|
| 557 | <li> |
---|
| 558 | <label> |
---|
| 559 | {'Apply watermark if height is bigger than'|@translate} |
---|
[14513] | 560 | <input size="4" maxlength="4" type="text" name="w[minh]" value="{$watermark.minh}"{if isset($ferrors.watermark.minh)} class="dError"{/if}> |
---|
[14512] | 561 | </label> |
---|
| 562 | {'pixels'|@translate} |
---|
| 563 | </li> |
---|
| 564 | |
---|
| 565 | <li> |
---|
| 566 | <label>{'Position'|@translate}</label> |
---|
| 567 | <br> |
---|
| 568 | <div id="watermarkPositionBox"> |
---|
| 569 | <label class="right">{'top right corner'|@translate} <input name="w[position]" type="radio" value="topright"{if $watermark.position eq 'topright'} checked="checked"{/if}></label> |
---|
| 570 | <label><input name="w[position]" type="radio" value="topleft"{if $watermark.position eq 'topleft'} checked="checked"{/if}> {'top left corner'|@translate}</label> |
---|
| 571 | <label class="middle"><input name="w[position]" type="radio" value="middle"{if $watermark.position eq 'middle'} checked="checked"{/if}> {'middle'|@translate}</label> |
---|
| 572 | <label class="right">{'bottom right corner'|@translate} <input name="w[position]" type="radio" value="bottomright"{if $watermark.position eq 'bottomright'} checked="checked"{/if}></label> |
---|
| 573 | <label><input name="w[position]" type="radio" value="bottomleft"{if $watermark.position eq 'bottomleft'} checked="checked"{/if}> {'bottom left corner'|@translate}</label> |
---|
| 574 | </div> |
---|
| 575 | <label style="display:block;margin-top:10px;font-weight:normal;"><input name="w[position]" type="radio" value="custom"{if $watermark.position eq 'custom'} checked="checked"{/if}> {'custom'|@translate}</label> |
---|
| 576 | <div id="positionCustomDetails"> |
---|
| 577 | <label>{'X Position'|@translate} |
---|
[14513] | 578 | <input size="3" maxlength="3" type="text" name="w[xpos]" value="{$watermark.xpos}"{if isset($ferrors.watermark.xpos)} class="dError"{/if}>% |
---|
| 579 | {if isset($ferrors.watermark.xpos)}<span class="dErrorDesc" title="{$ferrors.watermark.xpos}">!</span>{/if} |
---|
[14512] | 580 | </label> |
---|
| 581 | |
---|
| 582 | <br> |
---|
| 583 | <label>{'Y Position'|@translate} |
---|
[14513] | 584 | <input size="3" maxlength="3" type="text" name="w[ypos]" value="{$watermark.ypos}"{if isset($ferrors.watermark.ypos)} class="dError"{/if}>% |
---|
| 585 | {if isset($ferrors.watermark.ypos)}<span class="dErrorDesc" title="{$ferrors.watermark.ypos}">!</span>{/if} |
---|
[14512] | 586 | </label> |
---|
| 587 | |
---|
| 588 | <br> |
---|
| 589 | <label>{'X Repeat'|@translate} |
---|
[14513] | 590 | <input size="3" maxlength="3" type="text" name="w[xrepeat]" value="{$watermark.xrepeat}"{if isset($ferrors.watermark.xrepeat)} class="dError"{/if}> |
---|
| 591 | {if isset($ferrors.watermark.xrepeat)}<span class="dErrorDesc" title="{$ferrors.watermark.xrepeat}">!</span>{/if} |
---|
[14512] | 592 | </label> |
---|
| 593 | </div> |
---|
| 594 | </li> |
---|
| 595 | |
---|
| 596 | <li> |
---|
| 597 | <label>{'Opacity'|@translate}</label> |
---|
[14513] | 598 | <input size="3" maxlength="3" type="text" name="w[opacity]" value="{$watermark.opacity}"{if isset($ferrors.watermark.opacity)} class="dError"{/if}> % |
---|
| 599 | {if isset($ferrors.watermark.opacity)}<span class="dErrorDesc" title="{$ferrors.watermark.opacity}">!</span>{/if} |
---|
[14512] | 600 | </li> |
---|
| 601 | </ul> |
---|
| 602 | </fieldset> |
---|
| 603 | |
---|
| 604 | {/if} {* end of watermark section *} |
---|
| 605 | |
---|
[5293] | 606 | {if isset($display)} |
---|
| 607 | <fieldset id="indexDisplayConf"> |
---|
| 608 | <legend>{'Main Page'|@translate}</legend> |
---|
| 609 | <ul> |
---|
| 610 | <li> |
---|
| 611 | <label> |
---|
| 612 | <input type="checkbox" name="menubar_filter_icon" {if ($display.menubar_filter_icon)}checked="checked"{/if}> |
---|
[23532] | 613 | {'Activate icon "%s"'|@translate|@sprintf:('display only recently posted photos'|@translate|@ucfirst)} |
---|
[5293] | 614 | </label> |
---|
[23526] | 615 | </li> |
---|
| 616 | |
---|
[11285] | 617 | <li> |
---|
| 618 | <label> |
---|
| 619 | <input type="checkbox" name="index_new_icon" {if ($display.index_new_icon)}checked="checked"{/if}> |
---|
[13004] | 620 | {'Activate icon "new" next to albums and pictures'|@translate} |
---|
[11285] | 621 | </label> |
---|
[5293] | 622 | </li> |
---|
| 623 | |
---|
| 624 | <li> |
---|
| 625 | <label> |
---|
| 626 | <input type="checkbox" name="index_sort_order_input" {if ($display.index_sort_order_input)}checked="checked"{/if}> |
---|
[23532] | 627 | {'Activate icon "%s"'|@translate|@sprintf:('Sort order'|@translate)} |
---|
[5293] | 628 | </label> |
---|
| 629 | </li> |
---|
| 630 | |
---|
| 631 | <li> |
---|
| 632 | <label> |
---|
| 633 | <input type="checkbox" name="index_flat_icon" {if ($display.index_flat_icon)}checked="checked"{/if}> |
---|
[23532] | 634 | {'Activate icon "%s"'|@translate|@sprintf:('display all photos in all sub-albums'|@translate|@ucfirst)} |
---|
[5293] | 635 | </label> |
---|
| 636 | </li> |
---|
| 637 | |
---|
| 638 | <li> |
---|
| 639 | <label> |
---|
| 640 | <input type="checkbox" name="index_posted_date_icon" {if ($display.index_posted_date_icon)}checked="checked"{/if}> |
---|
[23532] | 641 | {'Activate icon "%s"'|@translate|@sprintf:('display a calendar by posted date'|@translate|@ucfirst)} |
---|
[5293] | 642 | </label> |
---|
| 643 | </li> |
---|
| 644 | |
---|
| 645 | <li> |
---|
| 646 | <label> |
---|
| 647 | <input type="checkbox" name="index_created_date_icon" {if ($display.index_created_date_icon)}checked="checked"{/if}> |
---|
[23532] | 648 | {'Activate icon "%s"'|@translate|@sprintf:('display a calendar by creation date'|@translate|@ucfirst)} |
---|
[5293] | 649 | </label> |
---|
| 650 | </li> |
---|
| 651 | |
---|
| 652 | <li> |
---|
| 653 | <label> |
---|
| 654 | <input type="checkbox" name="index_slideshow_icon" {if ($display.index_slideshow_icon)}checked="checked"{/if}> |
---|
[23532] | 655 | {'Activate icon "%s"'|@translate|@sprintf:('slideshow'|@translate|@ucfirst)} |
---|
[5293] | 656 | </label> |
---|
| 657 | </li> |
---|
[23526] | 658 | |
---|
[18165] | 659 | <li> |
---|
| 660 | <label> |
---|
| 661 | {'Number of albums per page'|@translate} |
---|
| 662 | <input type="text" size="3" maxlength="4" name="nb_categories_page" id="nb_categories_page" value="{$display.NB_CATEGORIES_PAGE}"> |
---|
| 663 | </label> |
---|
| 664 | </li> |
---|
[5293] | 665 | </ul> |
---|
| 666 | </fieldset> |
---|
| 667 | |
---|
| 668 | <fieldset id="pictureDisplayConf"> |
---|
| 669 | <legend>{'Photo Page'|@translate}</legend> |
---|
| 670 | <ul> |
---|
| 671 | <li> |
---|
| 672 | <label> |
---|
[5298] | 673 | <input type="checkbox" name="picture_slideshow_icon" {if ($display.picture_slideshow_icon)}checked="checked"{/if}> |
---|
[23532] | 674 | {'Activate icon "%s"'|@translate|@sprintf:('slideshow'|@translate|@ucfirst)} |
---|
[5293] | 675 | </label> |
---|
| 676 | </li> |
---|
| 677 | |
---|
| 678 | <li> |
---|
| 679 | <label> |
---|
[5298] | 680 | <input type="checkbox" name="picture_metadata_icon" {if ($display.picture_metadata_icon)}checked="checked"{/if}> |
---|
[23532] | 681 | {'Activate icon "%s"'|@translate|@sprintf:('Show file metadata'|@translate)} |
---|
[5293] | 682 | </label> |
---|
| 683 | </li> |
---|
| 684 | |
---|
| 685 | <li> |
---|
| 686 | <label> |
---|
[5618] | 687 | <input type="checkbox" name="picture_download_icon" {if ($display.picture_download_icon)}checked="checked"{/if}> |
---|
[23532] | 688 | {'Activate icon "%s"'|@translate|@sprintf:('Download this file'|@translate|@ucfirst)} |
---|
[5618] | 689 | </label> |
---|
| 690 | </li> |
---|
| 691 | |
---|
| 692 | <li> |
---|
| 693 | <label> |
---|
[5293] | 694 | <input type="checkbox" name="picture_favorite_icon" {if ($display.picture_favorite_icon)}checked="checked"{/if}> |
---|
[23532] | 695 | {'Activate icon "%s"'|@translate|@sprintf:('add this photo to your favorites'|@translate|@ucfirst)} |
---|
[5293] | 696 | </label> |
---|
| 697 | </li> |
---|
| 698 | |
---|
| 699 | <li> |
---|
| 700 | <label> |
---|
| 701 | <input type="checkbox" name="picture_navigation_icons" {if ($display.picture_navigation_icons)}checked="checked"{/if}> |
---|
[13004] | 702 | {'Activate Navigation Bar'|@translate} |
---|
[5293] | 703 | </label> |
---|
| 704 | </li> |
---|
| 705 | |
---|
| 706 | <li> |
---|
| 707 | <label> |
---|
| 708 | <input type="checkbox" name="picture_navigation_thumb" {if ($display.picture_navigation_thumb)}checked="checked"{/if}> |
---|
[13004] | 709 | {'Activate Navigation Thumbnails'|@translate} |
---|
[5293] | 710 | </label> |
---|
| 711 | </li> |
---|
[23526] | 712 | |
---|
[10812] | 713 | <li> |
---|
| 714 | <label> |
---|
| 715 | <input type="checkbox" name="picture_menu" {if ($display.picture_menu)}checked="checked"{/if}> |
---|
[13004] | 716 | {'Show menubar'|@translate} |
---|
[10812] | 717 | </label> |
---|
| 718 | </li> |
---|
[5293] | 719 | </ul> |
---|
| 720 | </fieldset> |
---|
[5304] | 721 | |
---|
| 722 | <fieldset id="pictureInfoConf"> |
---|
| 723 | <legend>{'Photo Properties'|@translate}</legend> |
---|
| 724 | <ul> |
---|
| 725 | <li> |
---|
| 726 | <label> |
---|
| 727 | <input type="checkbox" name="picture_informations[author]" {if ($display.picture_informations.author)}checked="checked"{/if}> |
---|
[13004] | 728 | {'Author'|@translate} |
---|
[5304] | 729 | </label> |
---|
| 730 | </li> |
---|
| 731 | |
---|
| 732 | <li> |
---|
| 733 | <label> |
---|
| 734 | <input type="checkbox" name="picture_informations[created_on]" {if ($display.picture_informations.created_on)}checked="checked"{/if}> |
---|
[13004] | 735 | {'Created on'|@translate} |
---|
[5304] | 736 | </label> |
---|
| 737 | </li> |
---|
| 738 | |
---|
| 739 | <li> |
---|
| 740 | <label> |
---|
| 741 | <input type="checkbox" name="picture_informations[posted_on]" {if ($display.picture_informations.posted_on)}checked="checked"{/if}> |
---|
[13004] | 742 | {'Posted on'|@translate} |
---|
[5304] | 743 | </label> |
---|
| 744 | </li> |
---|
| 745 | |
---|
| 746 | <li> |
---|
| 747 | <label> |
---|
| 748 | <input type="checkbox" name="picture_informations[dimensions]" {if ($display.picture_informations.dimensions)}checked="checked"{/if}> |
---|
[13004] | 749 | {'Dimensions'|@translate} |
---|
[5304] | 750 | </label> |
---|
| 751 | </li> |
---|
| 752 | |
---|
| 753 | <li> |
---|
| 754 | <label> |
---|
| 755 | <input type="checkbox" name="picture_informations[file]" {if ($display.picture_informations.file)}checked="checked"{/if}> |
---|
[13004] | 756 | {'File'|@translate} |
---|
[5304] | 757 | </label> |
---|
| 758 | </li> |
---|
| 759 | |
---|
| 760 | <li> |
---|
| 761 | <label> |
---|
| 762 | <input type="checkbox" name="picture_informations[filesize]" {if ($display.picture_informations.filesize)}checked="checked"{/if}> |
---|
[13004] | 763 | {'Filesize'|@translate} |
---|
[5304] | 764 | </label> |
---|
| 765 | </li> |
---|
| 766 | |
---|
| 767 | <li> |
---|
| 768 | <label> |
---|
| 769 | <input type="checkbox" name="picture_informations[tags]" {if ($display.picture_informations.tags)}checked="checked"{/if}> |
---|
[13004] | 770 | {'Tags'|@translate} |
---|
[5304] | 771 | </label> |
---|
| 772 | </li> |
---|
| 773 | |
---|
| 774 | <li> |
---|
| 775 | <label> |
---|
| 776 | <input type="checkbox" name="picture_informations[categories]" {if ($display.picture_informations.categories)}checked="checked"{/if}> |
---|
[13004] | 777 | {'Albums'|@translate} |
---|
[5304] | 778 | </label> |
---|
| 779 | </li> |
---|
| 780 | |
---|
| 781 | <li> |
---|
| 782 | <label> |
---|
| 783 | <input type="checkbox" name="picture_informations[visits]" {if ($display.picture_informations.visits)}checked="checked"{/if}> |
---|
[13004] | 784 | {'Visits'|@translate} |
---|
[5304] | 785 | </label> |
---|
| 786 | </li> |
---|
| 787 | |
---|
| 788 | <li> |
---|
| 789 | <label> |
---|
[11893] | 790 | <input type="checkbox" name="picture_informations[rating_score]" {if ($display.picture_informations.rating_score)}checked="checked"{/if}> |
---|
[13004] | 791 | {'Rating score'|@translate} |
---|
[5304] | 792 | </label> |
---|
| 793 | </li> |
---|
| 794 | |
---|
| 795 | <li> |
---|
| 796 | <label> |
---|
| 797 | <input type="checkbox" name="picture_informations[privacy_level]" {if ($display.picture_informations.privacy_level)}checked="checked"{/if}> |
---|
[13004] | 798 | {'Who can see this photo?'|@translate} ({'available for administrators only'|@translate}) |
---|
[5304] | 799 | </label> |
---|
| 800 | </li> |
---|
| 801 | </ul> |
---|
| 802 | </fieldset> |
---|
[5293] | 803 | {/if} |
---|
| 804 | |
---|
[23029] | 805 | </div> <!-- configContent --> |
---|
| 806 | |
---|
[2531] | 807 | {if !isset($default)} |
---|
[14228] | 808 | <p class="formButtons"> |
---|
| 809 | <input type="submit" name="submit" value="{'Save Settings'|@translate}"> |
---|
| 810 | </p> |
---|
[3215] | 811 | </form> |
---|
[2531] | 812 | {/if} |
---|
[13004] | 813 | |
---|
| 814 | {if isset($default)} |
---|
| 815 | {$PROFILE_CONTENT} |
---|
| 816 | {/if} |
---|