| @@ 479-493 (lines=15) @@ | ||
| 476 | } |
|
| 477 | ||
| 478 | // Tablespace (if there are any) |
|
| 479 | if ($data->hasTablespaces() && $tablespaces->recordCount() > 0) { |
|
| 480 | echo "\t<tr>\n\t\t<th class=\"data left\">{$this->lang['strtablespace']}</th>".PHP_EOL; |
|
| 481 | echo "\t\t<td class=\"data1\">\n\t\t\t<select name=\"formSpc\">".PHP_EOL; |
|
| 482 | // Always offer the default (empty) option |
|
| 483 | echo "\t\t\t\t<option value=\"\"", |
|
| 484 | ('' == $_POST['formSpc']) ? ' selected="selected"' : '', '></option>'.PHP_EOL; |
|
| 485 | // Display all other tablespaces |
|
| 486 | while (!$tablespaces->EOF) { |
|
| 487 | $spcname = htmlspecialchars($tablespaces->fields['spcname']); |
|
| 488 | echo "\t\t\t\t<option value=\"{$spcname}\"", |
|
| 489 | ($spcname == $_POST['formSpc']) ? ' selected="selected"' : '', ">{$spcname}</option>".PHP_EOL; |
|
| 490 | $tablespaces->moveNext(); |
|
| 491 | } |
|
| 492 | echo "\t\t\t</select>\n\t\t</td>\n\t</tr>".PHP_EOL; |
|
| 493 | } |
|
| 494 | ||
| 495 | // Comments (if available) |
|
| 496 | if ($data->hasSharedComments()) { |
|
| @@ 578-592 (lines=15) @@ | ||
| 575 | echo '<td class=data1>'.$selIndex->fetch().'</td></tr>'.PHP_EOL; |
|
| 576 | ||
| 577 | // Tablespace (if there are any) |
|
| 578 | if ($data->hasTablespaces() && $tablespaces->recordCount() > 0) { |
|
| 579 | echo "<tr><th class=\"data\" colspan=\"3\">{$this->lang['strtablespace']}</th></tr>"; |
|
| 580 | echo '<tr><td class="data1" colspan="3"><select name="tablespace">'.PHP_EOL; |
|
| 581 | // Always offer the default (empty) option |
|
| 582 | echo "\t\t\t\t<option value=\"\"", |
|
| 583 | ('' == $_POST['tablespace']) ? ' selected="selected"' : '', '></option>'.PHP_EOL; |
|
| 584 | // Display all other tablespaces |
|
| 585 | while (!$tablespaces->EOF) { |
|
| 586 | $spcname = htmlspecialchars($tablespaces->fields['spcname']); |
|
| 587 | echo "\t\t\t\t<option value=\"{$spcname}\"", |
|
| 588 | ($spcname == $_POST['tablespace']) ? ' selected="selected"' : '', ">{$spcname}</option>".PHP_EOL; |
|
| 589 | $tablespaces->moveNext(); |
|
| 590 | } |
|
| 591 | echo '</select></td></tr>'.PHP_EOL; |
|
| 592 | } |
|
| 593 | ||
| 594 | echo '</table>'.PHP_EOL; |
|
| 595 | ||
| @@ 488-502 (lines=15) @@ | ||
| 485 | 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>".PHP_EOL; |
|
| 486 | ||
| 487 | // Tablespace (if there are any) |
|
| 488 | if ($data->hasTablespaces() && $tablespaces->recordCount() > 0) { |
|
| 489 | echo "\t<tr>\n\t\t<th class=\"data left\">{$this->lang['strtablespace']}</th>".PHP_EOL; |
|
| 490 | echo "\t\t<td class=\"data1\">\n\t\t\t<select name=\"spcname\">".PHP_EOL; |
|
| 491 | // Always offer the default (empty) option |
|
| 492 | echo "\t\t\t\t<option value=\"\"", |
|
| 493 | ('' == $_REQUEST['spcname']) ? ' selected="selected"' : '', '></option>'.PHP_EOL; |
|
| 494 | // Display all other tablespaces |
|
| 495 | while (!$tablespaces->EOF) { |
|
| 496 | $spcname = htmlspecialchars($tablespaces->fields['spcname']); |
|
| 497 | echo "\t\t\t\t<option value=\"{$spcname}\"", |
|
| 498 | ($tablespaces->fields['spcname'] == $_REQUEST['spcname']) ? ' selected="selected"' : '', ">{$spcname}</option>".PHP_EOL; |
|
| 499 | $tablespaces->moveNext(); |
|
| 500 | } |
|
| 501 | echo "\t\t\t</select>\n\t\t</td>\n\t</tr>".PHP_EOL; |
|
| 502 | } |
|
| 503 | ||
| 504 | echo "\t<tr>\n\t\t<th class=\"data left\">{$this->lang['strcomment']}</th>".PHP_EOL; |
|
| 505 | echo "\t\t<td><textarea name=\"tblcomment\" rows=\"3\" cols=\"32\">", |
|
| @@ 529-543 (lines=15) @@ | ||
| 526 | } |
|
| 527 | ||
| 528 | // Tablespace (if there are any) |
|
| 529 | if ($data->hasTablespaces() && $tablespaces->recordCount() > 0) { |
|
| 530 | echo "\t<tr>\n\t\t<th class=\"data left\">{$this->lang['strtablespace']}</th>".PHP_EOL; |
|
| 531 | echo "\t\t<td class=\"data1\">\n\t\t\t<select name=\"tablespace\">".PHP_EOL; |
|
| 532 | // Always offer the default (empty) option |
|
| 533 | echo "\t\t\t\t<option value=\"\"", |
|
| 534 | ('' == $_POST['tablespace']) ? ' selected="selected"' : '', '></option>'.PHP_EOL; |
|
| 535 | // Display all other tablespaces |
|
| 536 | while (!$tablespaces->EOF) { |
|
| 537 | $spcname = htmlspecialchars($tablespaces->fields['spcname']); |
|
| 538 | echo "\t\t\t\t<option value=\"{$spcname}\"", |
|
| 539 | ($spcname == $_POST['tablespace']) ? ' selected="selected"' : '', ">{$spcname}</option>".PHP_EOL; |
|
| 540 | $tablespaces->moveNext(); |
|
| 541 | } |
|
| 542 | echo "\t\t\t</select>\n\t\t</td>\n\t</tr>".PHP_EOL; |
|
| 543 | } |
|
| 544 | ||
| 545 | echo "<tr><th class=\"data left\">{$this->lang['strcomment']}</th>".PHP_EOL; |
|
| 546 | echo '<td class="data1">'; |
|