Skip to content

Commit

Permalink
put all_paths options before base_paths options
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio committed Jan 3, 2025
1 parent 462b8e6 commit 3f78399
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions php/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,16 +195,17 @@
}
echo '<form method="POST" id="ApiOptionsForm">';
echo '<fieldset style="margin-bottom:6px;"><legend>' . dgettext('litexmplphp', 'Customize options for generating the Roman Calendar') . '</legend>';
echo '<table style="width:100%;"><tr>';

echo $apiOptions->getForm(PathType::BASE_PATH);
echo '</tr>';
echo '<table style="width:100%;">';
echo '<tr>';
echo '<td><label>year<br><input type="number" name="year" id="year" min="1970" max="9999" value="' . $litSettings->Year . '" /></label></td>';
echo $apiOptions->getForm(PathType::ALL_PATHS);
echo '<td colspan="1">' . $calendarSelectNations->getSelect() . '</td>';
echo '<td colspan="2">' . $calendarSelectDioceses->getSelect() . '</td>';
echo '</tr><tr>';
echo $apiOptions->getForm(PathType::ALL_PATHS);
echo '<td><label>year<br><input type="number" name="year" id="year" min="1970" max="9999" value="' . $litSettings->Year . '" /></label></td>';
echo '</tr>';
echo '<tr>';
echo $apiOptions->getForm(PathType::BASE_PATH);
echo '</tr>';
echo '<tr>';
echo '<td colspan="5" style="text-align:center;padding:15px;">' . $submitParent . '<input type="SUBMIT" value="' . strtoupper(dgettext('litexmplphp', 'Generate Roman Calendar')) . '" /></td>';
echo '</tr></table>';
echo '</fieldset>';
Expand Down

0 comments on commit 3f78399

Please sign in to comment.