Added readinfo and viewomatic templates. viewomatic needs some love from the C side
authorich <the_mgt@uncensored.citadel.org>
Thu, 5 Aug 2010 21:40:09 +0000 (21:40 +0000)
committerich <the_mgt@uncensored.citadel.org>
Thu, 5 Aug 2010 21:40:09 +0000 (21:40 +0000)
webcit/static/t/readinfo.html [new file with mode: 0644]
webcit/static/t/viewomatic.html [new file with mode: 0644]

diff --git a/webcit/static/t/readinfo.html b/webcit/static/t/readinfo.html
new file mode 100644 (file)
index 0000000..476586d
--- /dev/null
@@ -0,0 +1,7 @@
+<div class="infos" onclick="javascript:Effect.Appear('room_infos', { duration: 0.5 });">
+       <?THISROOM:INFOTEXT(0, "X")>
+</div>
+<div id="room_infos" style="display:none;">
+       <img class="close_infos" onclick="javascript:Effect.Fade('room_infos', { duration: 0.5 });" src="static/closewindow.gif" alt="<?_("Close window")>"  width="16" height="16" />
+       <?THISROOM:INFOTEXT(128, "X")>
+</div>
diff --git a/webcit/static/t/viewomatic.html b/webcit/static/t/viewomatic.html
new file mode 100644 (file)
index 0000000..5d0521a
--- /dev/null
@@ -0,0 +1,10 @@
+<form name="viewomatic" action="changeview">
+       <div style="display: inline;">
+               <input type="hidden" name="nonce" value="<?NONCE>">
+                       <label for="view_name"><?_("View as:")></label>
+                       <select name="newview" size="1" id="view_name" class="selectbox" OnChange="location.href=viewomatic.newview.options[selectedIndex].value">
+                               <?ITERATE("ITERATE:THISROOM:HAS_VIEW", ="viewomatic_options", 0, 0, -1, #"something meaningful goes here")>                     
+                       </select>
+       </div>
+</form>
+