mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
wakeonlan.cgi: Fix meta refresh tag
This fixes an HTML error that is briefly visible on the "magic packet sent" page. Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de> Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
committed by
Peter Müller
parent
52224df18d
commit
154dfcb7a2
@@ -173,10 +173,10 @@ if ( $cgiparams{'ACTION'} eq 'wakeup' )
|
||||
|
||||
&General::system("/usr/sbin/etherwake", "-i", "$iface", "$mac");
|
||||
|
||||
# make a box with info, 'refresh' to normal screen after 5 seconds
|
||||
# make a box with info, 'refresh' to normal screen after 3 seconds
|
||||
if ( $refresh eq 'yes' )
|
||||
{
|
||||
&Header::openpage($Lang::tr{'WakeOnLan'}, 1, "<meta http-equiv='refresh' content='3;url=/cgi-bin/wakeonlan.cgi'");
|
||||
&Header::openpage($Lang::tr{'WakeOnLan'}, 1, "<meta http-equiv='refresh' content='3; url=/cgi-bin/wakeonlan.cgi'>");
|
||||
&Header::openbigbox('100%', 'left');
|
||||
}
|
||||
&Header::openbox('100%', 'left', $Lang::tr{'WakeOnLan'});
|
||||
|
||||
Reference in New Issue
Block a user