Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11107
Modified Files:
Tag: branch-smarty
serendipity_admin_plugins.inc.php
Log Message:
show information about markup plugins, emoticons in plugin config
Index: serendipity_admin_plugins.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_admin_plugins.inc.php,v
retrieving revision 1.44
retrieving revision 1.44.2.1
diff -u -d -r1.44 -r1.44.2.1
--- serendipity_admin_plugins.inc.php 3 Sep 2004 23:12:48 -0000 1.44
+++ serendipity_admin_plugins.inc.php 8 Oct 2004 12:05:04 -0000 1.44.2.1
@@ -347,8 +347,8 @@
if ($value === 'unset') {
/* Try and the default value for the config item */
$value = $cbag->get('default');
-
- /* Still, we don't have a value, try and get (bool)false - from an old plugin */
+
+ /* Still, we don't have a value, try and get (bool)false - from an old plugin */
if ($value === '') {
$value = $plugin->get_config($config_item, false, true);
}
@@ -510,6 +510,10 @@
case 'hidden':
?><tr><td colspan="2"><input type="hidden" name="serendipity[plugin][<?php echo $config_item; ?>]" value="<?php echo $cbag->get('value'); ?>" /></td></tr><?php
break;
+
+ case 'info':
+ ?><tr><td colspan="2"><?php echo $cbag->get('description'); ?></td></tr><?php
+ break;
}
}
?>
|