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

Notice removal

This commit is contained in:
CaMer0n
2009-09-04 14:35:01 +00:00
parent 3e5d46663e
commit 3220a8efb3
8 changed files with 46 additions and 52 deletions

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/db_debug_class.php,v $
| $Revision: 1.12 $
| $Date: 2009-08-17 15:45:20 $
| $Revision: 1.13 $
| $Date: 2009-09-04 14:35:01 $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
@@ -140,8 +140,8 @@ class e107_db_debug {
}
// Record Basic query info
$sCallingFile = $aTrace[1]['file'];
$sCallingLine = $aTrace[1]['line'];
$sCallingFile = varset($aTrace[1]['file']);
$sCallingLine = varset($aTrace[1]['line']);
$t = &$this->aSQLdetails[$sql->db_QueryCount()];
$t['marker'] = $this->curTimeMark;

View File

@@ -9,9 +9,9 @@
* e107 Menu Class
*
* $Source: /cvs_backup/e107_0.8/e107_handlers/menu_class.php,v $
* $Revision: 1.11 $
* $Date: 2009-08-25 08:34:24 $
* $Author: secretr $
* $Revision: 1.12 $
* $Date: 2009-09-04 14:35:01 $
* $Author: e107coders $
*/
if(!defined('e107_INIT'))
@@ -112,9 +112,11 @@ class e_menu
*/
protected function isVisible($row, $url = '')
{
if(isset($this->_visibility_cache[$row['id']]))
$iD = varset($row['id']);
if(isset($this->_visibility_cache[$iD]))
{
return $this->_visibility_cache[$row['id']];
return $this->_visibility_cache[$iD];
}
$show_menu = TRUE;
@@ -165,7 +167,7 @@ class e_menu
} //end switch
} //endif menu_pages
$this->_visibility_cache[$row['id']] = $show_menu;
$this->_visibility_cache[$iD] = $show_menu;
return $show_menu;
}

View File

@@ -4,7 +4,7 @@
| e107 website system
| /sitelinks_class.php
|
| <20>Steve Dunstan 2001-2002
| <20>Steve Dunstan 2001-2002
| http://e107.org
| jalist@e107.org
|
@@ -12,9 +12,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/sitelinks_class.php,v $
| $Revision: 1.18 $
| $Date: 2009-08-15 11:55:30 $
| $Author: marj_nl_fr $
| $Revision: 1.19 $
| $Date: 2009-09-04 14:35:01 $
| $Author: e107coders $
+---------------------------------------------------------------+
*/
@@ -100,7 +100,7 @@ class sitelinks
// Sublink styles.- replacing the tree-menu.
if(isset($style['sublinkdisplay']) || isset($style['subindent']) || isset($style['sublinkclass']) || isset($style['sublinkstart']) || isset($style['sublinkend']) || isset($style['subpostlink'])){
foreach($style as $key=>$val){
$aSubStyle[$key] = ($style["sub".$key]) ? $style["sub".$key] : $style[$key];
$aSubStyle[$key] = vartrue($style["sub".$key]) ? $style["sub".$key] : $style[$key];
}
}else{
$style['subindent'] = "&nbsp;&nbsp;";

View File

@@ -3,7 +3,7 @@
+ ----------------------------------------------------------------------------+
| e107 website system
|
| <20>Steve Dunstan 2001-2002
| <20>Steve Dunstan 2001-2002
| http://e107.org
| jalist@e107.org
|
@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/traffic_class.php,v $
| $Revision: 1.2 $
| $Date: 2009-08-17 15:45:20 $
| $Revision: 1.3 $
| $Date: 2009-09-04 14:35:01 $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
@@ -197,9 +197,12 @@ if (!isset($qTimeOn)) {
}
function eQTimeElapsed() {
// return elapsed time so far, as text in microseconds, or blank if zero
if ($GLOBALS['qTimeTotal']) {
if (isset($GLOBALS['qTimeTotal']))
{
return number_format($GLOBALS['qTimeTotal']*1000000.0,1);
} else {
}
else
{
return '';
}
}