From: garvinhicking Date: Fri, 22 Jul 2005 11:54:27 +0000 (+0000) Subject: Backport Multi-HTMLTextare-Plugin-Config gotcha. X-Git-Tag: 0.8.3~24 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a29530aaea0f7543cedb963b22ee983239c59a8e;p=s9y.git Backport Multi-HTMLTextare-Plugin-Config gotcha. --- diff --git a/docs/NEWS b/docs/NEWS index 6a6de9f..c656dd4 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -14,6 +14,9 @@ Version 0.8.3 () XML_RPC to 1.3.3 Fixing several bugs and vulnerabilities. (nohn) + * Allow plugins to contain more than one HTML nuggets which can be + WYSIWYGized. (garvinhicking) + * Fix editing a draft article to be properly displayed as draft in PostgreSQL setups. Thanks to Penny Leach! (garvinhicking) diff --git a/include/admin/plugins.inc.php b/include/admin/plugins.inc.php index 7e85761..5016c55 100644 --- a/include/admin/plugins.inc.php +++ b/include/admin/plugins.inc.php @@ -293,7 +293,10 @@ if (isset($_GET['serendipity']['plugin_to_conf'])) {
introspect_config_item($config_item, $cbag); @@ -452,22 +455,17 @@ if (isset($_GET['serendipity']['plugin_to_conf'])) { case 'html': case 'text': ?> - - - - get('type') == 'html') { - serendipity_emit_htmlarea_code('nugget', 'nugget'); + $htmlnugget[] = $elcount; + serendipity_emit_htmlarea_code('nugget' . $elcount, 'nugget' . $elcount); } break; @@ -492,6 +490,18 @@ if (isset($_GET['serendipity']['plugin_to_conf'])) {
example() ?>
+ 0) { +?> +
-    -
- +