do not edit blob fields
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2001-06-30 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* tbl_change.php3, lang/*: merge patch: "do not edit blobs" from
|
||||
Bernard M. Piller <bernard@bmpsystems.com>
|
||||
|
||||
========================================================================================
|
||||
2001-06-30 Olivier M<>ller <om@omnis.ch>
|
||||
IMPORTANT : FROM NOW, PLEASE COMMIT YOUR CHANGES IN THE PHPMYADMIN-DEVEL BRANCH!
|
||||
|
@@ -270,4 +270,6 @@ $strYes = "Sim";
|
||||
|
||||
// automatic generated by langxlorer.php (June 27, 2001, 6:53 pm)
|
||||
// V0.11 - experimental (Steve Alberty - alberty@neptunlabs.de)
|
||||
$strBinary=" Binary "; //to translate
|
||||
$strBinaryDoNotEdit=" Binary - do not edit "; //to translate
|
||||
?>
|
@@ -270,4 +270,6 @@ $strYes = "
|
||||
|
||||
// automatic generated by langxlorer.php (June 27, 2001, 6:53 pm)
|
||||
// V0.11 - experimental (Steve Alberty - alberty@neptunlabs.de)
|
||||
$strBinary=" Binary "; //to translate
|
||||
$strBinaryDoNotEdit=" Binary - do not edit "; //to translate
|
||||
?>
|
@@ -270,4 +270,6 @@ $strYes = "Si";
|
||||
|
||||
// automatic generated by langxlorer.php (June 27, 2001, 6:53 pm)
|
||||
// V0.11 - experimental (Steve Alberty - alberty@neptunlabs.de)
|
||||
$strBinary=" Binary "; //to translate
|
||||
$strBinaryDoNotEdit=" Binary - do not edit "; //to translate
|
||||
?>
|
@@ -270,4 +270,6 @@ $strYes = "
|
||||
|
||||
// automatic generated by langxlorer.php (June 27, 2001, 6:53 pm)
|
||||
// V0.11 - experimental (Steve Alberty - alberty@neptunlabs.de)
|
||||
$strBinary=" Binary "; //to translate
|
||||
$strBinaryDoNotEdit=" Binary - do not edit "; //to translate
|
||||
?>
|
@@ -270,4 +270,6 @@ $strYes = "
|
||||
|
||||
// automatic generated by langxlorer.php (June 27, 2001, 6:53 pm)
|
||||
// V0.11 - experimental (Steve Alberty - alberty@neptunlabs.de)
|
||||
$strBinary=" Binary "; //to translate
|
||||
$strBinaryDoNotEdit=" Binary - do not edit "; //to translate
|
||||
?>
|
@@ -270,4 +270,6 @@ $strYes = "Ano";
|
||||
|
||||
// automatic generated by langxlorer.php (June 27, 2001, 6:53 pm)
|
||||
// V0.11 - experimental (Steve Alberty - alberty@neptunlabs.de)
|
||||
$strBinary=" Binary "; //to translate
|
||||
$strBinaryDoNotEdit=" Binary - do not edit "; //to translate
|
||||
?>
|
@@ -270,4 +270,6 @@ $strYes = "Ano";
|
||||
|
||||
// automatic generated by langxlorer.php (June 27, 2001, 6:53 pm)
|
||||
// V0.11 - experimental (Steve Alberty - alberty@neptunlabs.de)
|
||||
$strBinary=" Binary "; //to translate
|
||||
$strBinaryDoNotEdit=" Binary - do not edit "; //to translate
|
||||
?>
|
@@ -270,4 +270,6 @@ $strYes = "Ja";
|
||||
|
||||
// automatic generated by langxlorer.php (June 27, 2001, 6:53 pm)
|
||||
// V0.11 - experimental (Steve Alberty - alberty@neptunlabs.de)
|
||||
$strBinary=" Binary "; //to translate
|
||||
$strBinaryDoNotEdit=" Binary - do not edit "; //to translate
|
||||
?>
|
@@ -270,4 +270,6 @@ $strYes = "Ja";
|
||||
|
||||
// automatic generated by langxlorer.php (June 27, 2001, 6:53 pm)
|
||||
// V0.11 - experimental (Steve Alberty - alberty@neptunlabs.de)
|
||||
$strBinary=" Binary "; //to translate
|
||||
$strBinaryDoNotEdit=" Binary - do not edit "; //to translate
|
||||
?>
|
@@ -270,4 +270,6 @@ $strYes = "Yes";
|
||||
|
||||
// automatic generated by langxlorer.php (June 27, 2001, 6:53 pm)
|
||||
// V0.11 - experimental (Steve Alberty - alberty@neptunlabs.de)
|
||||
$strBinary="Binary";
|
||||
$strBinaryDoNotEdit="Binary - do not edit";
|
||||
?>
|
@@ -270,4 +270,6 @@ $strYes = "Oui";
|
||||
|
||||
// automatic generated by langxlorer.php (June 27, 2001, 6:53 pm)
|
||||
// V0.11 - experimental (Steve Alberty - alberty@neptunlabs.de)
|
||||
$strBinary="Binaire";
|
||||
$strBinaryDoNotEdit="Binaire - ne pas <20>diter";
|
||||
?>
|
@@ -270,4 +270,6 @@ $strYes = "Ja";
|
||||
|
||||
// automatic generated by langxlorer.php (June 27, 2001, 6:53 pm)
|
||||
// V0.11 - experimental (Steve Alberty - alberty@neptunlabs.de)
|
||||
$strBinary=" Binary "; //to translate
|
||||
$strBinaryDoNotEdit=" Binary - do not edit "; //to translate
|
||||
?>
|
@@ -270,4 +270,6 @@ $strYes = " Si ";
|
||||
|
||||
// automatic generated by langxlorer.php (June 27, 2001, 6:53 pm)
|
||||
// V0.11 - experimental (Steve Alberty - alberty@neptunlabs.de)
|
||||
$strBinary=" Binary "; //to translate
|
||||
$strBinaryDoNotEdit=" Binary - do not edit "; //to translate
|
||||
?>
|
@@ -270,4 +270,6 @@ $strYes = "
|
||||
|
||||
// automatic generated by langxlorer.php (June 27, 2001, 6:53 pm)
|
||||
// V0.11 - experimental (Steve Alberty - alberty@neptunlabs.de)
|
||||
$strBinary=" Binary "; //to translate
|
||||
$strBinaryDoNotEdit=" Binary - do not edit "; //to translate
|
||||
?>
|
@@ -270,4 +270,6 @@ $strYes = "
|
||||
|
||||
// automatic generated by langxlorer.php (June 27, 2001, 6:53 pm)
|
||||
// V0.11 - experimental (Steve Alberty - alberty@neptunlabs.de)
|
||||
$strBinary=" Binary "; //to translate
|
||||
$strBinaryDoNotEdit=" Binary - do not edit "; //to translate
|
||||
?>
|
@@ -270,4 +270,6 @@ $strYes = "Ja";
|
||||
|
||||
// automatic generated by langxlorer.php (June 27, 2001, 6:53 pm)
|
||||
// V0.11 - experimental (Steve Alberty - alberty@neptunlabs.de)
|
||||
$strBinary=" Binary "; //to translate
|
||||
$strBinaryDoNotEdit=" Binary - do not edit "; //to translate
|
||||
?>
|
@@ -270,4 +270,6 @@ $strYes = "Tak";
|
||||
|
||||
// automatic generated by langxlorer.php (June 27, 2001, 6:53 pm)
|
||||
// V0.11 - experimental (Steve Alberty - alberty@neptunlabs.de)
|
||||
$strBinary=" Binary "; //to translate
|
||||
$strBinaryDoNotEdit=" Binary - do not edit "; //to translate
|
||||
?>
|
@@ -270,4 +270,6 @@ $strYes = "Sim";
|
||||
|
||||
// automatic generated by langxlorer.php (June 27, 2001, 6:53 pm)
|
||||
// V0.11 - experimental (Steve Alberty - alberty@neptunlabs.de)
|
||||
$strBinary=" Binary "; //to translate
|
||||
$strBinaryDoNotEdit=" Binary - do not edit "; //to translate
|
||||
?>
|
@@ -270,4 +270,6 @@ $strYes = "
|
||||
|
||||
// automatic generated by langxlorer.php (June 27, 2001, 6:53 pm)
|
||||
// V0.11 - experimental (Steve Alberty - alberty@neptunlabs.de)
|
||||
$strBinary=" Binary "; //to translate
|
||||
$strBinaryDoNotEdit=" Binary - do not edit "; //to translate
|
||||
?>
|
@@ -270,4 +270,6 @@ $strYes = "
|
||||
|
||||
// automatic generated by langxlorer.php (June 27, 2001, 6:53 pm)
|
||||
// V0.11 - experimental (Steve Alberty - alberty@neptunlabs.de)
|
||||
$strBinary=" Binary "; //to translate
|
||||
$strBinaryDoNotEdit=" Binary - do not edit "; //to translate
|
||||
?>
|
@@ -270,4 +270,6 @@ $strYes = "Si";
|
||||
|
||||
// automatic generated by langxlorer.php (June 27, 2001, 6:53 pm)
|
||||
// V0.11 - experimental (Steve Alberty - alberty@neptunlabs.de)
|
||||
$strBinary=" Binary "; //to translate
|
||||
$strBinaryDoNotEdit=" Binary - do not edit "; //to translate
|
||||
?>
|
@@ -270,4 +270,6 @@ $strYes = "Ja";
|
||||
|
||||
// automatic generated by langxlorer.php (June 27, 2001, 6:53 pm)
|
||||
// V0.11 - experimental (Steve Alberty - alberty@neptunlabs.de)
|
||||
$strBinary=" Binary "; //to translate
|
||||
$strBinaryDoNotEdit=" Binary - do not edit "; //to translate
|
||||
?>
|
@@ -270,4 +270,6 @@ $strYes = "Yes"; //to translate
|
||||
|
||||
// automatic generated by langxlorer.php (June 27, 2001, 6:53 pm)
|
||||
// V0.11 - experimental (Steve Alberty - alberty@neptunlabs.de)
|
||||
$strBinary=" Binary "; //to translate
|
||||
$strBinaryDoNotEdit=" Binary - do not edit "; //to translate
|
||||
?>
|
@@ -70,10 +70,24 @@ for($i=0;$i<mysql_num_rows($table_def);$i++)
|
||||
break;
|
||||
}
|
||||
echo "<td>$type</td>\n";
|
||||
|
||||
// THE FUNCTION COLUMN
|
||||
// Change by Bernard M. Piller <bernard@bmpsystems.com>
|
||||
// We don't want binary data to be destroyed
|
||||
if(strstr($row_table_def["Type"], "blob"))
|
||||
{
|
||||
echo "<td>$strBinary</td>";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
echo "<td><select name=\"funcs[$field]\"><option>\n";
|
||||
for($j=0; $j<count($cfgFunctions); $j++)
|
||||
echo "<option>$cfgFunctions[$j]\n";
|
||||
echo "</select></td>\n";
|
||||
}
|
||||
|
||||
// THE VALUE COLUMN
|
||||
if(isset($row) && isset($row[$field]))
|
||||
{
|
||||
$special_chars = htmlspecialchars($row[$field]);
|
||||
@@ -170,6 +184,12 @@ for($i=0;$i<mysql_num_rows($table_def);$i++)
|
||||
}
|
||||
echo "</select></td>";
|
||||
}
|
||||
// Change by Bernard M. Piller <bernard@bmpsystems.com>
|
||||
// We don't want binary data destroyed
|
||||
elseif(strstr($row_table_def["Type"], "blob"))
|
||||
{
|
||||
echo "<td>" . $strBinaryDoNotEdit . "</td>";
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "<td><input type=text name=fields[$field] value=\"".$special_chars."\" style=\"width:$cfgMaxInputsize;\" maxlength=$len></td>";
|
||||
|
Reference in New Issue
Block a user