/[pub]/suikawiki/script/misc/plugins/link/map.wp2
Suika

Diff of /suikawiki/script/misc/plugins/link/map.wp2

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

revision 1.6 by wakaba, Thu Mar 11 10:13:07 2004 UTC revision 1.8 by wakaba, Sat Mar 13 11:39:31 2004 UTC
# Line 185  FormattingRule: Line 185  FormattingRule:
185      my @r;      my @r;
186      my $sr = $o->{wiki}->{db}->get (m__search_result => [$word]);      my $sr = $o->{wiki}->{db}->get (m__search_result => [$word]);
187      unless ($sr) {      unless ($sr) {
188          my $i = 0;
189        for my $page ($o->{wiki}->{db}->keys ('content')) {        for my $page ($o->{wiki}->{db}->keys ('content')) {
190            last if ++$i == 512;
191          my $content;          my $content;
192          try {          try {
193            $content = $o->{wiki}->{db}->get (content => $page);            $content = $o->{wiki}->{db}->get (content => $page);
# Line 301  Resource: Line 303  Resource:
303      );      );
304      %span(class=>headline,content=>{%page-headline;}p);      %span(class=>headline,content=>{%page-headline;}p);
305    
306  ## TODO:  ## TODO: Make recent-changes page name customizable
307  ViewFragment:  ViewFragment:
308    @Name: navbar    @Name: navbar
309    @Order: 21    @Order: 21
# Line 309  ViewFragment: Line 311  ViewFragment:
311      %link-to-wikipage (      %link-to-wikipage (
312        page => {RecentChanges},        page => {RecentChanges},
313        label => {%link-to-it (        label => {%link-to-it (
314                   label=>"%res(name=>GoToRecentChanges);"p,          label => {%res (name => GoToRecentChanges);}p,
315                   description=>"%res(name=>GoToRecentChangesLong);"p,          description => {%res (name => GoToRecentChangesLong);}p,
316        );},        );},
317        rel => news,        rel => news,
318      );      );
# Line 325  ViewFragment: Line 327  ViewFragment:
327        label => {%html-link (        label => {%html-link (
328                    description => {%res(name=>GoToRecentChangesLink);}p,                    description => {%res(name=>GoToRecentChangesLink);}p,
329                  );},                  );},
     );  
330        );
331    
332    Resource:
333      @GoToRecentChanges:
334        @@@: Recent
335        @@lang: en
336      @GoToRecentChangesLink:
337        @@@: Recently modified WikiPages list
338        @@lang: en
339      @GoToRecentChangesLong:
340        @@@: Review recently modified WikiPages list
341        @@lang: en
342    
343    
344    

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.8

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24