Move the rest of the templates into 't' as with dothebart's previous commit.
authorMatt <matt@uncensored.citadel.org>
Thu, 14 Aug 2008 10:59:11 +0000 (10:59 +0000)
committerMatt <matt@uncensored.citadel.org>
Thu, 14 Aug 2008 10:59:11 +0000 (10:59 +0000)
If any should still be in static/ (i.e like nocookies) just move them back.

18 files changed:
webcit/static/empty.html [deleted file]
webcit/static/instant_messenger.html [deleted file]
webcit/static/login.html [deleted file]
webcit/static/login.m.html [deleted file]
webcit/static/menubar.html [deleted file]
webcit/static/richedit.html [deleted file]
webcit/static/richedit.m.html [deleted file]
webcit/static/t/empty.html [new file with mode: 0644]
webcit/static/t/instant_messenger.html [new file with mode: 0644]
webcit/static/t/login.html [new file with mode: 0644]
webcit/static/t/login.m.html [new file with mode: 0644]
webcit/static/t/menubar.html [new file with mode: 0644]
webcit/static/t/richedit.html [new file with mode: 0644]
webcit/static/t/richedit.m.html [new file with mode: 0644]
webcit/static/t/trailing.html [new file with mode: 0644]
webcit/static/t/trailing.m.html [new file with mode: 0644]
webcit/static/trailing.html [deleted file]
webcit/static/trailing.m.html [deleted file]

