Fix config sidebar selected langs on save
This commit is contained in:
parent
be4dd1bc2d
commit
d272b7578a
|
@ -1,3 +1,8 @@
|
|||
2.29 & 1.14 (sidebar):
|
||||
---------------
|
||||
|
||||
* Fix config sidebar selected langs on save
|
||||
|
||||
2.28:
|
||||
-----
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ class serendipity_event_multilingual extends serendipity_event
|
|||
'php' => '4.1.0'
|
||||
));
|
||||
$propbag->add('groups', array('FRONTEND_ENTRY_RELATED', 'BACKEND_EDITOR'));
|
||||
$propbag->add('version', '2.28');
|
||||
$propbag->add('version', '2.29');
|
||||
$propbag->add('configuration', array('copytext', 'placement', 'tagged_title', 'tagged_entries', 'tagged_sidebar', 'langswitch'));
|
||||
$propbag->add('event_hooks', array(
|
||||
'frontend_fetchentries' => true,
|
||||
|
|
|
@ -29,7 +29,7 @@ class serendipity_plugin_multilingual extends serendipity_event
|
|||
$conf[] = $lkey;
|
||||
}
|
||||
$propbag->add('configuration', $conf);
|
||||
$propbag->add('version', '1.13');
|
||||
$propbag->add('version', '1.14');
|
||||
$propbag->add('groups', array('FRONTEND_VIEWS'));
|
||||
$this->dependencies = array('serendipity_event_multilingual' => 'remove');
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ class serendipity_plugin_multilingual extends serendipity_event
|
|||
$propbag->add('type', 'boolean');
|
||||
$propbag->add('name', $lval);
|
||||
$propbag->add('default', 'true');
|
||||
#return true; // it does not break the following switch, but why should we need this here?!
|
||||
return true; // keep!
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue