1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-07 15:16:30 +02:00

notice removal

This commit is contained in:
e107steved
2006-12-23 18:38:33 +00:00
parent 602d353290
commit 0b6d94047d
4 changed files with 24 additions and 23 deletions

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/login_menu/login_menu.php,v $
| $Revision: 1.2 $
| $Date: 2006-12-06 20:19:03 $
| $Author: lisa_ $
| $Revision: 1.3 $
| $Date: 2006-12-23 18:38:27 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@@ -109,7 +109,7 @@ if (USER == TRUE || ADMIN == TRUE)
// ------------ Chatbox Stats -----------
if (isset($menu_pref['login_menu']) && $menu_pref['login_menu']['new_chatbox'] == true) {
if (isset($menu_pref['login_menu']['new_chatbox']) && $menu_pref['login_menu']['new_chatbox'] == true) {
$display_chats = TRUE;
if(in_array('chatbox_menu',$eMenuActive)){
@@ -129,7 +129,7 @@ if (USER == TRUE || ADMIN == TRUE)
// ------------ Forum Stats -----------
if (isset($menu_pref['login_menu']) && $menu_pref['login_menu']['new_forum'] == true) {
if (isset($menu_pref['login_menu']['new_forum']) && $menu_pref['login_menu']['new_forum'] == true) {
$qry = "
SELECT count(*) as count FROM #forum_t as t
LEFT JOIN #forum as f
@@ -150,7 +150,7 @@ if (USER == TRUE || ADMIN == TRUE)
// ------------ Member Stats -----------
if (isset($menu_pref['login_menu']) && $menu_pref['login_menu']['new_members'] == true) {
if (isset($menu_pref['login_menu']['new_members']) && $menu_pref['login_menu']['new_members'] == true) {
$new_users = $sql->db_Count('user', '(user_join)', 'WHERE user_join > '.$time);
$new_total += $new_users;
if (!$new_users) {

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/online_extended_menu/languages/English.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:35:32 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2006-12-23 18:38:33 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@@ -28,6 +28,6 @@ define("ONLINE_EL7", "viewing");
define("ONLINE_EL8", "most ever online: ");
define("ONLINE_EL9", "on");
define("TRACKING_MESSAGE", "Online user tracking is currently disabled, please enable it <a href='".e_ADMIN."users.php?options'>here</a></span><br />");
define("ONLINE_TRACKING_MESSAGE", "Online user tracking is currently disabled, please enable it [link=".e_ADMIN."users.php?options]here[/link][br]");
?>

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/online_extended_menu/online_extended_menu.php,v $
| $Revision: 1.2 $
| $Date: 2006-12-07 15:41:50 $
| $Author: sweetas $
| $Revision: 1.3 $
| $Date: 2006-12-23 18:38:27 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
@@ -48,7 +48,7 @@ if(!defined("e_TRACKING_DISABLED") && (isset($pref['track_online']) && $pref['tr
$pinfo = "comment.php";
$online_location_page = "comment.php";
}
$text .= "<img src='".e_IMAGE."packs/".$imode."/admin_images/users_16.png' alt='' style='vertical-align:middle' /> <a href='".e_BASE."user.php?id.$oid'>$oname</a> ".ONLINE_EL7;
$text .= "<img src='".e_IMAGE."admin_images/users_16.png' alt='' style='vertical-align:middle' /> <a href='".e_BASE."user.php?id.$oid'>$oname</a> ".ONLINE_EL7;
(!strstr($pinfo, $ADMIN_DIRECTORY) ? $text .= " <a href='{$pinfo}'>$online_location_page</a><br />" : $text .= " $online_location_page<br />");
}
}
@@ -78,8 +78,9 @@ if(!defined("e_TRACKING_DISABLED") && (isset($pref['track_online']) && $pref['tr
extract($row);
$text .= "<br />".ONLINE_EL5.": ".$total_members."<br />".ONLINE_EL6.": <a href='".e_BASE."user.php?id.".$user_id."'>".$user_name."</a>";
}
} else {
$text = TRACKING_MESSAGE;
} elseif(ADMIN) {
global $tp;
$text = $tp->toHtml(ONLINE_TRACKING_MESSAGE,TRUE);
}

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/news.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:33:07 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2006-12-23 18:38:27 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
require_once("class2.php");
@@ -557,7 +557,7 @@ function renderCache($cache, $nfp = FALSE){
global $pref,$tp,$sql,$CUSTOMFOOTER, $FOOTER,$cust_footer,$ph;
global $db_debug,$ns,$eTraffic,$eTimingStart, $error_handler, $db_time, $sql2, $mySQLserver, $mySQLuser, $mySQLpassword, $mySQLdefaultdb,$e107;
echo $cache;
if ($nfp && $pref['nfp_display'] == 2) {
if (isset($nfp) && isset($pref['nfp_display']) && $pref['nfp_display'] == 2) {
require_once(e_PLUGIN."newforumposts_main/newforumposts_main.php");
}
render_newscats();