From cae3ae428edae0649893ea0568ca8237739496ea Mon Sep 17 00:00:00 2001 From: patdenice Date: Sun, 28 Mar 2010 20:29:55 +0000 Subject: feature 1502: In template extensions admin page, change "Bound template" by "Bound theme". Template extensions are now attached to all themes if nothing is selected in "bound theme" column. git-svn-id: http://piwigo.org/svn/trunk@5434 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/template.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/template.class.php') diff --git a/include/template.class.php b/include/template.class.php index 7bb328ec2..2307d9fe2 100644 --- a/include/template.class.php +++ b/include/template.class.php @@ -223,7 +223,7 @@ class Template { } if ((stripos(implode('',array_keys($_GET)), '/'.$param) !== false or $param == 'N/A') - and ($thm == $theme) + and ($thm == $theme or $thm == 'N/A') and (!isset($this->extents[$handle]) or $overwrite) and file_exists($dir . $filename)) { -- cgit v1.2.3