diff --git a/ChangeLog b/ChangeLog index 231d2e0fd..e51b56db4 100755 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,7 @@ $Source$ 2001-06-05 Marc Delisle * tbl_properties, tbl_printview: quote Comment field * bug 430288: bad parsing of from | FROM + * tbl_properties.php3 reorganization 2001-06-04 Marc Delisle * tbl_change, tbl_replace: SaveAsNewRow diff --git a/lang/brazilian_portuguese.inc.php3 b/lang/brazilian_portuguese.inc.php3 index bdfd0af45..29e61619f 100644 --- a/lang/brazilian_portuguese.inc.php3 +++ b/lang/brazilian_portuguese.inc.php3 @@ -205,4 +205,5 @@ $strColumn = "Column";//to translate $strAnyColumn = "Any Column";//to translate $strColumnEmpty = "The columns names are empty!";//to translate $strInsertAsNewRow=" Insert as new row "; //to translate +$strTableMaintenance=" Table maintenance "; //to translate ?> diff --git a/lang/bulgarian-win1251.inc.php3 b/lang/bulgarian-win1251.inc.php3 index e826e847a..10c9d74ab 100644 --- a/lang/bulgarian-win1251.inc.php3 +++ b/lang/bulgarian-win1251.inc.php3 @@ -204,4 +204,5 @@ $strColumn = "Column";//to translate $strAnyColumn = "Any Column";//to translate $strColumnEmpty = "The columns names are empty!";//to translate $strInsertAsNewRow=" Insert as new row "; //to translate +$strTableMaintenance=" Table maintenance "; //to translate ?> diff --git a/lang/catala.inc.php3 b/lang/catala.inc.php3 index 4db595456..19cb4150d 100644 --- a/lang/catala.inc.php3 +++ b/lang/catala.inc.php3 @@ -184,4 +184,5 @@ $strColumn = "Column";//to translate $strAnyColumn = "Any Column";//to translate $strColumnEmpty = "The columns names are empty!";//to translate $strInsertAsNewRow=" Insert as new row "; //to translate +$strTableMaintenance=" Table maintenance "; //to translate ?> diff --git a/lang/chinese_big5.inc.php3 b/lang/chinese_big5.inc.php3 index a009f3e27..ea06f937e 100644 --- a/lang/chinese_big5.inc.php3 +++ b/lang/chinese_big5.inc.php3 @@ -189,4 +189,5 @@ $strColumn = "Column";//to translate $strAnyColumn = "Any Column";//to translate $strColumnEmpty = "The columns names are empty!";//to translate $strInsertAsNewRow=" Insert as new row "; //to translate +$strTableMaintenance=" Table maintenance "; //to translate ?> diff --git a/lang/chinese_gb.inc.php3 b/lang/chinese_gb.inc.php3 index f7868253d..1d2777e5d 100644 --- a/lang/chinese_gb.inc.php3 +++ b/lang/chinese_gb.inc.php3 @@ -189,4 +189,5 @@ $strColumn = "Column";//to translate $strAnyColumn = "Any Column";//to translate $strColumnEmpty = "The columns names are empty!";//to translate $strInsertAsNewRow=" Insert as new row "; //to translate +$strTableMaintenance=" Table maintenance "; //to translate ?> diff --git a/lang/czech-win1250.inc.php3 b/lang/czech-win1250.inc.php3 index bd90ecd72..82224387d 100644 --- a/lang/czech-win1250.inc.php3 +++ b/lang/czech-win1250.inc.php3 @@ -202,4 +202,5 @@ $strColumn = "Column";//to translate $strAnyColumn = "Any Column";//to translate $strColumnEmpty = "The columns names are empty!";//to translate $strInsertAsNewRow=" Insert as new row "; //to translate +$strTableMaintenance=" Table maintenance "; //to translate ?> diff --git a/lang/danish.inc.php3 b/lang/danish.inc.php3 index c0c7cef9f..1545dc02e 100644 --- a/lang/danish.inc.php3 +++ b/lang/danish.inc.php3 @@ -205,4 +205,5 @@ $strColumn = "Column";//to translate $strAnyColumn = "Any Column";//to translate $strColumnEmpty = "The columns names are empty!";//to translate $strInsertAsNewRow=" Insert as new row "; //to translate +$strTableMaintenance=" Table maintenance "; //to translate ?> diff --git a/lang/dutch.inc.php3 b/lang/dutch.inc.php3 index c5ee8166c..52b5895b8 100644 --- a/lang/dutch.inc.php3 +++ b/lang/dutch.inc.php3 @@ -192,4 +192,5 @@ $strColumn = "Column";//to translate $strAnyColumn = "Any Column";//to translate $strColumnEmpty = "The columns names are empty!";//to translate $strInsertAsNewRow=" Insert as new row "; //to translate +$strTableMaintenance=" Table maintenance "; //to translate ?> diff --git a/lang/english.inc.php3 b/lang/english.inc.php3 index 57dd20a3c..fdce36718 100644 --- a/lang/english.inc.php3 +++ b/lang/english.inc.php3 @@ -217,4 +217,5 @@ $strColumn = "Column"; $strAnyColumn = "Any Column"; $strColumnEmpty = "The columns names are empty!"; $strInsertAsNewRow="Insert as new row"; +$strTableMaintenance="Table maintenance"; ?> diff --git a/lang/french.inc.php3 b/lang/french.inc.php3 index 722f70f77..07db04b07 100644 --- a/lang/french.inc.php3 +++ b/lang/french.inc.php3 @@ -151,7 +151,6 @@ $strMySQLShowProcess = "Afficher les processus"; $strLogout = "Quitter"; $strQBE = "Requête par un exemple"; $strBack = "Retour"; //JPD -$strTableComments = "Commentaires Tables"; //JPD $strOr = "ou"; //JPD $strSelectNumRows = "dans la requête"; //JPD $strCompleteInserts = "INSERT détaillés"; //JPD @@ -235,4 +234,5 @@ $strColumn = "Column";//to translate $strAnyColumn = "Any Column";//to translate $strColumnEmpty = "The columns names are empty!";//to translate $strInsertAsNewRow="Insérer ce nouvel enregistrement"; +$strTableMaintenance="Maintenance de la table"; ?> diff --git a/lang/german.inc.php3 b/lang/german.inc.php3 index 765219070..611970e99 100644 --- a/lang/german.inc.php3 +++ b/lang/german.inc.php3 @@ -199,4 +199,5 @@ $strColumn = "Column";//to translate $strAnyColumn = "Any Column";//to translate $strColumnEmpty = "The columns names are empty!";//to translate $strInsertAsNewRow=" Insert as new row "; //to translate +$strTableMaintenance=" Table maintenance "; //to translate ?> diff --git a/lang/italian.inc.php3 b/lang/italian.inc.php3 index 8d6329824..15eb10829 100644 --- a/lang/italian.inc.php3 +++ b/lang/italian.inc.php3 @@ -203,4 +203,5 @@ $strColumn = "Column";//to translate $strAnyColumn = "Any Column";//to translate $strColumnEmpty = "The columns names are empty!";//to translate $strInsertAsNewRow=" Insert as new row "; //to translate +$strTableMaintenance=" Table maintenance "; //to translate ?> diff --git a/lang/norwegian.inc.php3 b/lang/norwegian.inc.php3 index cf6cc549c..999296a4a 100644 --- a/lang/norwegian.inc.php3 +++ b/lang/norwegian.inc.php3 @@ -184,4 +184,5 @@ $strColumn = "Column";//to translate $strAnyColumn = "Any Column";//to translate $strColumnEmpty = "The columns names are empty!";//to translate $strInsertAsNewRow=" Insert as new row "; //to translate +$strTableMaintenance=" Table maintenance "; //to translate ?> diff --git a/lang/polish.inc.php3 b/lang/polish.inc.php3 index 5ade8dfcd..8659545b4 100644 --- a/lang/polish.inc.php3 +++ b/lang/polish.inc.php3 @@ -194,4 +194,5 @@ $strColumn = "Column";//to translate $strAnyColumn = "Any Column";//to translate $strColumnEmpty = "The columns names are empty!";//to translate $strInsertAsNewRow=" Insert as new row "; //to translate +$strTableMaintenance=" Table maintenance "; //to translate ?> diff --git a/lang/portuguese.inc.php3 b/lang/portuguese.inc.php3 index 874011828..3400baecc 100644 --- a/lang/portuguese.inc.php3 +++ b/lang/portuguese.inc.php3 @@ -191,4 +191,5 @@ $strColumn = "Column";//to translate $strAnyColumn = "Any Column";//to translate $strColumnEmpty = "The columns names are empty!";//to translate $strInsertAsNewRow=" Insert as new row "; //to translate +$strTableMaintenance=" Table maintenance "; //to translate ?> diff --git a/lang/russian-koi8.inc.php3 b/lang/russian-koi8.inc.php3 index f6d3728bb..e3ff36c67 100644 --- a/lang/russian-koi8.inc.php3 +++ b/lang/russian-koi8.inc.php3 @@ -201,4 +201,5 @@ $strColumn = "Column";//to translate $strAnyColumn = "Any Column";//to translate $strColumnEmpty = "The columns names are empty!";//to translate $strInsertAsNewRow=" Insert as new row "; //to translate +$strTableMaintenance=" Table maintenance "; //to translate ?> diff --git a/lang/russian-win1251.inc.php3 b/lang/russian-win1251.inc.php3 index 57aeb801d..1b89df970 100644 --- a/lang/russian-win1251.inc.php3 +++ b/lang/russian-win1251.inc.php3 @@ -201,4 +201,5 @@ $strColumn = "Column";//to translate $strAnyColumn = "Any Column";//to translate $strColumnEmpty = "The columns names are empty!";//to translate $strInsertAsNewRow=" Insert as new row "; //to translate +$strTableMaintenance=" Table maintenance "; //to translate ?> diff --git a/lang/spanish.inc.php3 b/lang/spanish.inc.php3 index 565f764fd..a42adac9d 100644 --- a/lang/spanish.inc.php3 +++ b/lang/spanish.inc.php3 @@ -203,4 +203,5 @@ $strColumn = "Column";//to translate $strAnyColumn = "Any Column";//to translate $strColumnEmpty = "The columns names are empty!";//to translate $strInsertAsNewRow=" Insert as new row "; //to translate +$strTableMaintenance=" Table maintenance "; //to translate ?> diff --git a/lang/swedish.inc.php3 b/lang/swedish.inc.php3 index ed5265ef7..99c17a73c 100644 --- a/lang/swedish.inc.php3 +++ b/lang/swedish.inc.php3 @@ -215,4 +215,5 @@ $strColumn = "Column";//to translate $strAnyColumn = "Any Column";//to translate $strColumnEmpty = "The columns names are empty!";//to translate $strInsertAsNewRow=" Insert as new row "; //to translate +$strTableMaintenance=" Table maintenance "; //to translate ?> diff --git a/lang/thai.inc.php3 b/lang/thai.inc.php3 index 9ea799613..0c16b848f 100644 --- a/lang/thai.inc.php3 +++ b/lang/thai.inc.php3 @@ -215,4 +215,5 @@ $strColumn = "Column";//to translate $strAnyColumn = "Any Column";//to translate $strColumnEmpty = "The columns names are empty!";//to translate $strInsertAsNewRow=" Insert as new row "; //to translate +$strTableMaintenance=" Table maintenance "; //to translate ?> diff --git a/tbl_properties.php3 b/tbl_properties.php3 index c00135b2c..e6b09cf09 100755 --- a/tbl_properties.php3 +++ b/tbl_properties.php3 @@ -23,41 +23,9 @@ if(MYSQL_MAJOR_VERSION == "3.23") $result = mysql_query("ALTER TABLE $table comment='$comment'") or mysql_die(); $result = mysql_query("SHOW TABLE STATUS LIKE '$table'") or mysql_die(); $row = mysql_fetch_array($result); - //Fix to Comment editing so that you can add comments - 2 May 2001 - Robbat2 - ?> -
- - - - -
"; + if (!empty($row['Comment'])) + echo "" . $row['Comment'] . "

