From 88d78e6b2810ad215f87bc0c2f2ac5447f42af05 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Tue, 24 Apr 2012 11:50:08 +0200 Subject: [PATCH] rename token CURRENT_ROOM to THISROOM; since all other tokens concerning the currently selected room are named THISROOM:** --- webcit/roomtokens.c | 2 +- webcit/static/t/head.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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> -- 2.30.2