mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-24 13:40:29 +01:00
Module creator improvement layout edit forms
This commit is contained in:
parent
e9cec0ce30
commit
75aaf5e2af
@ -111,6 +111,7 @@ if ($argc >= 2) {
|
|||||||
$columns = array();
|
$columns = array();
|
||||||
$sql_columns = array();
|
$sql_columns = array();
|
||||||
$edit_form = "";
|
$edit_form = "";
|
||||||
|
$tab_pos = " "; // Tab position
|
||||||
|
|
||||||
/* Iterate through the result set */
|
/* Iterate through the result set */
|
||||||
echo "FIELD\t\t\t\tType\t\tNull\tKey\tDefault\tExtra\n";
|
echo "FIELD\t\t\t\tType\t\tNull\tKey\tDefault\tExtra\n";
|
||||||
@ -152,7 +153,16 @@ if ($argc >= 2) {
|
|||||||
// <tr><td>{|Bezeichnung|}:*</td><td><input type="text" id="bezeichnung" name="bezeichnung" value="[BEZEICHNUNG]" size="40"></td></tr>
|
// <tr><td>{|Bezeichnung|}:*</td><td><input type="text" id="bezeichnung" name="bezeichnung" value="[BEZEICHNUNG]" size="40"></td></tr>
|
||||||
|
|
||||||
if ($row['Field'] != 'id') {
|
if ($row['Field'] != 'id') {
|
||||||
$edit_form = $edit_form . '<tr><td>{|' . ucfirst($row['Field']) . '|}:</td><td><input type="text" name="' . $row['Field'].'" id="'.$row['Field'].'" value="[' . strtoupper($row['Field']) . ']" size="20"></td></tr>' . "\n";
|
$edit_form = $edit_form.
|
||||||
|
'<tr>
|
||||||
|
<td>
|
||||||
|
{|' . ucfirst($row['Field']) . '|}:
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input type="text" name="' . $row['Field'].'" id="'.$row['Field'].'" value="[' . strtoupper($row['Field']) . ']" size="20">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
';
|
||||||
}
|
}
|
||||||
echo("\n");
|
echo("\n");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user