message if textarea not editable

This commit is contained in:
Marc Delisle
2001-05-21 20:14:26 +00:00
parent dc663b5ca1
commit ed08db001a
22 changed files with 27 additions and 1 deletions

View File

@@ -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")

View File

@@ -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
?> ?>

View File

@@ -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
?> ?>

View File

@@ -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
?> ?>

View File

@@ -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
?> ?>

View File

@@ -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
?> ?>

View File

@@ -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
?> ?>

View File

@@ -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
?> ?>

View File

@@ -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
?> ?>

View File

@@ -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 ";
?> ?>

View File

@@ -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";
?> ?>

View File

@@ -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
?> ?>

View File

@@ -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
?> ?>

View File

@@ -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
?> ?>

View File

@@ -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
?> ?>

View File

@@ -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
?> ?>

View File

@@ -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
?> ?>

View File

@@ -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
?> ?>

View File

@@ -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
?> ?>

View File

@@ -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
?> ?>

View File

@@ -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
?> ?>

View File

@@ -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"))
{ {