message if textarea not editable
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2001-05-21 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
|
* add a message $strTextAreaLength to tell users when a textarea
|
||||||
|
contents is too large to be editable ( > 32K)
|
||||||
|
|
||||||
2001-05-20 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
2001-05-20 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||||
* replaced all require("somefile.php3") and include("somefile.php3")
|
* replaced all require("somefile.php3") and include("somefile.php3")
|
||||||
instructions by require("./somefile.php3") and include("./somefile.php3")
|
instructions by require("./somefile.php3") and include("./somefile.php3")
|
||||||
|
@@ -142,4 +142,5 @@ $strOptimizeTable = "Optimize table"; //to translate
|
|||||||
$strTableType = "Table type"; //to translate
|
$strTableType = "Table type"; //to translate
|
||||||
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
||||||
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
||||||
|
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -141,4 +141,5 @@ $strOptimizeTable = "Optimize table"; //to translate
|
|||||||
$strTableType = "Table type"; //to translate
|
$strTableType = "Table type"; //to translate
|
||||||
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
||||||
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
||||||
|
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -121,4 +121,5 @@ $strOptimizeTable = "Optimize table"; //to translate
|
|||||||
$strTableType = "Table type"; //to translate
|
$strTableType = "Table type"; //to translate
|
||||||
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
||||||
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
||||||
|
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -126,4 +126,5 @@ $strOptimizeTable = "Optimize table"; //to translate
|
|||||||
$strTableType = "Table type"; //to translate
|
$strTableType = "Table type"; //to translate
|
||||||
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
||||||
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
||||||
|
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -126,4 +126,5 @@ $strOptimizeTable = "Optimize table"; //to translate
|
|||||||
$strTableType = "Table type"; //to translate
|
$strTableType = "Table type"; //to translate
|
||||||
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
||||||
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
||||||
|
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -139,4 +139,5 @@ $strOptimizeTable = "Optimize table"; //to translate
|
|||||||
$strTableType = "Table type"; //to translate
|
$strTableType = "Table type"; //to translate
|
||||||
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
||||||
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
||||||
|
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -142,4 +142,5 @@ $strOptimizeTable = "Optimer tabel";
|
|||||||
$strTableType = "Tabel type";
|
$strTableType = "Tabel type";
|
||||||
$strHomepageOfficial = "Officiel phpMyAdmin hjemmeside ";
|
$strHomepageOfficial = "Officiel phpMyAdmin hjemmeside ";
|
||||||
$strHomepageSourceforge = "Ny (men ikke endnu officiel) phpMyAdmin hjemmeside ";
|
$strHomepageSourceforge = "Ny (men ikke endnu officiel) phpMyAdmin hjemmeside ";
|
||||||
|
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -129,4 +129,5 @@ $strOptimizeTable = "Optimize table"; //to translate
|
|||||||
$strTableType = "Table type"; //to translate
|
$strTableType = "Table type"; //to translate
|
||||||
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
||||||
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
||||||
|
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -154,4 +154,5 @@ $strBookmarkQuery = "Bookmarked SQL-query";
|
|||||||
$strBookmarkThis = "Bookmark this SQL-query";
|
$strBookmarkThis = "Bookmark this SQL-query";
|
||||||
$strBookmarkLabel = "Label";
|
$strBookmarkLabel = "Label";
|
||||||
$strBookmarkView = "View only";
|
$strBookmarkView = "View only";
|
||||||
|
$strTextAreaLength=" Because of its length,<br> this field might not be editable ";
|
||||||
?>
|
?>
|
||||||
|
@@ -172,4 +172,5 @@ $strBookmarkQuery = "Requ
|
|||||||
$strBookmarkThis = "Bookmarker cette requ<71>te";
|
$strBookmarkThis = "Bookmarker cette requ<71>te";
|
||||||
$strBookmarkLabel = "Intitul<EFBFBD>";
|
$strBookmarkLabel = "Intitul<EFBFBD>";
|
||||||
$strBookmarkView = "Voir uniquement";
|
$strBookmarkView = "Voir uniquement";
|
||||||
|
$strTextAreaLength="Il est possible que ce champ<br>ne soit pas <20>ditable<br>en raison de sa longueur";
|
||||||
?>
|
?>
|
||||||
|
@@ -136,4 +136,5 @@ $strBookmarkQuery = "Bookmarked SQL-query"; // To translate
|
|||||||
$strBookmarkThis = "Bookmark this SQL-query"; // To translate
|
$strBookmarkThis = "Bookmark this SQL-query"; // To translate
|
||||||
$strBookmarkLabel = "Label"; // To translate
|
$strBookmarkLabel = "Label"; // To translate
|
||||||
$strBookmarkView = "View only"; // To translate
|
$strBookmarkView = "View only"; // To translate
|
||||||
?>
|
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
|
||||||
|
?>
|
||||||
|
@@ -140,4 +140,5 @@ $strOptimizeTable = "Optimize table"; //to translate
|
|||||||
$strTableType = "Table type"; //to translate
|
$strTableType = "Table type"; //to translate
|
||||||
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
||||||
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
||||||
|
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -121,4 +121,5 @@ $strOptimizeTable = "Optimize table"; //to translate
|
|||||||
$strTableType = "Table type"; //to translate
|
$strTableType = "Table type"; //to translate
|
||||||
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
||||||
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
||||||
|
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -131,4 +131,5 @@ $strOptimizeTable = "Optimize table"; //to translate
|
|||||||
$strTableType = "Table type"; //to translate
|
$strTableType = "Table type"; //to translate
|
||||||
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
||||||
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
||||||
|
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -128,4 +128,5 @@ $strOptimizeTable = "Optimize table"; //to translate
|
|||||||
$strTableType = "Table type"; //to translate
|
$strTableType = "Table type"; //to translate
|
||||||
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
||||||
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
||||||
|
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -138,4 +138,5 @@ $strOptimizeTable = "Optimize table"; //to translate
|
|||||||
$strTableType = "Table type"; //to translate
|
$strTableType = "Table type"; //to translate
|
||||||
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
||||||
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
||||||
|
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -138,4 +138,5 @@ $strOptimizeTable = "Optimize table"; //to translate
|
|||||||
$strTableType = "Table type"; //to translate
|
$strTableType = "Table type"; //to translate
|
||||||
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
||||||
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
||||||
|
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -140,4 +140,5 @@ $strOptimizeTable = "Optimize table"; //to translate
|
|||||||
$strTableType = "Table type"; //to translate
|
$strTableType = "Table type"; //to translate
|
||||||
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
||||||
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
||||||
|
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -152,4 +152,5 @@ $strOptimizeTable = "Optimize table"; //to translate
|
|||||||
$strTableType = "Table type"; //to translate
|
$strTableType = "Table type"; //to translate
|
||||||
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
||||||
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
||||||
|
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -152,4 +152,5 @@ $strOptimizeTable = "Optimize table"; //to translate
|
|||||||
$strTableType = "Table type"; //to translate
|
$strTableType = "Table type"; //to translate
|
||||||
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
$strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
|
||||||
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
|
||||||
|
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -85,6 +85,8 @@ for($i=0;$i<mysql_num_rows($table_def);$i++)
|
|||||||
if(strstr($row_table_def["Type"], "text"))
|
if(strstr($row_table_def["Type"], "text"))
|
||||||
{
|
{
|
||||||
echo "<td><textarea name=fields[$field] style=\"width:$cfgMaxInputsize;\" rows=5>$special_chars</textarea></td>\n";
|
echo "<td><textarea name=fields[$field] style=\"width:$cfgMaxInputsize;\" rows=5>$special_chars</textarea></td>\n";
|
||||||
|
if (strlen($special_chars) > 32000)
|
||||||
|
echo "<td>$strTextAreaLength</td>";
|
||||||
}
|
}
|
||||||
elseif(strstr($row_table_def["Type"], "enum"))
|
elseif(strstr($row_table_def["Type"], "enum"))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user