Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9382
Modified Files:
Tag: branch-smarty
serendipity_admin_plugins.inc.php
serendipity_sidebar_items.php
Log Message:
Added version/authorship information to all plugins, as far as I could reconstruct them.
Added 'stackable' attribute everywhere. I decided certain plugins should not be stackable, this is left up to discussion, but I think I chose reasonable ones.
Index: serendipity_sidebar_items.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_sidebar_items.php,v
retrieving revision 1.84.2.8
retrieving revision 1.84.2.9
diff -u -d -r1.84.2.8 -r1.84.2.9
--- serendipity_sidebar_items.php 16 Oct 2004 17:27:13 -0000 1.84.2.8
+++ serendipity_sidebar_items.php 29 Oct 2004 11:02:33 -0000 1.84.2.9
@@ -6,6 +6,9 @@
$propbag->add('name', CALENDAR);
$propbag->add('description', QUICKJUMP_CALENDAR);
$propbag->add('configuration', array('beginningOfWeek'));
+ $propbag->add('stackable', false);
+ $propbag->add('author', 'Serendipity Team');
+ $propbag->add('version', '1.0');
}
function introspect_config_item($name, &$propbag)
@@ -212,8 +215,11 @@
class serendipity_quicksearch_plugin extends serendipity_plugin {
function introspect(&$propbag)
{
- $propbag->add('name', QUICKSEARCH);
- $propbag->add('description', SEARCH_FOR_ENTRY);
+ $propbag->add('name', QUICKSEARCH);
+ $propbag->add('description', SEARCH_FOR_ENTRY);
+ $propbag->add('stackable', false);
+ $propbag->add('author', 'Serendipity Team');
+ $propbag->add('version', '1.0');
}
function generate_content(&$title)
@@ -237,8 +243,11 @@
class serendipity_archives_plugin extends serendipity_plugin {
function introspect(&$propbag)
{
- $propbag->add('name', ARCHIVES);
- $propbag->add('description', BROWSE_ARCHIVES);
+ $propbag->add('name', ARCHIVES);
+ $propbag->add('description', BROWSE_ARCHIVES);
+ $propbag->add('stackable', true);
+ $propbag->add('author', 'Serendipity Team');
+ $propbag->add('version', '1.0');
$propbag->add('configuration', array('frequency', 'count'));
}
@@ -306,8 +315,11 @@
class serendipity_topreferrers_plugin extends serendipity_plugin {
function introspect(&$propbag)
{
- $propbag->add('name', TOP_REFERRER);
- $propbag->add('description', SHOWS_TOP_SITES);
+ $propbag->add('name', TOP_REFERRER);
+ $propbag->add('description', SHOWS_TOP_SITES);
+ $propbag->add('stackable', false);
+ $propbag->add('author', 'Serendipity Team');
+ $propbag->add('version', '1.0');
$propbag->add('configuration', array('limit', 'use_links'));
}
@@ -359,8 +371,11 @@
class serendipity_topexits_plugin extends serendipity_plugin {
function introspect(&$propbag)
{
- $propbag->add('name', TOP_EXITS);
- $propbag->add('description', SHOWS_TOP_EXIT);
+ $propbag->add('name', TOP_EXITS);
+ $propbag->add('description', SHOWS_TOP_EXIT);
+ $propbag->add('stackable', false);
+ $propbag->add('author', 'Serendipity Team');
+ $propbag->add('version', '1.0');
$propbag->add('configuration', array('limit', 'use_links'));
}
@@ -412,8 +427,11 @@
class serendipity_syndication_plugin extends serendipity_plugin {
function introspect(&$propbag)
{
- $propbag->add('name', SYNDICATION);
- $propbag->add('description', SHOWS_RSS_BLAHBLAH);
+ $propbag->add('name', SYNDICATION);
+ $propbag->add('description', SHOWS_RSS_BLAHBLAH);
+ $propbag->add('stackable', true);
+ $propbag->add('author', 'Serendipity Team');
+ $propbag->add('version', '1.0');
$propbag->add('configuration', array(
'fullfeed',
'show_0.91',
@@ -704,8 +722,11 @@
class serendipity_superuser_plugin extends serendipity_plugin {
function introspect(&$propbag)
{
- $propbag->add('name', SUPERUSER);
- $propbag->add('description', ALLOWS_YOU_BLAHBLAH);
+ $propbag->add('name', SUPERUSER);
+ $propbag->add('description', ALLOWS_YOU_BLAHBLAH);
+ $propbag->add('stackable', false);
+ $propbag->add('author', 'Serendipity Team');
+ $propbag->add('version', '1.0');
$propbag->add('configuration', array('https'));
}
@@ -747,6 +768,9 @@
{
$propbag->add('name', POWERED_BY);
$propbag->add('description', ADVERTISES_BLAHBLAH);
+ $propbag->add('stackable', true);
+ $propbag->add('author', 'Serendipity Team');
+ $propbag->add('version', '1.0');
$propbag->add('configuration', array(
'image',
'text'));
@@ -799,6 +823,9 @@
{
$propbag->add('name', HTML_NUGGET);
$propbag->add('description', HOLDS_A_BLAHBLAH);
+ $propbag->add('stackable', true);
+ $propbag->add('author', 'Serendipity Team');
+ $propbag->add('version', '1.0');
$propbag->add('configuration', array(
'title',
'content',
@@ -878,6 +905,9 @@
$propbag->add('name', CATEGORIES);
$propbag->add('description', CATEGORY_PLUGIN_DESC);
+ $propbag->add('stackable', true);
+ $propbag->add('author', 'Serendipity Team');
+ $propbag->add('version', '1.0');
$propbag->add('configuration', array('authorid', 'image'));
$row_authors = serendipity_db_query("SELECT username, authorid FROM {$serendipity['dbPrefix']}authors");
@@ -941,4 +971,4 @@
}
/* vim: set sts=4 ts=4 expandtab : */
-?>
+?>
\ No newline at end of file
Index: serendipity_admin_plugins.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_admin_plugins.inc.php,v
retrieving revision 1.44.2.4
retrieving revision 1.44.2.5
diff -u -d -r1.44.2.4 -r1.44.2.5
--- serendipity_admin_plugins.inc.php 29 Oct 2004 10:25:08 -0000 1.44.2.4
+++ serendipity_admin_plugins.inc.php 29 Oct 2004 11:02:32 -0000 1.44.2.5
@@ -546,7 +546,7 @@
</tr>
<?php if (count($pluginInfo) > 0) { ?>
<tr>
- <td style="padding-left: 10px; font-size: x-small"><?php echo implode(', ', $pluginInfo); ?></td>
+ <td style="padding-left: 10px; font-size: x-small"><?php echo implode('; ', $pluginInfo); ?></td>
</tr>
<?php } ?>
</table>
|