diff options
author | rvelices <rv-github@modusoptimus.com> | 2007-07-10 21:58:24 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2007-07-10 21:58:24 +0000 |
commit | b21a954e293862cd6d893c887c777fc5b500d766 (patch) | |
tree | fddccf82fc025c53fcd455978592cc254c05a0ae /template/yoga | |
parent | c83520ffe18421d539bb02404dfaff08881c2c15 (diff) |
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/branches/branch-1_7@2061 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga')
-rw-r--r-- | template/yoga/admin/maintenance.tpl | 8 |
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> |