{combine_css id='standard_pages_css' path="themes/standard_pages/skins/{$STD_PGS_SELECTED_SKIN}.css" order=100} {combine_css path="themes/default/vendor/fontello/css/gallery-icon.css" order=-10} {combine_css path="admin/themes/default/fontello/css/fontello.css" order=-11} {combine_script id='standard_pages_js' load='async' require='jquery' path='themes/standard_pages/js/standard_pages.js'} {combine_script id='standard_profile_js' load='footer' require='jquery' path='themes/standard_pages/js/profile.js'} {combine_script id='common' load='footer' require='jquery' path='admin/themes/default/js/common.js'} {footer_script} let user = { username: "{$USERNAME}", email: "{$EMAIL}", nb_image_page: $('input[name="nb_image_page"]').val(), theme: $('select[name="theme"]').val(), language: $('select[name="language"]').val(), recent_period: $('input[name="recent_period"]').val(), opt_album: $('#opt_album').is(':checked'), opt_comment: $('#opt_comment').is(':checked'), opt_hits: $('#opt_hits').is(':checked') } const canUpdatePreferences = {if $ALLOW_USER_CUSTOMIZATION}true{else}false{/if}; const canUpdatePassword = {if not $SPECIAL_USER}true{else}false{/if}; const standardSaveSelector = []; const preferencesDefaultValues = { nb_image_page: {$DEFAULT_USER_VALUES['nb_image_page']}, recent_period: {$DEFAULT_USER_VALUES['recent_period']}, opt_album: {$DEFAULT_USER_VALUES['expand']}, opt_comment: {$DEFAULT_USER_VALUES['show_nb_comments']}, opt_hits: {$DEFAULT_USER_VALUES['show_nb_hits']}, }; const selected_date = "{$API_SELECTED_EXPIRATION}"; const can_manage_api = {($API_CAN_MANAGE) ? "true" : "false"}; const str_copy_key_id = "{"ID copied."|translate|escape:javascript}"; const str_copy_key_secret = "{"Secret copied. Keep it in a safe place."|translate|escape:javascript}"; const str_cant_copy = "{"Impossible to copy automatically. Please copy manually."|translate|escape:javascript}"; const str_api_added = "{"The api key has been successfully created."|translate|escape:javascript}"; const str_revoked = "{"Revoked"|translate|escape:javascript}"; const str_show_expired = "{"Show expired keys"|translate|escape:javascript}"; const str_hide_expired = "{"Hide expired keys"|translate|escape:javascript}"; const str_handle_error = "{"An error has occured"|translate|escape:javascript}"; const str_expires_in = "{"Expires in"|translate|escape:javascript}"; const str_expires_on = "{"Expired on"|translate|escape:javascript}"; const str_revoke_key = "{'Do you really want to revoke the "%s" API key?'|translate|escape:javascript}"; const str_api_revoked = "{"API Key has been successfully revoked."|translate|escape:javascript}"; const str_api_edited = "{"API Key has been successfully edited."|translate|escape:javascript}"; const no_time_elapsed = "{"right now"|translate|escape:javascript}"; const str_must_not_empty = "{'must not be empty'|translate|escape:javascript}"; {/footer_script}
{'Help'|translate}
{if 'none' != $STD_PGS_SELECTED_LOGO}
{if 'piwigo_logo' == $STD_PGS_SELECTED_LOGO} {else if 'custom_logo' == $STD_PGS_SELECTED_LOGO} {else if 'gallery_title'}

{$GALLERY_TITLE}

{/if}
{/if} {'Return to the gallery'|translate} {* ACCOUNT *}

{'Account'|translate}

{'Manage your account'|translate}

{$USERNAME}

{'must not be empty'|translate}

{* PREFERENCES *} {if $ALLOW_USER_CUSTOMIZATION}

{'Preferences'|translate}

{'Choose how you want to see your gallery'|translate}

{'must not be empty'|translate}

{html_options name=theme options=$template_options selected=$template_selection}

{'must not be empty'|translate}

{html_options name=language options=$language_options selected=$language_selection}

{'must not be empty'|translate}

{'must not be empty'|translate}

{* OPTIONS *}

{'Expand all albums'|@translate}

{if $ACTIVATE_COMMENTS}

{'Show number of comments'|@translate}

{/if}

{'Show number of hits'|@translate}

{/if} {* PASSWORD *} {if not $SPECIAL_USER}

{'Password'|translate}

{'Change your password'|translate}

{'must not be empty'|translate}

{'must not be empty'|translate}

{'must not be empty'|translate}

{/if} {* API KEY *}

{'API Keys'|translate}

{'Create API Keys to secure your acount'|translate}

{'To manage your API keys, please log in with your username/password.'|translate|escape:html}

{'API Key name'|translate}

{'Created at'|translate}

{'Last use'|translate}

{'Expires in'|translate}

{* API KEY MODAL *}

{'Generate API Key'|translate}

{'Create a new API key to secure your account.'|translate}

{'must not be empty'|translate}

{html_options name=api_expiration options=$API_EXPIRATION}

{'you must choose a date'|translate}

{$API_EMAIL_INFOS}

{'Generate API Key'|translate}

{'Save your ID and secret'|translate}

{* API KEY MODAL EDIT *}

{'Edit API Key'|translate}

{'must not be empty'|translate}

{* API KEY MODAL REVOKE *}

{if isset($PLUGINS_PROFILE)} {foreach from=$PLUGINS_PROFILE item=plugin_block key=k_block}

{$plugin_block.name}

{$plugin_block.desc}

{include file=$plugin_block.template} {if $plugin_block.standard_show_save}
{footer_script} standardSaveSelector.push('#save_{$k_block}'); {/footer_script} {/if}
{/foreach} {/if} {if count($language_options) > 1}
{foreach from=$language_options key=code item=lang} {$lang} {/foreach}
{$language_options[$language_selection]}
{/if} {include file='toaster.tpl'}