From: Wilfried Goesgens Date: Tue, 24 Apr 2012 09:50:08 +0000 (+0200) Subject: rename token CURRENT_ROOM to THISROOM; since all other tokens concerning the currentl... X-Git-Tag: v8.11~74 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=88d78e6b2810ad215f87bc0c2f2ac5447f42af05 rename token CURRENT_ROOM to THISROOM; since all other tokens concerning the currently selected room are named THISROOM:** --- diff --git a/webcit/roomtokens.c b/webcit/roomtokens.c index 52d0ad4a7..c2c7d5331 100644 --- a/webcit/roomtokens.c +++ b/webcit/roomtokens.c @@ -612,7 +612,7 @@ InitModule_ROOMTOKENS /**** Room... ******/ /**** Name ******/ RegisterNamespace("ROOMNAME", 0, 1, tmplput_RoomName, NULL, CTX_NONE); - RegisterNamespace("CURRENT_ROOM", 0, 1, tmplput_current_room, NULL, CTX_NONE); + RegisterNamespace("THISROOM", 0, 1, tmplput_current_room, NULL, CTX_NONE); RegisterNamespace("ROOM:INFO:NAME", 0, 1, tmplput_ROOM_NAME, NULL, CTX_ROOMS); RegisterNamespace("ROOM:INFO:PRINT_NAME", 0, 1, tmplput_ROOM_NAME, NULL, CTX_NONE); RegisterNamespace("ROOM:INFO:BASENAME", 0, 1, tmplput_ROOM_BASENAME, NULL, CTX_ROOMS); diff --git a/webcit/static/t/head.html b/webcit/static/t/head.html index a7cf607da..9cc1a4bab 100644 --- a/webcit/static/t/head.html +++ b/webcit/static/t/head.html @@ -2,7 +2,7 @@ "http://www.w3.org/TR/html4/loose.dtd"> - <?CURRENT_ROOM> - <?SERV:HUMANNODE> + <?THISROOM> - <?SERV:HUMANNODE>