Fix messages of unfound tokens
authorWilfried Goesgens <dothebart@citadel.org>
Wed, 18 Jul 2012 15:31:01 +0000 (17:31 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Thu, 19 Jul 2012 10:48:12 +0000 (12:48 +0200)
  - remove old rss templates
  - fix token names.

13 files changed:
webcit/static/t/dav/propfind_groupdav_roomlist_oneroom.xml
webcit/static/t/edit_message.html
webcit/static/t/files.html
webcit/static/t/files/graphicsupload.html
webcit/static/t/files/picview.js
webcit/static/t/navbar.html
webcit/static/t/room/view_picture.html
webcit/static/t/room/zap_this.html
webcit/static/t/rss_head.html [deleted file]
webcit/static/t/rss_item.html [deleted file]
webcit/static/t/rss_item_end.html [deleted file]
webcit/static/t/sieve/add.html
webcit/static/t/view_blog/comment_box.html

index a5311a879a7e3aba8d62d71344c0e45280bdbce7..82bbae51124202df85a46ef7b1a37987766c436c 100644 (file)
@@ -1,9 +1,9 @@
-<??("COND:ROOM:GROUPDAV_CONTENT", 1)><??("COND:ROOM:REST:ISSUBROOM", 2)><response>
-<href><?DAV:HOSTNAME>/groupdav/<?ROOM:INFO:FLOOR:NAME("X")>/<?ROOM:INFO:NAME("X")>/</href>
+<??("COND:ROOM:DAV_CONTENT", 1)><??("COND:ROOM:REST:ISSUBROOM", 2)><response>
+<href><?DAV:HOSTNAME>/groupdav/<?ROOM:INFO:FLOOR:NAME("X")>/<?THISROOM:NAME("X")>/</href>
 <propstat>
 <status>HTTP/1.1 200 OK</status>
 <prop>
-<displayname><?ROOM:INFO:PRINT_NAME></displayname>
+<displayname><?THISROOM:NAME></displayname>
 <resourcetype><collection/><G:vtodo<?ROOM:INFO:COLLECTIONTYPE>-collection /></resourcetype>
 <getlastmodified><?ROOM:INFO:LASTCHANGE></getlastmodified>
 </prop>
index c5cfbda9162df212981922a06e1289b710966a31..116d1c3768f77402efb4b9647a73e3f354583c06 100644 (file)
@@ -14,7 +14,7 @@
 <input type="hidden" name="postseq" value="<?DATE:NOW:NO>">
 <input type="hidden" name="return_to" value="<?BSTR("return_to")>">
 <input type="hidden" name="nonce" value="<?NONCE>">
-<input type="hidden" name="force_room" value="<?ROOMNAME("X")>">
+<input type="hidden" name="force_room" value="<?THISROOM:NAME("X")>">
 <input type="hidden" name="references" value="<?BSTR("references")>">
 <input type="hidden" name="page" value="<?BSTR("page")>">
 <input type="hidden" name="submit_action" value="">
@@ -44,7 +44,7 @@
 </select>
 <?!("X", 4)>
 
- <i><?_("in")></i> <?ROOMNAME></td></tr>
+ <i><?_("in")></i> <?THISROOM:NAME></td></tr>
 
 <?!("COND:BSTR", 5, "__RCPTREQUIRED")>
 <tr>
index 2999d64e9bf138923bd104ccb54a0c173ae3a280..7037edc54520f5ca9e1b655ed379803e2aab8acf 100644 (file)
@@ -1,7 +1,7 @@
 <?=("head")>
 <?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
 <div id="banner">
-       <h1><?_("Files available for download in")>&nbsp;<?ROOMNAME></h1>
+       <h1><?_("Files available for download in")>&nbsp;<?THISROOM:NAME></h1>
        <?!("COND:THISROOM:FLAG:QR", 2, #"QR_UPLOAD")>
                <br>
                <form enctype="multipart/form-data" method="POST" accept-charset="UTF-8" action="upload_file" name="upload_file_form">
index 8caaef57644f0fd4548261461d4016e594ffb3f5..2e02e81e71b109df4a223ce74a2a9f3c134ee2f0 100644 (file)
@@ -3,7 +3,7 @@
 <form enctype="multipart/form-data" action='<?BSTR("__UPLURL")>' method="post" name="graphicsupload">
 
 <input type="hidden" name="nonce" value="<?NONCE>">
-<input type="hidden" name="which_room" value="<?ROOMNAME("U")>"><?_("You can upload an image directly from your computer")>
+<input type="hidden" name="which_room" value="<?THISROOM:NAME("U")>"><?_("You can upload an image directly from your computer")>
 <br><br>
 <?_("Please select a file to upload:")>
 <input type="file" name="filename" size="35">
index da5242aa1cb58e60f6d046c0a79697add10badfc..05d524f6f801c28f11c4c7078b61865c4c67d85c 100644 (file)
@@ -2,7 +2,7 @@
 <?=("head")>
 <?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
 
-<div id="banner"><h1><?_("Pictures in")> <?ROOM:NAME></h1></div>
+<div id="banner"><h1><?_("Pictures in")> <?THISROOM:NAME></h1></div>
 <div id="content" class="service">
        <table class="downloads_background">
        <tr><td>
index ca672c98d9f8732e58ad76ed6dfc807130389ef8..05e3e3b35d180db5eff904aef8e71468297096f4 100644 (file)
 <?!("COND:THISROOM:CURR_VIEW", 80, #"VIEW_WIKI")>
         <??("COND:WIKI:PAGE", 81, "home")>
        <li class="readallmess">
-               <a href="wiki?page=home?go=<?ROOM:INFO:PRINT_NAME("U")>">
+               <a href="wiki?page=home?go=<?THISROOM:NAME("U")>">
                        <img src="static/webcit_icons/essen/16x16/readallmsg.png" alt="" width="16" height="16">
                        <span class="navbar_link"><?_("Wiki home")></span>
                </a>
index 42ce877fca74c960b6744a2cc4fafb97c5e6988c..319e21c4ed5900bd8e0d5d24f1e3a2280015417e 100644 (file)
@@ -1,5 +1,5 @@
 <?!("COND:THISROOM:HAVE_PIC", 1)>
-<img height="64px" alt="<?_("Room Logo")>" src="image?name=_roompic_?room=<?ROOMNAME("U")>">
+<img height="64px" alt="<?_("Room Logo")>" src="image?name=_roompic_?room=<?THISROOM:NAME("U")>">
 <?!("X", 1)><??("COND:THISROOM:HAVE_PIC", 2)>
        <?!("COND:ROOM:TYPE_IS", 3, #"VIEW_ADDRESSBOOK")>
                <img class="roompic" alt="" src="static/webcit_icons/essen/32x32/contact.png">
index d74dada01b76b7e3e564345757d50eae5ce72b64..c35bd658f976b12a47d47f0d2da2354d6ed8630e 100644 (file)
@@ -4,7 +4,7 @@
 </div>
 <div id="content" class="service">
 <?_("If you select this option,")>
-<em><?ROOM:INFO:PRINT_NAME("X")></em>
+<em><?THISROOM:NAME("X")></em>
 <?_("will disappear from your room list.  Is this what you wish to do?")>
 <br>
 
@@ -13,4 +13,4 @@
 <input type="submit" NAME="ok_button" VALUE="<?_("Zap this room")>">&nbsp;
 <input type="submit" NAME="cancel_button" VALUE="<?_("Cancel")>">
 </form>
-<?=("trailing")>
\ No newline at end of file
+<?=("trailing")>
diff --git a/webcit/static/t/rss_head.html b/webcit/static/t/rss_head.html
deleted file mode 100644 (file)
index 2707d5b..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<?XML_HEAD>
-<?XML_STYLE>
-<rss version="2.0">
-       <channel>
-               <title><?ROOM> - <?NODE></title>
-               <link><?ROOM_LINK></link>
-               <description><?ROOM_DESCRIPTION></description>
-               <pubDate><?822_PUB_DATE></pubDate>
-               <generator><?GENERATOR></generator>
-               <docs>http://blogs.law.harvard.edu/tech/rss</docs>
-               <ttl>30</ttl>
-   
-
diff --git a/webcit/static/t/rss_item.html b/webcit/static/t/rss_item.html
deleted file mode 100644 (file)
index 8214554..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<item>
-<title><?SUBJ> <?IN_ROOM> <?NODE></title>
-<pubDate><?822_PUB_DATE></pubDate>
-<guid isPermaLink="false"><?GUID></guid>
-<description><![CDATA[
-
diff --git a/webcit/static/t/rss_item_end.html b/webcit/static/t/rss_item_end.html
deleted file mode 100644 (file)
index aad5a48..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-]]></description>
-</item>
index 3da5fa245c60b78ee21854cca954cb2dbedcce1d..5d724eeb9a8754d73f98653fad59b9ff545e47e6 100644 (file)
@@ -3,8 +3,6 @@
        <h1><?_("Add or delete scripts")></h1>
 </div>
 <div id="content" class="service">
-       <?SIEVE:MESSAGE>
-
        <table border=0 cellspacing=10><tr valign=top><td>
                <?=("box_begin_1")><?_("Add a new script")><?=("box_begin_2")>
                        <?_("To create a new script, enter the desired script name in the box below and click 'Create'.")>
index b5fd223fe72f864b0adae25fa8cd38dc5d7d2ece..6b8292c49e9295073aab7a1d059ec68f1345e1d1 100644 (file)
@@ -10,7 +10,7 @@ function submit_comment() {
  method="POST" action="post" onSubmit="submit_comment();">
 <input type="hidden" name="postseq" value="<?DATE:NOW:NO>">
 <input type="hidden" name="nonce" value="<?NONCE>">
-<input type="hidden" name="force_room" value="<?ROOMNAME("X")>">
+<input type="hidden" name="force_room" value="<?THISROOM:NAME("X")>">
 <input type="hidden" name="references" id="comment_form_references" /><br>
 <textarea name="msgtext" id="comment_form_msgtext" cols=80 rows=10 style="width:98%"
        <?!("COND:LOGGEDIN",1)>