-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathfase6.pl
40 lines (28 loc) · 902 Bytes
/
fase6.pl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/perl -w
use lib 'libs';
use Msg;
use open qw(:std :utf8);
use Encode qw(decode_utf8);
cambia_idioma($idioma_solicitado);
no warnings;
# ----------------------------------------------------------------------------------------
# Fase 6.0 -- Banner personalizado / Customized banner
# ----------------------------------------------------------------------------------------
print $Msg::msg[$Msg::idioma][85];
print F $Msg::msg[$Msg::idioma][86];
print F "<div>\n";
print F "<div class=\"content\">\n";
print R $Msg::msg[$Msg::idioma][86];
print R "<div>\n";
print R "<div class=\"content\">\n";
print "-" x 100;
$bannerpersona= `head -n1 /etc/issue | grep Cable`;
if($bannerpersona eq ""){
print $Msg::msg[$Msg::idioma][87];
print F $Msg::msg[$Msg::idioma][88];
print R $Msg::msg[$Msg::idioma][89];
}
print F "</div>\n";
print F "</div>\n";
print R "</div>\n";
print R "</div>\n";