diff --git a/class2.php b/class2.php
index 9075a3cda..70db38e2f 100644
--- a/class2.php
+++ b/class2.php
@@ -2061,9 +2061,11 @@ class error_handler
function handle_error($type, $message, $file, $line, $context) {
$startup_error = (!defined('E107_DEBUG_LEVEL')); // Error before debug system initialized
+
+
switch($type) {
case E_NOTICE:
- if ($startup_error || E107_DBG_ALLERRORS)
+ if ($startup_error || E107_DBG_ALLERRORS || E107_DBG_ERRBACKTRACE)
{
$error['short'] = "Notice: {$message}, Line {$line} of {$file}
\n";
$trace = debug_backtrace();
@@ -2074,7 +2076,7 @@ class error_handler
}
break;
case E_WARNING:
- if ($startup_error || E107_DBG_BASIC)
+ if ($startup_error || E107_DBG_BASIC || E107_DBG_ERRBACKTRACE)
{
$error['short'] = "Warning: {$message}, Line {$line} of {$file}
\n";
$trace = debug_backtrace();
@@ -2105,14 +2107,18 @@ class error_handler
$index = 0; $colours[0] = "#C1C1C1"; $colours[1] = "#B6B6B6";
$ret = "";
+ // print_a($this->errors);
+
if (E107_DBG_ERRBACKTRACE)
{
foreach ($this->errors as $key => $value)
{
- $ret .= "\t
\n\t\t | \n\t
\n";
+ $ret .= "\t\n\t\t\n";
$ret .= "\t |
\n".print_a($value['trace'], true)." |
\n";
+ $ret .= "\n\t";
if($index == 0) { $index = 1; } else { $index = 0; }
}
+
}
else
{
diff --git a/e107_admin/banlist.php b/e107_admin/banlist.php
index 77deaa220..9eb5bc8b5 100644
--- a/e107_admin/banlist.php
+++ b/e107_admin/banlist.php
@@ -603,7 +603,7 @@ switch ($action)
".BANLAN_5.":
|
@@ -891,7 +891,7 @@ switch ($action)
$val = ($row['banlist_datestamp'] ? strftime($pref['ban_date_format'], $row['banlist_datestamp']) : BANLAN_22);
break;
case 'banlist_bantype':
- $val = "".$ipAdministrator->getBanTypeString($row['banlist_bantype'], FALSE)."  ";
+ $val = "".$ipAdministrator->getBanTypeString($row['banlist_bantype'], FALSE)." ".E_16_CAT_USER." ";
break;
case 'ip_reason':
$val = e107::getIPHandler()->ipDecode($row['banlist_ip'])." ".$fv.": ".$row['banlist_reason'];
diff --git a/e107_admin/docs.php b/e107_admin/docs.php
index ce2cd4cb4..8982b3b8f 100644
--- a/e107_admin/docs.php
+++ b/e107_admin/docs.php
@@ -88,7 +88,7 @@ foreach ($helplist as $key => $helpdata)
$id = 'doc-'.$key;
$text_h .= "
-
+
";
$text .= "
diff --git a/e107_admin/includes/infopanel.php b/e107_admin/includes/infopanel.php
index a5d80d2d7..0b5699d13 100644
--- a/e107_admin/includes/infopanel.php
+++ b/e107_admin/includes/infopanel.php
@@ -551,17 +551,19 @@ EOF;
-
- foreach($pageInfo as $fkey => $fvalue)
+ if(vartrue($pageInfo))
{
- $dayarray[$td][$fkey]['total'] += $fvalue['ttl'];
- $dayarray[$td][$fkey]['unique'] += $fvalue['unq'];
- $dayarray[$td]['daytotal'] += $fvalue['ttl'];
- $dayarray[$td]['dayunique'] += $fvalue['unq'];
- $pagearray[$fkey]['total'] += $fvalue['ttl'];
- $pagearray[$fkey]['unique'] += $fvalue['unq'];
- $ttotal += $fvalue['ttl'];
- $utotal += $fvalue['unq'];
+ foreach($pageInfo as $fkey => $fvalue)
+ {
+ $dayarray[$td][$fkey]['total'] += $fvalue['ttl'];
+ $dayarray[$td][$fkey]['unique'] += $fvalue['unq'];
+ $dayarray[$td]['daytotal'] += $fvalue['ttl'];
+ $dayarray[$td]['dayunique'] += $fvalue['unq'];
+ $pagearray[$fkey]['total'] += $fvalue['ttl'];
+ $pagearray[$fkey]['unique'] += $fvalue['unq'];
+ $ttotal += $fvalue['ttl'];
+ $utotal += $fvalue['unq'];
+ }
}
diff --git a/e107_web/js/core/all.jquery.js b/e107_web/js/core/all.jquery.js
index c22d0273f..9a553db45 100644
--- a/e107_web/js/core/all.jquery.js
+++ b/e107_web/js/core/all.jquery.js
@@ -31,6 +31,12 @@ $(document).ready(function()
$(".e-expandit").click(function () {
var href = ($(this).is("a")) ? $(this).attr("href") : '';
+
+ if(href == '' && $(this).attr("data-target"))
+ {
+ href = $(this).attr("data-target");
+ }
+
if(href === "#" || href == "")
{
@@ -38,9 +44,10 @@ $(document).ready(function()
$(idt).toggle("slow");
return true;
}
+
- var id = $(this).attr("href");
- $(id).toggle("slow");
+ //var id = $(this).attr("href");
+ $('#'+href).toggle("slow");
return false;
});
@@ -612,6 +619,7 @@ $(document).ready(function()
if(href === "#" || href == "")
{
idt = $(e).next("div");
+
$(idt).toggle("slow");
return false;;
}
|