changed position of PDF structure selection
This commit is contained in:
parent
212c5c4f5f
commit
f1722aaee8
|
@ -308,12 +308,12 @@ if (sizeof($grp_info) > 0) {
|
|||
echo ("<input type=\"submit\" name=\"del_group\" value=\"" . _("Delete Group(s)") . "\">\n");
|
||||
echo ("<br><br><br>\n");
|
||||
echo "<fieldset><legend><b>PDF</b></legend>\n";
|
||||
echo ("<p>" . _('Select PDF structure to use:') . " <select name=\"pdf_structure\">\n");
|
||||
echo ("<b>" . _('PDF structure:') . "</b> <select name=\"pdf_structure\">\n");
|
||||
$pdf_structures = getAvailablePDFStructures('group');
|
||||
foreach($pdf_structures as $pdf_structure) {
|
||||
echo "<option value=\"" . $pdf_structure . "\"" . (($pdf_structure == 'default.xml') ? " selected" : "") . ">" . substr($pdf_structure,0,strlen($pdf_structure)-4) . "</option>";
|
||||
}
|
||||
echo "</select></p><br>\n";
|
||||
echo "</select> \n";
|
||||
echo ("<input type=\"submit\" name=\"pdf_group\" value=\"" . _("Create PDF for selected group(s)") . "\">\n");
|
||||
echo " ";
|
||||
echo ("<input type=\"submit\" name=\"pdf_all\" value=\"" . _("Create PDF for all groups") . "\">\n");
|
||||
|
|
|
@ -289,12 +289,12 @@ if (sizeof($hst_info) > 0) {
|
|||
echo ("<input type=\"submit\" name=\"del_host\" value=\"" . _("Delete Host(s)") . "\">\n");
|
||||
echo ("<br><br><br>\n");
|
||||
echo "<fieldset><legend><b>PDF</b></legend>\n";
|
||||
echo ("<p>" . _('Select PDF structure to use:') . " <select name=\"pdf_structure\">\n");
|
||||
echo ("<b>" . _('PDF structure:') . "</b> <select name=\"pdf_structure\">\n");
|
||||
$pdf_structures = getAvailablePDFStructures('host');
|
||||
foreach($pdf_structures as $pdf_structure) {
|
||||
echo "<option value=\"" . $pdf_structure . "\"" . (($pdf_structure == 'default.xml') ? " selected" : "") . ">" . substr($pdf_structure,0,strlen($pdf_structure)-4) . "</option>";
|
||||
}
|
||||
echo "</select></p><br>\n";
|
||||
echo "</select> \n";
|
||||
echo ("<input type=\"submit\" name=\"pdf_host\" value=\"" . _("Create PDF for selected host(s)") . "\">\n");
|
||||
echo " ";
|
||||
echo ("<input type=\"submit\" name=\"pdf_all\" value=\"" . _("Create PDF for all hosts") . "\">\n");
|
||||
|
|
|
@ -356,12 +356,12 @@ if ($user_count != 0) {
|
|||
echo ("<input type=\"submit\" name=\"del_user\" value=\"" . _("Delete user(s)") . "\">\n");
|
||||
echo ("<br><br><br>\n");
|
||||
echo "<fieldset><legend><b>PDF</b></legend>\n";
|
||||
echo ("<p>" . _('Select PDF structure to use:') . " <select name=\"pdf_structure\">\n");
|
||||
echo ("<b>" . _('PDF structure:') . "</b> <select name=\"pdf_structure\">\n");
|
||||
$pdf_structures = getAvailablePDFStructures('user');
|
||||
foreach($pdf_structures as $pdf_structure) {
|
||||
echo "<option value=\"" . $pdf_structure . "\"" . (($pdf_structure == 'default.xml') ? " selected" : "") . ">" . substr($pdf_structure,0,strlen($pdf_structure)-4) . "</option>";
|
||||
}
|
||||
echo "</select></p><br>\n";
|
||||
echo "</select> \n";
|
||||
echo ("<input type=\"submit\" name=\"pdf_user\" value=\"" . _("Create PDF for selected user(s)") . "\">\n");
|
||||
echo " ";
|
||||
echo ("<input type=\"submit\" name=\"pdf_all\" value=\"" . _("Create PDF for all users") . "\">\n");
|
||||
|
|
Loading…
Reference in New Issue