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
How signinview handles the goto leak
[git.ikiwiki.info.git]
/
IkiWiki
/
Plugin
/
websetup.pm
diff --git
a/IkiWiki/Plugin/websetup.pm
b/IkiWiki/Plugin/websetup.pm
index 6a51903016830c17339f2130a964f87708ae15b0..f95017c90d71a6408dbd81028fcb15b32c7a3265 100644
(file)
--- a/
IkiWiki/Plugin/websetup.pm
+++ b/
IkiWiki/Plugin/websetup.pm
@@
-151,7
+151,10
@@
sub showfields ($$$@) {
my %info=%{shift @show};
my $description=$info{description};
my %info=%{shift @show};
my $description=$info{description};
- if (exists $info{link} && length $info{link}) {
+ if (exists $info{htmldescription}) {
+ $description=$info{htmldescription};
+ }
+ elsif (exists $info{link} && length $info{link}) {
if ($info{link} =~ /^\w+:\/\//) {
$description="<a href=\"$info{link}\">$description</a>";
}
if ($info{link} =~ /^\w+:\/\//) {
$description="<a href=\"$info{link}\">$description</a>";
}
@@
-447,10
+450,10
@@
sub showform ($$) {
IkiWiki::saveindex();
IkiWiki::unlockwiki();
IkiWiki::saveindex();
IkiWiki::unlockwiki();
- # Print the top part of a standard
misc
template,
+ # Print the top part of a standard
cgi
template,
# then show the rebuild or refresh, live.
my $divider="\0";
# then show the rebuild or refresh, live.
my $divider="\0";
- my $html=IkiWiki::
misctemplate(
"setup", $divider);
+ my $html=IkiWiki::
cgitemplate($cgi,
"setup", $divider);
IkiWiki::printheader($session);
my ($head, $tail)=split($divider, $html, 2);
print $head."<pre>\n";
IkiWiki::printheader($session);
my ($head, $tail)=split($divider, $html, 2);
print $head."<pre>\n";