projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66c7876
)
remove unused indexlink function and template variable
author
Joey Hess
<joey@kitenet.net>
Thu, 6 May 2010 00:42:56 +0000
(20:42 -0400)
committer
Joey Hess
<joey@kitenet.net>
Thu, 6 May 2010 00:42:56 +0000
(20:42 -0400)
IkiWiki.pm
patch
|
blob
|
history
IkiWiki/Plugin/editpage.pm
patch
|
blob
|
history
diff --git
a/IkiWiki.pm
b/IkiWiki.pm
index 72f416489c1d267df30d5929fd0679f9598c8693..0da2c93c8e4df2731e416a053bcd1bf7f559d854 100644
(file)
--- a/
IkiWiki.pm
+++ b/
IkiWiki.pm
@@
-1401,10
+1401,6
@@
sub filter ($$$) {
return $content;
}
-sub indexlink () {
- return "<a href=\"$config{url}\">$config{wikiname}</a>";
-}
-
sub check_canedit ($$$;$) {
my $page=shift;
my $q=shift;
diff --git
a/IkiWiki/Plugin/editpage.pm
b/IkiWiki/Plugin/editpage.pm
index 7bb6eb07cf3cd64760c0b1011e14caa3cacea386..670eedfd97699eee7b3eca3ce112cda5944d3d09 100644
(file)
--- a/
IkiWiki/Plugin/editpage.pm
+++ b/
IkiWiki/Plugin/editpage.pm
@@
-148,7
+148,6
@@
sub cgi_editpage ($$) {
$form->field(name => "editcontent", type => "textarea", rows => 20,
cols => 80);
$form->tmpl_param("can_commit", $config{rcs});
- $form->tmpl_param("indexlink", indexlink());
$form->tmpl_param("helponformattinglink",
htmllink($page, $page, "ikiwiki/formatting",
noimageinline => 1,