mirror of
https://github.com/e107inc/e107.git
synced 2025-05-04 11:24:54 +02:00
PHP Notice removal and debug=path was rendering HTML.. fixed.
This commit is contained in:
parent
ab9b0f8996
commit
11f021b0cc
@ -11,8 +11,8 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_admin/includes/infopanel.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_admin/includes/infopanel.php,v $
|
||||||
| $Revision: 1.2 $
|
| $Revision: 1.3 $
|
||||||
| $Date: 2009-07-04 13:36:15 $
|
| $Date: 2009-07-08 01:29:53 $
|
||||||
| $Author: e107coders $
|
| $Author: e107coders $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
@ -210,11 +210,14 @@ $text .= "
|
|||||||
".$icon['icon'].$frm->checkbox('e-mye107[]',$key, $checked). $icon['title']."</div>";
|
".$icon['icon'].$frm->checkbox('e-mye107[]',$key, $checked). $icon['title']."</div>";
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach($pluglist as $key=>$icon)
|
if(is_array($pluglist))
|
||||||
{
|
{
|
||||||
$checked = (in_array('p-'.$key,$user_pref['core-infopanel-mye107'])) ? TRUE : FALSE;
|
foreach($pluglist as $key=>$icon)
|
||||||
$text .= "<div class='left f-left list field-spacer' style='display:block;height:24px;width:200px;'>
|
{
|
||||||
".$icon['icon'].$frm->checkbox('e-mye107[]', $key, $checked). $icon['title']."</div>";
|
$checked = (in_array('p-'.$key,$user_pref['core-infopanel-mye107'])) ? TRUE : FALSE;
|
||||||
|
$text .= "<div class='left f-left list field-spacer' style='display:block;height:24px;width:200px;'>
|
||||||
|
".$icon['icon'].$frm->checkbox('e-mye107[]', $key, $checked). $icon['title']."</div>";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -11,9 +11,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_handlers/db_debug_class.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/db_debug_class.php,v $
|
||||||
| $Revision: 1.8 $
|
| $Revision: 1.9 $
|
||||||
| $Date: 2008-07-20 17:08:24 $
|
| $Date: 2009-07-08 01:29:54 $
|
||||||
| $Author: e107steved $
|
| $Author: e107coders $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -476,17 +476,17 @@ class e107_db_debug {
|
|||||||
<tr>
|
<tr>
|
||||||
<td class='forumheader3'>\n";
|
<td class='forumheader3'>\n";
|
||||||
|
|
||||||
ob_start();
|
|
||||||
echo "<pre>"; print_r($e107); echo "</pre>";
|
|
||||||
$text .= ob_get_contents();
|
|
||||||
ob_end_clean();
|
|
||||||
|
|
||||||
$text .= "e_HTTP: '".e_HTTP."'<br />";
|
$text .= "e_HTTP: '".e_HTTP."'<br />";
|
||||||
$text .= "e_BASE: '".e_BASE."'<br />";
|
$text .= "e_BASE: '".e_BASE."'<br />";
|
||||||
$text .= "\$_SERVER['PHP_SELF']: '".$_SERVER['PHP_SELF']."'<br />";
|
$text .= "\$_SERVER['PHP_SELF']: '".$_SERVER['PHP_SELF']."'<br />";
|
||||||
$text .= "\$_SERVER['DOCUMENT_ROOT']: '".$_SERVER['DOCUMENT_ROOT']."'<br />";
|
$text .= "\$_SERVER['DOCUMENT_ROOT']: '".$_SERVER['DOCUMENT_ROOT']."'<br />";
|
||||||
$text .= "\$_SERVER['HTTP_HOST']: '".$_SERVER['HTTP_HOST']."'<br />";
|
$text .= "\$_SERVER['HTTP_HOST']: '".$_SERVER['HTTP_HOST']."'<br />";
|
||||||
|
|
||||||
|
|
||||||
|
$text .= "<pre>";
|
||||||
|
$text .= htmlspecialchars(print_r($e107,TRUE));
|
||||||
|
$text .= "</pre>";
|
||||||
|
|
||||||
$text .= "</td></tr></table>";
|
$text .= "</td></tr></table>";
|
||||||
return $text;
|
return $text;
|
||||||
}
|
}
|
||||||
|
@ -11,8 +11,8 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_handlers/emailprint_class.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/emailprint_class.php,v $
|
||||||
| $Revision: 1.4 $
|
| $Revision: 1.5 $
|
||||||
| $Date: 2009-07-07 06:50:55 $
|
| $Date: 2009-07-08 01:29:54 $
|
||||||
| $Author: e107coders $
|
| $Author: e107coders $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
@ -63,12 +63,12 @@ class emailprint
|
|||||||
|
|
||||||
if ($look == 0 || $look == 1)
|
if ($look == 0 || $look == 1)
|
||||||
{
|
{
|
||||||
$ico_mail = (file_exists(THEME."images/".ICONMAIL) ? THEME_ABS."images/".ICONMAIL : e_IMAGE_ABS."generic/email.png");
|
$ico_mail = (defined("ICONMAIL") && file_exists(THEME."images/".ICONMAIL) ? THEME_ABS."images/".ICONMAIL : e_IMAGE_ABS."generic/email.png");
|
||||||
$text_emailprint .= "<a href='".e_HTTP."email.php?".$email.".".$id."'><img src='".$ico_mail."' style='border:0' alt='".LAN_EMAIL_7."' title='".LAN_EMAIL_7."' /></a> ";
|
$text_emailprint .= "<a href='".e_HTTP."email.php?".$email.".".$id."'><img src='".$ico_mail."' style='border:0' alt='".LAN_EMAIL_7."' title='".LAN_EMAIL_7."' /></a> ";
|
||||||
}
|
}
|
||||||
if ($look == 0 || $look == 2)
|
if ($look == 0 || $look == 2)
|
||||||
{
|
{
|
||||||
$ico_print = (file_exists(THEME."images/".ICONPRINT) ? THEME_ABS."images/".ICONPRINT : e_IMAGE_ABS."generic/printer.png");
|
$ico_print = (defined("ICONPRINT") && file_exists(THEME."images/".ICONPRINT) ? THEME_ABS."images/".ICONPRINT : e_IMAGE_ABS."generic/printer.png");
|
||||||
$text_emailprint .= "<a href='".e_HTTP."print.php?".$print.".".$id."'><img src='".$ico_print."' style='border:0' alt='".LAN_PRINT_1."' title='".LAN_PRINT_1."' /></a>";
|
$text_emailprint .= "<a href='".e_HTTP."print.php?".$print.".".$id."'><img src='".$ico_print."' style='border:0' alt='".LAN_PRINT_1."' title='".LAN_PRINT_1."' /></a>";
|
||||||
}
|
}
|
||||||
return $text_emailprint;
|
return $text_emailprint;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user