Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Detect plugins with a broken getsetup and warn.
[git.ikiwiki.info.git]
/
doc
/
todo
/
datearchives-plugin.mdwn
diff --git
a/doc/todo/datearchives-plugin.mdwn
b/doc/todo/datearchives-plugin.mdwn
index 5a5560d6c454afb13e409a51f615c2fd70fef688..5f33cde4ce1ec824f3f15366635088ccda21a8ca 100644
(file)
--- a/
doc/todo/datearchives-plugin.mdwn
+++ b/
doc/todo/datearchives-plugin.mdwn
@@
-17,11
+17,11
@@
Index: IkiWiki/Plugin/datearchives.pm
+use strict;
+use IkiWiki;
+
+use strict;
+use IkiWiki;
+
-+sub import {
#{{{
++sub import {
+ hook(type => "pagetemplate", id => "datearchives", call => \&pagetemplate, scan => 1);
+ hook(type => "pagetemplate", id => "datearchives", call => \&pagetemplate, scan => 1);
-+}
# }}}
++}
+
+
-+sub pagetemplate (@) {
#{{{
++sub pagetemplate (@) {
+ my %args = @_;
+ my $dt;
+ eval {
+ my %args = @_;
+ my $dt;
+ eval {
@@
-37,7
+37,7
@@
Index: IkiWiki/Plugin/datearchives.pm
+ $template->param(ctime => htmllink( $args{page}, $args{destpage}, $link, 0, 0,
+ $template->param('ctime')));
+ }
+ $template->param(ctime => htmllink( $args{page}, $args{destpage}, $link, 0, 0,
+ $template->param('ctime')));
+ }
-+}
# }}}
++}
+
+1
</pre>
+
+1
</pre>