|
|
|
@@ -470,7 +470,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="<?php echo $num_rows + floor($num_rows/$repeat_cells) + 1; ?>" align="center">
|
|
|
|
|
<a href="<?php echo $text_url; ?>">
|
|
|
|
|
<img src="./images/<?php echo (($dontlimitchars) ? 'partialtext' : 'fulltext'); ?>.png" border="0" width="50" height="20" alt="<?php echo (($dontlimitchars) ? $GLOBALS['strPartialText'] : $GLOBALS['strFullText']); ?>" /></a>
|
|
|
|
|
<img src="./images/<?php echo (($dontlimitchars) ? 'partialtext' : 'fulltext'); ?>.png" border="0" width="50" height="20" alt="<?php echo (($dontlimitchars) ? $GLOBALS['strPartialText'] : $GLOBALS['strFullText']); ?>" title="<?php echo (($dontlimitchars) ? $GLOBALS['strPartialText'] : $GLOBALS['strFullText']); ?>" /></a>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<?php
|
|
|
|
@@ -486,14 +486,14 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
|
|
|
|
|
?>
|
|
|
|
|
<td<?php echo $colspan; ?> align="center">
|
|
|
|
|
<a href="<?php echo $text_url; ?>">
|
|
|
|
|
<img src="./images/<?php echo (($dontlimitchars) ? 'partialtext' : 'fulltext'); ?>.png" border="0" width="50" height="20" alt="<?php echo (($dontlimitchars) ? $GLOBALS['strPartialText'] : $GLOBALS['strFullText']); ?>" /></a>
|
|
|
|
|
<img src="./images/<?php echo (($dontlimitchars) ? 'partialtext' : 'fulltext'); ?>.png" border="0" width="50" height="20" alt="<?php echo (($dontlimitchars) ? $GLOBALS['strPartialText'] : $GLOBALS['strFullText']); ?>" title="<?php echo (($dontlimitchars) ? $GLOBALS['strPartialText'] : $GLOBALS['strFullText']); ?>" /></a>
|
|
|
|
|
</td>
|
|
|
|
|
<?php
|
|
|
|
|
} // end horizontal mode
|
|
|
|
|
else {
|
|
|
|
|
$vertical_display['textbtn'] = ' <td' . $rowspan . ' align="center" valign="middle">' . "\n"
|
|
|
|
|
. ' <a href="' . $text_url . '">' . "\n"
|
|
|
|
|
. ' <img src="./images/' . (($dontlimitchars) ? 'partialtext' : 'fulltext') . '.png" border="0" width="50" height="20" alt="' . (($dontlimitchars) ? $GLOBALS['strPartialText'] : $GLOBALS['strFullText']) . '" /></a>' . "\n"
|
|
|
|
|
. ' <img src="./images/' . (($dontlimitchars) ? 'partialtext' : 'fulltext') . '.png" border="0" width="50" height="20" alt="' . (($dontlimitchars) ? $GLOBALS['strPartialText'] : $GLOBALS['strFullText']) . '" title="' . (($dontlimitchars) ? $GLOBALS['strPartialText'] : $GLOBALS['strFullText']) . '" /></a>' . "\n"
|
|
|
|
|
. ' </td>' . "\n";
|
|
|
|
|
} // end vertical mode
|
|
|
|
|
}
|
|
|
|
@@ -571,11 +571,11 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
|
|
|
|
|
}
|
|
|
|
|
else if (substr($sql_order, -3) == 'ASC' && $is_in_sort) {
|
|
|
|
|
$sort_order = ' ORDER BY ' . $sort_tbl . PMA_backquote($fields_meta[$i]->name) . ' DESC';
|
|
|
|
|
$order_img = ' <img src="./images/asc_order.gif" border="0" width="7" height="7" alt="ASC" />';
|
|
|
|
|
$order_img = ' <img src="./images/asc_order.gif" border="0" width="7" height="7" alt="ASC" title="ASC" />';
|
|
|
|
|
}
|
|
|
|
|
else if (substr($sql_order, -4) == 'DESC' && $is_in_sort) {
|
|
|
|
|
$sort_order = ' ORDER BY ' . $sort_tbl . PMA_backquote($fields_meta[$i]->name) . ' ASC';
|
|
|
|
|
$order_img = ' <img src="./images/desc_order.gif" border="0" width="7" height="7" alt="DESC" />';
|
|
|
|
|
$order_img = ' <img src="./images/desc_order.gif" border="0" width="7" height="7" alt="DESC" title="DESC" />';
|
|
|
|
|
}
|
|
|
|
|
if (eregi('(.*)( LIMIT (.*)| PROCEDURE (.*)| FOR UPDATE| LOCK IN SHARE MODE)', $unsorted_sql_query, $regs3)) {
|
|
|
|
|
$sorted_sql_query = $regs3[1] . $sort_order . $regs3[2];
|
|
|
|
@@ -636,14 +636,14 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
|
|
|
|
|
?>
|
|
|
|
|
<td<?php echo $colspan; ?> align="center">
|
|
|
|
|
<a href="<?php echo $text_url; ?>">
|
|
|
|
|
<img src="./images/<?php echo (($dontlimitchars) ? 'partialtext' : 'fulltext'); ?>.png" border="0" width="50" height="20" alt="<?php echo (($dontlimitchars) ? $GLOBALS['strPartialText'] : $GLOBALS['strFullText']); ?>" /></a>
|
|
|
|
|
<img src="./images/<?php echo (($dontlimitchars) ? 'partialtext' : 'fulltext'); ?>.png" border="0" width="50" height="20" alt="<?php echo (($dontlimitchars) ? $GLOBALS['strPartialText'] : $GLOBALS['strFullText']); ?>" title="<?php echo (($dontlimitchars) ? $GLOBALS['strPartialText'] : $GLOBALS['strFullText']); ?>" /></a>
|
|
|
|
|
</td>
|
|
|
|
|
<?php
|
|
|
|
|
} // end horizontal mode
|
|
|
|
|
else {
|
|
|
|
|
$vertical_display['textbtn'] = ' <td' . $rowspan . ' align="center" valign="middle">' . "\n"
|
|
|
|
|
. ' <a href="' . $text_url . '">' . "\n"
|
|
|
|
|
. ' <img src="./images/' . (($dontlimitchars) ? 'partialtext' : 'fulltext') . '.png" border="0" width="50" height="20" alt="' . (($dontlimitchars) ? $GLOBALS['strPartialText'] : $GLOBALS['strFullText']) . '" /></a>' . "\n"
|
|
|
|
|
. ' <img src="./images/' . (($dontlimitchars) ? 'partialtext' : 'fulltext') . '.png" border="0" width="50" height="20" alt="' . (($dontlimitchars) ? $GLOBALS['strPartialText'] : $GLOBALS['strFullText']) . '" title="' . (($dontlimitchars) ? $GLOBALS['strPartialText'] : $GLOBALS['strFullText']) . '" /></a>' . "\n"
|
|
|
|
|
. ' </td>' . "\n";
|
|
|
|
|
} // end vertical mode
|
|
|
|
|
}
|
|
|
|
|