if ($death == 0 && $rebirth == 0) {
-
-
if ($cgiparams{'ACTION'} eq $Lang::tr{'reboot ask'}) {
print <<END
<form method='post' action='$ENV{'SCRIPT_NAME'}'>
<tr>
<td width='33%' align='center'><input type='submit' name='ACTION' value='$Lang::tr{'reboot'}' /></td>
<td width='33%' align='center'><input type='submit' name='ACTION' value='$Lang::tr{'refresh'}' /></td>
+ <td width='33%' align='center'><input type='submit' name='ACTION' value='$Lang::tr{'shutdown ask'}' /></td>
+</tr>
+</table>
+</form>
+END
+;
+} elsif ($cgiparams{'ACTION'} eq $Lang::tr{'shutdown ask'}) {
+ print <<END
+<form method='post' action='$ENV{'SCRIPT_NAME'}'>
+<table width='100%'>
+ <tr>
+ <td colspan="3" align='right'><font color="red">$Lang::tr{'shutdown sure'}</font></td>
+ </tr>
+ <tr>
+ <td width='33%' align='center'><input type='submit' name='ACTION' value='$Lang::tr{'reboot ask'}' /></td>
+ <td width='33%' align='center'><input type='submit' name='ACTION' value='$Lang::tr{'refresh'}' /></td>
<td width='33%' align='center'><input type='submit' name='ACTION' value='$Lang::tr{'shutdown'}' /></td>
</tr>
</table>
<tr>
<td width='33%' align='center'><input type='submit' name='ACTION' value='$Lang::tr{'reboot ask'}' /></td>
<td width='33%' align='center'><input type='submit' name='ACTION' value='$Lang::tr{'refresh'}' /></td>
- <td width='33%' align='center'><input type='submit' name='ACTION' value='$Lang::tr{'shutdown'}' /></td>
+ <td width='33%' align='center'><input type='submit' name='ACTION' value='$Lang::tr{'shutdown ask'}' /></td>
</tr>
</table>
</form>
'real address' => 'Reale Addresse',
'reboot' => 'Neustart',
'reboot ask' => 'Neustart?',
-'reboot sure' => 'Sind Sie sicher das Sie neustarten wollen?',
+'reboot sure' => 'Sind Sie sicher, dass Sie neustarten wollen?',
'reboot schedule' => 'Zeitsteuerung für IPFire Neustarts',
'rebooting' => 'Starte neu ...',
'rebooting ipfire' => 'Starte IPFire neu',
'show root certificate' => 'Root-Zertifikat anzeigen',
'show share options' => 'Anzeige der Freigabeeinstellungen',
'shutdown' => 'Herunterfahren',
+'shutdown ask' => 'Herunterfahren?',
+'shutdown sure' => 'Sind Sie sicher, dass Sie herunterfahren wollen?',
'shutdown control' => 'Herunterfahren',
'shutdown2' => 'Herunterfahren:',
'shutting down' => 'Fahre herunter',
'real address' => 'Real Address',
'reboot' => 'Reboot',
'reboot ask' => 'Reboot?',
-'reboot sure' => 'Are you sure that you want to restart?',
+'reboot sure' => 'Are you sure that you want to reboot?',
'reboot schedule' => 'Schedule IPFire reboots',
'rebooting' => 'Rebooting',
'rebooting ipfire' => 'Rebooting IPFire',
'show root certificate' => 'Show Root Certificate',
'show share options' => 'show shares options',
'shutdown' => 'Shutdown',
+'shutdown ask' => 'Shutdown?',
+'shutdown sure' => 'Are you sure that you want to shutdown?',
'shutdown control' => 'Shutdown control',
'shutdown2' => 'Shutdown:',
'shutting down' => 'Shutting down',