mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
Fix to print descriptions and commands consistently
This commit is contained in:
@@ -16,7 +16,7 @@ if ($in{'removenotify'}) {
|
||||
|
||||
$ttcmd = "<tt>".&html_escape($config{'reboot_command'})."</tt>";
|
||||
if ($in{'confirm'}) {
|
||||
print &ui_subheading(&text('reboot_exec', $ttcmd));
|
||||
print &text('reboot_exec', $ttcmd);
|
||||
&reboot_system();
|
||||
&webmin_log("reboot");
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ $access{'shutdown'} || &error($text{'shutdown_ecannot'});
|
||||
|
||||
$ttcmd = "<tt>".&html_escape($config{'shutdown_command'})."</tt>";
|
||||
if ($in{'confirm'}) {
|
||||
print &ui_subheading(&text('shutdown_exec', $ttcmd));
|
||||
print &text('shutdown_exec', $ttcmd);
|
||||
&shutdown_system();
|
||||
&webmin_log("shutdown");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user