<?=("head")>
-<?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
+<?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
<div id="banner">
<h1><?_("Network configuration")></h1>
</div>
<?=("head")>
-<?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
+<?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
<div id="banner">
<h1>
<??("COND:AIDE", 1)><?_("System Administration Menu")><??("X", 1)>
<?=("head")>
-<?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
+<?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
<div id="banner">
<h1>
<??("COND:AIDE", 1)><?_("System Administration Menu")><??("X", 1)>
</head>
<body>
<div id="global">
- <?=("important_msg")>
+
<div id="content" class="service">
<table><td width=50% valign="top"><tr>
<?DOBOXED(="aide_serverrestart_box", _("Restart Citadel"))>
<?=("head")>
-<?=("important_msg")>
+
<div id="resatrt_page">
<?DOBOXED("box_serverrestartpage", _("Message to your Users:"))>
</div>
</head>
<body>
<div id="global">
- <?=("important_msg")>
+
<div id="content" class="service">
<table><td width=50% valign="top"><tr>
<?DOBOXED("box_serverrestartpagedo")>
-<?=("head")><?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
+<?=("head")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
<div id="banner">
<h1><?_("Site configuration")></h1>
</div>
<?=("head")>
-<?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
+<?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
<div id="banner">
<h1><?_("Edit user account: ")><?USERLIST:USERNAME("X")></h1>
</div>
<?=("head")>
-<?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
+<?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
<div id="banner">
<img src="static/webcit_icons/essen/32x32/account.png">
<h1><??("COND:AIDE", 1)><?_("Edit or delete users")><??("X", 1)></h1>
<?=("head")>
-<?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
+<?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
<div id="banner">
<h1>
<?_("Add a new node")>
<?=("head")>
-<?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
+<?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
<div id="banner">
<h1>
<?_("Confirm delete")> <?BSTR("node")>
<?=("head")>
-<?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
+<?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
<div id="banner">
<h1>
<?_("Add a new node")>
<?=("head")>
-<?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
+<?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
<?ROOMBANNER>
<div id="content">
<table width="100%" cellspacing="10" cellpadding="0">
<?=("head")>
-<?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
+<?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
<?ROOMBANNER>
<div id="content">
<?=("head")>
-<?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
+<?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
<div id="banner">
<h1><?_("Files available for download in")> <?ROOMNAME></h1>
<?!("COND:THISROOM:FLAG:QR", 2, #"QR_UPLOAD")>
<??("COND:BSTR", 1, "frame")>
<?=("head")>
-<?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
+<?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
<div id="banner"><h1><?_("Pictures in")> <?ROOM:NAME></h1></div>
<div id="content" class="service">
<th></th>
</table>
<?=("trailing")>
-<??("X", 1)>
\ No newline at end of file
+<??("X", 1)>
-<?=("head")><?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
+<?=("head")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
<div id="banner">
<h1><?_("Add/change/delete floors")></h1>
<?=("head")>
-<?=("important_msg")>
+
<div id="banner">
<h1><?_("Customize the icon bar")></h1>
</div>
<?=("head")>
-<?=("important_msg")>
+
<div id="banner">
<h1><?_("Customize the icon bar")></h1>
</div>
+++ /dev/null
-<?!("COND:IMPMSG", 1)>
-<div id="important_message">
-<span class="imsg">
-<?IMPORTANTMESSAGE>
-</span><br>
-</div>
-<script type="text/javascript">
- setTimeout('hide_imsg_popup()', 5000);
-</script>
-<?!("X", 1)>
<?=("head")>
-<?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
+<?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
<div id="banner">
<h1><?_("Preferences and settings")></h1>
</div>
<?=("display_main_menu")>
<?!("X", 10)>
<??("COND:MAY_CREATE_ROOM", 11)>
-<?=("head")><?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
+<?=("head")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
<div id="banner">
<?=("roombanner")>
</div>
-<?=("head")><?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
+<?=("head")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
<div id="banner">
<?=("roombanner")>
</div>
-<?=("head")><?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
+<?=("head")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
<?ROOMBANNER>
<div id="content" class="service">
<table border="0" cellspacing="0" cellpadding="0" ><tr><td>
-<?=("head")><?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
+<?=("head")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
<div id="banner">
<h1><?_("Zap (forget/unsubscribe) the current room")></h1>
</div>
-<?=("head")><?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
+<?=("head")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
<div id="banner">
<?=("roombanner")>
</div>
-<?=("head")><?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
+<?=("head")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
<div id="banner">
<img src="static/webcit_icons/essen/32x32/config.png">
-<?=("head")><?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
+<?=("head")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
<?--("iterate over an empty template, so we have the states already loaded for below")><?ITERATE("SIEVE:SCRIPTS", ="sieve_empty")>
<script type="text/javascript">
<?=("head")>
-<?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
+<?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
<div id="banner">
<img src="static/advanpage2_48x.gif">
<h1>
<!-- 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>
<?=("head")>
-<?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
+<?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
<script type="text/javascript">
function ConfirmKill() {
<?=("head")>
-<?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
+<?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
<div id="banner">
<h1><img src="static/webcit_icons/essen/32x32/account.png" alt=""> <?_("User profile")></h1>
<div id="actiondiv">
if (do_htmlhead) {
begin_burst();
do_template("head");
-
- /* check for ImportantMessages (these display in a div overlaying the main screen) */
- if (StrLength(WCC->ImportantMsg) > 0) {
- wc_printf("<div id=\"important_message\">\n"
- "<span class=\"imsg\">");
- StrEscAppend(WCC->WBuf, WCC->ImportantMsg, NULL, 0, 0);
- wc_printf("</span><br>\n"
- "</div>\n"
- );
- StrBufAppendBufPlain(WCC->trailing_javascript,
- HKEY("setTimeout('hide_imsg_popup()', 5000); \n"),
- 0
- );
- FlushStrBuf(WCC->ImportantMsg);
- }
if ( (WCC->logged_in) && (!unset_cookies) ) {
DoTemplate(HKEY("paging"), NULL, &NoCtx);
}
-
if (do_room_banner == 1) {
tmplput_roombanner(NULL, NULL);
}