\n"; - //BEGIN - Table Type - 2 May 2001 - Robbat2 - if(isset($submittype)) - $result = mysql_query("ALTER TABLE $table TYPE=$tbl_type") or mysql_die(); - $result = mysql_query("SHOW TABLE STATUS LIKE '$table'") or mysql_die(); - $row = mysql_fetch_array($result); - $tbl_type=strtoupper($row['Type']); - ?> -
- - - - - - -
- > @@ -229,13 +196,14 @@ if($cfgBookmark['db'] && $cfgBookmark['table']) -
  • &pos=0&">
  • -
  • &display=bkmOnly&"> 
  • -
  • &display=bkmOnly&"> 
  • -
  • &display=bkmOnly&"> 
  • -
  • &display=bkmOnly&"> 
  • -
  • -
  • +
  • + + +
    + &pos=0&"> +" . $strBrowse. ""; ?> + " . $strSelect . ""; ?> + " . $strInsert. ""; ?>
  • @@ -321,9 +289,68 @@ echo " \n";
    - - - + + + +
    &display=simple&"> + +   + &display=simple&"> + +   +
    &display=simple&"> + +   + &display=simple&"> + +  
  • + +
  • + + + + +
    " +; + + //BEGIN - Table Type - 2 May 2001 - Robbat2 + if(isset($submittype)) + $result = mysql_query("ALTER TABLE $table TYPE=$tbl_type") or mysql_die( +); + $result = mysql_query("SHOW TABLE STATUS LIKE '$table'") or mysql_die(); + $row = mysql_fetch_array($result); + $tbl_type=strtoupper($row['Type']); + ?> +
  • + + + + + + +
    + "; +echo ""; require("./footer.inc.php3"); ?>