use textareas for comments when creating tables and views
authorchriskl <chriskl>
Mon, 31 May 2004 13:34:40 +0000 (13:34 +0000)
committerchriskl <chriskl>
Mon, 31 May 2004 13:34:40 +0000 (13:34 +0000)
tables.php
views.php

index 43f051643eca1e712d74cf507039c835b2414513..1d55290bf4f7235479ae1c346bc61117b26bf2e2 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * List tables in a database
         *
-        * $Id: tables.php,v 1.51 2004/05/14 07:56:30 chriskl Exp $
+        * $Id: tables.php,v 1.52 2004/05/31 13:34:40 chriskl Exp $
         */
 
        // Include application functions
@@ -44,8 +44,8 @@
                                }
 
                                echo "\t<tr>\n\t\t<th class=\"data left\">{$lang['strcomment']}</th>\n";
-                               echo "\t\t<td><input name=\"tblcomment\" value=\"", 
-                                       htmlspecialchars($_REQUEST['tblcomment']), "\" /></td>\n\t</tr>\n";
+                               echo "\t\t<td><textarea name=\"tblcomment\" rows=\"3\" cols=\"32\" wrap=\"virtual\">", 
+                                       htmlspecialchars($_REQUEST['tblcomment']), "</textarea></td>\n\t</tr>\n";
 
                                echo "</table>\n";
                                echo "<p><input type=\"hidden\" name=\"action\" value=\"create\" />\n";
index 673f0f59cae8de3014d90448541cfd1c62a4028f..d230d0a88aa481cb78190a71563fbe9fec6c087f 100644 (file)
--- a/views.php
+++ b/views.php
@@ -3,7 +3,7 @@
        /**
         * Manage views in a database
         *
-        * $Id: views.php,v 1.39 2004/05/30 10:31:39 chriskl Exp $
+        * $Id: views.php,v 1.40 2004/05/31 13:34:40 chriskl Exp $
         */
 
        // Include application functions
                echo "\t<td class=\"data1\"><textarea style=\"width:100%;\" rows=\"10\" cols=\"50\" name=\"formDefinition\" wrap=\"virtual\">", 
                        htmlspecialchars($_REQUEST['formDefinition']), "</textarea></td>\n\t</tr>\n";
                echo "\t<tr>\n\t\t<th class=\"data left\">{$lang['strcomment']}</th>\n";
-               echo "\t\t<td class=\"data1\"><input size=\"64\" name=\"formComment\" value=\"", 
-                       htmlspecialchars($_REQUEST['formComment']), "\" /></td>\n\t</tr>\n";
+               echo "\t\t<td class=\"data1\"><textarea name=\"formComment\" rows=\"3\" cols=\"32\" wrap=\"virtual\">", 
+                       htmlspecialchars($_REQUEST['formComment']), "</textarea></td>\n\t</tr>\n";
                echo "</table>\n";
                echo "<p><input type=\"hidden\" name=\"action\" value=\"save_create\" />\n";
                echo $misc->form;