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
This commit is contained in:
patdenice
2010-03-28 20:29:55 +00:00
parent 5a89acb4cb
commit cae3ae428e
18 changed files with 4 additions and 18 deletions
+1 -1
View File
@@ -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))
{