mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 19:29:58 +03:00
fixes #1590 Handle advanced features + section title translation
This commit is contained in:
parent
21ac55c5a5
commit
61a4259b41
3 changed files with 22 additions and 3 deletions
|
@ -121,7 +121,7 @@ $(".delete-size-check").click( function () {
|
|||
{if $isWebmaster == 1}
|
||||
|
||||
<fieldset class="">
|
||||
<legend><span class="icon-globe icon-blue"></span>Global Gallery Actions</legend>
|
||||
<legend><span class="icon-globe icon-blue"></span>{'Global Gallery Actions'|translate}</legend>
|
||||
<div style="display:flex;flex-wrap: wrap;">
|
||||
{if (isset($U_MAINT_LOCK_GALLERY))}
|
||||
<a href="{$U_MAINT_LOCK_GALLERY}" class="lock-gallery-button icon-lock maintenance-action">{'Lock gallery'|@translate}</a>
|
||||
|
@ -135,7 +135,7 @@ $(".delete-size-check").click( function () {
|
|||
</div>
|
||||
</fieldset>
|
||||
<fieldset class="">
|
||||
<legend><span class="icon-trash-1 icon-green"></span>Purge Actions</legend>
|
||||
<legend><span class="icon-trash-1 icon-green"></span>{'Purge Actions'|@translate}</legend>
|
||||
<div style="display:flex;flex-wrap: wrap;">
|
||||
<a href="{$U_MAINT_USER_CACHE}" class="icon-user-1 maintenance-action">{'Purge user cache'|@translate}</a>
|
||||
<a href="{$U_MAINT_ORPHAN_TAGS}" class="icon-tags maintenance-action">{'Delete orphan tags'|@translate}</a>
|
||||
|
@ -147,8 +147,19 @@ $(".delete-size-check").click( function () {
|
|||
</div>
|
||||
</fieldset>
|
||||
|
||||
{if isset($advanced_features) and !(count($advanced_features) < 1)}
|
||||
<fieldset class="">
|
||||
<legend><span class="icon-puzzle icon-purple"></span>{'Advanced features'|@translate}</legend>
|
||||
<div style="display:flex;flex-wrap: wrap;">
|
||||
{foreach from=$advanced_features item=feature key=key name=name}
|
||||
<a href="{$feature.URL}" class="{$feature.ICON} maintenance-action">{$feature.CAPTION}</a>
|
||||
{/foreach}
|
||||
</div>
|
||||
</fieldset>
|
||||
{/if}
|
||||
|
||||
<fieldset class="">
|
||||
<legend><span class="icon-trash-1 icon-red"></span>Purge Cache</legend>
|
||||
<legend><span class="icon-trash-1 icon-red"></span>{'Purge Cache'|@translate}</legend>
|
||||
|
||||
<div class="template-purge">
|
||||
<div class="cache-infos">
|
||||
|
|
|
@ -1251,3 +1251,7 @@ $lang['%s plugins found'] = '<b>%s</b> plugins found';
|
|||
$lang['%s plugin found'] = '<b>%s</b> plugin found';
|
||||
$lang['%s status is required to edit parameters.'] = '%s status is required to edit parameters.';
|
||||
$lang['Edit photo #%s'] = 'Edit photo #%s';
|
||||
$lang['Advanced features'] = 'Advanced features';
|
||||
$lang['Global Gallery Actions'] = 'Global Gallery Actions';
|
||||
$lang['Purge Actions'] = 'Purge Actions';
|
||||
$lang['Purge Cache'] = 'Purge Cache';
|
||||
|
|
|
@ -1253,3 +1253,7 @@ $lang['Webmaster status required'] = 'Statut Webmaster nécéssaire';
|
|||
$lang['%s plugins found'] = '<b>%s</b> plugins trouvés';
|
||||
$lang['%s plugin found'] = '<b>%s</b> plugin trouvé';
|
||||
$lang['%s status is required to edit parameters.'] = 'Le statut %s est nécéssaire pour modifier les paramètres.';
|
||||
$lang['Advanced features'] = 'Fonctionnalités avancées';
|
||||
$lang['Global Gallery Actions'] = 'Actions sur la gallerie';
|
||||
$lang['Purge Actions'] = 'Actions de purge';
|
||||
$lang['Purge Cache'] = 'Purger le cache';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue