version 1.9, 2013/02/25 13:48:21
|
version 1.11, 2013/02/27 14:56:26
|
Line 116 sub readComicConfig ($$) {
|
Line 116 sub readComicConfig ($$) {
|
####################################################################### |
####################################################################### |
sub writeComic ($$) { |
sub writeComic ($$) { |
my ( $comics, $comic, $date ) = @_; |
my ( $comics, $comic, $date ) = @_; |
my $indexFile = $indexDir . "/index-" . $days[$date->{'dow'}] . |
my $sd = substr( join( '', $days[$date->{'dow'}] ), 0, 3 ); |
|
my $indexFile = $indexDir . "/index-" . $sd . |
"-" . $date->{'year2'} . $date->{'mon2'} . |
"-" . $date->{'year2'} . $date->{'mon2'} . |
$date->{'day2'} . ".html"; |
$date->{'day2'} . ".html"; |
my $content = <<EOF; |
my $content = <<EOF; |
Line 171 sub writeMainIndex ($$) {
|
Line 172 sub writeMainIndex ($$) {
|
####################################################################### |
####################################################################### |
sub writeFooter { |
sub writeFooter { |
my ( $date ) = @_; |
my ( $date ) = @_; |
my $indexFile = $indexDir . "/index-" . $date->{'year2'} . $date->{'mon2'} . |
my $sd = substr( join( '', $days[$date->{'dow'}] ), 0, 3 ); |
|
my $indexFile = $indexDir . "/index-" . $sd . |
|
"-" . $date->{'year2'} . $date->{'mon2'} . |
$date->{'day2'} . ".html"; |
$date->{'day2'} . ".html"; |
my $sysDate = `date`; |
my $sysDate = `date`; |
|
|
Line 209 sub checkDir ($$) {
|
Line 212 sub checkDir ($$) {
|
####################################################################### |
####################################################################### |
sub writeTitle ($$) { |
sub writeTitle ($$) { |
my ( $date ) = @_; |
my ( $date ) = @_; |
my $indexFile = $indexDir . "/index-" . $date->{'year2'} . $date->{'mon2'} . |
my $sd = substr( join( '', $days[$date->{'dow'}] ), 0, 3 ); |
|
my $indexFile = $indexDir . "/index-" . $sd . |
|
"-" . $date->{'year2'} . $date->{'mon2'} . |
$date->{'day2'} . ".html"; |
$date->{'day2'} . ".html"; |
my $today = $days[$date->{'dow'}] . " " . $date->{'mon'} . "/" . $date->{'day'} . "/" . $date->{'year'}; |
my $today = $days[$date->{'dow'}] . " " . $date->{'mon'} . "/" . $date->{'day'} . "/" . $date->{'year'}; |
|
|