diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-06-09 18:09:39 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-06-09 18:09:39 +0000 |
| commit | a80d9f0ac61037bf5e0846a060f91d4da17eaa6c (patch) | |
| tree | 1227789a43cf0b245b8ce8b14dd61843abc3ca1b /plugins | |
| parent | e445cadab331d09db1464b053ee78d6254865cf1 (diff) | |
| download | liberty-a80d9f0ac61037bf5e0846a060f91d4da17eaa6c.tar.gz liberty-a80d9f0ac61037bf5e0846a060f91d4da17eaa6c.tar.bz2 liberty-a80d9f0ac61037bf5e0846a060f91d4da17eaa6c.zip | |
turn off plugins i consider unpopular to reduce resources needed on parsing. might be wrong about a few - feel free to auto_activate them again
Diffstat (limited to 'plugins')
28 files changed, 91 insertions, 626 deletions
diff --git a/plugins/data.addtabs.php b/plugins/data.addtabs.php index 982d35c..254df93 100644 --- a/plugins/data.addtabs.php +++ b/plugins/data.addtabs.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.7 $ + * @version $Revision: 1.8 $ * @package liberty * @subpackage plugins_data */ @@ -15,7 +15,7 @@ // +----------------------------------------------------------------------+ // | Author: StarRider <starrrider@users.sourceforge.net> // +----------------------------------------------------------------------+ -// $Id: data.addtabs.php,v 1.7 2006/04/06 05:06:11 starrrider Exp $ +// $Id: data.addtabs.php,v 1.8 2007/06/09 18:09:39 squareing Exp $ /** * definitions @@ -25,7 +25,7 @@ global $gLibertySystem; global $gContent; $pluginParams = array ( 'tag' => 'ADDTABS', - 'auto_activate' => TRUE, + 'auto_activate' => FALSE, 'requires_pair' => FALSE, 'load_function' => 'data_addtabs', 'title' => 'AddTabs', diff --git a/plugins/data.agentinfo.php b/plugins/data.agentinfo.php index 349a8ad..6f2725b 100644 --- a/plugins/data.agentinfo.php +++ b/plugins/data.agentinfo.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.7 $ + * @version $Revision: 1.8 $ * @package liberty * @subpackage plugins_data */ @@ -17,7 +17,7 @@ // | Reworked for Bitweaver (& Undoubtedly Screwed-Up) // | by: StarRider <starrrider@users.sourceforge.net> // +----------------------------------------------------------------------+ -// $Id: data.agentinfo.php,v 1.7 2006/04/06 05:06:11 starrrider Exp $ +// $Id: data.agentinfo.php,v 1.8 2007/06/09 18:09:39 squareing Exp $ /** * definitions @@ -26,7 +26,7 @@ define( 'PLUGIN_GUID_DATAAGENTINFO', 'dataagentinfo' ); global $gLibertySystem; $pluginParams = array ( 'tag' => 'AGENTINFO', - 'auto_activate' => TRUE, + 'auto_activate' => FALSE, 'requires_pair' => FALSE, 'load_function' => 'data_agentinfo', 'title' => 'AgentInfo', diff --git a/plugins/data.articles.php b/plugins/data.articles.php index 7e3165a..cb9a0cc 100644 --- a/plugins/data.articles.php +++ b/plugins/data.articles.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.10 $ + * @version $Revision: 1.11 $ * @package liberty * @subpackage plugins_data */ @@ -18,7 +18,7 @@ // | by: StarRider <starrrider@users.sourceforge.net> // | Reworked from: wikiplugin_articles.php - see deprecated code below // +----------------------------------------------------------------------+ -// $Id: data.articles.php,v 1.10 2007/05/20 22:38:03 nickpalmer Exp $ +// $Id: data.articles.php,v 1.11 2007/06/09 18:09:39 squareing Exp $ /** * definitions @@ -28,7 +28,7 @@ define( 'PLUGIN_GUID_DATAARTICLES', 'dataarticles' ); global $gLibertySystem; $pluginParams = array ( 'tag' => 'ARTICLES', - 'auto_activate' => TRUE, + 'auto_activate' => FALSE, 'requires_pair' => FALSE, 'load_function' => 'data_articles', 'help_function' => 'data_articles_help', diff --git a/plugins/data.blog.php b/plugins/data.blog.php index dbab1ed..ad4c4d4 100755 --- a/plugins/data.blog.php +++ b/plugins/data.blog.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.10 $ + * @version $Revision: 1.11 $ * @package liberty * @subpackage plugins_data */ @@ -18,7 +18,7 @@ // | by: wjames5 // | Reworked from: data.articles.php from wikiplugin_articles.php // +----------------------------------------------------------------------+ -// $Id: data.blog.php,v 1.10 2007/05/22 02:18:43 wjames5 Exp $ +// $Id: data.blog.php,v 1.11 2007/06/09 18:09:39 squareing Exp $ /** * definitions @@ -30,7 +30,7 @@ define( 'PLUGIN_GUID_DATABLOG', 'datablog' ); global $gLibertySystem; $pluginParams = array ( 'tag' => 'BLOG', - 'auto_activate' => TRUE, + 'auto_activate' => FALSE, 'requires_pair' => FALSE, 'load_function' => 'data_blog', 'help_function' => 'data_blog_help', diff --git a/plugins/data.category.php b/plugins/data.category.php deleted file mode 100644 index 0097f3d..0000000 --- a/plugins/data.category.php +++ /dev/null @@ -1,254 +0,0 @@ -<?php -/** - * @version $Revision: 1.9 $ - * @package liberty - * @subpackage plugins_data - */ -// +----------------------------------------------------------------------+ -// | Copyright (c) 2004, bitweaver.org -// +----------------------------------------------------------------------+ -// | All Rights Reserved. See copyright.txt for details and a complete list of authors. -// | Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details -// | -// | For comments, please use phpdocu.sourceforge.net documentation standards!!! -// | -> see http://phpdocu.sourceforge.net/ -// +----------------------------------------------------------------------+ -// | Author (TikiWiki): Oliver Hertel <ohertel@users.sourceforge.net> -// | Reworked for Bitweaver (& Undoubtedly Screwed-Up) -// | by: StarRider <starrrider@users.sourceforge.net> -// | Reworked from: wikiplugin_category.php - see deprecated code below -// +----------------------------------------------------------------------+ -// $Id: data.category.php,v 1.9 2006/08/07 22:14:57 squareing Exp $ - -/** - * definitions - */ -global $gBitSystem; -if( $gBitSystem->isPackageActive( 'categories' ) ) { // Do not include this Plugin if the Package is not active -define( 'PLUGIN_GUID_DATACATEGORY', 'datacategory' ); -global $gLibertySystem; -$pluginParams = array ( - 'tag' => 'CATEGORY', - 'auto_activate' => FALSE, - 'requires_pair' => FALSE, - 'load_function' => 'data_category', - 'title' => 'Category - This plugin is not yet functional.', // Remove this line when the plugin becomes operational -// 'title' => 'Category', // and Remove the comment from the start of this line - 'help_page' => 'DataPluginCategory', - 'description' => tra("This plugin insert a list of items for the current category or a given category."), - 'help_function' => 'data_category_help', - 'syntax' => "{CATEGORY id= types= sort= sub= split= }", - 'path' => LIBERTY_PKG_PATH.'plugins/data.category.php', - 'security' => 'registered', - 'plugin_type' => DATA_PLUGIN -); -$gLibertySystem->registerPlugin( PLUGIN_GUID_DATACATEGORY, $pluginParams ); -$gLibertySystem->registerDataTag( $pluginParams['tag'], PLUGIN_GUID_DATACATEGORY ); - -// Help Function -function data_category_help() { - $help = - '<table class="data help">' - .'<tr>' - .'<th>' . tra( "Key" ) . '</th>' - .'<th>' . tra( "Type" ) . '</th>' - .'<th>' . tra( "Comments" ) . '</th>' - .'</tr>' - .'<tr class="odd">' - .'<td>id</td>' - .'<td>' . tra( "number(s)") . '<br />' . tra("(optional)") . '</td>' - .'<td>' . tra( "A Category Id number or list of Id numbers. The easiest way to see a Category Id number is to open 'View Categories' and placing the mouse over the Category in question. The URL will be displayed by most browsers. The end of the URL contains an Id number like this: <strong>parent_id=9</strong>. Multiple Id numbers can be entered by joining them with the + character like this: <strong>1+2+3</strong>. Default = <strong>the Current Category Id Number </strong> if not defined.") . '</td>' - .'</tr>' - .'<tr class="even">' - .'<td>type</td>' - .'<td>' . tra( "key-word") . '<br />' . tra("(optional)") . '</td>' - .'<td>' . tra( "A filter to limit which <strong>bitweaver</strong> Object will be displayed on the page. The key-words are:") . ' <strong>blog faq fgal igal newsletter poll quiz survey tracker & wiki</strong>. ' . tra("Multiple key-words can be entered by joining them with the + character like this:") . ' <strong>blog+wiki</strong>. ' . tra("The Default = ") . '<strong>ALL OBJECTS</strong></td>' - .'</tr>' - .'<tr class="odd">' - .'<td>sort</td>' - .'<td>' . tra( "key-word") . '<br />' . tra("(optional)") . '</td>' - .'<td>' . tra( "Specifies a Sort Order. The Sort Order may be by:") . '<strong> type, created, name, or hits. </strong>' . tra("A direction can be defined by adding either") . '<strong> _asc</strong> or <strong>_dec. </strong>' . tra("(The Default = ") . '<strong>name_asc</strong>)</td>' - .'</tr>' - .'<tr class="even">' - .'<td>sub</td>' - .'<td>' . tra( "boolean") . '<br />' . tra("(optional)") . '</td>' - .'<td>' . tra( "Determins if any subcategory items are to be displayed. Passing any value in this parameter will make it <strong>FALSE</strong>. The Default = <strong>TRUE</strong> so subcategories are displayed.") . '</td>' - .'</tr>' - .'<tr class="odd">' - .'<td>split</td>' - .'<td>' . tra( "boolean") . '<br />' . tra("(optional)") . '</td>' - .'<td>' . tra( "Primarilly used when displaying multiple categories. Determins if the display will be split into more than one column. Passing any value in this parameter will make it <strong>FALSE</strong>. The Default = <strong>TRUE</strong> so multiple columns are displayed.") . '</td>' - .'</tr>' - .'</table>' - . tra("Example: ") . "{CATEGORY id='1+2+3' types='blog+faq' sort='type_asc'}<br />" - . tra("Example: ") . "{CATEGORY id='1+2+3' types='blog+faq+wiki' sort='name_asc' sub='No' split='No'}"; - return $help; -} - -// Load Function -function data_category($data, $params) { // Pre-Clyde Changes -// requires_pair was TRUE / No other changes were made to the Help -// The next 2 lines allow access to the $pluginParams given above and may be removed when no longer needed - global $gLibertySystem; - $pluginParams = $gLibertySystem->mPlugins[PLUGIN_GUID_DATACATEGORY]; - $ret = 'The plugin <strong>"' . $pluginParams['tag'] . '"</strong> has not been completed as yet. '; - return $ret; -} -} -/****************************************************************************** -The code below is from the deprecated CATEGORY plugin. All comments and the help routines have been removed. - StarRider -function in_multi_array($needle, $haystack) { - $in_multi_array = false; - if (in_array($needle, $haystack)) { - $in_multi_array = true; - } else { - while (list($tmpkey, $tmpval) = each($haystack)) { - if (is_array($haystack[$tmpkey])) { - if (in_multi_array($needle, $haystack[$tmpkey])) { - $in_multi_array = true; - break; - } - } - } - } - return $in_multi_array; -} -function wikiplugin_category($data, $params) { - global $gBitSmarty; - global $package_categories; - global $categlib; - if (!is_object($categlib)) { - require_once (CATEGORIES_PKG_PATH."categlib.php"); - } - if ($package_categories != 'y') { - return "<span class='warn'>" . tra("Categories are disabled"). "</span>"; - } - extract ($params, EXTR_SKIP); - // array for converting long type names (as in database) to short names (as used in plugin) - $typetokens = array( - "article" => "article", - "blog" => "blog", - "faq" => "faq", - "file gallery" => "fgal", - "image gallery" => "igal", - "newsletter" => "newsletter", - "poll" => "poll", - "quiz" => "quiz", - "survey" => "survey", - "tracker" => "tracker", - "wiki page" => "wiki" - ); - // TODO: move this array to a lib - // array for converting long type names to translatable headers (same strings as in application menu) - $typetitles = array( - "article" => "Articles", - "blog" => "Blogs", - "directory" => "Directory", - "faq" => "FAQs", - "file gallery" => "File Galleries", - "forum" => "Forums", - "image gallery" => "Image Gals", - "newsletter" => "Newsletters", - "poll" => "Polls", - "quiz" => "Quizzes", - "survey" => "Surveys", - "tracker" => "Trackers", - "wiki page" => "Wiki" - ); - // string given back to caller - $out = ""; - // TODO: use categ name instead of id (alternative) - $id = (isset($id)) ? $id : 'current'; // use current category if none is given - if ($id == 'current') { - $obj_id = urldecode($_REQUEST['page']); - $catids = $categlib->get_object_categories('wiki page', $obj_id); - } else { - $catids = explode("+", $id); // create array of category ids to be displayed - } - // default setting for $split is 'yes' - if (!(isset($split))) { - $split = 'yes'; - } elseif ($split != 'y' and $split != 'yes' and $split != 'n' and $split != 'no' and $split != 'true' and $split != 'false') { - $split = 'yes'; - } - // array with items to be displayed - $listcat = array(); - // title of categories - $title = ''; - // TODO: allow 'find' and 'max_records' - $find = ""; - $offset = 0; - $max_records = 500; - $count = 0; - $sort = (isset($sort)) ? $sort : "name_asc"; - $types = (isset($types)) ? "+" . strtolower($types) : "*"; - $typesallowed = split("\+", $types); // create array of types the user allowed to be displayed - foreach ($catids as $id) { - // get data of category - $cat = $categlib->get_category($id); - // store name of category - if ($count != 0) { - $title .= "| <a href=\"".CATEGORIES_PKG_URL."index.php?parent_id=" . $id . "\">" . $cat['name'] . "</a> "; - } else { - $title .= "<a href=\"".CATEGORIES_PKG_URL."index.php?parent_id=" . $id . "\">" . $cat['name'] . "</a> "; - } - // keep track of how many categories there are for split mode off - $count++; - // check if sub=>true and get sub category data - if (!(isset($sub))) { - $sub = true; - } elseif ($sub == 'no' or $sub == 'n' or $sub == 'false') { - $sub = false; - } else { - $sub = true; - } - $subcategs = array(); - if ($sub) { - $subcategs = $categlib->get_category_descendants($id); - } - // array with objects in category - $objectcat = array(); - if ($sub) { - // get all items for category and sub category - $objectcat = $categlib->list_category_objects_deep($id, $offset, $max_records, $sort, $find); - } else { - // get all items for category - $objectcat = $categlib->list_category_objects($id, $offset, $max_records, $sort, $find); - } - foreach ($objectcat["data"] as $obj) { - $type = $obj["type"]; - // check if current type is in allowed type list: * = everything allowed - if (($types == '*') || array_search($typetokens[strtolower($type)], $typesallowed)) { - // remove duplicates in non-split mode - if ($split == 'n' or $split == 'no' or $split == 'false') { - if (!(in_multi_array($obj['name'], $listcat))) // TODO: check for name+type - { - $listcat[$typetitles["$type"]][] = $obj; - } - } else { - $listcat[$typetitles["$type"]][] = $obj; - } - } - } - // split mode: appending onto $out each time - if ($split == 'y' or $split == 'yes' or $split == 'true') { - $gBitSmarty->assign("title", $title); - $gBitSmarty->assign("listcat", $listcat); - $out .= $gBitSmarty->fetch("bitpackage:wiki/simple_plugin.tpl"); - // reset array for next loop - $listcat = array(); - // reset title - $title = ''; - $count = 0; - } - } - // non-split mode - if ($split == 'n' or $split == 'no' or $split == 'false') { - $gBitSmarty->assign("title", $title); - $gBitSmarty->assign("listcat", $listcat); - $out = $gBitSmarty->fetch("bitpackage:wiki/simple_plugin.tpl"); - } - return '~np~'.$out.'~/np~'; -} -*/ -?> diff --git a/plugins/data.catorphans.php b/plugins/data.catorphans.php deleted file mode 100644 index e1da9c1..0000000 --- a/plugins/data.catorphans.php +++ /dev/null @@ -1,144 +0,0 @@ -<?php -/** - * @version $Revision: 1.8 $ - * @package liberty - * @subpackage plugins_data - */ -// +----------------------------------------------------------------------+ -// | Copyright (c) 2004, bitweaver.org -// +----------------------------------------------------------------------+ -// | All Rights Reserved. See copyright.txt for details and a complete list of authors. -// | Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details -// | -// | For comments, please use phpdocu.sourceforge.net documentation standards!!! -// | -> see http://phpdocu.sourceforge.net/ -// +----------------------------------------------------------------------+ -// | Author (TikiWiki): TeeDog <teedog@users.sourceforge.net> -// | Reworked for Bitweaver (& Undoubtedly Screwed-Up) -// | by: StarRider <starrrider@users.sourceforge.net> -// | Reworked from: wikiplugin_catorphans.php - see deprecated code below -// +----------------------------------------------------------------------+ -// $Id: data.catorphans.php,v 1.8 2006/08/07 22:14:57 squareing Exp $ - -/** - * definitions - */ -global $gBitSystem; -if( $gBitSystem->isPackageActive( 'categories' ) ) { // Do not include this Plugin if the Package is not active -define( 'PLUGIN_GUID_DATACATORPHANS', 'datacatorphans' ); -global $gLibertySystem; -$pluginParams = array ( - 'tag' => 'CATORPHANS', - 'auto_activate' => FALSE, - 'requires_pair' => FALSE, - 'load_function' => 'data_catorphans', - 'title' => 'CatOrphans - This plugin is not yet functional.', // Remove this line when the plugin becomes operational -// 'title' => 'CatOrphans', // and Remove the comment from the start of this line - 'help_page' => 'DataPluginCatOrphans', - 'description' => tra("Creates a listing of bitweaver objects that have not been categorized."), - 'help_function' => 'data_catorphans_help', - 'syntax' => "{CATORPHANS objects= }", - 'path' => LIBERTY_PKG_PATH.'plugins/data.catorphans.php', - 'security' => 'registered', - 'plugin_type' => DATA_PLUGIN -); -$gLibertySystem->registerPlugin( PLUGIN_GUID_DATACATORPHANS, $pluginParams ); -$gLibertySystem->registerDataTag( $pluginParams['tag'], PLUGIN_GUID_DATACATORPHANS ); - -// Help Function -function data_catorphans_help() { - $help = - '<table class="data help">' - .'<tr>' - .'<th>' . tra( "Key" ) . '</th>' - .'<th>' . tra( "Type" ) . '</th>' - .'<th>' . tra( "Comments" ) . '</th>' - .'</tr>' - .'<tr class="odd">' - .'<td>object</td>' - .'<td>' . tra( "object(s)") . '<br />' . tra("(optional)") . '</td>' - .'<td>' . tra("Most bitweaver Objects can be selected, including") . " <strong>article, blog, faq, fgal, igal, newsletter, poll, quiz, survey, tracker, & wiki</strong>. " . tra("Multiple objects can be entered bu using the character + between object names, like this") . " <strong>blog+faq</strong>. " . tra(". The default is <strong>wiki</strong> objects.") . '</td>' - .'</tr>' - .'</table>' - . tra("Example: ") . "{CATORPHANS objects='wiki+blog+faq'}"; - return $help; -} - -// Load Function -function data_catorphans($data, $params) { // Pre-Clyde Changes -// requires_pair was TRUE / No other changes were made to the Help -// The next 2 lines allow access to the $pluginParams given above and may be removed when no longer needed - global $gLibertySystem; - $pluginParams = $gLibertySystem->mPlugins[PLUGIN_GUID_DATACATORPHANS]; - $ret = 'The plugin <strong>"' . $pluginParams['tag'] . '"</strong> has not been completed as yet. '; - return $ret; -} -} -/****************************************************************************** -The code below is from the deprecated CATORPHANS plugin. All comments and the help routines have been removed. - StarRider - -Note: I changed the seperator from | to + - -require_once( WIKI_PKG_PATH.'BitPage.php' ); -function wikiplugin_catorphans($data, $params) { - global $gBitSmarty; - global $wikilib; - global $package_categories; - global $categlib; - if (!is_object($categlib)) { - require_once (CATEGORIES_PKG_PATH."categlib.php"); - } - if ($package_categories != 'y') { - return "<span class='warn'>" . tra("Categories are disabled"). "</span>"; - } - extract ($params, EXTR_SKIP); - // array for converting long type names (as in database) to short names (as used in plugin) - $typetokens = array( - "article" => "article", - "blog" => "blog", - "faq" => "faq", - "file gallery" => "fgal", - "image gallery" => "igal", - "newsletter" => "newsletter", - "poll" => "poll", - "quiz" => "quiz", - "survey" => "survey", - "tracker" => "tracker", - "wiki page" => "wiki" - ); - // TODO: move this array to a lib - // array for converting long type names to translatable headers (same strings as in application menu) - $typetitles = array( - "article" => "Articles", - "blog" => "Blogs", - "directory" => "Directory", - "faq" => "FAQs", - "file gallery" => "File Galleries", - "forum" => "Forums", - "image gallery" => "Image Gals", - "newsletter" => "Newsletters", - "poll" => "Polls", - "quiz" => "Quizzes", - "survey" => "Surveys", - "tracker" => "Trackers", - "wiki page" => "Wiki" - ); - // default object is 'wiki' - if (!isset($objects)or $objects != 'wiki') { - $objects = 'wiki'; - } - $orphans = ''; - // currently only supports display of wiki pages - if ($objects == 'wiki') { - $listpages = $wikilib->getList(0, -1, 'title_asc', ''); - foreach ($listpages['data'] as $page) { - if (!$categlib->is_categorized('wiki page', $page['title'])) { - // $orphans .= '<a href="'.WIKI_PKG_URL.'index.php?page='.$page['title'].'">'.$page['title'].'</a><br />'; - $orphans .= '((' . $page['title'] . '))<br />'; - } - } - } - return $orphans; -} -*/ -?> diff --git a/plugins/data.catpath.php b/plugins/data.catpath.php deleted file mode 100644 index 952b106..0000000 --- a/plugins/data.catpath.php +++ /dev/null @@ -1,128 +0,0 @@ -<?php -/** - * @version $Revision: 1.7 $ - * @package liberty - * @subpackage plugins_data - */ -// +----------------------------------------------------------------------+ -// | Copyright (c) 2004, bitweaver.org -// +----------------------------------------------------------------------+ -// | All Rights Reserved. See copyright.txt for details and a complete list of authors. -// | Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details -// | -// | For comments, please use phpdocu.sourceforge.net documentation standards!!! -// | -> see http://phpdocu.sourceforge.net/ -// +----------------------------------------------------------------------+ -// | Author (TikiWiki): TeeDog <teedog@users.sourceforge.net> -// | Reworked for Bitweaver (& Undoubtedly Screwed-Up) -// | by: StarRider <starrrider@users.sourceforge.net> -// | Reworked from: wikiplugin_catpath.php - see deprecated code below -// +----------------------------------------------------------------------+ -// $Id: data.catpath.php,v 1.7 2006/04/06 05:06:11 starrrider Exp $ - -/** - * definitions - */ -global $gBitSystem; -if( $gBitSystem->isPackageActive( 'categories' ) ) { // Do not include this Plugin if the Package is not active -define( 'PLUGIN_GUID_DATACATPATH', 'datacatpath' ); -global $gLibertySystem; -$pluginParams = array ( - 'tag' => 'CATPATH', - 'auto_activate' => FALSE, - 'requires_pair' => FALSE, - 'load_function' => 'data_catpath', - 'title' => 'CatPath - This plugin is not yet functional.', // Remove this line when the plugin becomes operational -// 'title' => 'CatPath', // and Remove the comment from the start of this line - 'help_page' => 'DataPluginCatPath', - 'description' => tra("This plugin insert the full category path for each category that the page belongs to."), - 'help_function' => 'data_catpath_help', - 'syntax' => "{CATPATH divider= top= }", - 'path' => LIBERTY_PKG_PATH.'plugins/data.catpath.php', - 'security' => 'registered', - 'plugin_type' => DATA_PLUGIN -); -$gLibertySystem->registerPlugin( PLUGIN_GUID_DATACATPATH, $pluginParams ); -$gLibertySystem->registerDataTag( $pluginParams['tag'], PLUGIN_GUID_DATACATPATH ); - -// Help Function -function data_catpath_help() { - $help = - '<table class="data help">' - .'<tr>' - .'<th>' . tra( "Key" ) . '</th>' - .'<th>' . tra( "Type" ) . '</th>' - .'<th>' . tra( "Comments" ) . '</th>' - .'</tr>' - .'<tr class="odd">' - .'<td>divider</td>' - .'<td>' . tra( "string") . '<br />' . tra("(optional)") . '</td>' - .'<td>' . tra("A character or string used to separate the categories. The default is <strong>></strong>.") . '</td>' - .'</tr>' - .'<tr class="even">' - .'<td>top</td>' - .'<td>' . tra( "boolean") . '<br />' . tra("(optional)") . '</td>' - .'<td>' . tra( "Determins if the TOP category is displayed or not. Passing any value in this parameter will make it <strong>TRUE</strong>. The Default = <strong>FALSE</strong> so the TOP category will not be displayed") . '</td>' - .'</tr>' - .'</table>' - . tra("Example: ") . "{CATPATH divider='->' top='yes' }"; - return $help; -} - -// Load Function -function data_catpath($data, $params) { // Pre-Clyde Changes -// requires_pair was TRUE / No other changes were made to the Help -// The next 2 lines allow access to the $pluginParams given above and may be removed when no longer needed - global $gLibertySystem; - $pluginParams = $gLibertySystem->mPlugins[PLUGIN_GUID_DATACATPATH]; - $ret = 'The plugin <strong>"' . $pluginParams['tag'] . '"</strong> has not been completed as yet. '; - return $ret; -} -} -/****************************************************************************** -The code below is from the deprecated CATPATH plugin. All comments and the help routines have been removed. - StarRider -function wikiplugin_catpath($data, $params) { - global $gBitSmarty; - global $gBitSystem; - global $package_categories; - global $categlib; - if (!is_object($categlib)) { - require_once (CATEGORIES_PKG_PATH."categlib.php"); - } - if ($package_categories != 'y') { - return "<span class='warn'>" . tra("Categories are disabled"). "</span>"; - } - extract ($params, EXTR_SKIP); - // default divider is '>' - if (!(isset($divider))) { - $divider = '>'; - } - // default setting for top is 'no' - if (!(isset($top))) { - $top = 'no'; - } elseif ($top != 'y' and $top != 'yes' and $top != 'n' and $top != 'no') { - $top = 'no'; - } - $obj_id = urldecode($_REQUEST['page']); - $cats = $categlib->get_object_categories('wiki page', $obj_id); - $catpath = ''; - foreach ($cats as $category_id) { - $catpath .= '<span class="categpath">'; - // Display TOP on each line if wanted - if ($top == 'yes' or $top == 'y') { - $catpath .= '<a class="categpath" href="'.CATEGORIES_PKG_URL.'index.php?parent_id=0">TOP</a> ' . $divider . ' '; - } - $path = ''; - $info = $categlib->get_category($category_id); - $path - = '<a class="categpath" href="'.CATEGORIES_PKG_URL.'index.php?parent_id=' . $info["category_id"] . '">' . $info["name"] . '</a>'; - while ($info["parent_id"] != 0) { - $info = $categlib->get_category($info["parent_id"]); - $path = '<a class="categpath" href="'.CATEGORIES_PKG_URL.'.php?parent_id=' . $info["category_id"] . '">' . $info["name"] . '</a> ' . $divider . ' ' . $path; - } - $catpath .= $path . '</span><br/>'; - } - return $catpath; -} -*/ -?> diff --git a/plugins/data.comment.php b/plugins/data.comment.php index b8cf90b..721b0b2 100644 --- a/plugins/data.comment.php +++ b/plugins/data.comment.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.8 $ + * @version $Revision: 1.9 $ * @package liberty * @subpackage plugins_data */ @@ -15,7 +15,7 @@ // +----------------------------------------------------------------------+ // | Author: StarRider <starrrider@sourceforge.net> // +----------------------------------------------------------------------+ -// $Id: data.comment.php,v 1.8 2006/08/07 22:14:57 squareing Exp $ +// $Id: data.comment.php,v 1.9 2007/06/09 18:09:39 squareing Exp $ /****************** * Initialization * @@ -25,7 +25,7 @@ define( 'PLUGIN_GUID_DATACOMMENT', 'datacomment' ); global $gLibertySystem; $pluginParams = array ( 'tag' => 'COMMENT', - 'auto_activate' => TRUE, + 'auto_activate' => FALSE, 'requires_pair' => TRUE, 'load_function' => 'data_comment', 'title' => 'Comment', diff --git a/plugins/data.copyright.php b/plugins/data.copyright.php index 5a02c4a..cb63636 100644 --- a/plugins/data.copyright.php +++ b/plugins/data.copyright.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.6 $ + * @version $Revision: 1.7 $ * @package liberty * @subpackage plugins_data */ @@ -17,7 +17,7 @@ // | Reworked for Bitweaver (& Undoubtedly Screwed-Up) // | by: StarRider <starrrider@users.sourceforge.net> // +----------------------------------------------------------------------+ -// $Id: data.copyright.php,v 1.6 2006/04/06 05:06:11 starrrider Exp $ +// $Id: data.copyright.php,v 1.7 2007/06/09 18:09:39 squareing Exp $ /** * definitions @@ -29,7 +29,7 @@ define( 'PLUGIN_GUID_DATACOPYRIGHT', 'datacopyright' ); global $gLibertySystem; $pluginParams = array ( 'tag' => 'COPYRIGHT', - 'auto_activate' => TRUE, + 'auto_activate' => FALSE, 'requires_pair' => FALSE, 'load_function' => 'data_copyright', 'title' => 'CopyRight', diff --git a/plugins/data.countdown.php b/plugins/data.countdown.php index 2429701..517d89e 100644 --- a/plugins/data.countdown.php +++ b/plugins/data.countdown.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.7 $ + * @version $Revision: 1.8 $ * @package liberty * @subpackage plugins_data */ @@ -17,7 +17,7 @@ // | Reworked for Bitweaver (& Undoubtedly Screwed-Up) // | by: StarRider <starrrider@users.sourceforge.net> // +----------------------------------------------------------------------+ -// $Id: data.countdown.php,v 1.7 2007/04/30 04:52:43 laetzer Exp $ +// $Id: data.countdown.php,v 1.8 2007/06/09 18:09:39 squareing Exp $ /** * definitions @@ -26,7 +26,7 @@ define( 'PLUGIN_GUID_DATACOUNTDOWN', 'datacountdown' ); global $gLibertySystem; $pluginParams = array ( 'tag' => 'COUNTDOWN', - 'auto_activate' => TRUE, + 'auto_activate' => FALSE, 'requires_pair' => FALSE, 'load_function' => 'data_countdown', 'title' => 'CountDown', diff --git a/plugins/data.creationtime.php b/plugins/data.creationtime.php index bc0693a..626cb02 100644 --- a/plugins/data.creationtime.php +++ b/plugins/data.creationtime.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ * @package liberty * @subpackage plugins_data */ @@ -21,43 +21,33 @@ */ global $gBitSystem; // this executes before all packages are registered so can't reliably check isPackageActive here! -if( 1 || $gBitSystem->isPackageActive( 'wiki' ) ) { define( 'PLUGIN_GUID_DATA_CREATIONTIME', 'datacreationtime' ); global $gLibertySystem; -$pluginParams = array ( 'tag' => 'CREATIONTIME', - 'auto_activate' => TRUE, - 'requires_pair' => FALSE, - 'load_function' => 'data_creationtime', - 'title' => 'Creation Time', // and Remove the comment from the start of this line - 'help_page' => 'DataPluginCreationTime', - 'description' => tra("This plugin will display the creation time of a page."), - 'help_function' => 'data_creationtime_help', - 'syntax' => "{CREATIONTIME}", - 'plugin_type' => DATA_PLUGIN - ); +$pluginParams = array ( + 'tag' => 'CREATIONTIME', + 'auto_activate' => TRUE, + 'requires_pair' => FALSE, + 'load_function' => 'data_creationtime', + 'title' => 'Creation Time', + 'help_page' => 'DataPluginCreationTime', + 'description' => tra("This plugin will display the creation time of a page."), + 'help_function' => 'data_creationtime_help', + 'syntax' => "{creationtime}", + 'plugin_type' => DATA_PLUGIN +); $gLibertySystem->registerPlugin( PLUGIN_GUID_DATA_CREATIONTIME, $pluginParams ); $gLibertySystem->registerDataTag( $pluginParams['tag'], PLUGIN_GUID_DATA_CREATIONTIME ); global $gBitSmarty; -require_once $gBitSmarty->_get_plugin_filepath('modifier','bit_date_format'); require_once $gBitSmarty->_get_plugin_filepath('modifier','bit_short_datetime'); - // Help Routine function data_creationtime_help() { - $help = - '' - . tra("Example: ") . "{CREATIONTIME}<br />" - ; - return $help; + return tra( "Example: " )."{creationtime}<br />"; } //The actual handler for the plugin -function data_creationtime($data, $params, &$pCommonObject) { - - $display_result = smarty_modifier_bit_short_datetime($pCommonObject->mInfo['created']); - - return $display_result; -} +function data_creationtime( $data, $params, &$pCommonObject ) { + return smarty_modifier_bit_short_datetime( $pCommonObject->mInfo['created'] ); } ?> diff --git a/plugins/data.div.php b/plugins/data.div.php index 3d1ac3d..8773516 100644 --- a/plugins/data.div.php +++ b/plugins/data.div.php @@ -3,7 +3,7 @@ * assigned_modules * * @author xing - * @version $Revision: 1.10 $ + * @version $Revision: 1.11 $ * @package liberty * @subpackage plugins_data * @copyright Copyright (c) 2004, bitweaver.org @@ -15,18 +15,18 @@ define( 'PLUGIN_GUID_DATADIV', 'datadiv' ); global $gLibertySystem; $pluginParams = array ( - 'tag' => 'DIV', + 'tag' => 'DIV', 'auto_activate' => TRUE, 'requires_pair' => TRUE, 'load_function' => 'data_div', - 'title' => 'Div', - 'help_page' => 'DataPluginDiv', - 'description' => tra( "This plugin allows you to easily create a div with a number of optional CSS parameters." ), + 'title' => 'Div', + 'help_page' => 'DataPluginDiv', + 'description' => tra( "This plugin allows you to easily create a div with a number of optional CSS parameters." ), 'help_function' => 'data_div_help', - 'syntax' => "{div border='3px solid blue'}", - 'path' => LIBERTY_PKG_PATH.'plugins/data.div.php', - 'security' => 'registered', - 'plugin_type' => DATA_PLUGIN + 'syntax' => "{div border='3px solid blue'}", + 'path' => LIBERTY_PKG_PATH.'plugins/data.div.php', + 'security' => 'registered', + 'plugin_type' => DATA_PLUGIN ); $gLibertySystem->registerPlugin( PLUGIN_GUID_DATADIV, $pluginParams ); $gLibertySystem->registerDataTag( $pluginParams['tag'], PLUGIN_GUID_DATADIV ); diff --git a/plugins/data.dropdown.php b/plugins/data.dropdown.php index b293fde..9dbc163 100644 --- a/plugins/data.dropdown.php +++ b/plugins/data.dropdown.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.14 $ + * @version $Revision: 1.15 $ * @package liberty * @subpackage plugins_data */ @@ -24,7 +24,7 @@ global $gLibertySystem; define( 'PLUGIN_GUID_DATADROPDOWN', 'datadropdown' ); $pluginParams = array ( 'tag' => 'DD', - 'auto_activate' => TRUE, + 'auto_activate' => FALSE, 'requires_pair' => TRUE, 'load_function' => 'data_dropdown', 'title' => 'DropDown', diff --git a/plugins/data.flashvideo.php b/plugins/data.flashvideo.php index 5cd8bf1..30662a3 100644 --- a/plugins/data.flashvideo.php +++ b/plugins/data.flashvideo.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.9 $ + * @version $Revision: 1.10 $ * @package liberty * @subpackage plugins_data */ @@ -15,7 +15,7 @@ // +----------------------------------------------------------------------+ // | Authors: drewslater <andrew@andrewslater.com> // +----------------------------------------------------------------------+ -// $Id: data.flashvideo.php,v 1.9 2007/06/01 09:02:37 squareing Exp $ +// $Id: data.flashvideo.php,v 1.10 2007/06/09 18:09:39 squareing Exp $ /** * definitions @@ -26,7 +26,7 @@ define( 'PLUGIN_GUID_DATAFLASHVIDEO', 'dataflashvideo' ); global $gLibertySystem; $pluginParams = array ( 'tag' => 'flashvideo', - 'auto_activate' => TRUE, + 'auto_activate' => FALSE, 'requires_pair' => FALSE, 'load_function' => 'data_flashvideo', 'title' => 'Flash Video', diff --git a/plugins/data.freemind.php b/plugins/data.freemind.php index 3452fb5..0eba65f 100644 --- a/plugins/data.freemind.php +++ b/plugins/data.freemind.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.9 $ + * @version $Revision: 1.10 $ * @package liberty * @subpackage plugins_data */ @@ -15,7 +15,7 @@ // +----------------------------------------------------------------------+ // | Author: Southpaw <southpawz@users.sourceforge.net> // +----------------------------------------------------------------------+ -// $Id: data.freemind.php,v 1.9 2006/08/07 22:14:58 squareing Exp $ +// $Id: data.freemind.php,v 1.10 2007/06/09 18:09:39 squareing Exp $ /** * definitions @@ -26,7 +26,7 @@ define( 'PLUGIN_GUID_DATAFREEMIND', 'datafreemind' ); global $gLibertySystem; $pluginParams = array ( 'tag' => 'MM', - 'auto_activate' => TRUE, + 'auto_activate' => FALSE, 'requires_pair' => FALSE, 'load_function' => 'data_freemind', 'title' => 'FreeMind - Mind Map', diff --git a/plugins/data.gauge.php b/plugins/data.gauge.php index 552cb3f..602f328 100644 --- a/plugins/data.gauge.php +++ b/plugins/data.gauge.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.10 $ + * @version $Revision: 1.11 $ * @package liberty * @subpackage plugins_data */ @@ -17,7 +17,7 @@ // | Reworked for Bitweaver (& Undoubtedly Screwed-Up) // | by: StarRider <starrrider@users.sourceforge.net> // +----------------------------------------------------------------------+ -// $Id: data.gauge.php,v 1.10 2007/04/29 18:41:38 laetzer Exp $ +// $Id: data.gauge.php,v 1.11 2007/06/09 18:09:39 squareing Exp $ /** * definitions @@ -26,7 +26,7 @@ define( 'PLUGIN_GUID_DATAGAUGE', 'datagauge' ); global $gLibertySystem; $pluginParams = array ( 'tag' => 'GAUGE', - 'auto_activate' => TRUE, + 'auto_activate' => FALSE, 'requires_pair' => TRUE, 'load_function' => 'data_gauge', 'title' => 'Gauge', diff --git a/plugins/data.geshidata.php b/plugins/data.geshidata.php index b019cf8..9f548f9 100644 --- a/plugins/data.geshidata.php +++ b/plugins/data.geshidata.php @@ -1,10 +1,10 @@ <?php -// $Id: data.geshidata.php,v 1.2 2006/04/06 05:06:11 starrrider Exp $ +// $Id: data.geshidata.php,v 1.3 2007/06/09 18:09:39 squareing Exp $ /** * assigned_modules * * @author StarRider <starrrider@sourceforge.net> - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ * @package liberty * @subpackage plugins_data * @copyright Copyright (c) 2004, bitweaver.org @@ -19,7 +19,7 @@ define( 'PLUGIN_GUID_DATAGESHIDATA','datageshidata' ); global $gLibertySystem; $pluginParams = array ( 'tag' => 'GESHIDATA', - 'auto_activate' => TRUE, + 'auto_activate' => FALSE, 'requires_pair' => FALSE, 'load_function' => 'data_GeshiData', 'title' => 'GeshiData', diff --git a/plugins/data.hitcounter.php b/plugins/data.hitcounter.php index 03a06af..41122ec 100644 --- a/plugins/data.hitcounter.php +++ b/plugins/data.hitcounter.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ * @package liberty * @subpackage plugins_data */ @@ -26,7 +26,7 @@ if( 1 || $gBitSystem->isPackageActive( 'wiki' ) ) { define( 'PLUGIN_GUID_DATA_HITCOUNTER', 'datahitcounter' ); global $gLibertySystem; $pluginParams = array ( 'tag' => 'HITCOUNTER', - 'auto_activate' => TRUE, + 'auto_activate' => FALSE, 'requires_pair' => FALSE, 'load_function' => 'data_hitcounter', 'title' => 'Hit Counter', // and Remove the comment from the start of this line diff --git a/plugins/data.ledgertable.php b/plugins/data.ledgertable.php index 048192f..fa33447 100644 --- a/plugins/data.ledgertable.php +++ b/plugins/data.ledgertable.php @@ -1,10 +1,10 @@ <?php -// $Id: data.ledgertable.php,v 1.4 2006/08/07 22:14:58 squareing Exp $ +// $Id: data.ledgertable.php,v 1.5 2007/06/09 18:09:39 squareing Exp $ /** * assigned_modules * * @author KainX <mej@kainx.org> - * @version $Revision: 1.4 $ + * @version $Revision: 1.5 $ * @package liberty * @subpackage plugins_data * @copyright Copyright (c) 2004, bitweaver.org @@ -16,7 +16,8 @@ ******************/ define( 'PLUGIN_GUID_DATALEDGERTABLE', 'dataledgertable' ); global $gLibertySystem; -$pluginParams = array ( 'tag' => 'LEDGERTABLE', +$pluginParams = array ( + 'tag' => 'LEDGERTABLE', 'auto_activate' => FALSE, 'requires_pair' => TRUE, 'load_function' => 'data_ledgertable', diff --git a/plugins/data.mapquest.php b/plugins/data.mapquest.php index a9c1042..cc925f0 100644 --- a/plugins/data.mapquest.php +++ b/plugins/data.mapquest.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.7 $ + * @version $Revision: 1.8 $ * @package liberty * @subpackage plugins_data */ @@ -15,7 +15,7 @@ // +----------------------------------------------------------------------+ // | Author: StarRider <starrrider@users.sourceforge.net> // +----------------------------------------------------------------------+ -// $Id: data.mapquest.php,v 1.7 2006/04/06 05:06:11 starrrider Exp $ +// $Id: data.mapquest.php,v 1.8 2007/06/09 18:09:39 squareing Exp $ /** * definitions @@ -24,7 +24,7 @@ define( 'PLUGIN_GUID_DATAMAPQUEST', 'datamapquest' ); global $gLibertySystem; $pluginParams = array ( 'tag' => 'MAPQUEST', - 'auto_activate' => TRUE, + 'auto_activate' => FALSE, 'requires_pair' => FALSE, 'load_function' => 'data_mapquest', 'title' => 'MapQuest', diff --git a/plugins/data.mqdirections.php b/plugins/data.mqdirections.php index 60e067b..5dd1c24 100644 --- a/plugins/data.mqdirections.php +++ b/plugins/data.mqdirections.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.7 $ + * @version $Revision: 1.8 $ * @package liberty * @subpackage plugins_data */ @@ -15,7 +15,7 @@ // +----------------------------------------------------------------------+ // | Author: StarRider <starrrider@users.sourceforge.net> // +----------------------------------------------------------------------+ -// $Id: data.mqdirections.php,v 1.7 2006/04/06 05:06:11 starrrider Exp $ +// $Id: data.mqdirections.php,v 1.8 2007/06/09 18:09:39 squareing Exp $ /** * definitions @@ -24,7 +24,7 @@ define( 'PLUGIN_GUID_DATAMQDIR', 'datamqdir' ); global $gLibertySystem; $pluginParams = array ( 'tag' => 'MQDIR', - 'auto_activate' => TRUE, + 'auto_activate' => FALSE, 'requires_pair' => FALSE, 'load_function' => 'data_mqdir', 'title' => 'MapQuest Directions', diff --git a/plugins/data.object.php b/plugins/data.object.php index 586ee0d..56e62f8 100644 --- a/plugins/data.object.php +++ b/plugins/data.object.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.3 $ + * @version $Revision: 1.4 $ * @package liberty * @subpackage plugins_data */ @@ -19,7 +19,7 @@ // | Rewrote data function so plugin can cover more types of objects than just Flash // | by: Jasp (Jared Woodbridge) <jaspp@users.sourceforge.net> // +----------------------------------------------------------------------+ -// $Id: data.object.php,v 1.3 2006/04/06 05:06:11 starrrider Exp $ +// $Id: data.object.php,v 1.4 2007/06/09 18:09:39 squareing Exp $ /** * definitions @@ -31,7 +31,7 @@ define( 'PLUGIN_GUID_DATAOBJECT', 'dataobject' ); global $gLibertySystem; $pluginParams = array ( 'tag' => 'OBJECT', - 'auto_activate' => TRUE, + 'auto_activate' => FALSE, 'requires_pair' => FALSE, 'load_function' => 'data_object', 'title' => 'Object', @@ -220,4 +220,4 @@ function data_object ($data, $params) { return $result; } -} ?>
\ No newline at end of file +} ?> diff --git a/plugins/data.quote.php b/plugins/data.quote.php index 1f53021..968d111 100644 --- a/plugins/data.quote.php +++ b/plugins/data.quote.php @@ -28,7 +28,7 @@ define( 'PLUGIN_GUID_DATAQUOTE', 'dataquote' ); global $gLibertySystem; $pluginParams = array ( 'tag' => 'quote', - 'auto_activate' => TRUE, + 'auto_activate' => FALSE, 'requires_pair' => TRUE, 'load_function' => 'data_quote', 'help_function' => 'data_quote_help', diff --git a/plugins/data.renderer.php b/plugins/data.renderer.php index d82e61f..6b608b3 100644 --- a/plugins/data.renderer.php +++ b/plugins/data.renderer.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.4 $ + * @version $Revision: 1.5 $ * @package liberty * @subpackage plugins_data */ @@ -18,7 +18,7 @@ // | by: wjames5 // | Reworked from: data.articles.php from wikiplugin_articles.php // +----------------------------------------------------------------------+ -// $Id: data.renderer.php,v 1.4 2006/09/09 13:41:32 squareing Exp $ +// $Id: data.renderer.php,v 1.5 2007/06/09 18:09:39 squareing Exp $ /** * definitions @@ -28,7 +28,7 @@ define( 'PLUGIN_GUID_DATARENDERER', 'datarenderer' ); global $gLibertySystem; $pluginParams = array ( 'tag' => 'renderer', - 'auto_activate' => TRUE, + 'auto_activate' => FALSE, 'requires_pair' => TRUE, 'load_function' => 'data_renderer', 'help_function' => 'data_renderer_help', diff --git a/plugins/data.rss.php b/plugins/data.rss.php index e81ce44..98b1e97 100644 --- a/plugins/data.rss.php +++ b/plugins/data.rss.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.12 $ + * @version $Revision: 1.13 $ * @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.12 2007/04/30 05:04:29 laetzer Exp $ +// $Id: data.rss.php,v 1.13 2007/06/09 18:09:39 squareing Exp $ /** * definitions @@ -27,7 +27,7 @@ define( 'PLUGIN_GUID_DATARSS', 'datarss' ); global $gLibertySystem; $pluginParams = array ( 'tag' => 'rss', - 'auto_activate' => TRUE, + 'auto_activate' => FALSE, 'requires_pair' => FALSE, 'load_function' => 'rss_parse_data', 'title' => 'RSS Feed', diff --git a/plugins/data.sf.php b/plugins/data.sf.php index 2a35f50..406e679 100644 --- a/plugins/data.sf.php +++ b/plugins/data.sf.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.9 $ + * @version $Revision: 1.10 $ * @package liberty * @subpackage plugins_data */ @@ -17,7 +17,7 @@ // | Reworked & Undoubtedly Screwed-Up for (Bitweaver) // | by: StarRider <starrrider@sourceforge.net> // +----------------------------------------------------------------------+ -// $Id: data.sf.php,v 1.9 2006/08/05 16:21:57 squareing Exp $ +// $Id: data.sf.php,v 1.10 2007/06/09 18:09:39 squareing Exp $ /** * definitions @@ -28,7 +28,7 @@ define('DEF_TAG','bugs'); global $gLibertySystem; $pluginParams = array ( 'tag' => 'SF', - 'auto_activate' => TRUE, + 'auto_activate' => FALSE, 'requires_pair' => FALSE, 'load_function' => 'data_sf', 'title' => 'SourceForge', diff --git a/plugins/data.span.php b/plugins/data.span.php index 8762706..0b941ec 100644 --- a/plugins/data.span.php +++ b/plugins/data.span.php @@ -3,7 +3,7 @@ * assigned_modules * * @author xing - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ * @package liberty * @subpackage plugins_data * @copyright Copyright (c) 2004, bitweaver.org @@ -16,7 +16,7 @@ define( 'PLUGIN_GUID_DATAspan', 'dataspan' ); global $gLibertySystem; $pluginParams = array ( 'tag' => 'span', - 'auto_activate' => TRUE, + 'auto_activate' => FALSE, 'requires_pair' => TRUE, 'load_function' => 'data_span', 'title' => 'Span', diff --git a/plugins/data.spytext.php b/plugins/data.spytext.php index 0e2a825..2d6e4f0 100644 --- a/plugins/data.spytext.php +++ b/plugins/data.spytext.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.12 $ + * @version $Revision: 1.13 $ * @package liberty * @subpackage plugins_data */ @@ -15,7 +15,7 @@ // +----------------------------------------------------------------------+ // | Author: StarRider starrrider@sourceforge.net // +----------------------------------------------------------------------+ -// $Id: data.spytext.php,v 1.12 2007/02/24 08:51:08 squareing Exp $ +// $Id: data.spytext.php,v 1.13 2007/06/09 18:09:39 squareing Exp $ /****************** * Initialization * @@ -24,7 +24,7 @@ global $gLibertySystem; define( 'PLUGIN_GUID_DATASPYTEXT', 'dataspytext' ); $pluginParams = array ( 'tag' => 'SPYTEXT', - 'auto_activate' => TRUE, + 'auto_activate' => FALSE, 'requires_pair' => TRUE, 'load_function' => 'data_spytext', 'title' => 'Spy Text', |
