CGI-Listman
view release on metacpan or search on metacpan
examples/admin.pl view on Meta::CPAN
242526272829303132333435363738394041424344
my
$decorated
=
undef
;
$decorated
=
$cell
||
' '
;
$decorated
=
'<b>'
.
$decorated
.
'</b>'
unless
(
$seen
);
$decorated
=
'<font color="blue">'
.
$decorated
.
'</font>'
if
(
$exported
);
return
$decorated
;
}
sub
print_legend {
"<table align=\"right\" nowrap=\"nowrap\" border=1 cellspacing=0 cellpadding=1><tbody><tr>\n"
;
"<td>Légende :</td><td>Normal</td><td><b>Nouveau</b></td>"
.
"<td><font color=blue>Exporté</font></td></tr>"
;
"</tbody></table>\n"
;
}
sub
check_uri_file {
my
$file
=
$ENV
{
'REQUEST_URI'
};
if
(
defined
$script_name
) {
examples/admin.pl view on Meta::CPAN
135136137138139140141142143144145146147148149150151152153154155
"</tbody></table>\n"
;
'<table><tbody><tr>'
;
'<td><input type="submit" name="submit" value="Effacer"></td>'
;
'<td><input type="submit" name="submit" value="Exporter"></td>'
;
# print '<td nowrap=nowrap><input type="radio" name="export_fmt" value="CSV" checked=checked> CSV</td>';
# print '<td nowrap=nowrap><input type="radio" name="export_fmt" value="Excel"> Excel</td>';
'<td><input type="reset" value="Recommencer"></td>'
;
'<td><input type="submit" name="submit" value="Dictionnaire"></td>'
;
"</form>\n"
;
print_legend ();
"</body></html>\n"
;
}
}
}
# sub print_params {
# my $cgi = shift;
# print "<html><head><title>Param</title></head><body>";
# foreach my $param ($cgi->param ()) {
( run in 1.029 second using v1.01-cache-2.11-cpan-49f99fa48dc )