| @@ 460-474 (lines=15) @@ | ||
| 457 | echo "\t\t<td class=\"data\"><label for=\"withoutoids\"><input type=\"checkbox\" id=\"withoutoids\" name=\"withoutoids\"", isset($_REQUEST['withoutoids']) ? ' checked="checked"' : '', " />WITHOUT OIDS</label></td>\n\t</tr>\n"; |
|
| 458 | ||
| 459 | // Tablespace (if there are any) |
|
| 460 | if ($data->hasTablespaces() && $tablespaces->recordCount() > 0) { |
|
| 461 | echo "\t<tr>\n\t\t<th class=\"data left\">{$lang['strtablespace']}</th>\n"; |
|
| 462 | echo "\t\t<td class=\"data1\">\n\t\t\t<select name=\"spcname\">\n"; |
|
| 463 | // Always offer the default (empty) option |
|
| 464 | echo "\t\t\t\t<option value=\"\"", |
|
| 465 | ($_REQUEST['spcname'] == '') ? ' selected="selected"' : '', "></option>\n"; |
|
| 466 | // Display all other tablespaces |
|
| 467 | while (!$tablespaces->EOF) { |
|
| 468 | $spcname = htmlspecialchars($tablespaces->fields['spcname']); |
|
| 469 | echo "\t\t\t\t<option value=\"{$spcname}\"", |
|
| 470 | ($tablespaces->fields['spcname'] == $_REQUEST['spcname']) ? ' selected="selected"' : '', ">{$spcname}</option>\n"; |
|
| 471 | $tablespaces->moveNext(); |
|
| 472 | } |
|
| 473 | echo "\t\t\t</select>\n\t\t</td>\n\t</tr>\n"; |
|
| 474 | } |
|
| 475 | ||
| 476 | echo "\t<tr>\n\t\t<th class=\"data left\">{$lang['strcomment']}</th>\n"; |
|
| 477 | echo "\t\t<td><textarea name=\"tblcomment\" rows=\"3\" cols=\"32\">", |
|
| @@ 556-570 (lines=15) @@ | ||
| 553 | } |
|
| 554 | ||
| 555 | // Tablespace (if there are any) |
|
| 556 | if ($data->hasTablespaces() && $tablespaces->recordCount() > 0) { |
|
| 557 | echo "\t<tr>\n\t\t<th class=\"data left\">{$lang['strtablespace']}</th>\n"; |
|
| 558 | echo "\t\t<td class=\"data1\">\n\t\t\t<select name=\"tablespace\">\n"; |
|
| 559 | // Always offer the default (empty) option |
|
| 560 | echo "\t\t\t\t<option value=\"\"", |
|
| 561 | ($_POST['tablespace'] == '') ? ' selected="selected"' : '', "></option>\n"; |
|
| 562 | // Display all other tablespaces |
|
| 563 | while (!$tablespaces->EOF) { |
|
| 564 | $spcname = htmlspecialchars($tablespaces->fields['spcname']); |
|
| 565 | echo "\t\t\t\t<option value=\"{$spcname}\"", |
|
| 566 | ($spcname == $_POST['tablespace']) ? ' selected="selected"' : '', ">{$spcname}</option>\n"; |
|
| 567 | $tablespaces->moveNext(); |
|
| 568 | } |
|
| 569 | echo "\t\t\t</select>\n\t\t</td>\n\t</tr>\n"; |
|
| 570 | } |
|
| 571 | ||
| 572 | echo "<tr><th class=\"data left\">{$lang['strcomment']}</th>\n"; |
|
| 573 | echo '<td class="data1">'; |
|
| @@ 483-497 (lines=15) @@ | ||
| 480 | } |
|
| 481 | ||
| 482 | // Tablespace (if there are any) |
|
| 483 | if ($data->hasTablespaces() && $tablespaces->recordCount() > 0) { |
|
| 484 | echo "\t<tr>\n\t\t<th class=\"data left\">{$lang['strtablespace']}</th>\n"; |
|
| 485 | echo "\t\t<td class=\"data1\">\n\t\t\t<select name=\"formSpc\">\n"; |
|
| 486 | // Always offer the default (empty) option |
|
| 487 | echo "\t\t\t\t<option value=\"\"", |
|
| 488 | ($_POST['formSpc'] == '') ? ' selected="selected"' : '', "></option>\n"; |
|
| 489 | // Display all other tablespaces |
|
| 490 | while (!$tablespaces->EOF) { |
|
| 491 | $spcname = htmlspecialchars($tablespaces->fields['spcname']); |
|
| 492 | echo "\t\t\t\t<option value=\"{$spcname}\"", |
|
| 493 | ($spcname == $_POST['formSpc']) ? ' selected="selected"' : '', ">{$spcname}</option>\n"; |
|
| 494 | $tablespaces->moveNext(); |
|
| 495 | } |
|
| 496 | echo "\t\t\t</select>\n\t\t</td>\n\t</tr>\n"; |
|
| 497 | } |
|
| 498 | ||
| 499 | // Comments (if available) |
|
| 500 | if ($data->hasSharedComments()) { |
|
| @@ 553-567 (lines=15) @@ | ||
| 550 | echo '<td class=data1>' . $selIndex->fetch() . "</td></tr>\n"; |
|
| 551 | ||
| 552 | // Tablespace (if there are any) |
|
| 553 | if ($data->hasTablespaces() && $tablespaces->recordCount() > 0) { |
|
| 554 | echo "<tr><th class=\"data\" colspan=\"3\">{$lang['strtablespace']}</th></tr>"; |
|
| 555 | echo "<tr><td class=\"data1\" colspan=\"3\"><select name=\"tablespace\">\n"; |
|
| 556 | // Always offer the default (empty) option |
|
| 557 | echo "\t\t\t\t<option value=\"\"", |
|
| 558 | ($_POST['tablespace'] == '') ? ' selected="selected"' : '', "></option>\n"; |
|
| 559 | // Display all other tablespaces |
|
| 560 | while (!$tablespaces->EOF) { |
|
| 561 | $spcname = htmlspecialchars($tablespaces->fields['spcname']); |
|
| 562 | echo "\t\t\t\t<option value=\"{$spcname}\"", |
|
| 563 | ($spcname == $_POST['tablespace']) ? ' selected="selected"' : '', ">{$spcname}</option>\n"; |
|
| 564 | $tablespaces->moveNext(); |
|
| 565 | } |
|
| 566 | echo "</select></td></tr>\n"; |
|
| 567 | } |
|
| 568 | ||
| 569 | echo "</table>\n"; |
|
| 570 | ||