diff options
author | rvelices <rv-github@modusoptimus.com> | 2010-03-20 08:59:54 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2010-03-20 08:59:54 +0000 |
commit | a02bf8952b73943249eb7a3c8afdcafee6a88fdc (patch) | |
tree | 1b0ed5d5f4a331502e6a7aaad3b1bb67818ca4ba /admin/themes | |
parent | 55e78ab8d211a443eff524b9d582fe2bfbc3e646 (diff) |
- added a js confirmation before deletign a theme
- fix link to css
- simplified language loading (a couple of years ago during utf8 migration I left the possibility to have languages defined in another charsets - this is useless)
git-svn-id: http://piwigo.org/svn/trunk@5200 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes')
-rw-r--r-- | admin/themes/default/template/include/datepicker.inc.tpl | 2 | ||||
-rw-r--r-- | admin/themes/default/template/themes_installed.tpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/admin/themes/default/template/include/datepicker.inc.tpl b/admin/themes/default/template/include/datepicker.inc.tpl index f010febcf..d85706903 100644 --- a/admin/themes/default/template/include/datepicker.inc.tpl +++ b/admin/themes/default/template/include/datepicker.inc.tpl @@ -11,7 +11,7 @@ {/if} {html_head} -<link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/default/js/ui/themes/ui.datepicker.css"> +<link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/default/js/ui/theme/ui.datepicker.css"> {/html_head} <script type="text/javascript"> diff --git a/admin/themes/default/template/themes_installed.tpl b/admin/themes/default/template/themes_installed.tpl index 8c0fca6fa..a231f39ff 100644 --- a/admin/themes/default/template/themes_installed.tpl +++ b/admin/themes/default/template/themes_installed.tpl @@ -31,7 +31,7 @@ <div class="themeShot"><img src="{$theme.screenshot}"></div> <div class="themeActions"> <a href="{$activate_baseurl}{$theme.id}" title="{'Make this theme available to users'|@translate}">{'Activate'|@translate}</a> - | <a href="{$delete_baseurl}{$theme.id}" title="{'Delete this theme'|@translate}">{'Delete'|@translate}</a> + | <a href="{$delete_baseurl}{$theme.id}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');" title="{'Delete this theme'|@translate}">{'Delete'|@translate}</a> </div> </div> |