mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Minor code clean-up (notify LAN are now in global LAN)
This commit is contained in:
@@ -36,7 +36,7 @@ class chatbox_menu_notify extends notify // plugin-folder + '_notify'
|
|||||||
{
|
{
|
||||||
function config()
|
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();
|
$config = array();
|
||||||
|
|
||||||
@@ -51,7 +51,7 @@ class chatbox_menu_notify extends notify // plugin-folder + '_notify'
|
|||||||
|
|
||||||
function cboxpost($data)
|
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_3.': '.USERNAME.' ('.NT_LAN_CB_4.': '.e107::getIPHandler()->ipDecode($data['ip']).' )<br />';
|
||||||
$message .= NT_LAN_CB_5.':<br />'.$data['cmessage'].'<br /><br />';
|
$message .= NT_LAN_CB_5.':<br />'.$data['cmessage'].'<br /><br />';
|
||||||
|
@@ -2,25 +2,15 @@
|
|||||||
/*
|
/*
|
||||||
* e107 website system
|
* 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
|
* Released under the terms and conditions of the
|
||||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||||
*
|
*
|
||||||
* Plugin configuration module - gsitemap
|
* 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 (!defined('e107_INIT')) { exit; }
|
||||||
/*if(!plugInstalled('gsitemap'))
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}*/
|
|
||||||
|
|
||||||
|
|
||||||
class gsitemap_cron // include plugin-folder in the name.
|
class gsitemap_cron // include plugin-folder in the name.
|
||||||
{
|
{
|
||||||
@@ -48,7 +38,6 @@ class gsitemap_cron // include plugin-folder in the name.
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function myfunction()
|
function myfunction()
|
||||||
{
|
{
|
||||||
// Whatever code you wish.
|
// Whatever code you wish.
|
||||||
@@ -57,7 +46,6 @@ class gsitemap_cron // include plugin-folder in the name.
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function sendEmail()
|
function sendEmail()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user