projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1493ab
)
more 'go=' links in wiki
author
Art Cancro
<ajc@uncensored.citadel.org>
Tue, 24 Apr 2012 15:24:55 +0000
(11:24 -0400)
committer
Art Cancro
<ajc@uncensored.citadel.org>
Tue, 24 Apr 2012 15:24:55 +0000
(11:24 -0400)
webcit/wiki.c
patch
|
blob
|
history
diff --git
a/webcit/wiki.c
b/webcit/wiki.c
index c72dbf656a726508f00c3f87d0b3893b1d33933e..47af67ec4170f276b06deb8cb6c30d14694c1c3b 100644
(file)
--- a/
webcit/wiki.c
+++ b/
webcit/wiki.c
@@
-170,11
+170,12
@@
void tmplput_display_wiki_history(StrBuf *Target, WCTemplputParams *TP)
}
else {
- wc_printf("<td><a href=\"wiki?page=%s?rev=%s
\">%s</a></td>
",
+ wc_printf("<td><a href=\"wiki?page=%s?rev=%s",
bstr("page"),
- ChrPtr(rev_uuid),
- _("(show)")
+ ChrPtr(rev_uuid)
);
+ wc_printf("?go="); urlescputs(ChrPtr(WC->CurRoom.name));
+ wc_printf("\">%s</a></td>", _("(show)"));
wc_printf("<td><a href=\"javascript:GetLoggedInFirst(encodeURIComponent('wiki?page=%s?rev=%s?revert=1'))\">%s</a></td>",
bstr("page"),
ChrPtr(rev_uuid),