summaryrefslogtreecommitdiff
path: root/plugins/data.rss.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-09-09 19:55:35 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-09-09 19:55:35 +0000
commitb1b42abcbe6a8ff9eec87523caba474f77e60c8d (patch)
tree12bf41a954c3499ae54b7a5799b91a39f7c659d6 /plugins/data.rss.php
parentc375ede23710873780d9e98e3014d95d587d21dc (diff)
downloadliberty-b1b42abcbe6a8ff9eec87523caba474f77e60c8d.tar.gz
liberty-b1b42abcbe6a8ff9eec87523caba474f77e60c8d.tar.bz2
liberty-b1b42abcbe6a8ff9eec87523caba474f77e60c8d.zip
allow plugins to use their own icons and remove plugin icons from quicktags list - users should re-install quicktags to clean up display
Diffstat (limited to 'plugins/data.rss.php')
-rw-r--r--plugins/data.rss.php22
1 files changed, 12 insertions, 10 deletions
diff --git a/plugins/data.rss.php b/plugins/data.rss.php
index dec8592..94f8390 100644
--- a/plugins/data.rss.php
+++ b/plugins/data.rss.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Revision: 1.8 $
+ * @version $Revision: 1.9 $
* @package liberty
* @subpackage plugins_data
*/
@@ -17,7 +17,7 @@
// | Reworked for Bitweaver (& Undoubtedly Screwed-Up)
// | by: StarRider <starrrider@users.sourceforge.net>
// +----------------------------------------------------------------------+
-// $Id: data.rss.php,v 1.8 2006/08/28 07:52:25 jht001 Exp $
+// $Id: data.rss.php,v 1.9 2006/09/09 19:55:35 squareing Exp $
/**
* definitions
@@ -26,18 +26,20 @@ global $gLibertySystem;
define( 'PLUGIN_GUID_DATARSS', 'datarss' );
global $gLibertySystem;
$pluginParams = array (
- 'tag' => 'RSS',
+ 'tag' => 'rss',
'auto_activate' => TRUE,
'requires_pair' => FALSE,
'load_function' => 'rss_parse_data',
- 'title' => 'RSS Feed',
- 'help_page' => 'DataPluginRSS',
- 'description' => tra("Display RSS Feeds"),
+ 'title' => 'RSS Feed',
+ 'help_page' => 'DataPluginRSS',
+ 'description' => tra("Display RSS Feeds"),
'help_function' => 'rss_extended_help',
- 'syntax' => "{RSS id= max= }",
- 'path' => LIBERTY_PKG_PATH.'plugins/data.rss.php',
- 'security' => 'registered',
- 'plugin_type' => DATA_PLUGIN
+ 'syntax' => "{RSS id= max= }",
+ 'path' => LIBERTY_PKG_PATH.'plugins/data.rss.php',
+ 'security' => 'registered',
+ 'plugin_type' => DATA_PLUGIN,
+ 'biticon' => '{biticon class="quicktag icon" ipackage=quicktags iname=rss iexplain="RSS Feed"}',
+ 'taginsert' => '{rss}'
);
$gLibertySystem->registerPlugin( PLUGIN_GUID_DATARSS, $pluginParams );
$gLibertySystem->registerDataTag( $pluginParams['tag'], PLUGIN_GUID_DATARSS );