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

Minor code clean-up (notify LAN are now in global LAN)

This commit is contained in:
Moc 2013-09-16 12:46:52 +02:00
parent db24f48c7c
commit 2176c625fb
2 changed files with 3 additions and 15 deletions

View File

@ -36,7 +36,7 @@ class chatbox_menu_notify extends notify // plugin-folder + '_notify'
{
function config()
{
// include_lan(e_PLUGIN."chatbox_menu/languages/".e_LANGUAGE."/".e_LANGUAGE.".php"); Use English_global.php instead.
//include_lan(e_PLUGIN."chatbox_menu/languages/".e_LANGUAGE."/".e_LANGUAGE.".php"); Use English_global.php instead.
$config = array();
@ -51,7 +51,7 @@ class chatbox_menu_notify extends notify // plugin-folder + '_notify'
function cboxpost($data)
{
include_lan(e_PLUGIN."chatbox_menu/languages/".e_LANGUAGE."/".e_LANGUAGE.".php"); // Use English_global.php instead.
//include_lan(e_PLUGIN."chatbox_menu/languages/".e_LANGUAGE."/".e_LANGUAGE.".php"); // Use English_global.php instead.
$message = NT_LAN_CB_3.': '.USERNAME.' ('.NT_LAN_CB_4.': '.e107::getIPHandler()->ipDecode($data['ip']).' )<br />';
$message .= NT_LAN_CB_5.':<br />'.$data['cmessage'].'<br /><br />';

View File

@ -2,25 +2,15 @@
/*
* e107 website system
*
* Copyright (C) 2008-2009 e107 Inc (e107.org)
* Copyright (C) 2008-2013 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
* Plugin configuration module - gsitemap
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/gsitemap/e_cron.php,v $
* $Revision$
* $Date$
* $Author$
*
*/
if (!defined('e107_INIT')) { exit; }
/*if(!plugInstalled('gsitemap'))
{
return;
}*/
class gsitemap_cron // include plugin-folder in the name.
{
@ -48,7 +38,6 @@ class gsitemap_cron // include plugin-folder in the name.
}
function myfunction()
{
// Whatever code you wish.
@ -57,7 +46,6 @@ class gsitemap_cron // include plugin-folder in the name.
}
function sendEmail()
{