Better form target settings for more comfort

This commit is contained in:
Thomas Gelf 2014-03-20 16:33:06 +00:00
parent aed6d74ecd
commit 9517824b41
2 changed files with 8 additions and 8 deletions

View File

@ -21,7 +21,7 @@ if ($object->service_description) {
if ($object instanceof Host && $object->host_acknowledged
|| $object instanceof Service && $object->service_acknowledged): ?>
<th>Issue acknowledged</th>
<td><?= $cf->labelSubmitForm(
<td data-base-target="_self"><?= $cf->labelSubmitForm(
'Remove Acknowledgement',
'Remove problem acknowledgement',
'link-like',
@ -34,7 +34,7 @@ if ($object instanceof Host && $object->host_acknowledged
<a href="<?= $this->href(
'monitoring/command/acknowledgeproblem',
$data
) ?>"><?= $this->icon('acknowledgement_petrol.png') ?> Acknowledge now</a>
) ?>"><?= $this->icon('acknowledgement_petrol.png') ?> Acknowledge</a>
</td>
<?php endif ?>
</tr>

View File

@ -11,7 +11,7 @@ $data = array(
?>
<tr>
<th>Passive Checks</th>
<td><?= $cf->toggleSubmitForm(
<td data-base-target="_self"><?= $cf->toggleSubmitForm(
'',
$o->passive_checks_enabled,
'startacceptingpassivechecks',
@ -22,7 +22,7 @@ $data = array(
</tr>
<tr>
<th>Active Checks</th>
<td><?= $cf->toggleSubmitForm(
<td data-base-target="_self"><?= $cf->toggleSubmitForm(
'',
$o->active_checks_enabled,
'enableactivechecks',
@ -33,7 +33,7 @@ $data = array(
</tr>
<tr>
<th>Notifications</th>
<td><?= $cf->toggleSubmitForm(
<td data-base-target="_self"><?= $cf->toggleSubmitForm(
'',
$o->notifications_enabled,
'enablenotifications',
@ -44,7 +44,7 @@ $data = array(
</tr>
<tr>
<th>Event Handler</th>
<td><?= $cf->toggleSubmitForm(
<td data-base-target="_self"><?= $cf->toggleSubmitForm(
'',
$o->event_handler_enabled,
'enableeventhandler',
@ -55,7 +55,7 @@ $data = array(
</tr>
<tr>
<th>Flap Detection</th>
<td><?= $cf->toggleSubmitForm(
<td data-base-target="_self"><?= $cf->toggleSubmitForm(
'',
$o->flap_detection_enabled,
'enableflapdetection',
@ -66,7 +66,7 @@ $data = array(
</tr>
<tr>
<th>Obsessing</th>
<td><?= $cf->toggleSubmitForm(
<td data-base-target="_self"><?= $cf->toggleSubmitForm(
'',
$o->obsessing,
'startobsessing',