Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
* refs #564
Browse files Browse the repository at this point in the history
  • Loading branch information
Lionel Assepo committed Sep 17, 2015
1 parent f168cf3 commit 4dd9e1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
$tpl->assign("mon_last_check", _("Last Check"));
$tpl->assign("mon_duration", _("Duration"));
$tpl->assign('search', _('Host'));
$tpl->assign('sgStr', _('Servicegroup'));
$tpl->assign('sgStr', _('Servicegroup'));
$tpl->assign('pollerStr', _('Poller'));
$tpl->assign('poller_listing', $oreon->user->access->checkAction('poller_listing'));
$tpl->assign("mon_status_information", _("Status information"));
Expand All @@ -87,10 +87,9 @@
*/
$query = "SELECT DISTINCT sg.sg_name FROM servicegroup sg";
$DBRESULT = $pearDB->query($query);
$sgSearchSelect = '<select id="sg_search" name="sg_search">';
$sgSearchSelect = '<select id="sg_search" name="sg_search"><option value="">'. _("Select a servicegroup") . '</option>';
while ($row = $DBRESULT->fetchRow()) {
$sgSearchSelect .= '<option value="' . $row['sg_name'] . '">' . $row['sg_name'] .'</option>';
//$serviceGroups[] = $row['sg_name'];
}
$DBRESULT->free();
$sgSearchSelect .= '</select>';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,9 @@
*/
$query = "SELECT DISTINCT sg.sg_name FROM servicegroup sg";
$DBRESULT = $pearDB->query($query);
$sgSearchSelect = '<select id="sg_search" name="sg_search"><option value="">Choose a service group</option>';
$sgSearchSelect = '<select id="sg_search" name="sg_search"><option value="">'. _("Select a servicegroup") . '</option>';
while ($row = $DBRESULT->fetchRow()) {
$sgSearchSelect .= '<option value="' . $row['sg_name'] . '">' . $row['sg_name'] .'</option>';
//$serviceGroups[] = $row['sg_name'];
}
$DBRESULT->free();
$sgSearchSelect .= '</select>';
Expand Down

0 comments on commit 4dd9e1a

Please sign in to comment.