diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2008-11-09 09:08:55 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2008-11-09 09:08:55 +0000 |
| commit | 8065682575c00b09e6e0ff35572fbd2fce0982ae (patch) | |
| tree | 5fd2416eae8aa061141ff8e9bfc3ea2c92137b32 /liberty_plugins | |
| parent | 8e8905f6d65e1977034a12dec8bde9836842dde1 (diff) | |
| download | languages-8065682575c00b09e6e0ff35572fbd2fce0982ae.tar.gz languages-8065682575c00b09e6e0ff35572fbd2fce0982ae.tar.bz2 languages-8065682575c00b09e6e0ff35572fbd2fce0982ae.zip | |
remove unused and confusing registerPlugin parameters: security and path
Diffstat (limited to 'liberty_plugins')
| -rw-r--r-- | liberty_plugins/data.tr.php | 4 | ||||
| -rw-r--r-- | liberty_plugins/data.translated.php | 6 |
2 files changed, 3 insertions, 7 deletions
diff --git a/liberty_plugins/data.tr.php b/liberty_plugins/data.tr.php index c849e38..c454642 100644 --- a/liberty_plugins/data.tr.php +++ b/liberty_plugins/data.tr.php @@ -3,7 +3,7 @@ * tr translation plugin * * @author wjames5 will@tekimaki.com - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ * @package liberty * @subpackage plugins_data * @copyright Copyright (c) 2008, bitweaver.org @@ -24,8 +24,6 @@ $pluginParams = array ( 'description' => tra( "Use this plugin to mark strings for translation. You should only use this for common short strings, and not entire pages." ), 'help_function' => 'data_tr_help', 'syntax' => "{tr}", - 'path' => LIBERTY_PKG_PATH.'plugins/data.tr.php', - 'security' => 'registered', 'plugin_type' => DATA_PLUGIN ); $gLibertySystem->registerPlugin( PLUGIN_GUID_DATATR, $pluginParams ); diff --git a/liberty_plugins/data.translated.php b/liberty_plugins/data.translated.php index da32e12..fd9a5ed 100644 --- a/liberty_plugins/data.translated.php +++ b/liberty_plugins/data.translated.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ * @package liberty * @subpackage plugins_data */ @@ -18,7 +18,7 @@ // | by: StarRider <starrrider@sourceforge.net> // | Reworked from: wikiplugin_translated.php - see deprecated code below // +----------------------------------------------------------------------+ -// $Id: data.translated.php,v 1.2 2008/10/15 14:04:20 laetzer Exp $ +// $Id: data.translated.php,v 1.3 2008/11/09 09:08:55 squareing Exp $ /** * definitions @@ -36,8 +36,6 @@ $pluginParams = array ( 'description' => tra("This plugin is used to create a link to a page that contains a translation. The link can be shown as an Icon for the country or as an abreviation for the language."), 'help_function' => 'data_translated_help', 'syntax' => "{TRANSLATED page= lang= flag= }", - 'path' => LIBERTY_PKG_PATH.'plugins/data.translated.php', - 'security' => 'registered', 'plugin_type' => DATA_PLUGIN ); $gLibertySystem->registerPlugin( PLUGIN_GUID_DATATRANSLATED, $pluginParams ); |
