@@ 484-498 (lines=15) @@ | ||
481 | } |
|
482 | ||
483 | // Tablespace (if there are any) |
|
484 | if ($data->hasTablespaces() && $tablespaces->recordCount() > 0) { |
|
485 | echo "\t<tr>\n\t\t<th class=\"data left\">{$lang['strtablespace']}</th>\n"; |
|
486 | echo "\t\t<td class=\"data1\">\n\t\t\t<select name=\"formSpc\">\n"; |
|
487 | // Always offer the default (empty) option |
|
488 | echo "\t\t\t\t<option value=\"\"", |
|
489 | ($_POST['formSpc'] == '') ? ' selected="selected"' : '', "></option>\n"; |
|
490 | // Display all other tablespaces |
|
491 | while (!$tablespaces->EOF) { |
|
492 | $spcname = htmlspecialchars($tablespaces->fields['spcname']); |
|
493 | echo "\t\t\t\t<option value=\"{$spcname}\"", |
|
494 | ($spcname == $_POST['formSpc']) ? ' selected="selected"' : '', ">{$spcname}</option>\n"; |
|
495 | $tablespaces->moveNext(); |
|
496 | } |
|
497 | echo "\t\t\t</select>\n\t\t</td>\n\t</tr>\n"; |
|
498 | } |
|
499 | ||
500 | // Comments (if available) |
|
501 | if ($data->hasSharedComments()) { |
@@ 554-568 (lines=15) @@ | ||
551 | echo '<td class=data1>'.$selIndex->fetch()."</td></tr>\n"; |
|
552 | ||
553 | // Tablespace (if there are any) |
|
554 | if ($data->hasTablespaces() && $tablespaces->recordCount() > 0) { |
|
555 | echo "<tr><th class=\"data\" colspan=\"3\">{$lang['strtablespace']}</th></tr>"; |
|
556 | echo "<tr><td class=\"data1\" colspan=\"3\"><select name=\"tablespace\">\n"; |
|
557 | // Always offer the default (empty) option |
|
558 | echo "\t\t\t\t<option value=\"\"", |
|
559 | ($_POST['tablespace'] == '') ? ' selected="selected"' : '', "></option>\n"; |
|
560 | // Display all other tablespaces |
|
561 | while (!$tablespaces->EOF) { |
|
562 | $spcname = htmlspecialchars($tablespaces->fields['spcname']); |
|
563 | echo "\t\t\t\t<option value=\"{$spcname}\"", |
|
564 | ($spcname == $_POST['tablespace']) ? ' selected="selected"' : '', ">{$spcname}</option>\n"; |
|
565 | $tablespaces->moveNext(); |
|
566 | } |
|
567 | echo "</select></td></tr>\n"; |
|
568 | } |
|
569 | ||
570 | echo "</table>\n"; |
|
571 |
@@ 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">'; |