ed11b82f48
PLEASE NOTE: Since having to deal with a Fatal error Exception thrown: Uncaught exception 'ErrorException' with message 'Warning: Illegal string offset 'properties'' in /plugins/serendipity_event_nl2br/serendipity_event_nl2br.php:212 Stack trace: #0 plugins/serendipity_event_nl2br/serendipity_event_nl2br.php(212): errorToExceptionHandler(2, 'Illegal string ...', '/var/www/...', 212, Array) #1 include/plugin_api.inc.php(1141): serendipity_event_nl2br->event_hook('frontend_displa...', Object(serendipity_property_bag), Array, NULL) #2 plugins/serendipity_event_guestbook/serendipity_plugin_guestbook.php(196): serendipity_plugin_api::hook_event('frontend_displa...', Array) #3 include/plugin_api.inc.php(934): serendipity_plugin_guestbook->generate_content('G/xC3/xA4stebuch-Seit...') changing previous set !in_array($this->instance, $serendipity['POST']['properties']['disable_markups']) && to !@in_array($this->instance, $serendipity['POST']['properties']['disable_markups']) && would give us a wrong result check, since the function !@ is returning false, if 2cd param is not an array, not its value! See: !@in_array() == FALSE and (isset($serendipity['POST']['properties']['disable_markups']) && !in_array($this->instance, $serendipity['POST']['properties']['disable_markups'])) = TRUE $serendipity['POST']['properties']['disable_markups'] = array(false); is the only workable solution for (sidebar?) plugins (see sidebar plugins: guestbook, multilingual), to explicitly allow to apply nl2br to markup (if we want to) |
||
---|---|---|
.. | ||
UTF-8 | ||
lang_bg.inc.php | ||
lang_cs.inc.php | ||
lang_cz.inc.php | ||
lang_de.inc.php | ||
lang_en.inc.php | ||
lang_ko.inc.php | ||
README | ||
serendipity_plugin_nugget_multilingual.php |
Serendipity 'Language-Specific HTML Nugget' Plug-in by Wesley Hwang-Chung, version 1.1 This plug-in acts exactly like the default HTML Nugget plug-in, with one exception - you can choose under what language the HTML nugget will be visible in. For example, if you choose 'Korean', the HTML nugget will be visible only if the blog is being viewed under 'Korean' language option (generally using the Multilingual plug-in). This plug-in is useful in multilingual blogs where the author wants to display different HTML nuggets specifically tied to a language. History 1.4: Added support for three new languages in s9y 0.9 1.1: Initial Release