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)
echo '</ol></td>';
}
-
+
?>
<tr>
<td colspan="3" align="right"><?php printf(PLUGIN_AVAILABLE_COUNT, $total); ?></td>
} else {
$gopts = &$opts;
}
-
+
$x = "\n<select name=\"$name\">\n";
foreach ($gopts as $k => $v) {
if (!$is_plugin_editable && $k == 'hide') {
?><tr><td colspan="2"><?php echo $cbag->get('default'); ?></td></tr><?php
break;
+ case 'custom':
+ ?><tr><td colspan="2">
+ <input type="hidden" id="config_<?php echo $postKey; ?>_<?php echo $config_item; ?>" name="serendipity[<?php echo $postKey; ?>][<?php echo $config_item; ?>]" value="<?php echo $hvalue; ?>" size="30" />
+ <?php echo $cbag->get('custom'); ?>
+ </td></tr><?php
+ break;
+
case 'hidden':
?><tr><td colspan="2"><input class="direction_<?php echo $lang_direction; ?>" type="hidden" name="serendipity[<?php echo $postKey; ?>][<?php echo $config_item; ?>]" value="<?php echo $cbag->get('value'); ?>" /></td></tr><?php
break;