Issue #164 - addresses commit @917fb30
This commit is contained in:
@ -282,12 +282,6 @@ if (isset($_GET['serendipity']['plugin_to_conf'])) {
|
||||
/* get sidebar locations */
|
||||
serendipity_smarty_init();
|
||||
|
||||
if (isset($template_config['sidebars'])) {
|
||||
// we save the sidebars set by the template here, because serendipity_loadThemeOption
|
||||
// will otherwise overwrite it, since the move to a separate backend
|
||||
$sidebars = $template_config['sidebars'][0];
|
||||
}
|
||||
|
||||
if (is_array($template_config)) {
|
||||
$template_vars =& serendipity_loadThemeOptions($template_config);
|
||||
}
|
||||
@ -297,10 +291,6 @@ if (isset($_GET['serendipity']['plugin_to_conf'])) {
|
||||
'eventh_col' => 'eventh'
|
||||
);
|
||||
|
||||
if ((! isset($template_vars['sidebars'])) && isset($sidebars)) {
|
||||
$template_vars['sidebars'] = $sidebars;
|
||||
}
|
||||
|
||||
if (isset($template_vars['sidebars'])) {
|
||||
$sidebars = explode(',', $template_vars['sidebars']);
|
||||
} elseif (isset($serendipity['sidebars'])) {
|
||||
|
Reference in New Issue
Block a user