Save as new row

This commit is contained in:
Marc Delisle
2001-06-05 03:03:43 +00:00
parent 4a68a15b4e
commit 315b29e3f5
23 changed files with 27 additions and 2 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2001-06-04 Marc Delisle <lem9@users.sourceforge.net>
* tbl_change, tbl_replace: SaveAsNewRow
2001-06-03 Marc Delisle <lem9@users.sourceforge.net> 2001-06-03 Marc Delisle <lem9@users.sourceforge.net>
* lib.inc.php3 select_db commented out * lib.inc.php3 select_db commented out

View File

@@ -204,4 +204,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
$strColumn = "Column";//to translate $strColumn = "Column";//to translate
$strAnyColumn = "Any Column";//to translate $strAnyColumn = "Any Column";//to translate
$strColumnEmpty = "The columns names are empty!";//to translate $strColumnEmpty = "The columns names are empty!";//to translate
$strInsertAsNewRow=" Insert as new row "; //to translate
?> ?>

View File

@@ -203,4 +203,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
$strColumn = "Column";//to translate $strColumn = "Column";//to translate
$strAnyColumn = "Any Column";//to translate $strAnyColumn = "Any Column";//to translate
$strColumnEmpty = "The columns names are empty!";//to translate $strColumnEmpty = "The columns names are empty!";//to translate
$strInsertAsNewRow=" Insert as new row "; //to translate
?> ?>

View File

@@ -183,4 +183,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
$strColumn = "Column";//to translate $strColumn = "Column";//to translate
$strAnyColumn = "Any Column";//to translate $strAnyColumn = "Any Column";//to translate
$strColumnEmpty = "The columns names are empty!";//to translate $strColumnEmpty = "The columns names are empty!";//to translate
$strInsertAsNewRow=" Insert as new row "; //to translate
?> ?>

View File

@@ -188,4 +188,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
$strColumn = "Column";//to translate $strColumn = "Column";//to translate
$strAnyColumn = "Any Column";//to translate $strAnyColumn = "Any Column";//to translate
$strColumnEmpty = "The columns names are empty!";//to translate $strColumnEmpty = "The columns names are empty!";//to translate
$strInsertAsNewRow=" Insert as new row "; //to translate
?> ?>

View File

@@ -188,4 +188,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
$strColumn = "Column";//to translate $strColumn = "Column";//to translate
$strAnyColumn = "Any Column";//to translate $strAnyColumn = "Any Column";//to translate
$strColumnEmpty = "The columns names are empty!";//to translate $strColumnEmpty = "The columns names are empty!";//to translate
$strInsertAsNewRow=" Insert as new row "; //to translate
?> ?>

View File

@@ -201,4 +201,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
$strColumn = "Column";//to translate $strColumn = "Column";//to translate
$strAnyColumn = "Any Column";//to translate $strAnyColumn = "Any Column";//to translate
$strColumnEmpty = "The columns names are empty!";//to translate $strColumnEmpty = "The columns names are empty!";//to translate
$strInsertAsNewRow=" Insert as new row "; //to translate
?> ?>

View File

@@ -204,4 +204,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
$strColumn = "Column";//to translate $strColumn = "Column";//to translate
$strAnyColumn = "Any Column";//to translate $strAnyColumn = "Any Column";//to translate
$strColumnEmpty = "The columns names are empty!";//to translate $strColumnEmpty = "The columns names are empty!";//to translate
$strInsertAsNewRow=" Insert as new row "; //to translate
?> ?>

View File

@@ -191,4 +191,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
$strColumn = "Column";//to translate $strColumn = "Column";//to translate
$strAnyColumn = "Any Column";//to translate $strAnyColumn = "Any Column";//to translate
$strColumnEmpty = "The columns names are empty!";//to translate $strColumnEmpty = "The columns names are empty!";//to translate
$strInsertAsNewRow=" Insert as new row "; //to translate
?> ?>

View File

@@ -216,4 +216,5 @@ $strDeleteFailed = "Deleted Failed!";
$strColumn = "Column"; $strColumn = "Column";
$strAnyColumn = "Any Column"; $strAnyColumn = "Any Column";
$strColumnEmpty = "The columns names are empty!"; $strColumnEmpty = "The columns names are empty!";
$strInsertAsNewRow="Insert as new row";
?> ?>

View File

@@ -234,4 +234,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
$strColumn = "Column";//to translate $strColumn = "Column";//to translate
$strAnyColumn = "Any Column";//to translate $strAnyColumn = "Any Column";//to translate
$strColumnEmpty = "The columns names are empty!";//to translate $strColumnEmpty = "The columns names are empty!";//to translate
$strInsertAsNewRow="Ins<EFBFBD>rer ce nouvel enregistrement";
?> ?>

View File

@@ -198,4 +198,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
$strColumn = "Column";//to translate $strColumn = "Column";//to translate
$strAnyColumn = "Any Column";//to translate $strAnyColumn = "Any Column";//to translate
$strColumnEmpty = "The columns names are empty!";//to translate $strColumnEmpty = "The columns names are empty!";//to translate
$strInsertAsNewRow=" Insert as new row "; //to translate
?> ?>

View File

@@ -202,4 +202,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
$strColumn = "Column";//to translate $strColumn = "Column";//to translate
$strAnyColumn = "Any Column";//to translate $strAnyColumn = "Any Column";//to translate
$strColumnEmpty = "The columns names are empty!";//to translate $strColumnEmpty = "The columns names are empty!";//to translate
$strInsertAsNewRow=" Insert as new row "; //to translate
?> ?>

View File

@@ -183,4 +183,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
$strColumn = "Column";//to translate $strColumn = "Column";//to translate
$strAnyColumn = "Any Column";//to translate $strAnyColumn = "Any Column";//to translate
$strColumnEmpty = "The columns names are empty!";//to translate $strColumnEmpty = "The columns names are empty!";//to translate
$strInsertAsNewRow=" Insert as new row "; //to translate
?> ?>

View File

@@ -193,4 +193,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
$strColumn = "Column";//to translate $strColumn = "Column";//to translate
$strAnyColumn = "Any Column";//to translate $strAnyColumn = "Any Column";//to translate
$strColumnEmpty = "The columns names are empty!";//to translate $strColumnEmpty = "The columns names are empty!";//to translate
$strInsertAsNewRow=" Insert as new row "; //to translate
?> ?>

View File

@@ -190,4 +190,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
$strColumn = "Column";//to translate $strColumn = "Column";//to translate
$strAnyColumn = "Any Column";//to translate $strAnyColumn = "Any Column";//to translate
$strColumnEmpty = "The columns names are empty!";//to translate $strColumnEmpty = "The columns names are empty!";//to translate
$strInsertAsNewRow=" Insert as new row "; //to translate
?> ?>

View File

@@ -200,4 +200,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
$strColumn = "Column";//to translate $strColumn = "Column";//to translate
$strAnyColumn = "Any Column";//to translate $strAnyColumn = "Any Column";//to translate
$strColumnEmpty = "The columns names are empty!";//to translate $strColumnEmpty = "The columns names are empty!";//to translate
$strInsertAsNewRow=" Insert as new row "; //to translate
?> ?>

View File

@@ -200,4 +200,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
$strColumn = "Column";//to translate $strColumn = "Column";//to translate
$strAnyColumn = "Any Column";//to translate $strAnyColumn = "Any Column";//to translate
$strColumnEmpty = "The columns names are empty!";//to translate $strColumnEmpty = "The columns names are empty!";//to translate
$strInsertAsNewRow=" Insert as new row "; //to translate
?> ?>

View File

@@ -202,4 +202,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
$strColumn = "Column";//to translate $strColumn = "Column";//to translate
$strAnyColumn = "Any Column";//to translate $strAnyColumn = "Any Column";//to translate
$strColumnEmpty = "The columns names are empty!";//to translate $strColumnEmpty = "The columns names are empty!";//to translate
$strInsertAsNewRow=" Insert as new row "; //to translate
?> ?>

View File

@@ -214,4 +214,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
$strColumn = "Column";//to translate $strColumn = "Column";//to translate
$strAnyColumn = "Any Column";//to translate $strAnyColumn = "Any Column";//to translate
$strColumnEmpty = "The columns names are empty!";//to translate $strColumnEmpty = "The columns names are empty!";//to translate
$strInsertAsNewRow=" Insert as new row "; //to translate
?> ?>

View File

@@ -214,4 +214,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
$strColumn = "Column";//to translate $strColumn = "Column";//to translate
$strAnyColumn = "Any Column";//to translate $strAnyColumn = "Any Column";//to translate
$strColumnEmpty = "The columns names are empty!";//to translate $strColumnEmpty = "The columns names are empty!";//to translate
$strInsertAsNewRow=" Insert as new row "; //to translate
?> ?>

View File

@@ -180,7 +180,9 @@ echo "</table>";
?> ?>
<p> <p>
<input type="submit" name="submit_type" value="<?php echo $strSave; ?>"> <input type="submit" name="submit_type" value="<?php echo $strSave; ?>">
<input type="submit" name="submit_type" value="<?php echo $strInsertNewRow; ?>"> <?php if (isset($primary_key)) { ?>
<input type="submit" name="submit_type" value="<?php echo $strInsertAsNewRow; ?>">
<?php } ?>
</form> </form>
<?php <?php

View File

@@ -16,7 +16,7 @@ if($goto == "sql.php3")
reset($fields); reset($fields);
reset($funcs); reset($funcs);
if(isset($primary_key) && ($submit_type != $strInsertNewRow)) { if(isset($primary_key) && ($submit_type != $strInsertAsNewRow)) {
if(get_magic_quotes_gpc()) { if(get_magic_quotes_gpc()) {
$primary_key = stripslashes($primary_key); $primary_key = stripslashes($primary_key);
} else { } else {