output_headers(1, 1, 1, 0, 0, 0);
- do_template("beginbox_1");
+ do_template("box_begin_1");
StrBufAppendBufPlain(WC->WBuf, _("Validate new users"), -1, 0);
- do_template("beginbox_2");
+ do_template("box_begin_2");
/* If the user just submitted a validation, process it... */
safestrncpy(buf, bstr("user"), sizeof buf);
wc_printf("</div>\n");
wc_printf("</td></tr></table>\n");
- do_template("endbox");
+ do_template("box_end");
wDumpContent(1);
}
memset(&SubTP, 0, sizeof(WCTemplputParams));
SubTP.Filter.ContextType = CTX_STRBUF;
SubTP.Context = Buf;
- DoTemplate(HKEY("beginbox"), NULL, &SubTP);
+ DoTemplate(HKEY("box_begin"), NULL, &SubTP);
FreeStrBuf(&Buf);
wc_printf("</div>\n");
wc_printf("</form>\n");
- do_template("endbox");
+ do_template("box_end");
wDumpContent(1);
}
/* If this was a save or delete, go back to the calendar or summary view. */
if (!havebstr("check_button")) {
if (!strcasecmp(bstr("calview"), "summary")) {
- summary();
+ do_template("summary_page");
}
else {
readloop(readfwd, eUseDefault);
memset(&SubTP, 0, sizeof(WCTemplputParams));
SubTP.Filter.ContextType = CTX_STRBUF;
SubTP.Context = Buf;
- DoTemplate(HKEY("beginbox"), NULL, &SubTP);
+ DoTemplate(HKEY("box_begin"), NULL, &SubTP);
FreeStrBuf(&Buf);
wc_printf("</div>\n");
wc_printf("</form>\n");
- do_template("endbox");
+ do_template("box_end");
wDumpContent(1);
}
wc_printf("<div align=center>");
wc_printf("<table border=0 width=75%%><tr><td>");
- do_template("beginbox_1");
+ do_template("box_begin_1");
StrBufAppendBufPlain(WC->WBuf, _("List subscribe/unsubscribe"), -1, 0);
- do_template("beginbox_2");
+ do_template("box_begin_2");
wc_printf("<div align=center><br>");
/*
}
wc_printf("</div>");
- do_template("endbox");
+ do_template("box_end");
wc_printf("</td></tr></table></div>");
wc_printf("</BODY></HTML>\n");
output_headers(1, 1, 1, 0, 0, 0);
- do_template("beginbox_1");
+ do_template("box_begin_1");
StrBufAppendBufPlain(WCC->WBuf, _("Manage Account/OpenID Associations"), -1, 0);
- do_template("beginbox_2");
+ do_template("box_begin_2");
if (WCC->serv_info->serv_supports_openid) {
wc_printf(_("%s does not permit authentication via OpenID."), ChrPtr(WCC->serv_info->serv_humannode));
}
- do_template("endbox");
+ do_template("box_end");
wDumpContent(2);
}
wc_printf("<table border=0 cellspacing=10><tr valign=top><td>\n");
- do_template("beginbox_1");
+ do_template("box_begin_1");
StrBufAppendBufPlain(WC->WBuf, _("Add a new script"), -1, 0);
- do_template("beginbox_2");
+ do_template("box_begin_2");
wc_printf(_("To create a new script, enter the desired "
"script name in the box below and click 'Create'."));
"<input type=\"submit\" name=\"create_button\" value=\"%s\">"
"</form></center>\n", _("Create"));
- do_template("endbox");
+ do_template("box_end");
- do_template("beginbox_1");
+ do_template("box_begin_1");
StrBufAppendBufPlain(WC->WBuf, _("Edit scripts"), -1, 0);
- do_template("beginbox_2");
+ do_template("box_begin_2");
wc_printf("<br><div align=center><a href=\"display_sieve\">%s</a><br><br>\n",
_("Return to the script editing screen")
);
- do_template("endbox");
+ do_template("box_end");
wc_printf("</td><td>");
- do_template("beginbox_1");
+ do_template("box_begin_1");
StrBufAppendBufPlain(WC->WBuf, _("Delete scripts"), -1, 0);
- do_template("beginbox_2");
+ do_template("box_begin_2");
wc_printf(_("To delete an existing script, select the script "
"name from the list and click 'Delete'."));
wc_printf("<input type=\"submit\" name=\"delete_button\" value=\"%s\" "
"onClick=\"return confirm('%s');\">", _("Delete script"), _("Delete this script?"));
wc_printf("</form></center>\n");
- do_template("endbox");
+ do_template("box_end");
wc_printf("</td></tr></table>\n");
<?=("head")>
-<?=("beginbox_1")><?_("Server command results")><?=("beginbox_2")>
+<?=("box_begin_1")><?_("Server command results")><?=("box_begin_2")>
</td><td valign=top>
<a href="do_template?template=aide_display_generic_cmd"><?_("Enter another command")></a><br>
<a href="display_advanced"><?_("Return to menu")></a>
-<?=("endbox")><br>
+<?=("box_end")><br>
<?=("trailing")>
+++ /dev/null
-<!-- start beginbox.html-->
-<div class="box">
-<div class="boxlabel"><?CONTEXTSTR("X")></div>
-<div class="boxcontent">
-<!-- end beginbox.html-->
+++ /dev/null
-<div class="box">
-<div class="boxlabel">
+++ /dev/null
-</div>
-<div class="boxcontent">
+++ /dev/null
-<! start beginbox_nt.html>
-<table border=1 cellspacing=0 cellpadding=0 width=100%><tr><td>
-<table border=0 cellspacing=0 cellpadding=3 width=100%>
-<tr><td bgcolor="#FFFFFF">
-<! end beginbox_nt.html>
--- /dev/null
+<!-- start box_begin.html-->
+<div class="box">
+<div class="boxlabel"><?CONTEXTSTR("X")></div>
+<div class="boxcontent">
+<!-- end box_begin.html-->
--- /dev/null
+<div class="box">
+<div class="boxlabel">
--- /dev/null
+</div>
+<div class="boxcontent">
--- /dev/null
+<! start beginbox_nt.html>
+<table border=1 cellspacing=0 cellpadding=0 width=100%><tr><td>
+<table border=0 cellspacing=0 cellpadding=3 width=100%>
+<tr><td bgcolor="#FFFFFF">
+<! end beginbox_nt.html>
--- /dev/null
+</div></div>
+++ /dev/null
-</div></div>
<?!("COND:ITERATE:FIRSTN", 1)>
- <tr><td valign=top><?=("beginbox_1")>
- <?ROOM:INFO:FLOOR:NAME><?=("beginbox_2")>
+ <tr><td valign=top><?=("box_begin_1")>
+ <?ROOM:INFO:FLOOR:NAME><?=("box_begin_2")>
<?!("X", 1)>
<?!("COND:ITERATE:ISGROUPCHANGE", 2)>
- <?=("endbox")><br>
+ <?=("box_end")><br>
<?!("COND:ITERATE:ISGROUPCHANGE", 3, 2)>
</td><td valign=top>
<?!("X", 3)>
- <?=("beginbox_1")>
- <?ROOM:INFO:FLOOR:NAME><?=("beginbox_2")>
+ <?=("box_begin_1")>
+ <?ROOM:INFO:FLOOR:NAME><?=("box_begin_2")>
<?!("X", 2)>
<a href="dotgoto?room=<?ROOM:INFO:NAME("U")>"><span class="<?%("COND:ROOM:FLAG:UA", 4, #"UA_HASNEWMSGS", 0, "roomlist_new", "roomlist_old")>">
<?ROOM:INFO:LEVELNTIMES(" ")><?ROOM:INFO:BASENAME("X")></span></a>
<?%("COND:ROOM:INFO:IS_INBOX", 5, 0, 0, _"(INBOX)", "")><br>
<?!("COND:ITERATE:LASTN", 2)>
- <?=("endbox")></td></tr>
+ <?=("box_end")></td></tr>
<??("X", 2)>
</div>
<div id="content" class="service">
<br>
-<?=("beginbox_1")><?_("Create a new room")><?=("beginbox_2")>
+<?=("box_begin_1")><?_("Create a new room")><?=("box_begin_2")>
<form name="create_room_form" method="POST" action="entroom">
<input type="hidden" name="nonce" value="<?NONCE>">
</form><hr />
<?SERV:MESG("roomaccess")>
-<?=("endbox")>
+<?=("box_end")>
</div>
<?=("trailing")>
</div>
<div id="content" class="service">
-<?=("beginbox_1")><?_("Go to a hidden room")><?=("beginbox_2")>
+<?=("box_begin_1")><?_("Go to a hidden room")><?=("box_begin_2")>
<p><?_("If you know the name of a hidden (guess-name) or passworded room, you can enter that room by typing its name below. Once you gain access to a private room, it will appear in your regular room listings so you don‘t have to keep returning here.")></p>
<form method="post" action="goto_private">
<input type="hidden" name="nonce" value="<?NONCE>">
<input type="submit" name="cancel_button" value="<?_("Cancel")>">
</div></form>
-<?=("endbox")>
+<?=("box_end")>
</div>
<?=("trailing")>
</div>
<div id="content" class="service">
-<?=("beginbox_1")><?_("Zapped (forgotten) rooms")><?=("beginbox_2")>
+<?=("box_begin_1")><?_("Zapped (forgotten) rooms")><?=("box_begin_2")>
<?ITERATE("LZRM", ="room_zap_entry")>
<br><br>
<?_("Click on any room to un-zap it and goto that room.")>
-<?=("endbox")>
+<?=("box_end")>
</div>
<?=("trailing")>
<?SIEVE:MESSAGE>
<table border=0 cellspacing=10><tr valign=top><td>
- <?=("beginbox_1")><?_("Add a new script")><?=("beginbox_2")>
+ <?=("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'.")>
<br><br>
<center><form method="POST" action="create_script">
<?_("Script name: ")>
<input type="text" name="script_name"><br>
<input type="submit" name="create_button" value='<?_("Create")>'></form></center>
- <?=("endbox")>
- <?=("beginbox_1")><?_("Edit scripts")><?=("beginbox_2")>
+ <?=("box_end")>
+ <?=("box_begin_1")><?_("Edit scripts")><?=("box_begin_2")>
<br><div align="center">
<a href="display_sieve"><?_("Return to the script editing screen")></a><br><br>
- <?=("endbox")>
+ <?=("box_end")>
</td><td>
- <?=("beginbox_1")><?_("Delete scripts")><?=("beginbox_2")>
+ <?=("box_begin_1")><?_("Delete scripts")><?=("box_begin_2")>
<?_("To delete an existing script, select the script name from the list and click 'Delete'.")>
<br><br>
<center><form method="POST" action="delete_script">
<select name="script_name" size=10 style="width:100%%">
<?ITERATE("SIEVE:SCRIPTS", ="sieve_script_select")>
</select>
- <?=("endbox")>
+ <?=("box_end")>
memcpy (&SubTP, TP, sizeof(WCTemplputParams));
SubTP.Context = Headline;
SubTP.Filter.ContextType = CTX_STRBUF;
- DoTemplate(HKEY("beginbox"), Target, &SubTP);
+ DoTemplate(HKEY("box_begin"), Target, &SubTP);
DoTemplate(TKEY(0), Target, TP);
- DoTemplate(HKEY("endbox"), Target, TP);
+ DoTemplate(HKEY("box_end"), Target, TP);
FreeStrBuf(&Headline);
}
output_headers(1, 1, 0, 0, 0, 0);
}
- do_template("beginbox_1");
+ do_template("box_begin_1");
StrBufAppendPrintf (WC->WBuf, _("Edit %s"), description);
- do_template("beginbox_2");
+ do_template("box_begin_2");
wc_printf(_("Enter %s below. Text is formatted to the reader's browser."
" A newline is forced by preceding the next line by a blank."), description);
wc_printf("<input type=\"submit\" name=\"cancel_button\" value=\"%s\"><br>\n", _("Cancel"));
wc_printf("</div></form>\n");
- do_template("endbox");
+ do_template("box_end");
wDumpContent(1);
}
/* Display the form */
output_headers(1, 1, 1, 0, 0, 0);
- do_template("beginbox_1");
+ do_template("box_begin_1");
StrBufAppendBufPlain(WC->WBuf, _("Edit contact information"), -1, 0);
- do_template("beginbox_2");
+ do_template("box_begin_2");
wc_printf("<form method=\"POST\" action=\"submit_vcard\">\n");
wc_printf("<input type=\"hidden\" name=\"nonce\" value=\"%d\">\n", WC->nonce);
);
wc_printf("</td></tr></table>\n");
- do_template("endbox");
+ do_template("box_end");
wDumpContent(1);
if (Msg != NULL) {
DestroyMessageSummary(Msg);