Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31495
Modified Files:
serendipity_admin_plugins.inc.php
serendipity_sidebar_items.php
Log Message:
admin_plugins:
Was somebody else able to add plugins like this? I don't think so. Works for me, now...
sidebar_items:
I probably fux0red things up here, but there seems to be something wrong
with some built-in plugins as the creative commons and html nugget plugins.
They are missing the "title field".
Index: serendipity_sidebar_items.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_sidebar_items.php,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- serendipity_sidebar_items.php 11 Jun 2004 12:19:05 -0000 1.59
+++ serendipity_sidebar_items.php 15 Jun 2004 20:27:29 -0000 1.60
@@ -515,7 +515,7 @@
function generate_content(&$title)
{
- $title = $this->get_config('title', $title);
+ $title = HTML_NUGGET;
if ($this->get_config('markup', 'true') == 'true') {
$entry = array('html_nugget' => $this->get_config('content'));
serendipity_plugin_api::hook_event('frontend_display', $entry);
Index: serendipity_admin_plugins.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_admin_plugins.inc.php,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- serendipity_admin_plugins.inc.php 14 Jun 2004 11:26:44 -0000 1.28
+++ serendipity_admin_plugins.inc.php 15 Jun 2004 20:27:29 -0000 1.29
@@ -61,7 +61,7 @@
usort($pluginstack, 'serendipity_pluginListSort');
foreach ( $pluginstack as $plug ) {
?>
- <option value="<?php echo $plugin['class_name']; ?>"><?php echo $plug['name'] . ' - ' . $plug['desc']; ?></option>
+ <option value="<?php echo $plug['class_name']; ?>"><?php echo $plug['name'] . ' - ' . $plug['desc']; ?></option>
<?php
}
?>
|