Fix config sidebar selected langs on save

This commit is contained in:
Ian 2016-05-12 10:04:49 +02:00
parent be4dd1bc2d
commit d272b7578a
3 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2.29 & 1.14 (sidebar):
---------------
* Fix config sidebar selected langs on save
2.28: 2.28:
----- -----

View file

@ -27,7 +27,7 @@ class serendipity_event_multilingual extends serendipity_event
'php' => '4.1.0' 'php' => '4.1.0'
)); ));
$propbag->add('groups', array('FRONTEND_ENTRY_RELATED', 'BACKEND_EDITOR')); $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('configuration', array('copytext', 'placement', 'tagged_title', 'tagged_entries', 'tagged_sidebar', 'langswitch'));
$propbag->add('event_hooks', array( $propbag->add('event_hooks', array(
'frontend_fetchentries' => true, 'frontend_fetchentries' => true,

View file

@ -29,7 +29,7 @@ class serendipity_plugin_multilingual extends serendipity_event
$conf[] = $lkey; $conf[] = $lkey;
} }
$propbag->add('configuration', $conf); $propbag->add('configuration', $conf);
$propbag->add('version', '1.13'); $propbag->add('version', '1.14');
$propbag->add('groups', array('FRONTEND_VIEWS')); $propbag->add('groups', array('FRONTEND_VIEWS'));
$this->dependencies = array('serendipity_event_multilingual' => 'remove'); $this->dependencies = array('serendipity_event_multilingual' => 'remove');
} }
@ -43,7 +43,7 @@ class serendipity_plugin_multilingual extends serendipity_event
$propbag->add('type', 'boolean'); $propbag->add('type', 'boolean');
$propbag->add('name', $lval); $propbag->add('name', $lval);
$propbag->add('default', 'true'); $propbag->add('default', 'true');
#return true; // it does not break the following switch, but why should we need this here?! return true; // keep!
} }
} }