From: <var...@us...> - 2014-06-23 09:51:45
|
Revision: 8928 http://sourceforge.net/p/phpwiki/code/8928 Author: vargenau Date: 2014-06-23 09:51:37 +0000 (Mon, 23 Jun 2014) Log Message: ----------- fusionforge cannot be selected as standalone theme Modified Paths: -------------- trunk/themes/default/templates/userprefs.tmpl Modified: trunk/themes/default/templates/userprefs.tmpl =================================================================== --- trunk/themes/default/templates/userprefs.tmpl 2014-06-23 09:42:14 UTC (rev 8927) +++ trunk/themes/default/templates/userprefs.tmpl 2014-06-23 09:51:37 UTC (rev 8928) @@ -71,10 +71,13 @@ $SelectOptions->pushContent(unselectedOption("",_("<system theme>"))); } foreach ($available_themes as $theme) { - if ($theme == $pref->get('theme') and $theme != THEME) { - $SelectOptions->pushContent(selectedOption($theme)); - } else { - $SelectOptions->pushContent(unselectedOption($theme)); + // 'fusionforge' cannot be selected as standalone theme + if ($theme != 'fusionforge') { + if ($theme == $pref->get('theme') and $theme != THEME) { + $SelectOptions->pushContent(selectedOption($theme)); + } else { + $SelectOptions->pushContent(unselectedOption($theme)); + } } } $SelectThemes = HTML::select(array('name' => "pref[theme]",'id' => 'theme'), This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |