1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-21 21:21:54 +02:00

Last plugin LAN clean-up (#50) for now.

This commit is contained in:
Tijn Kuyper 2012-12-19 11:37:45 +01:00
parent 43be46176f
commit 2f7aa5a40d
11 changed files with 60 additions and 53 deletions

View File

@ -1570,7 +1570,7 @@ class e107plugin
}
/**
* Process XML Tag <LanguageFiles>
* Process XML Tag <LanguageFiles> // DEPRECATED - using _install _log and _global
* @param object $function
* @param object $tag
* @return none
@ -1581,7 +1581,7 @@ class e107plugin
$updated = false;
$path_a = e_PLUGIN.$this->plugFolder."/languages/English_install.php"; // always check for English so we have a fall-bak
$path_a = e_PLUGIN.$this->plugFolder."/languages/English_install.php"; // always check for English so we have a fall-back
$path_b = e_PLUGIN.$this->plugFolder."/languages/English/English_install.php";
if(file_exists($path_a) || file_exists($path_b))
@ -1589,7 +1589,7 @@ class e107plugin
e107::lan($this->plugFolder,'install',true);
}
$path_a = e_PLUGIN.$this->plugFolder."/languages/English_global.php"; // always check for English so we have a fall-bak
$path_a = e_PLUGIN.$this->plugFolder."/languages/English_global.php"; // always check for English so we have a fall-back
$path_b = e_PLUGIN.$this->plugFolder."/languages/English/English_global.php";
if(file_exists($path_a) || file_exists($path_b))
@ -1612,7 +1612,7 @@ class e107plugin
}
$path_a = e_PLUGIN.$this->plugFolder."/languages/English_log.php"; // always check for English so we have a fall-bak
$path_a = e_PLUGIN.$this->plugFolder."/languages/English_log.php"; // always check for English so we have a fall-back
$path_b = e_PLUGIN.$this->plugFolder."/languages/English/English_log.php";
if(file_exists($path_a) || file_exists($path_b))
@ -2572,17 +2572,17 @@ class e107plugin
}
// For BC.
$ret['administration']['icon'] = str_replace($plugName."/","",$eplug_icon);
$ret['administration']['icon'] = str_replace($plugName."/","",$eplug_icon);
$ret['administration']['caption'] = varset($eplug_caption);
$ret['administration']['iconSmall'] = str_replace($plugName."/","",$eplug_icon_small);
$ret['administration']['iconSmall'] = str_replace($plugName."/","",$eplug_icon_small);
$ret['administration']['configFile'] = varset($eplug_conffile);
if (varset($eplug_conffile))
{
$ret['adminLinks']['link'][0]['@attributes']['url'] = varset($eplug_conffile);
$ret['adminLinks']['link'][0]['@attributes']['description'] = LAN_CONFIGURE;
$ret['adminLinks']['link'][0]['@attributes']['icon'] = str_replace($plugName."/","",$eplug_icon);
$ret['adminLinks']['link'][0]['@attributes']['iconSmall'] = str_replace($plugName."/","",$eplug_icon_small);
$ret['adminLinks']['link'][0]['@attributes']['icon'] = str_replace($plugName."/","",$eplug_icon);
$ret['adminLinks']['link'][0]['@attributes']['iconSmall'] = str_replace($plugName."/","",$eplug_icon_small);
$ret['adminLinks']['link'][0]['@attributes']['primary'] = 'true';
}
if (vartrue($eplug_link) && varset($eplug_link_name) && varset($eplug_link_url))

View File

@ -0,0 +1,6 @@
<?php
define("LAN_PLUGIN_PM_NAME", "Private Messenger");
define("LAN_PLUGIN_PM_DESCRIPTION", "This plugin is a fully featured Private Messaging system.");
?>

View File

@ -14,8 +14,8 @@
* $Author$
*/
define("POLL_ADLAN01", "Poll");
define("POLL_ADLAN02", "The poll plugin allows you to define polls in either a menu or forum post.");
//define("POLL_ADLAN01", "Poll");
//define("POLL_ADLAN02", "The poll plugin allows you to define polls in either a menu or forum post.");
define("POLL_ADLAN03", "Configure polls");
define("POLL_ADLAN04", "The poll plugin has been successfully installed. To add polls, click on the Polls icon in the plugin section of your admin front page, and remember to activate the menu item from your menus page.");

View File

