Apache-SdnFw
view release on metacpan or search on metacpan
lib/Apache/SdnFw/lib/Core.pm view on Meta::CPAN
open F, $sfile;
while (<F>) {
chomp;
$return .= $_;
}
close F;
$return .= "</style>\n";
}
return $return;
# my $v = (stat("$s->{plib}/css/$stylefile.css"))[9];
# my $return = qq(\t<link rel="stylesheet" href="/css/$stylefile-r$v.css" />\n);
#
# # check for a custom stylesheet
# my $cv = (stat("/data/$s->{obase}/content/custom.css"))[9];
# if ($cv) {
# $return .= qq(\t<link rel="stylesheet" href="/custom-r$cv.css" />\n);
# }
#
# if ($s->{agent} eq 'iphone') {
# my $scale = ($s->{allow_zoom}) ? 'yes' : 'no';
# $return .= qq(\t<meta name="viewport" content="user-scalable=$scale, width=device-width" />\n);
# }
#
# return $return;
( run in 1.461 second using v1.01-cache-2.11-cpan-49f99fa48dc )