Save as new row
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2001-06-04 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* tbl_change, tbl_replace: SaveAsNewRow
|
||||
|
||||
2001-06-03 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* lib.inc.php3 select_db commented out
|
||||
|
||||
|
@@ -204,4 +204,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
|
||||
$strColumn = "Column";//to translate
|
||||
$strAnyColumn = "Any Column";//to translate
|
||||
$strColumnEmpty = "The columns names are empty!";//to translate
|
||||
$strInsertAsNewRow=" Insert as new row "; //to translate
|
||||
?>
|
||||
|
@@ -203,4 +203,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
|
||||
$strColumn = "Column";//to translate
|
||||
$strAnyColumn = "Any Column";//to translate
|
||||
$strColumnEmpty = "The columns names are empty!";//to translate
|
||||
$strInsertAsNewRow=" Insert as new row "; //to translate
|
||||
?>
|
||||
|
@@ -183,4 +183,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
|
||||
$strColumn = "Column";//to translate
|
||||
$strAnyColumn = "Any Column";//to translate
|
||||
$strColumnEmpty = "The columns names are empty!";//to translate
|
||||
$strInsertAsNewRow=" Insert as new row "; //to translate
|
||||
?>
|
||||
|
@@ -188,4 +188,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
|
||||
$strColumn = "Column";//to translate
|
||||
$strAnyColumn = "Any Column";//to translate
|
||||
$strColumnEmpty = "The columns names are empty!";//to translate
|
||||
$strInsertAsNewRow=" Insert as new row "; //to translate
|
||||
?>
|
||||
|
@@ -188,4 +188,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
|
||||
$strColumn = "Column";//to translate
|
||||
$strAnyColumn = "Any Column";//to translate
|
||||
$strColumnEmpty = "The columns names are empty!";//to translate
|
||||
$strInsertAsNewRow=" Insert as new row "; //to translate
|
||||
?>
|
||||
|
@@ -201,4 +201,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
|
||||
$strColumn = "Column";//to translate
|
||||
$strAnyColumn = "Any Column";//to translate
|
||||
$strColumnEmpty = "The columns names are empty!";//to translate
|
||||
$strInsertAsNewRow=" Insert as new row "; //to translate
|
||||
?>
|
||||
|
@@ -204,4 +204,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
|
||||
$strColumn = "Column";//to translate
|
||||
$strAnyColumn = "Any Column";//to translate
|
||||
$strColumnEmpty = "The columns names are empty!";//to translate
|
||||
$strInsertAsNewRow=" Insert as new row "; //to translate
|
||||
?>
|
||||
|
@@ -191,4 +191,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
|
||||
$strColumn = "Column";//to translate
|
||||
$strAnyColumn = "Any Column";//to translate
|
||||
$strColumnEmpty = "The columns names are empty!";//to translate
|
||||
$strInsertAsNewRow=" Insert as new row "; //to translate
|
||||
?>
|
||||
|
@@ -216,4 +216,5 @@ $strDeleteFailed = "Deleted Failed!";
|
||||
$strColumn = "Column";
|
||||
$strAnyColumn = "Any Column";
|
||||
$strColumnEmpty = "The columns names are empty!";
|
||||
$strInsertAsNewRow="Insert as new row";
|
||||
?>
|
||||
|
@@ -234,4 +234,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
|
||||
$strColumn = "Column";//to translate
|
||||
$strAnyColumn = "Any Column";//to translate
|
||||
$strColumnEmpty = "The columns names are empty!";//to translate
|
||||
$strInsertAsNewRow="Ins<EFBFBD>rer ce nouvel enregistrement";
|
||||
?>
|
||||
|
@@ -198,4 +198,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
|
||||
$strColumn = "Column";//to translate
|
||||
$strAnyColumn = "Any Column";//to translate
|
||||
$strColumnEmpty = "The columns names are empty!";//to translate
|
||||
$strInsertAsNewRow=" Insert as new row "; //to translate
|
||||
?>
|
||||
|
@@ -202,4 +202,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
|
||||
$strColumn = "Column";//to translate
|
||||
$strAnyColumn = "Any Column";//to translate
|
||||
$strColumnEmpty = "The columns names are empty!";//to translate
|
||||
$strInsertAsNewRow=" Insert as new row "; //to translate
|
||||
?>
|
||||
|
@@ -183,4 +183,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
|
||||
$strColumn = "Column";//to translate
|
||||
$strAnyColumn = "Any Column";//to translate
|
||||
$strColumnEmpty = "The columns names are empty!";//to translate
|
||||
$strInsertAsNewRow=" Insert as new row "; //to translate
|
||||
?>
|
||||
|
@@ -193,4 +193,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
|
||||
$strColumn = "Column";//to translate
|
||||
$strAnyColumn = "Any Column";//to translate
|
||||
$strColumnEmpty = "The columns names are empty!";//to translate
|
||||
$strInsertAsNewRow=" Insert as new row "; //to translate
|
||||
?>
|
||||
|
@@ -190,4 +190,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
|
||||
$strColumn = "Column";//to translate
|
||||
$strAnyColumn = "Any Column";//to translate
|
||||
$strColumnEmpty = "The columns names are empty!";//to translate
|
||||
$strInsertAsNewRow=" Insert as new row "; //to translate
|
||||
?>
|
||||
|
@@ -200,4 +200,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
|
||||
$strColumn = "Column";//to translate
|
||||
$strAnyColumn = "Any Column";//to translate
|
||||
$strColumnEmpty = "The columns names are empty!";//to translate
|
||||
$strInsertAsNewRow=" Insert as new row "; //to translate
|
||||
?>
|
||||
|
@@ -200,4 +200,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
|
||||
$strColumn = "Column";//to translate
|
||||
$strAnyColumn = "Any Column";//to translate
|
||||
$strColumnEmpty = "The columns names are empty!";//to translate
|
||||
$strInsertAsNewRow=" Insert as new row "; //to translate
|
||||
?>
|
||||
|
@@ -202,4 +202,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
|
||||
$strColumn = "Column";//to translate
|
||||
$strAnyColumn = "Any Column";//to translate
|
||||
$strColumnEmpty = "The columns names are empty!";//to translate
|
||||
$strInsertAsNewRow=" Insert as new row "; //to translate
|
||||
?>
|
||||
|
@@ -214,4 +214,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
|
||||
$strColumn = "Column";//to translate
|
||||
$strAnyColumn = "Any Column";//to translate
|
||||
$strColumnEmpty = "The columns names are empty!";//to translate
|
||||
$strInsertAsNewRow=" Insert as new row "; //to translate
|
||||
?>
|
||||
|
@@ -214,4 +214,5 @@ $strDeleteFailed = "Deleted Failed!";//to translate
|
||||
$strColumn = "Column";//to translate
|
||||
$strAnyColumn = "Any Column";//to translate
|
||||
$strColumnEmpty = "The columns names are empty!";//to translate
|
||||
$strInsertAsNewRow=" Insert as new row "; //to translate
|
||||
?>
|
||||
|
@@ -180,7 +180,9 @@ echo "</table>";
|
||||
?>
|
||||
<p>
|
||||
<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>
|
||||
|
||||
<?php
|
||||
|
@@ -16,7 +16,7 @@ if($goto == "sql.php3")
|
||||
reset($fields);
|
||||
reset($funcs);
|
||||
|
||||
if(isset($primary_key) && ($submit_type != $strInsertNewRow)) {
|
||||
if(isset($primary_key) && ($submit_type != $strInsertAsNewRow)) {
|
||||
if(get_magic_quotes_gpc()) {
|
||||
$primary_key = stripslashes($primary_key);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user