}
else {
StrBuf *ReturnTo;
- ReturnTo = NewStrBufPlain(HKEY("display_main_menu?gotofirst="));
+ 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);
if (p == 0) {
/* Show the number of comments */
- wc_printf("<a href=\"readfwd?p=%d?gotofirst=", 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);
char perma[SIZ];
char encoded_perma[SIZ];
- strcpy(perma, "/readfwd?gotofirst=");
+ 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);
wc_printf("<a href=\"display_edit_task"
"?msgnum=%ld"
"?return_to_summary=1"
- "?gotofirst=",
+ "?go=",
Cal->cal_msgnum
);
escputs(ChrPtr(WCC->CurRoom.name));
"?year=%d"
"?month=%d"
"?day=%d"
- "?gotofirst=",
+ "?go=",
Cal->cal_msgnum,
today_tm.tm_year + 1900,
today_tm.tm_mon + 1,
if (buf[0] != '1') return;
wc_printf("<item>");
- wc_printf("<link>%s/readfwd?gotofirst=", 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);
escputs(ChrPtr(WC->CurRoom.name));
wc_printf("</title><url>");
urlescputs(ChrPtr(site_prefix));
- wc_printf("/image?name=_roompic_?gotofirst=");
+ wc_printf("/image?name=_roompic_?go=");
urlescputs(ChrPtr(WC->CurRoom.name));
wc_printf("</url><link>");
urlescputs(ChrPtr(site_prefix));
char feed_link[1024];
char encoded_link[1024];
- strcpy(feed_link, "/feed_rss?gotofirst=");
+ 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);
char feed_link[1024];
char encoded_link[1024];
- strcpy(feed_link, "/feed_rss?gotofirst=");
+ 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);
Msg = GetMessagePtrAt(i, WCC->summ);
if (Msg != NULL) {
wc_printf("<url><loc>%s/readfwd", ChrPtr(site_prefix));
- wc_printf("?gotofirst=");
+ wc_printf("?go=");
urlescputs(ChrPtr(WC->CurRoom.name));
wc_printf("?start_reading_at=%ld", Msg->msgnum);
wc_printf("</loc></url>\r\n");
(WCC->Hdr->HR.eReqType != eHEAD);
/*
- * If a 'gotofirst' 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.
*/
- if (havebstr("gotofirst")) {
+ if (havebstr("go")) {
int ret;
- ret = gotoroom(sbstr("gotofirst")); /* 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",
- bstr("gotofirst"), ret);
+ bstr("go"), ret);
}
}
/*
* If we aren't in any room yet, but we have cookie data telling us where we're
- * supposed to be, and 'gotofirst' 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;