diff --git a/webcit/static/empty.html b/webcit/static/empty.html
deleted file mode 100644 (file)
index 5dfd325..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<html>
-<head>
-       <title>Empty Page</title>
-</head>
-<body>
-</body>
-</html>
diff --git a/webcit/static/instant_messenger.html b/webcit/static/instant_messenger.html
deleted file mode 100644 (file)
index 0ecdcc7..0000000
+++ /dev/null
@@ -1,209 +0,0 @@
-<html>
-<head>
-       <title>Citadel Instant Messenger</title>
-       <script type="text/javascript" src="prototype.js"></script>
-       <script type="text/javascript" src="wclib.js"></script>
-</head>
-<body onLoad='FetchNewMsgs();'>
-
-<div id="thetop" style="position:fixed;width:100%;height:15%;top:0%;left:0%">
-<div id="spacer1" style="background:#aaaaaa"><br></div>
-<div id="tab_bar" style="background:#aaaaaa">&nbsp;&nbsp;</div>
-<div id="spacer2" style="background:#aaaaaa"><br></div>
-</div>
-
-<div id="main" style="position:fixed;width:100%;height:85%;top:15%;left:0%;overflow:auto;background:#ffffff"></div>
-
-<script type="text/javascript">
-
-var gexp_divs = new Array();
-var num_gexp_divs = 0;
-var shown_div = '';
-var my_name = '';
-
-function SendSomething(which_div, sendform, recipient) {
-       thetext = document.forms[sendform].elements['sendthis'].value;
-
-       // If the user didn't type anything, don't do anything.
-       if (thetext == '') {
-               return false;
-       }
-
-       // Clear the box
-       document.forms[sendform].elements['sendthis'].value = '';
-
-       // Write it to the tab
-       $(which_div).innerHTML = $(which_div).innerHTML
-                               + '<b>'
-                               + '<font color=\"#FF0000\">'
-                               + my_name
-                               + '</font>'
-                               + ':</b> '
-                               + thetext
-                               + '<br />\n';
-
-       // Scroll to the bottom of the tab
-       $('main').scrollTop = 999999;
-
-       // Send the text to the server
-       parms = 'r=' + Math.random()
-               + '&g_cmd=SEXP ' + recipient + '|-\n' + escape(thetext);
-       new Ajax.Request('../ajax_servcmd',
-               {
-                       method: 'post',
-                       parameters: parms
-               }
-       );
-
-       // Refocus to the text box
-       document.forms[sendform].elements['sendthis'].focus();
-
-       // Don't submit the form
-       return false;
-}
-
-function TabSelect(which_div) {
-       if (shown_div != '') {
-               $(shown_div).style.display = 'none' ;
-               if ($('select_'+shown_div)) {
-                       $('select_'+shown_div).style.fontWeight = 'normal';
-                       $('select_'+shown_div).style.backgroundColor = '#cccccc';
-               }
-       }
-       shown_div = 'tab_' + which_div;
-       $(shown_div).style.display = 'block' ;
-       if ($('select_'+shown_div)) {
-               $('select_'+shown_div).style.fontWeight='bold';
-               $('select_'+shown_div).style.backgroundColor = '#ffffff';
-       }
-}
-
-
-function ShowNewMsg(gexp_xmlresponse) {
-
-       // It isn't really XML.  It's a Citadel server response.
-       gexp_response = gexp_xmlresponse.responseText;
-
-       if (gexp_response.substring(0, 1) != '1') {
-               return;
-       }
-
-       // Extract fields...
-       breakpos = gexp_response.indexOf('\n');
-       result = gexp_response.substring(0, breakpos-1);
-       the_message = gexp_response.substring(breakpos+1);
-       the_message = the_message.substring(0, the_message.indexOf('\n000'));
-       sender = extract_token(result.substring(4), 3, '|');
-
-       // Figure out which div to write it to...
-       which_div = '';
-       if (num_gexp_divs > 0) {
-               for (i=0; i<num_gexp_divs; ++i) {
-                       if (gexp_divs[i] == sender) {
-                               which_div = 'gexp' + i ;
-                       }
-               }
-       }
-
-       // Not found?  Create it.
-       if (which_div == '') {
-               gexp_divs[num_gexp_divs] = sender;
-               which_div = 'gexp' + num_gexp_divs;
-               ++num_gexp_divs;
-               $('main').innerHTML =
-                         $('main').innerHTML
-                       + '<div id=\"tab_' + which_div + '\" style=\"display:none;cursor:pointer\">'
-                       + '<div id=\"' + which_div + '\">'
-                       + '<br /><br /><br /><br /><br /><br /><br /><br /><br /><br />'
-                       + '<br /><br /><br /><br /><br /><br /><br /><br /><br /><br />'
-                       + '</div>'
-                       + '<div align=\"center\" id=\"response_'
-                       + which_div + '\" style=\"background:#ddddee\">'
-                       + '<br><form method=\"post\" action=\"null\" name=\"sendform_' + which_div + '\" '
-                       + 'onSubmit=\"return SendSomething(\'' + which_div + '\', \'sendform_'
-                       + which_div + '\', \'' + sender + '\');\">'
-                       + '<img src=\"citadelchat_16x.gif\">&nbsp;'
-                       + '<input type=\"text\" size=\"72\" maxlength=\"600\" name=\"sendthis\">'
-                       + '</form>'
-                       + '<br></div>'
-                       + '</div>\n';
-               $('tab_bar').innerHTML =
-                         $('tab_bar').innerHTML
-                       + '<span id=\"select_tab_' + which_div + '\" onClick=\"TabSelect(\'' + which_div + '\');\">'
-                       + '&nbsp;' + sender + '&nbsp;'
-                       + '</span>&nbsp;&nbsp;&nbsp;';
-
-               // Raise the window in case it was buried
-               window.focus();
-       }
-
-       // Switch tabs
-       TabSelect(which_div);
-
-       // Write it to the tab
-       $(which_div).innerHTML = $(which_div).innerHTML
-                               + '<b>'
-                               + '<font color=\"#0000FF\">'
-                               + sender
-                               + '</font>'
-                               + ':</b> '
-                               + the_message
-                               + '<br />\n';
-
-       // Scroll to the bottom of the tab
-       $('main').scrollTop = 999999;
-
-       // Refocus to the send box
-       document.forms['sendform_'+which_div].elements['sendthis'].focus();
-
-       // Keep trying for new messages until the server tells us to stop.
-       FetchNewMsgs();
-}
-
-// This is called periodically to check for new incoming messages
-function FetchNewMsgs() {
-       parms = 'g_cmd=GEXP&r=' + Math.random();
-       new Ajax.Request('../ajax_servcmd',
-               {
-                       method: 'get',
-                       parameters: parms,
-                       onSuccess: ShowNewMsg
-               }
-       );
-}
-
-// Perform some initialization.
-parms = 'g_cmd=GREG _SELF_&r=' + Math.random();
-new Ajax.Request('../ajax_servcmd',
-       {
-               method: 'get',
-               parameters: parms,
-               onSuccess: GrabMyName
-       }
-);
-
-// Learn my name.
-function GrabMyName(greg_xmlresponse) {
-
-       // It isn't really XML.  It's a Citadel server response.
-       greg_response = greg_xmlresponse.responseText;
-
-       if (greg_response.substring(0, 1) != '1') {
-               return;
-       }
-
-       // Extract fields...
-       breakpos = greg_response.indexOf('\n');
-       result = greg_response.substring(0, breakpos);
-       my_name = result.substring(4);
-}
-
-
-// Cause FetchNewMsgs() to be called periodically.
-new PeriodicalExecuter(FetchNewMsgs, 10);
-
-</script>
-
-
-</body>
-</html>
diff --git a/webcit/static/login.html b/webcit/static/login.html
deleted file mode 100644 (file)
index 2307562..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-<?=beginbox>
-<?HELLO>
-<div class="login_message"><?MESG></div>
-<form action="login" method="POST"  class="box" id="login_form">
-        <label for="uname"><?USERNAME_BOX></label>
-        <input type="text" name="name" id="uname" > <br>
-        <label for="pname"><?PASSWORD_BOX></label>
-        <input type="password" name="pass" id="pname" > <br>
-        <label for="lname"><?LANGUAGE_BOX></label>
-        <?DO_LANGUAGE_BOX> <br>
-        <div class="logbuttons">
-        <input type="submit" name="login_action" value="<?LOGIN_BUTTON>" class="logbutton">
-        <?NEWUSER_BUTTON_PRE>
-        <input type="submit" name="newuser_action" value="<?NEWUSER_BUTTON>" class="logbutton" >
-        <?NEWUSER_BUTTON_POST>
-        <input type="submit" name="exit_action" value="<?EXIT_BUTTON>"  class="logbutton">
-        <br>
-        </div>
-</form>
-<?OFFER_OPENID_LOGIN>
-<div class="login_image"><img src="image&name=hello"></div>
-<div class="login_infos"><?LOGIN_INSTRUCTIONS></div>
-<?=endbox>
diff --git a/webcit/static/login.m.html b/webcit/static/login.m.html
deleted file mode 100644 (file)
index e05027b..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-<?HELLO>
-<div class="login_message"><?MESG></div>
-<form action="login" method="POST"  class="box" id="login_form">
-        <label for="uname"><?USERNAME_BOX></label>
-        <input type="text" name="name" id="uname" >
-        <label for="pname"><?PASSWORD_BOX></label>
-        <input type="password" name="pass" id="pname" > 
-        <label for="lname"><?LANGUAGE_BOX></label>
-        <div><?DO_LANGUAGE_BOX></div>
-        <div class="logbuttons">
-        <input type="submit" name="login_action" value="<?LOGIN_BUTTON>" class="logbutton">
-        <?NEWUSER_BUTTON_PRE>
-        <input type="submit" name="newuser_action" value="<?NEWUSER_BUTTON>" class="logbutton" >
-        <?NEWUSER_BUTTON_POST>
-        <input type="submit" name="exit_action" value="<?EXIT_BUTTON>"  class="logbutton">
-        <br>
-        </div>
-</form>
-<?OFFER_OPENID_LOGIN>
-<div class="login_image"><img src="image&name=hello"></div>
-<div class="login_infos"><?LOGIN_INSTRUCTIONS></div>
-
diff --git a/webcit/static/menubar.html b/webcit/static/menubar.html
deleted file mode 100644 (file)
index 2846422..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-<! begin menubar.html>
-<script type="text/javascript">
-<!--hide
-       function OpenWholist() {
-               window.open('who', 'who', 'toolbar=no,location=no,directories=no,copyhistory=no,status=yes,scrollbars=yes,resizable=yes,height=200,width=600');
-       }
-//-->
-</script>
-
-<center>
-<img src="image&name=hello"><br /><br />
-
-<table border="0" cellspacing="0" cellpadding="2">
-<tr>
-       <td class="menubar_bg">
-               <span class="menubar_link">
-               <a href="knrooms"><font color="#FFFFFF">List known rooms</span></a>
-               </span>
-       </td>
-</tr><tr>
-       <td bgcolor="#3333CC">
-               <span class="menubar_link">
-               <a href="gotonext"><font coloR="#FFFFFF">Goto next room</span></a>
-               </span>
-       </td>
-</tr><tr>
-       <td bgcolor="#3333CC">
-               <span class="menubar_link">
-               <a href="skip"><font color="#FFFFFF">Skip this room</span></a>
-               </span>
-       </td>
-</tr><tr>
-       <td bgcolor="#3333CC">
-               <span class="menubar_link">
-               <a href="ungoto"><font color="#FFFFFF">Ungoto</span></a>
-       </td>
-</tr><tr>
-       <td bgcolor="#003399">
-               <span class="menubar_link">
-               <a href="readnew"><font color="#FFFFFF">Read&nbsp;new&nbsp;messages</span></a>
-               </span>
-       </td>
-</tr><tr>
-       <td bgcolor="#003399">
-               <span class="menubar_link">
-               <a href="readfwd"><font color="#FFFFFF">Read&nbsp;all&nbsp;messages</span></a>
-               </span>
-       </td>
-</tr><tr>
-       <td bgcolor="#003399">
-               <span class="menubar_link">
-               <a href="display_enter"><font color="#FFFFFF">Enter&nbsp;a&nbsp;message</span></a>
-               </span>
-       </td>
-</tr><tr>
-       <td bgcolor="#663399">
-               <span class="menubar_link">
-               <a href="javascript:OpenWholist()">
-               <font color="#FFFFFF">Who&nbsp;is&nbsp;online?</span>
-               </a>
-               </span>
-       </td>
-</tr><tr>
-       <td bgcolor="#663399">
-               <span class="menubar_link">
-               <a href="display_page"><font color="#FFFFFF">Page&nbsp;another&nbsp;user</span></a>
-               </span>
-       </td>
-</tr><tr>
-       <td bgcolor="#663399">
-               <span class="menubar_link">
-               <a href="advanced"><font color="#FFFFFF">Advanced&nbsp;options</span></a>
-               </span>
-       </td>
-</tr><tr>
-       <td bgcolor="#CC0000">
-               <span class="menubar_link">
-               <a href="termquit" target="_top" onClick="return confirm('Do you really want to log off?');"><font color="#FFFFFF">Log&nbsp;off</span></a><br />
-       </td>
-</tr>
-</table>
-
-<br /><br />
-
-<a href="http://www.citadel.org"
-       onMouseOver="window.status='Find out more about Citadel'; return true;"><font 
-size=-1 color="#000000">
-POWERED BY<br /></font>
-<img src="static/citadel-logo.gif" width=75 height=76 border=0 ALT="CITADEL"></a>
-
-</center>
-<! end menubar.html>
diff --git a/webcit/static/richedit.html b/webcit/static/richedit.html
deleted file mode 100644 (file)
index b09bc62..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<script language="javascript" type="text/javascript" src="tiny_mce/tiny_mce.js"></script>
-<script language="javascript" type="text/javascript">
-tinyMCE.init({
-       mode : "textareas",
-       width : "99%",
-       browsers : "msie,gecko,safari,opera",
-       theme : "advanced",
-       plugins : "iespell",
-       theme_advanced_buttons1 : "bold, italic, underline, strikethrough, justifyleft, justifycenter, justifyright, justifyfull, bullist, numlist, cut, copy, paste, link, image, help, forecolor, iespell, code",
-       theme_advanced_buttons2 : "",
-       theme_advanced_buttons3 : "",
-       content_css : "static/webcit-tinymce.css"
-});
-</script>
diff --git a/webcit/static/richedit.m.html b/webcit/static/richedit.m.html
deleted file mode 100644 (file)
index 8b13789..0000000
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/webcit/static/t/empty.html b/webcit/static/t/empty.html
new file mode 100644 (file)
index 0000000..5dfd325
--- /dev/null
@@ -0,0 +1,7 @@
+<html>
+<head>
+       <title>Empty Page</title>
+</head>
+<body>
+</body>
+</html>
diff --git a/webcit/static/t/instant_messenger.html b/webcit/static/t/instant_messenger.html
new file mode 100644 (file)
index 0000000..0ecdcc7
--- /dev/null
@@ -0,0 +1,209 @@
+<html>
+<head>
+       <title>Citadel Instant Messenger</title>
+       <script type="text/javascript" src="prototype.js"></script>
+       <script type="text/javascript" src="wclib.js"></script>
+</head>
+<body onLoad='FetchNewMsgs();'>
+
+<div id="thetop" style="position:fixed;width:100%;height:15%;top:0%;left:0%">
+<div id="spacer1" style="background:#aaaaaa"><br></div>
+<div id="tab_bar" style="background:#aaaaaa">&nbsp;&nbsp;</div>
+<div id="spacer2" style="background:#aaaaaa"><br></div>
+</div>
+
+<div id="main" style="position:fixed;width:100%;height:85%;top:15%;left:0%;overflow:auto;background:#ffffff"></div>
+
+<script type="text/javascript">
+
+var gexp_divs = new Array();
+var num_gexp_divs = 0;
+var shown_div = '';
+var my_name = '';
+
+function SendSomething(which_div, sendform, recipient) {
+       thetext = document.forms[sendform].elements['sendthis'].value;
+
+       // If the user didn't type anything, don't do anything.
+       if (thetext == '') {
+               return false;
+       }
+
+       // Clear the box
+       document.forms[sendform].elements['sendthis'].value = '';
+
+       // Write it to the tab
+       $(which_div).innerHTML = $(which_div).innerHTML
+                               + '<b>'
+                               + '<font color=\"#FF0000\">'
+                               + my_name
+                               + '</font>'
+                               + ':</b> '
+                               + thetext
+                               + '<br />\n';
+
+       // Scroll to the bottom of the tab
+       $('main').scrollTop = 999999;
+
+       // Send the text to the server
+       parms = 'r=' + Math.random()
+               + '&g_cmd=SEXP ' + recipient + '|-\n' + escape(thetext);
+       new Ajax.Request('../ajax_servcmd',
+               {
+                       method: 'post',
+                       parameters: parms
+               }
+       );
+
+       // Refocus to the text box
+       document.forms[sendform].elements['sendthis'].focus();
+
+       // Don't submit the form
+       return false;
+}
+
+function TabSelect(which_div) {
+       if (shown_div != '') {
+               $(shown_div).style.display = 'none' ;
+               if ($('select_'+shown_div)) {
+                       $('select_'+shown_div).style.fontWeight = 'normal';
+                       $('select_'+shown_div).style.backgroundColor = '#cccccc';
+               }
+       }
+       shown_div = 'tab_' + which_div;
+       $(shown_div).style.display = 'block' ;
+       if ($('select_'+shown_div)) {
+               $('select_'+shown_div).style.fontWeight='bold';
+               $('select_'+shown_div).style.backgroundColor = '#ffffff';
+       }
+}
+
+
+function ShowNewMsg(gexp_xmlresponse) {
+
+       // It isn't really XML.  It's a Citadel server response.
+       gexp_response = gexp_xmlresponse.responseText;
+
+       if (gexp_response.substring(0, 1) != '1') {
+               return;
+       }
+
+       // Extract fields...
+       breakpos = gexp_response.indexOf('\n');
+       result = gexp_response.substring(0, breakpos-1);
+       the_message = gexp_response.substring(breakpos+1);
+       the_message = the_message.substring(0, the_message.indexOf('\n000'));
+       sender = extract_token(result.substring(4), 3, '|');
+
+       // Figure out which div to write it to...
+       which_div = '';
+       if (num_gexp_divs > 0) {
+               for (i=0; i<num_gexp_divs; ++i) {
+                       if (gexp_divs[i] == sender) {
+                               which_div = 'gexp' + i ;
+                       }
+               }
+       }
+
+       // Not found?  Create it.
+       if (which_div == '') {
+               gexp_divs[num_gexp_divs] = sender;
+               which_div = 'gexp' + num_gexp_divs;
+               ++num_gexp_divs;
+               $('main').innerHTML =
+                         $('main').innerHTML
+                       + '<div id=\"tab_' + which_div + '\" style=\"display:none;cursor:pointer\">'
+                       + '<div id=\"' + which_div + '\">'
+                       + '<br /><br /><br /><br /><br /><br /><br /><br /><br /><br />'
+                       + '<br /><br /><br /><br /><br /><br /><br /><br /><br /><br />'
+                       + '</div>'
+                       + '<div align=\"center\" id=\"response_'
+                       + which_div + '\" style=\"background:#ddddee\">'
+                       + '<br><form method=\"post\" action=\"null\" name=\"sendform_' + which_div + '\" '
+                       + 'onSubmit=\"return SendSomething(\'' + which_div + '\', \'sendform_'
+                       + which_div + '\', \'' + sender + '\');\">'
+                       + '<img src=\"citadelchat_16x.gif\">&nbsp;'
+                       + '<input type=\"text\" size=\"72\" maxlength=\"600\" name=\"sendthis\">'
+                       + '</form>'
+                       + '<br></div>'
+                       + '</div>\n';
+               $('tab_bar').innerHTML =
+                         $('tab_bar').innerHTML
+                       + '<span id=\"select_tab_' + which_div + '\" onClick=\"TabSelect(\'' + which_div + '\');\">'
+                       + '&nbsp;' + sender + '&nbsp;'
+                       + '</span>&nbsp;&nbsp;&nbsp;';
+
+               // Raise the window in case it was buried
+               window.focus();
+       }
+
+       // Switch tabs
+       TabSelect(which_div);
+
+       // Write it to the tab
+       $(which_div).innerHTML = $(which_div).innerHTML
+                               + '<b>'
+                               + '<font color=\"#0000FF\">'
+                               + sender
+                               + '</font>'
+                               + ':</b> '
+                               + the_message
+                               + '<br />\n';
+
+       // Scroll to the bottom of the tab
+       $('main').scrollTop = 999999;
+
+       // Refocus to the send box
+       document.forms['sendform_'+which_div].elements['sendthis'].focus();
+
+       // Keep trying for new messages until the server tells us to stop.
+       FetchNewMsgs();
+}
+
+// This is called periodically to check for new incoming messages
+function FetchNewMsgs() {
+       parms = 'g_cmd=GEXP&r=' + Math.random();
+       new Ajax.Request('../ajax_servcmd',
+               {
+                       method: 'get',
+                       parameters: parms,
+                       onSuccess: ShowNewMsg
+               }
+       );
+}
+
+// Perform some initialization.
+parms = 'g_cmd=GREG _SELF_&r=' + Math.random();
+new Ajax.Request('../ajax_servcmd',
+       {
+               method: 'get',
+               parameters: parms,
+               onSuccess: GrabMyName
+       }
+);
+
+// Learn my name.
+function GrabMyName(greg_xmlresponse) {
+
+       // It isn't really XML.  It's a Citadel server response.
+       greg_response = greg_xmlresponse.responseText;
+
+       if (greg_response.substring(0, 1) != '1') {
+               return;
+       }
+
+       // Extract fields...
+       breakpos = greg_response.indexOf('\n');
+       result = greg_response.substring(0, breakpos);
+       my_name = result.substring(4);
+}
+
+
+// Cause FetchNewMsgs() to be called periodically.
+new PeriodicalExecuter(FetchNewMsgs, 10);
+
+</script>
+
+
+</body>
+</html>
diff --git a/webcit/static/t/login.html b/webcit/static/t/login.html
new file mode 100644 (file)
index 0000000..2307562
--- /dev/null
@@ -0,0 +1,23 @@
+<?=beginbox>
+<?HELLO>
+<div class="login_message"><?MESG></div>
+<form action="login" method="POST"  class="box" id="login_form">
+        <label for="uname"><?USERNAME_BOX></label>
+        <input type="text" name="name" id="uname" > <br>
+        <label for="pname"><?PASSWORD_BOX></label>
+        <input type="password" name="pass" id="pname" > <br>
+        <label for="lname"><?LANGUAGE_BOX></label>
+        <?DO_LANGUAGE_BOX> <br>
+        <div class="logbuttons">
+        <input type="submit" name="login_action" value="<?LOGIN_BUTTON>" class="logbutton">
+        <?NEWUSER_BUTTON_PRE>
+        <input type="submit" name="newuser_action" value="<?NEWUSER_BUTTON>" class="logbutton" >
+        <?NEWUSER_BUTTON_POST>
+        <input type="submit" name="exit_action" value="<?EXIT_BUTTON>"  class="logbutton">
+        <br>
+        </div>
+</form>
+<?OFFER_OPENID_LOGIN>
+<div class="login_image"><img src="image&name=hello"></div>
+<div class="login_infos"><?LOGIN_INSTRUCTIONS></div>
+<?=endbox>
diff --git a/webcit/static/t/login.m.html b/webcit/static/t/login.m.html
new file mode 100644 (file)
index 0000000..e05027b
--- /dev/null
@@ -0,0 +1,22 @@
+<?HELLO>
+<div class="login_message"><?MESG></div>
+<form action="login" method="POST"  class="box" id="login_form">
+        <label for="uname"><?USERNAME_BOX></label>
+        <input type="text" name="name" id="uname" >
+        <label for="pname"><?PASSWORD_BOX></label>
+        <input type="password" name="pass" id="pname" > 
+        <label for="lname"><?LANGUAGE_BOX></label>
+        <div><?DO_LANGUAGE_BOX></div>
+        <div class="logbuttons">
+        <input type="submit" name="login_action" value="<?LOGIN_BUTTON>" class="logbutton">
+        <?NEWUSER_BUTTON_PRE>
+        <input type="submit" name="newuser_action" value="<?NEWUSER_BUTTON>" class="logbutton" >
+        <?NEWUSER_BUTTON_POST>
+        <input type="submit" name="exit_action" value="<?EXIT_BUTTON>"  class="logbutton">
+        <br>
+        </div>
+</form>
+<?OFFER_OPENID_LOGIN>
+<div class="login_image"><img src="image&name=hello"></div>
+<div class="login_infos"><?LOGIN_INSTRUCTIONS></div>
+
diff --git a/webcit/static/t/menubar.html b/webcit/static/t/menubar.html
new file mode 100644 (file)
index 0000000..2846422
--- /dev/null
@@ -0,0 +1,92 @@
+<! begin menubar.html>
+<script type="text/javascript">
+<!--hide
+       function OpenWholist() {
+               window.open('who', 'who', 'toolbar=no,location=no,directories=no,copyhistory=no,status=yes,scrollbars=yes,resizable=yes,height=200,width=600');
+       }
+//-->
+</script>
+
+<center>
+<img src="image&name=hello"><br /><br />
+
+<table border="0" cellspacing="0" cellpadding="2">
+<tr>
+       <td class="menubar_bg">
+               <span class="menubar_link">
+               <a href="knrooms"><font color="#FFFFFF">List known rooms</span></a>
+               </span>
+       </td>
+</tr><tr>
+       <td bgcolor="#3333CC">
+               <span class="menubar_link">
+               <a href="gotonext"><font coloR="#FFFFFF">Goto next room</span></a>
+               </span>
+       </td>
+</tr><tr>
+       <td bgcolor="#3333CC">
+               <span class="menubar_link">
+               <a href="skip"><font color="#FFFFFF">Skip this room</span></a>
+               </span>
+       </td>
+</tr><tr>
+       <td bgcolor="#3333CC">
+               <span class="menubar_link">
+               <a href="ungoto"><font color="#FFFFFF">Ungoto</span></a>
+       </td>
+</tr><tr>
+       <td bgcolor="#003399">
+               <span class="menubar_link">
+               <a href="readnew"><font color="#FFFFFF">Read&nbsp;new&nbsp;messages</span></a>
+               </span>
+       </td>
+</tr><tr>
+       <td bgcolor="#003399">
+               <span class="menubar_link">
+               <a href="readfwd"><font color="#FFFFFF">Read&nbsp;all&nbsp;messages</span></a>
+               </span>
+       </td>
+</tr><tr>
+       <td bgcolor="#003399">
+               <span class="menubar_link">
+               <a href="display_enter"><font color="#FFFFFF">Enter&nbsp;a&nbsp;message</span></a>
+               </span>
+       </td>
+</tr><tr>
+       <td bgcolor="#663399">
+               <span class="menubar_link">
+               <a href="javascript:OpenWholist()">
+               <font color="#FFFFFF">Who&nbsp;is&nbsp;online?</span>
+               </a>
+               </span>
+       </td>
+</tr><tr>
+       <td bgcolor="#663399">
+               <span class="menubar_link">
+               <a href="display_page"><font color="#FFFFFF">Page&nbsp;another&nbsp;user</span></a>
+               </span>
+       </td>
+</tr><tr>
+       <td bgcolor="#663399">
+               <span class="menubar_link">
+               <a href="advanced"><font color="#FFFFFF">Advanced&nbsp;options</span></a>
+               </span>
+       </td>
+</tr><tr>
+       <td bgcolor="#CC0000">
+               <span class="menubar_link">
+               <a href="termquit" target="_top" onClick="return confirm('Do you really want to log off?');"><font color="#FFFFFF">Log&nbsp;off</span></a><br />
+       </td>
+</tr>
+</table>
+
+<br /><br />
+
+<a href="http://www.citadel.org"
+       onMouseOver="window.status='Find out more about Citadel'; return true;"><font 
+size=-1 color="#000000">
+POWERED BY<br /></font>
+<img src="static/citadel-logo.gif" width=75 height=76 border=0 ALT="CITADEL"></a>
+
+</center>
+<! end menubar.html>
diff --git a/webcit/static/t/richedit.html b/webcit/static/t/richedit.html
new file mode 100644 (file)
index 0000000..b09bc62
--- /dev/null
@@ -0,0 +1,14 @@
+<script language="javascript" type="text/javascript" src="tiny_mce/tiny_mce.js"></script>
+<script language="javascript" type="text/javascript">
+tinyMCE.init({
+       mode : "textareas",
+       width : "99%",
+       browsers : "msie,gecko,safari,opera",
+       theme : "advanced",
+       plugins : "iespell",
+       theme_advanced_buttons1 : "bold, italic, underline, strikethrough, justifyleft, justifycenter, justifyright, justifyfull, bullist, numlist, cut, copy, paste, link, image, help, forecolor, iespell, code",
+       theme_advanced_buttons2 : "",
+       theme_advanced_buttons3 : "",
+       content_css : "static/webcit-tinymce.css"
+});
+</script>
diff --git a/webcit/static/t/richedit.m.html b/webcit/static/t/richedit.m.html
new file mode 100644 (file)
index 0000000..8b13789
--- /dev/null
@@ -0,0 +1 @@
+
diff --git a/webcit/static/t/trailing.html b/webcit/static/t/trailing.html
new file mode 100644 (file)
index 0000000..c23c16a
--- /dev/null
@@ -0,0 +1,11 @@
+<!-- start trailing.html -->
+<script type="text/javascript">
+ Rounded("div.box", "big transparent top bottom");
+ Rounded("form.box", "big transparent top bottom");
+ Rounded("div.boxlabel", "big transparent top");
+ Rounded("li.tablabel", "small transparent top");
+ Rounded("div.tabcontent", "big transparent bottom");
+ Rounded("div.tabcontent_submit", "big transparent bottom");
+</script>
+</body>
+</html>
diff --git a/webcit/static/t/trailing.m.html b/webcit/static/t/trailing.m.html
new file mode 100644 (file)
index 0000000..84e807f
--- /dev/null
@@ -0,0 +1,3 @@
+<!-- start trailing.m.html -->
+</body>
+</html>
diff --git a/webcit/static/trailing.html b/webcit/static/trailing.html
deleted file mode 100644 (file)
index c23c16a..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<!-- start trailing.html -->
-<script type="text/javascript">
- Rounded("div.box", "big transparent top bottom");
- Rounded("form.box", "big transparent top bottom");
- Rounded("div.boxlabel", "big transparent top");
- Rounded("li.tablabel", "small transparent top");
- Rounded("div.tabcontent", "big transparent bottom");
- Rounded("div.tabcontent_submit", "big transparent bottom");
-</script>
-</body>
-</html>
diff --git a/webcit/static/trailing.m.html b/webcit/static/trailing.m.html
deleted file mode 100644 (file)
index 84e807f..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<!-- start trailing.m.html -->
-</body>
-</html>