1
0
mirror of https://github.com/e107inc/e107.git synced 2025-06-05 02:15:13 +02:00

Bugtracker #4464 - various minor CHTML compliance changes

This commit is contained in:
e107steved 2008-07-20 17:08:44 +00:00
parent 487c91a488
commit 9cc8f806d4
5 changed files with 24 additions and 24 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.7 $
| $Date: 2008-05-17 17:18:36 $
| $Revision: 1.8 $
| $Date: 2008-07-20 17:08:24 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@ -75,7 +75,7 @@ class e107_db_debug {
$style='debug';
if (!isset($ns)) {
echo "Why did ns go away?<br/>";
echo "Why did ns go away?<br />";
$ns = new e107table;
}
@ -109,7 +109,7 @@ class e107_db_debug {
// Add any desired notes to $aMarkNotes[$nMarks]... e.g.
//global $eTimingStart;
//$this->aMarkNotes[$nMarks] .= "verify start: ".$eTimingStart."<br/>";
//$this->aMarkNotes[$nMarks] .= "verify start: ".$eTimingStart."<br />";
}
@ -223,7 +223,7 @@ class e107_db_debug {
<td class='forumheader3'>".$cQuery['query']."</td></tr>\n<tr><td class='forumheader3'>".$cQuery['error']."</td></tr>\n";
}
}
$text .= "\n</table><br/>\n";
$text .= "\n</table><br />\n";
}
//
@ -239,10 +239,10 @@ class e107_db_debug {
foreach ($this->aSQLdetails as $idx => $cQuery) {
if ($cQuery['ok']) {
$text .= "<tr><td class='forumheader3' style='text-align:right'>{$idx}&nbsp;</td>
<td class='forumheader3' style='text-align:right'>".number_format($cQuery['time'] * 1000.0, 4)."&nbsp;</td><td class='forumheader3'>".$cQuery['query'].'<br/>['.$cQuery['marker']." - ".$cQuery['caller']."]</td></tr>\n";
<td class='forumheader3' style='text-align:right'>".number_format($cQuery['time'] * 1000.0, 4)."&nbsp;</td><td class='forumheader3'>".$cQuery['query'].'<br />['.$cQuery['marker']." - ".$cQuery['caller']."]</td></tr>\n";
}
}
$text .= "\n</table><br/>\n";
$text .= "\n</table><br />\n";
}
@ -252,7 +252,7 @@ class e107_db_debug {
if (E107_DBG_SQLDETAILS) {
foreach ($this->aSQLdetails as $idx => $cQuery) {
$text .= "\n<table class='fborder' style='width: 100%;'>\n";
$text .= "<tr><td class='forumheader3' colspan='".$cQuery['nFields']."'><b>".$idx.") Query:</b> [".$cQuery['marker']." - ".$cQuery['caller']."]<br/>".$cQuery['query']."</td></tr>\n";
$text .= "<tr><td class='forumheader3' colspan='".$cQuery['nFields']."'><b>".$idx.") Query:</b> [".$cQuery['marker']." - ".$cQuery['caller']."]<br />".$cQuery['query']."</td></tr>\n";
if (isset($cQuery['explain'])) {
$text .= $cQuery['explain'];
}
@ -358,7 +358,7 @@ class e107_db_debug {
$aSum['DB Time']=number_format($aSum['DB Time']*1000.0, 1);
$text .= "<tr><td class='fcaption'><b>".implode("</b>&nbsp;</td><td class='fcaption' style='text-align:right'><b>", $aSum)."</b>&nbsp;</td><td class='fcaption'>&nbsp;</td></tr>\n";
$text .= "\n</table><br/>\n";
$text .= "\n</table><br />\n";
//
// Stats by Table
@ -404,7 +404,7 @@ class e107_db_debug {
$aSum['%DB Count']=($sql->db_QueryCount()) ? number_format(100.0 * ($aSum['DB Count'] / ($sql->db_QueryCount())), 0) : 0;
$aSum['DB Time']=number_format($aSum['DB Time']*1000.0, 1);
$text .= "<tr><td class='fcaption'>".implode("&nbsp;</td><td class='fcaption' style='text-align:right'>", array_values($aSum))."&nbsp;</td></tr>\n";
$text .= "\n</table><br/>\n";
$text .= "\n</table><br />\n";
return $text;
}
@ -568,7 +568,7 @@ class e107_db_debug {
$text .= "<tr class='forumheader3'><td>".implode("&nbsp;</td><td>", array_values($curLog))."&nbsp;</td></tr>\n";
}
$text .= "</table><br/>\n";
$text .= "</table><br />\n";
return $text;
}
@ -612,7 +612,7 @@ global $error_handler,$e107_Clean_Exit,$In_e107_Footer,$ADMIN_DIRECTORY;
//
if (isset($e107_Clean_Exit)) return; // We've now sent a footer...
// echo isset($In_e107_Footer) ? "In footer" : "In startup".'<br>';
// echo isset($In_e107_Footer) ? "In footer" : "In startup".'<br />';
while (ob_get_level() > 0) {
ob_end_flush();

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/traffic_class_display.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:33:58 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2008-07-20 17:08:24 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@ -114,7 +114,7 @@ if (!defined('e107_INIT')) { exit; }
$cTot = number_format($this->calTime*1000.0,4);
$text .="<tr><td class='forumheader3' colspan='6'>
<b>Note:</b> These times have been decreased by the calibration offset:<br/>
<b>Note:</b> These times have been decreased by the calibration offset:<br />
$cal2 usec per call(start,stop); $cal1 usec per call(start). Total adjustment: $cTot msec.</td></tr>\n";
$text .="</table><br />\n";
}

View File

@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/forum/newforumposts_menu.php,v $
| $Revision: 1.5 $
| $Date: 2007-10-08 21:02:42 $
| $Revision: 1.6 $
| $Date: 2008-07-20 17:08:31 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@ -86,7 +86,7 @@ else
if ($menu_pref['newforumposts_title'])
{
$text .= "<img src='".THEME_ABS."images/".(defined("BULLET") ? BULLET : "bullet2.gif")."' alt='' /> <a href='".e_PLUGIN."forum/forum_viewtopic.php?{$id}.post'>".$topic."</a><br />".$fi['thread_thread']."<br />".NFP_11." ".$poster."<br />".$datestamp."<br/><br />";
$text .= "<img src='".THEME_ABS."images/".(defined("BULLET") ? BULLET : "bullet2.gif")."' alt='' /> <a href='".e_PLUGIN."forum/forum_viewtopic.php?{$id}.post'>".$topic."</a><br />".$fi['thread_thread']."<br />".NFP_11." ".$poster."<br />".$datestamp."<br /><br />";
}
else
{

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_themes/human_condition/theme.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:35:48 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2008-07-20 17:08:38 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@ -157,7 +157,7 @@ $COMMENTSTYLE = "
<br />
{JOINED}
</span>
<br/>
<br />
{REPLY}
</td>
<td style='width:70%; vertical-align:top'>

View File

@ -223,7 +223,7 @@ $COMMENTSTYLE = "
<br />
{JOINED}
</span>
<br/>
<br />
{REPLY}
</td>
<td style='width:70%; vertical-align:top'>