projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
141fe4e
)
The 'gotofirst' key is now called 'go' for brevity
author
Art Cancro
<ajc@citadel.org>
Fri, 7 Jan 2011 19:34:43 +0000
(14:34 -0500)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Sun, 4 Sep 2011 13:41:44 +0000
(13:41 +0000)
webcit/auth.c
patch
|
blob
|
history
webcit/blogview_renderer.c
patch
|
blob
|
history
webcit/calendar_view.c
patch
|
blob
|
history
webcit/feed_generator.c
patch
|
blob
|
history
webcit/sitemap.c
patch
|
blob
|
history
webcit/webcit.c
patch
|
blob
|
history
diff --git
a/webcit/auth.c
b/webcit/auth.c
index 653f0a3d6ca22217cf61c55925e56b71b05e3cf3..4d90105524f96d933b3bd3d9080febf30c2bc296 100644
(file)
--- a/
webcit/auth.c
+++ b/
webcit/auth.c
@@
-803,7
+803,7
@@
void display_reg(int during_login)
}
else {
StrBuf *ReturnTo;
}
else {
StrBuf *ReturnTo;
- ReturnTo = NewStrBufPlain(HKEY("display_main_menu?go
tofirst
="));
+ ReturnTo = NewStrBufPlain(HKEY("display_main_menu?go="));
StrBufAppendBuf(ReturnTo, WC->CurRoom.name, 0);
do_edit_vcard(vcard_msgnum, "1", VCMsg, VCAtt, ChrPtr(ReturnTo), USERCONFIGROOM);
FreeStrBuf(&ReturnTo);
StrBufAppendBuf(ReturnTo, WC->CurRoom.name, 0);
do_edit_vcard(vcard_msgnum, "1", VCMsg, VCAtt, ChrPtr(ReturnTo), USERCONFIGROOM);
FreeStrBuf(&ReturnTo);
diff --git
a/webcit/blogview_renderer.c
b/webcit/blogview_renderer.c
index 5da977ba3cf7152d9fe73b63e4e491bbd7fd79d2..d9df71bea568c3503d62fbaf38468efc3bb37939 100644
(file)
--- a/
webcit/blogview_renderer.c
+++ b/
webcit/blogview_renderer.c
@@
-53,7
+53,7
@@
void blogpost_render_and_destroy(struct blogpost *bp) {
if (p == 0) {
/* Show the number of comments */
if (p == 0) {
/* Show the number of comments */
- wc_printf("<a href=\"readfwd?p=%d?go
tofirst
=", bp->top_level_id);
+ wc_printf("<a href=\"readfwd?p=%d?go=", bp->top_level_id);
urlescputs(ChrPtr(WC->CurRoom.name));
wc_printf("#comments\">");
wc_printf(_("%d comments"), bp->num_msgs - 1);
urlescputs(ChrPtr(WC->CurRoom.name));
wc_printf("#comments\">");
wc_printf(_("%d comments"), bp->num_msgs - 1);
@@
-245,7
+245,7
@@
void tmplput_blog_permalink(StrBuf *Target, WCTemplputParams *TP) {
char perma[SIZ];
char encoded_perma[SIZ];
char perma[SIZ];
char encoded_perma[SIZ];
- strcpy(perma, "/readfwd?go
tofirst
=");
+ strcpy(perma, "/readfwd?go=");
urlesc(&perma[strlen(perma)], sizeof(perma)-strlen(perma), ChrPtr(WC->CurRoom.name));
snprintf(&perma[strlen(perma)], sizeof(perma)-strlen(perma), "?p=%d", WC->bptlid);
urlesc(&perma[strlen(perma)], sizeof(perma)-strlen(perma), ChrPtr(WC->CurRoom.name));
snprintf(&perma[strlen(perma)], sizeof(perma)-strlen(perma), "?p=%d", WC->bptlid);
diff --git
a/webcit/calendar_view.c
b/webcit/calendar_view.c
index 89f15392cae8773a9d01cbe6efd99ee9e38630b5..2dc41d99f8611fb3c51e0636dd0850652471af33 100644
(file)
--- a/
webcit/calendar_view.c
+++ b/
webcit/calendar_view.c
@@
-1393,7
+1393,7
@@
int calendar_summary_view(void) {
wc_printf("<a href=\"display_edit_task"
"?msgnum=%ld"
"?return_to_summary=1"
wc_printf("<a href=\"display_edit_task"
"?msgnum=%ld"
"?return_to_summary=1"
- "?go
tofirst
=",
+ "?go=",
Cal->cal_msgnum
);
escputs(ChrPtr(WCC->CurRoom.name));
Cal->cal_msgnum
);
escputs(ChrPtr(WCC->CurRoom.name));
@@
-1406,7
+1406,7
@@
int calendar_summary_view(void) {
"?year=%d"
"?month=%d"
"?day=%d"
"?year=%d"
"?month=%d"
"?day=%d"
- "?go
tofirst
=",
+ "?go=",
Cal->cal_msgnum,
today_tm.tm_year + 1900,
today_tm.tm_mon + 1,
Cal->cal_msgnum,
today_tm.tm_year + 1900,
today_tm.tm_mon + 1,
diff --git
a/webcit/feed_generator.c
b/webcit/feed_generator.c
index 36808397983d8b0b3eb086b0c7e2867c7db8bac7..c2b3e42a0a50c0f19ccbcfa62d260ed4dbf13985 100644
(file)
--- a/
webcit/feed_generator.c
+++ b/
webcit/feed_generator.c
@@
-38,7
+38,7
@@
void feed_rss_one_message(long msgnum) {
if (buf[0] != '1') return;
wc_printf("<item>");
if (buf[0] != '1') return;
wc_printf("<item>");
- wc_printf("<link>%s/readfwd?go
tofirst
=", ChrPtr(site_prefix));
+ wc_printf("<link>%s/readfwd?go=", ChrPtr(site_prefix));
urlescputs(ChrPtr(WC->CurRoom.name));
wc_printf("?start_reading_at=%ld</link>", msgnum);
urlescputs(ChrPtr(WC->CurRoom.name));
wc_printf("?start_reading_at=%ld</link>", msgnum);
@@
-150,7
+150,7
@@
void feed_rss(void) {
escputs(ChrPtr(WC->CurRoom.name));
wc_printf("</title><url>");
urlescputs(ChrPtr(site_prefix));
escputs(ChrPtr(WC->CurRoom.name));
wc_printf("</title><url>");
urlescputs(ChrPtr(site_prefix));
- wc_printf("/image?name=_roompic_?go
tofirst
=");
+ wc_printf("/image?name=_roompic_?go=");
urlescputs(ChrPtr(WC->CurRoom.name));
wc_printf("</url><link>");
urlescputs(ChrPtr(site_prefix));
urlescputs(ChrPtr(WC->CurRoom.name));
wc_printf("</url><link>");
urlescputs(ChrPtr(site_prefix));
@@
-176,7
+176,7
@@
void tmplput_rssmeta(StrBuf *Target, WCTemplputParams *TP)
char feed_link[1024];
char encoded_link[1024];
char feed_link[1024];
char encoded_link[1024];
- strcpy(feed_link, "/feed_rss?go
tofirst
=");
+ strcpy(feed_link, "/feed_rss?go=");
urlesc(&feed_link[20], sizeof(feed_link) - 20, (char *)ChrPtr(WCC->CurRoom.name) );
CtdlEncodeBase64(encoded_link, feed_link, strlen(feed_link), 0);
urlesc(&feed_link[20], sizeof(feed_link) - 20, (char *)ChrPtr(WCC->CurRoom.name) );
CtdlEncodeBase64(encoded_link, feed_link, strlen(feed_link), 0);
@@
-196,7
+196,7
@@
void tmplput_rssbutton(StrBuf *Target, WCTemplputParams *TP)
char feed_link[1024];
char encoded_link[1024];
char feed_link[1024];
char encoded_link[1024];
- strcpy(feed_link, "/feed_rss?go
tofirst
=");
+ strcpy(feed_link, "/feed_rss?go=");
urlesc(&feed_link[20], sizeof(feed_link) - 20, (char *)ChrPtr(WCC->CurRoom.name) );
CtdlEncodeBase64(encoded_link, feed_link, strlen(feed_link), 0);
urlesc(&feed_link[20], sizeof(feed_link) - 20, (char *)ChrPtr(WCC->CurRoom.name) );
CtdlEncodeBase64(encoded_link, feed_link, strlen(feed_link), 0);
diff --git
a/webcit/sitemap.c
b/webcit/sitemap.c
index dd4f570a91dc3509983c873723ddef90dbec206f..6af3b49be2e691271862ed55611ed2ea3610634b 100644
(file)
--- a/
webcit/sitemap.c
+++ b/
webcit/sitemap.c
@@
-43,7
+43,7
@@
void sitemap_do_messages(void) {
Msg = GetMessagePtrAt(i, WCC->summ);
if (Msg != NULL) {
wc_printf("<url><loc>%s/readfwd", ChrPtr(site_prefix));
Msg = GetMessagePtrAt(i, WCC->summ);
if (Msg != NULL) {
wc_printf("<url><loc>%s/readfwd", ChrPtr(site_prefix));
- wc_printf("?go
tofirst
=");
+ wc_printf("?go=");
urlescputs(ChrPtr(WC->CurRoom.name));
wc_printf("?start_reading_at=%ld", Msg->msgnum);
wc_printf("</loc></url>\r\n");
urlescputs(ChrPtr(WC->CurRoom.name));
wc_printf("?start_reading_at=%ld", Msg->msgnum);
wc_printf("</loc></url>\r\n");
diff --git
a/webcit/webcit.c
b/webcit/webcit.c
index 7d77b2f094f46beb1d4f233a5cbef4d688ce9b6e..b26c77a3fa590ade4e346068b96c7a55f731e31b 100644
(file)
--- a/
webcit/webcit.c
+++ b/
webcit/webcit.c
@@
-735,21
+735,21
@@
void session_loop(void)
(WCC->Hdr->HR.eReqType != eHEAD);
/*
(WCC->Hdr->HR.eReqType != eHEAD);
/*
- * If a 'go
tofirst
' parameter has been specified, attempt to goto that room
+ * If a 'go' parameter has been specified, attempt to goto that room
* prior to doing anything else.
*/
* prior to doing anything else.
*/
- if (havebstr("go
tofirst
")) {
+ if (havebstr("go")) {
int ret;
int ret;
- ret = gotoroom(sbstr("go
tofirst"));
/* do quietly to avoid session output! */
+ ret = gotoroom(sbstr("go
"));
/* do quietly to avoid session output! */
if ((ret/100) != 2) {
lprintf(1, "GOTOFIRST: Unable to change to [%s]; Reason: %d\n",
if ((ret/100) != 2) {
lprintf(1, "GOTOFIRST: Unable to change to [%s]; Reason: %d\n",
- bstr("go
tofirst
"), ret);
+ bstr("go"), ret);
}
}
/*
* If we aren't in any room yet, but we have cookie data telling us where we're
}
}
/*
* If we aren't in any room yet, but we have cookie data telling us where we're
- * supposed to be, and 'go
tofirst
' was not specified, then go there.
+ * supposed to be, and 'go' was not specified, then go there.
*/
else if ( (StrLength(WCC->CurRoom.name) == 0) && ( (StrLength(WCC->Hdr->c_roomname) > 0) )) {
int ret;
*/
else if ( (StrLength(WCC->CurRoom.name) == 0) && ( (StrLength(WCC->Hdr->c_roomname) > 0) )) {
int ret;