Skip to content

Commit

Permalink
- MFH: Fixed bug xdebug#300: Xdebug does not force LTR rendering for …
Browse files Browse the repository at this point in the history
…its tables.

SVN Rev: 2511
  • Loading branch information
derickr committed Aug 6, 2007
1 parent 692f3a9 commit 039086b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions xdebug.c
Expand Up @@ -1616,7 +1616,7 @@ static char* text_formats[10] = {
};

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",
Expand Down Expand Up @@ -2765,7 +2765,7 @@ char* xdebug_start_trace(char* fname, long options TSRMLS_DC)
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>");
Expand Down
2 changes: 1 addition & 1 deletion xdebug_superglobals.c
Expand Up @@ -197,7 +197,7 @@ PHP_FUNCTION(xdebug_dump_superglobals)
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);
Expand Down

0 comments on commit 039086b

Please sign in to comment.