[xdebug-dev] xdebug xdebug/xdebug.c - Align the headers (include error message) to the left.

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Fri, 10 Feb 2006 15:44:55 +0100

Date: Fri Feb 10 15:44:55 CET 2006
User: Derick Rethans
Directory: xdebug

Log Message:
[0.05]
- Align the headers (include error message) to the left.

Modified files:
           xdebug/xdebug.c (version: 1.298)

[FILE: /xdebug/xdebug.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.297
retrieving revision 1.298
diff -u -r1.297 -r1.298
--- xdebug/xdebug.c:1.297 Thu Feb 02 21:28:48 2006 GMT
+++ xdebug/xdebug.c Fri Feb 10 13:44:55 2006 GMT
@@ -1450,7 +1450,7 @@
         }
 
         error_format = html ?
- "<tr><th bgcolor='#ee5555' colspan=\"3\">%s: <i>%s</i> in <i>%s</i> on line <i>%d</i></th></tr>\n"
+ "<tr><th align='left' bgcolor='#ee5555' colspan=\"3\">%s: <i>%s</i> in <i>%s</i> on line <i>%d</i></th></tr>\n"
                 : "\n%s: %s in %s on line %d\n";
         if (!log_only) {
                 php_printf(error_format, error_type_str, buffer, error_filename, error_lineno);
@@ -1460,8 +1460,8 @@
                 i = XDEBUG_LLIST_VALP(XDEBUG_LLIST_HEAD(XG(stack)));
                 if (!log_only) {
                         if (html) {
- php_printf("<tr><th bgcolor='#7777dd' colspan='3'>Call Stack</th></tr>\n");
- php_printf("<tr><th bgcolor='#9999ee'>#</th><th bgcolor='#9999ee'>Function</th><th bgcolor='#9999ee'>Location</th></tr>\n");
+ php_printf("<tr><th align='left' bgcolor='#7777dd' colspan='3'>Call Stack</th></tr>\n");
+ php_printf("<tr><th align='left' bgcolor='#9999ee'>#</th><th align='left' bgcolor='#9999ee'>Function</th><th align='left' bgcolor='#9999ee'>Location</th></tr>\n");
                         } else {
                                 php_printf("\nCall Stack:\n");
                         }
@@ -1563,8 +1563,8 @@
                                 }
                                 if (i->used_vars && i->used_vars->size) {
                                         if (html) {
- php_printf("<tr><th colspan='3' bgcolor='#33aa33'>Variables in local scope (#%d)</th></tr>\n", scope_nr);
- php_printf("<tr><th colspan='2' bgcolor='#55cc55'>Variable</th><th bgcolor='#55cc55'>Value</th></tr>\n");
+ php_printf("<tr><th align='left' colspan='3' bgcolor='#33aa33'>Variables in local scope (#%d)</th></tr>\n", scope_nr);
+ php_printf("<tr><th align='left' colspan='2' bgcolor='#55cc55'>Variable</th><th align='left' bgcolor='#55cc55'>Value</th></tr>\n");
                                         } else {
                                                 php_printf("\n\nVariables in local scope:\n");
                                         }
Received on Fri Feb 10 2006 - 15:45:13 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST