/[pub]/suikawiki/script/misc/plugins/calender.wp2
Suika

Diff of /suikawiki/script/misc/plugins/calender.wp2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by wakaba, Mon Mar 29 03:21:24 2004 UTC revision 1.5 by wakaba, Tue May 18 11:25:11 2004 UTC
# Line 539  FormattingRule: Line 539  FormattingRule:
539        $yeaR = $year + 1;        $yeaR = $year + 1;
540        $page{next} = {year => $yeaR};        $page{next} = {year => $yeaR};
541      }      }
542    
543        my @gmtime = gmtime;
544        $page{today} = {year => $gmtime[5] + 1900, month => $gmtime[4] + 1,
545                        day => $gmtime[3]};
546            
547      __ATTRTEXT:%mode__;__ATTRTEXT:%with_lm__;__ATTRTEXT:%up_to_date__;      __ATTRTEXT:%mode__;__ATTRTEXT:%with_lm__;__ATTRTEXT:%up_to_date__;
548      for my $rel (qw/prev next up prev-week next-week/) {      for my $rel (qw/prev next up prev-week next-week today/) {
549        next unless $page{$rel};        next unless $page{$rel};
550        $WIKILINKING->to_wikipage_in_html ({        $WIKILINKING->to_wikipage_in_html ({
551            label           => qq(%html-link;\n),            label           => qq(%html-link;\n),
# Line 655  Resource: Line 659  Resource:
659        %calender--year;-%calender--month;-%calender--day; (%page-name;)        %calender--year;-%calender--month;-%calender--day; (%page-name;)
660    @Calender:Link:next-week:ymd:Description:    @Calender:Link:next-week:ymd:Description:
661        %calender--year;-%calender--month;-%calender--day; (%page-name;)        %calender--year;-%calender--month;-%calender--day; (%page-name;)
662      @Calender:Link:today:ymd:Description:
663        @@@: Today's WikiPage (%page-name;)
664        @@lang: en
665    @Calender:MonthList:Item:    @Calender:MonthList:Item:
666      %link-to-it (      %link-to-it (
667        label => {%calender--month;}p,        label => {%calender--month;}p,

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24