mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-12 03:33:01 +02:00
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user