Revision abe98adb
Added by Phil Davis over 9 years ago
src/usr/local/www/status_services.php | ||
---|---|---|
104 | 104 |
$pgtitle = array(gettext("Status"), gettext("Services")); |
105 | 105 |
include("head.inc"); |
106 | 106 |
|
107 |
if ($savemsg) |
|
107 |
if ($savemsg) {
|
|
108 | 108 |
print_info_box($savemsg, 'success'); |
109 |
} |
|
109 | 110 |
|
110 | 111 |
$services = get_services(); |
111 | 112 |
|
... | ... | |
195 | 196 |
?> |
196 | 197 |
<script type="text/javascript"> |
197 | 198 |
//<![CDATA[ |
198 |
events.push(function(){ |
|
199 |
events.push(function() {
|
|
199 | 200 |
// If a restart button is clicked, populate the hidden inputs and submit the form (via POST) |
200 | 201 |
$('[id^=restartservice-]').click(function(event) { |
201 | 202 |
$('#mode').val('restartservice'); |
Also available in: Unified diff
Code style status*