aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/admin
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2007-07-10 22:00:36 +0000
committerrvelices <rv-github@modusoptimus.com>2007-07-10 22:00:36 +0000
commit71d516d1f20223a56c3a6c75fdb136165c74f345 (patch)
tree1c4f76fab9e8820a7d35a1fe0fd8ed4137460ffa /template/yoga/admin
parentbbd2ddd142ede55e3212008436634b016487799e (diff)
merge r2061 from branch 1.7 to trunk
feature 719 : Split purge history link into Purge summary and Purge details. - add a confirmation box when purging history git-svn-id: http://piwigo.org/svn/trunk@2062 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/admin/maintenance.tpl8
1 files changed, 6 insertions, 2 deletions
diff --git a/template/yoga/admin/maintenance.tpl b/template/yoga/admin/maintenance.tpl
index 697e0954b..12d07732a 100644
--- a/template/yoga/admin/maintenance.tpl
+++ b/template/yoga/admin/maintenance.tpl
@@ -9,8 +9,12 @@
<ul>
<li><a href="{U_MAINT_CATEGORIES}" {TAG_INPUT_ENABLED}>{lang:update categories informations}</a></li>
<li><a href="{U_MAINT_IMAGES}" {TAG_INPUT_ENABLED}>{lang:update images informations}</a></li>
- <li><a href="{U_MAINT_HISTORY}" {TAG_INPUT_ENABLED}>{lang:purge history}</a></li>
+ <li><a href="{U_MAINT_DATABASE}" {TAG_INPUT_ENABLED}>{lang:repair and optimize database}</a></li>
+</ul>
+
+<ul>
+ <li><a href="{U_MAINT_HISTORY_DETAIL}" onclick="return confirm('{lang:Are you sure?}');" {TAG_INPUT_ENABLED}>{lang:purge history detail}</a></li>
+ <li><a href="{U_MAINT_HISTORY_SUMMARY}" onclick="return confirm('{lang:Are you sure?}');" {TAG_INPUT_ENABLED}>{lang:purge history summary}</a></li>
<li><a href="{U_MAINT_SESSIONS}" {TAG_INPUT_ENABLED}>{lang:purge sessions}</a></li>
<li><a href="{U_MAINT_FEEDS}" {TAG_INPUT_ENABLED}>{lang:purge never used notification feeds}</a></li>
- <li><a href="{U_MAINT_DATABASE}" {TAG_INPUT_ENABLED}>{lang:repair and optimize database}</a></li>
</ul>