From b8a9773caf30db55f52e9562166054b0917dc990 Mon Sep 17 00:00:00 2001 From: plegall Date: Fri, 26 Mar 2010 14:16:54 +0000 Subject: feature 1514: make the "deactivate" action inactive if there is no active theme left. bug fixed: when setting the default theme, make sure at least one user will be updated. git-svn-id: http://piwigo.org/svn/trunk@5382 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/template/themes_installed.tpl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'admin/themes/default/template') diff --git a/admin/themes/default/template/themes_installed.tpl b/admin/themes/default/template/themes_installed.tpl index 28d4df66a..5bb18ae57 100644 --- a/admin/themes/default/template/themes_installed.tpl +++ b/admin/themes/default/template/themes_installed.tpl @@ -13,7 +13,13 @@
{$theme.name}{if $theme.is_default} ({'default'|@translate}){/if}
+ +{if $theme.deactivable} {'Deactivate'|@translate} +{else} + {'Deactivate'|@translate} +{/if} + {if not $theme.is_default} | {'Default'|@translate} {/if} -- cgit v1.2.3