' . "\n";
} else if ($row[$primary->name] != '') {
// loic1: Cut text/blob fields even if $cfgShowBlob is true
if (eregi('BLOB', $primary->type)) {
@@ -810,9 +810,9 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
else {
$row[$primary->name] = ereg_replace("((\015\012)|(\015)|(\012))+", ' ', htmlspecialchars($row[$primary->name]));
}
- echo '
' . $row[$primary->name] . '
' . "\n";
+ echo '
' . $row[$primary->name] . '
' . "\n";
} else {
- echo '
' . "\n";
+ echo '
' . "\n";
}
}
} // end for (2)
@@ -821,7 +821,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
if ($GLOBALS['cfgModifyDeleteAtRight']) {
if (!empty($edit_url)) {
?>
-
+
@@ -830,7 +830,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
if (!empty($del_url)) {
echo "\n";
?>
-
+
>
@@ -876,8 +876,9 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
*
* @access private
*
- * @see PMA_showMessage(), PMA_setDisplayMode(), PMA_displayTableNavigation(),
- * PMA_displayTableHeaders(), PMA_displayTableBody()
+ * @see PMA_showMessage(), PMA_setDisplayMode(),
+ * PMA_displayTableNavigation(), PMA_displayTableHeaders(),
+ * PMA_displayTableBody()
*/
function PMA_displayTable(&$dt_result, &$the_disp_mode)
{
@@ -974,5 +975,5 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
}
} // end of the 'PMA_displayTable()' function
-} $__PMA_DISPLAY_TBL_LIB__
+} // $__PMA_DISPLAY_TBL_LIB__
?>
diff --git a/libraries/functions.js b/libraries/functions.js
index 2be56be64..48f9c85fb 100644
--- a/libraries/functions.js
+++ b/libraries/functions.js
@@ -293,3 +293,27 @@ function checkTransmitDump(theForm, theAction)
return true;
} // end of the 'checkTransmitDump()' function
+
+
+/**
+ * Displays an confirmation box beforme to submit a "DROP/DELETE/ALTER" query.
+ * This function is called while clicking links
+ *
+ * @param object the link
+ * @param object the sql query to submit
+ *
+ * @return boolean whether pointer is set or not
+ */
+function setPointer(theRow, thePointerColor)
+{
+ if (typeof(theRow.style) == 'undefined' || typeof(theRow.cells) == 'undefined') {
+ return false;
+ }
+
+ var row_cells_cnt = theRow.cells.length;
+ for (var c = 0; c < row_cells_cnt; c++) {
+ theRow.cells[c].bgColor = thePointerColor;
+ }
+
+ return true;
+} // end of the 'setPointer()' function
diff --git a/tbl_change.php3 b/tbl_change.php3
index 75a01e1f9..6c53dc95f 100755
--- a/tbl_change.php3
+++ b/tbl_change.php3
@@ -159,8 +159,8 @@ for ($i = 0; $i < $fields_cnt; $i++) {
$bgcolor = ($i % 2) ? $cfgBgcolorOne : $cfgBgcolorTwo;
?>
-