[xdebug-dev] xdebug xdebug/xdebug.c xdebug/xdebug_superglobals.c - MFH: Fixed bug #300: Xdebug does not force LTR rendering for its tables.

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Mon, 6 Aug 2007 21:36:27 +0200

Date: Mon Aug 6 21:36:27 CEST 2007
User: Derick Rethans
Directory: xdebug

Log Message:
[0.25]
- MFH: Fixed bug #300: Xdebug does not force LTR rendering for its tables.

Modified files:
           xdebug/xdebug.c (version: 1.400.2.2)
           xdebug/xdebug_superglobals.c (version: 1.24.2.1)

[FILE: /xdebug/xdebug.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.400.2.1
retrieving revision 1.400.2.2
diff -u -r1.400.2.1 -r1.400.2.2
--- xdebug/xdebug.c:1.400.2.1 Tue Jul 24 18:07:01 2007 GMT
+++ xdebug/xdebug.c Mon Aug 06 17:36:27 2007 GMT
@@ -1616,7 +1616,7 @@
 };
 
 static char* html_formats[10] = {
- "<br />\n<font size='1'><table border='1' cellspacing='0' cellpadding='1'>\n",
+ "<br />\n<font size='1'><table dir='ltr' border='1' cellspacing='0' cellpadding='1'>\n",
         "<tr><th align='left' bgcolor='#f57900' colspan=\"5\"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> %s: %s in %s on line <i>%d</i></th></tr>\n",
 #if HAVE_PHP_MEMORY_USAGE
         "<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>\n<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>\n",
@@ -2765,7 +2765,7 @@
                         xdfree(str_time);
                 }
                 if (XG(trace_format) == 2) {
- fprintf(XG(trace_file), "<table class='xdebug-trace' border='1' cellspacing='0'>\n");
+ fprintf(XG(trace_file), "<table dir='ltr' class='xdebug-trace' border='1' cellspacing='0'>\n");
                         fprintf(XG(trace_file), "\t<tr><th>#</th><th>Time</th>");
 #if MEMORY_LIMIT
                         fprintf(XG(trace_file), "<th>Mem</th>");

[FILE: /xdebug/xdebug_superglobals.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.24
retrieving revision 1.24.2.1
diff -u -r1.24 -r1.24.2.1
--- xdebug/xdebug_superglobals.c:1.24 Wed May 16 13:43:27 2007 GMT
+++ xdebug/xdebug_superglobals.c Mon Aug 06 17:36:27 2007 GMT
@@ -197,7 +197,7 @@
         char *superglobal_info = NULL;
 
         if (html) {
- php_printf("<table border='1' cellspacing='0'>\n");
+ php_printf("<table dir='ltr' border='1' cellspacing='0'>\n");
         }
 
         superglobal_info = xdebug_get_printable_superglobals(html TSRMLS_CC);
Received on Mon Aug 06 2007 - 21:36:30 BST

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