Merge remote branch 'origin/master'

This commit is contained in:
Pootle server
2010-10-04 22:40:09 +02:00

View File

@@ -2119,10 +2119,12 @@ if (! defined('PMA_MINIMUM_COMMON')) {
$docu = TRUE; $docu = TRUE;
break; break;
} // end switch } // end switch
// inner_sql is a span that exists for all cases // inner_sql is a span that exists for all cases, except query_only
// of $cfg['SQP']['fmtType'] to make possible a replacement // of $cfg['SQP']['fmtType'] to make possible a replacement
// for inline editing // for inline editing
if ($mode!='query_only') {
$str .= '<span class="inner_sql">'; $str .= '<span class="inner_sql">';
}
$close_docu_link = false; $close_docu_link = false;
$indent = 0; $indent = 0;
$bracketlevel = 0; $bracketlevel = 0;
@@ -2617,8 +2619,10 @@ if (! defined('PMA_MINIMUM_COMMON')) {
$str .= '</a>'; $str .= '</a>';
$close_docu_link = false; $close_docu_link = false;
} }
if ($mode!='query_only') {
// close inner_sql span // close inner_sql span
$str .= '</span>'; $str .= '</span>';
}
if ($mode=='color') { if ($mode=='color') {
// close syntax span // close syntax span
$str .= '</span>'; $str .= '</span>';