From cf9ad39ded374e7b9243c29e985c11de6aa76b8c Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Sat, 3 Jun 2006 21:56:04 +0000 Subject: [PATCH] new c'custom' property bag type --- docs/NEWS | 6 ++++++ include/functions_plugins_admin.inc.php | 11 +++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/docs/NEWS b/docs/NEWS index 8286cad..d1fe6aa 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -3,6 +3,12 @@ Version 1.1-alpha6() ------------------------------------------------------------------------ + * Add new "custom" property bag type, which can emit any kind of + custom HTML/JS values. Current property bag value can be referenced + by DOM GetElementById('config_plugin_XXX') if you want to emit + specific JavaScript. Can also be used by template configurator for + heavily customized output. (garvinhicking) + * Fix bug #1494653: Non-Unique index constraint for 'exits' table. Thanks to Markus Brueckner! (garvinhicking) diff --git a/include/functions_plugins_admin.inc.php b/include/functions_plugins_admin.inc.php index 06d95e9..462bfdd 100644 --- a/include/functions_plugins_admin.inc.php +++ b/include/functions_plugins_admin.inc.php @@ -180,7 +180,7 @@ function show_plugins($event_only = false) echo ''; } - + ?> @@ -270,7 +270,7 @@ function placement_box($name, $val, $is_plugin_editable = false, $is_event = fal } else { $gopts = &$opts; } - + $x = "\n + get('custom'); ?> +