@ -0,0 +1,6 @@
<?php
define("LAN_PLUGIN_POLL_NAME", "Poll");
define("LAN_PLUGIN_POLL_DESCRIPTION", "The poll plugin allows you to define polls in either a menu or forum post.");
?>

View File

@ -1,12 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Id: plugin.xml,v 1.11 2009-10-20 03:49:22 e107coders Exp $ -->
<e107Plugin name="Poll" lan="POLL_ADLAN01" version="2.0" date="2012-08-01" compatibility="2.0" installRequired="true" >
<e107Plugin name="Poll" lan="LAN_PLUGIN_POLL_NAME" version="2.0" date="2012-08-01" compatibility="2.0" installRequired="true" >
<author name="e107 Inc." url="http://e107.org" />
<description lan="POLL_ADLAN02">The poll plugin allows you to define polls in either a menu or forum post.</description>
<category>content</category>
<languageFiles>
<file type='log' path='languages/--LAN--_admin_poll.php' />
</languageFiles>
<description lan="LAN_PLUGIN_POLL_DESCRIPTION">The poll plugin allows you to define polls in either a menu or forum post.</description>
<category>content</category>
<copyright>Copyright e107 Inc e107.org, Licensed under GPL (http://www.gnu.org/licenses/gpl.txt)</copyright>
<adminLinks>
<link url='admin_config.php' description='POLL_ADLAN03' icon='images/polls_32.png' iconSmall='images/polls_16.png' primary='true' >POLL_ADLAN03</link>
</adminLinks>

View File

@ -3,10 +3,6 @@
+ ----------------------------------------------------------------------------+
| e107 website system - Language File.
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/rss_menu/languages/English_admin_rss_menu.php,v $
| $Revision$
| $Date$
| $Author$
+----------------------------------------------------------------------------+
*/
@ -33,8 +29,8 @@ define("RSS_BUG", "Bugtracker");
define("RSS_FOR", "Forum");
define("RSS_DL", "Downloads");
define("RSS_PLUGIN_LAN_1", "RSS");
define("RSS_PLUGIN_LAN_2", "RSS Feeds from your site");
//define("RSS_PLUGIN_LAN_1", "RSS");
//define("RSS_PLUGIN_LAN_2", "RSS Feeds from your site");
define("RSS_PLUGIN_LAN_6", "Feed Links");
define("RSS_PLUGIN_LAN_7", "The rss feed of the news");
@ -60,12 +56,12 @@ define("RSS_LAN_ERROR_7", "Some required fields are missing.");
define("RSS_LAN_ADMIN_1", "Existing RSS feeds");
define("RSS_LAN_ADMIN_2", "Id");
define("RSS_LAN_ADMIN_3", "Path");
define("RSS_LAN_ADMIN_4", "Name");
//define("RSS_LAN_ADMIN_4", "Name");
define("RSS_LAN_ADMIN_5", "Url");
define("RSS_LAN_ADMIN_6", "Text");
define("RSS_LAN_ADMIN_7", "Limit");
define("RSS_LAN_ADMIN_8", "Visibility");
define("RSS_LAN_ADMIN_9", "Type");
//define("RSS_LAN_ADMIN_9", "Type");
define("RSS_LAN_ADMIN_10", "rss feed create entry");
define("RSS_LAN_ADMIN_11", "rss feed import feeds");
define("RSS_LAN_ADMIN_12", "Topic id");
@ -96,6 +92,7 @@ define("RSS_LAN_3", "noauthor@nospam.com");
// Admin log messages
//-------------------
/*
define('LAN_AL_RSS_01','RSS feed deleted');
define('LAN_AL_RSS_02','RSS feed created');
define('LAN_AL_RSS_03','RSS feed updated');
@ -103,4 +100,5 @@ define('LAN_AL_RSS_04','RSS feed imported');
define('LAN_AL_RSS_05','RSS limits updated');
define('LAN_AL_RSS_06','RSS settings updated');
define('LAN_AL_RSS_07','');
*/
?>

View File

@ -0,0 +1,6 @@
<?php
define("LAN_PLUGIN_RSS_NAME", "RSS");
define("LAN_PLUGIN_RSS_DESCRIPTION", "RSS Feeds from your site.");
?>

View File

@ -1,14 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Id: plugin.xml,v 1.9 2009-10-20 03:49:22 e107coders Exp $ -->
<e107Plugin name="RSS" lan="RSS_PLUGIN_LAN_1" version="1.3" date="2012-08-01" compatibility="2.0" installRequired="true">
<e107Plugin name="RSS" lan="LAN_PLUGIN_RSS_NAME" version="1.3" date="2012-08-01" compatibility="2.0" installRequired="true">
<author name="e107 Inc." url="http://e107.org" />
<description lan="RSS_PLUGIN_LAN_2">RSS Feeds from your site</description>
<description lan="LAN_PLUGIN_RSS_DESCRIPTION">RSS Feeds from your site.</description>
<category>misc</category>
<languageFiles>
<file type='log' path='languages/--LAN--_admin_rss_menu.php' />
</languageFiles>
<copyright>Copyright e107 Inc e107.org, Licensed under GPL (http://www.gnu.org/licenses/gpl.txt)</copyright>
<adminLinks>
<link url='admin_prefs.php' description='LAN_CONFIGURE' icon='images/rss_32.png' iconSmall='images/rss_16.png' primary='true' >LAN_CONFIGURE</link>

View File

@ -8,19 +8,16 @@
*
* Plugin administration - newsfeeds
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/trackback/languages/English_admin_trackback.php,v $
* $Revision$
* $Date$
* $Author$
* $Id$
*
*/
define("TRACKBACK_L1", "Configure Trackback");
define("TRACKBACK_L2", "This plugin enables you to use trackback in your news posts.");
define("TRACKBACK_L3", "Trackback is now installed and enabled.");
define("TRACKBACK_L4", "Trackback settings saved.");
define("TRACKBACK_L5", "On");
define("TRACKBACK_L6", "Off");
//define("TRACKBACK_L1", "Configure Trackback");
//define("TRACKBACK_L2", "This plugin enables you to use trackback in your news posts.");
//define("TRACKBACK_L3", "Trackback is now installed and enabled.");
//define("TRACKBACK_L4", "Trackback settings saved.");
//define("TRACKBACK_L5", "On");
//define("TRACKBACK_L6", "Off");
define("TRACKBACK_L7", "Activate trackback");
define("TRACKBACK_L8", "Trackback URL text");
//define("TRACKBACK_L9", "Save Settings");
@ -29,15 +26,15 @@ define("TRACKBACK_L11", "Trackback address for this post:");
define("TRACKBACK_L12", "No trackbacks for this item");
define("TRACKBACK_L13", "Moderate trackbacks");
define("TRACKBACK_L14", "Delete");
define("TRACKBACK_L15", "Trackbacks deleted.");
//define("TRACKBACK_L14", "Delete");
//define("TRACKBACK_L15", "Trackbacks deleted.");
define('TRACKBACK_L16', 'Trackback');
define('TRACKBACK_L17', 'Nothing changed - not saved');
//define('TRACKBACK_L17', 'Nothing changed - not saved');
// Admin log messages
//-------------------
define('LAN_AL_TRACK_01', 'Trackback settings changed');
define('LAN_AL_TRACK_02', 'Trackback items deleted');
//define('LAN_AL_TRACK_01', 'Trackback settings changed');
//define('LAN_AL_TRACK_02', 'Trackback items deleted');
?>

View File

@ -0,0 +1,6 @@
<?php
define("LAN_PLUGIN_TRACKBACK_NAME", "Trackback");
define("LAN_PLUGIN_TRACKBACK_DESCRIPTION", "This plugin enables you to use trackback in your news posts.");
?>

View File

@ -1,11 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<e107Plugin name="Trackback" lan="TRACKBACK_L16" version="1.1" date="2012-08-01" compatibility="2.0" installRequired="true">
<e107Plugin name="Trackback" lan="LAN_PLUGIN_TRACKBACK_NAME" version="1.1" date="2012-08-01" compatibility="2.0" installRequired="true">
<author name="e107 Inc." url="http://e107.org" email="devs@e107.org" />
<description lan="TRACKBACK_L2">This plugin enables you to use trackback in your news posts.</description>
<description lan="LAN_PLUGIN_TRACKBACK_DESCRIPTION">This plugin enables you to use trackback in your news posts.</description>
<copyright>Copyright e107 Inc e107.org, Licensed under GPL (http://www.gnu.org/licenses/gpl.txt)</copyright>
<languageFiles>
<file type='log' path='languages/--LAN--_admin_trackback.php' />
</languageFiles>
<adminLinks>
<link url='admin_config.php' description='TRACKBACK_L1' icon='images/trackback_32.png' iconSmall='images/trackback_16.png' primary='true' >TRACKBACK_L1</link>
</adminLinks>