all ImportantMessage deliveries are now done through trailing.html
[citadel.git] / webcit / static / t / trailing.html
index 198dfb3bb131478aa20fadc1b9e748f01b6556e6..c18a0d6e9d093f7345843967736d0376153cd3c0 100644 (file)
@@ -1,7 +1,19 @@
 <!-- start trailing.html -->
-               <noscript><div id="noscript_warning">
-                       <?_("WARNING: You have JavaScript disabled in your web browser.  Many functions of this system will not work properly.")>
-               </div></noscript>
-               <script type="text/javascript"><?TRAILING_JAVASCRIPT></script>
-       </body>
+<?!("COND:IMPMSG", 1)>
+<div id="important_message">
+<span class="imsg">
+<?IMPORTANTMESSAGE>
+</span><br>
+</div>
+<script type="text/javascript">
+  alert('you have an important message');
+  setTimeout('hide_imsg_popup()', 5000);
+</script>
+<?!("X", 1)>
+
+<noscript><div id="noscript_warning">
+       <?_("WARNING: You have JavaScript disabled in your web browser.  Many functions of this system will not work properly.")>
+       </div></noscript>
+       <script type="text/javascript"><?TRAILING_JAVASCRIPT></script>
+</body>
 </html>