better function thanks to Sebastian Mendel
This commit is contained in:
@@ -247,7 +247,7 @@ if (isset($disp_row) && is_array($disp_row)) {
|
|||||||
.'<a href="#" title="' . $strUseThisValue
|
.'<a href="#" title="' . $strUseThisValue
|
||||||
. ($key_ordered_current_val_title != '' ? ': ' . $key_ordered_current_val_title : '') . '"'
|
. ($key_ordered_current_val_title != '' ? ': ' . $key_ordered_current_val_title : '') . '"'
|
||||||
.' onclick="formupdate(\'' . md5($field) . '\', \''
|
.' onclick="formupdate(\'' . md5($field) . '\', \''
|
||||||
. htmlspecialchars(addslashes($key_ordered_current_key)) . '\'); return false;">'
|
. PMA_jsFormat($key_ordered_current_key, false) . '\'); return false;">'
|
||||||
.htmlspecialchars($key_ordered_current_key) . '</a>' . ($key_ordered_current_equals_data ? '</b>' : '');
|
.htmlspecialchars($key_ordered_current_key) . '</a>' . ($key_ordered_current_equals_data ? '</b>' : '');
|
||||||
?></td>
|
?></td>
|
||||||
<td>
|
<td>
|
||||||
@@ -255,7 +255,7 @@ if (isset($disp_row) && is_array($disp_row)) {
|
|||||||
echo ($key_ordered_current_equals_data ? '<b>' : '')
|
echo ($key_ordered_current_equals_data ? '<b>' : '')
|
||||||
. '<a href="#" title="' . $strUseThisValue . ($key_ordered_current_val_title != '' ? ': '
|
. '<a href="#" title="' . $strUseThisValue . ($key_ordered_current_val_title != '' ? ': '
|
||||||
. $key_ordered_current_val_title : '') . '" onclick="formupdate(\''
|
. $key_ordered_current_val_title : '') . '" onclick="formupdate(\''
|
||||||
. md5($field) . '\', \'' . htmlspecialchars(addslashes($key_ordered_current_key)) . '\'); return false;">'
|
. md5($field) . '\', \'' . PMA_jsFormat($key_ordered_current_key, false) . '\'); return false;">'
|
||||||
. $key_ordered_current_val . '</a>' . ($key_ordered_current_equals_data ? '</b>' : '');
|
. $key_ordered_current_val . '</a>' . ($key_ordered_current_equals_data ? '</b>' : '');
|
||||||
?></td>
|
?></td>
|
||||||
<td width="20%">
|
<td width="20%">
|
||||||
@@ -267,7 +267,7 @@ if (isset($disp_row) && is_array($disp_row)) {
|
|||||||
echo ($val_ordered_current_equals_data ? '<b>' : '')
|
echo ($val_ordered_current_equals_data ? '<b>' : '')
|
||||||
. '<a href="#" title="' . $strUseThisValue . ($val_ordered_current_val_title != '' ? ': '
|
. '<a href="#" title="' . $strUseThisValue . ($val_ordered_current_val_title != '' ? ': '
|
||||||
. $val_ordered_current_val_title : '') . '" onclick="formupdate(\'' . md5($field)
|
. $val_ordered_current_val_title : '') . '" onclick="formupdate(\'' . md5($field)
|
||||||
. '\', \'' . htmlspecialchars(addslashes($val_ordered_current_key)) . '\'); return false;">'
|
. '\', \'' . PMA_jsFormat($val_ordered_current_key, false) . '\'); return false;">'
|
||||||
. $val_ordered_current_val . '</a>' . ($val_ordered_current_equals_data ? '</b>' : '');
|
. $val_ordered_current_val . '</a>' . ($val_ordered_current_equals_data ? '</b>' : '');
|
||||||
?></td>
|
?></td>
|
||||||
<td nowrap="nowrap">
|
<td nowrap="nowrap">
|
||||||
@@ -275,7 +275,7 @@ if (isset($disp_row) && is_array($disp_row)) {
|
|||||||
echo ($val_ordered_current_equals_data ? '<b>' : '') . '<a href="#" title="'
|
echo ($val_ordered_current_equals_data ? '<b>' : '') . '<a href="#" title="'
|
||||||
. $strUseThisValue . ($val_ordered_current_val_title != '' ? ': ' . $val_ordered_current_val_title : '')
|
. $strUseThisValue . ($val_ordered_current_val_title != '' ? ': ' . $val_ordered_current_val_title : '')
|
||||||
. '" onclick="formupdate(\'' . md5($field) . '\', \''
|
. '" onclick="formupdate(\'' . md5($field) . '\', \''
|
||||||
. htmlspecialchars(addslashes($val_ordered_current_key)) . '\'); return false;">' . htmlspecialchars($val_ordered_current_key)
|
. PMA_jsFormat($val_ordered_current_key, false) . '\'); return false;">' . htmlspecialchars($val_ordered_current_key)
|
||||||
. '</a>' . ($val_ordered_current_equals_data ? '</b>' : '');
|
. '</a>' . ($val_ordered_current_equals_data ? '</b>' : '');
|
||||||
?></td>
|
?></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Reference in New Issue
Block a user