* Double percent (such as width=25%%) is a C format string escape.
Changed those to a single percent (such as width=25%).
* Removed 'px' from table cellpadding and cellspacing attributes.
Evidently this is illegal as it's always to be specified in pixels.
* Appended some </div> tags with comments denoting which div we think
we're closing. There may be a few mismatched ones.
<span class="menudesc">
<?_("(domains for which this host receives mail)")>
</span><br />
-<table border=0 cellspacing="2px" cellpadding="2px" width=94%% class="altern" >
+<table border=0 cellspacing="2" cellpadding="2" width=94% class="altern" >
<?ITERATE("SERVCFG:INET", "section_aide_inetconf_entry", "localhost")>
<form method="post" action="save_inetconf">
<input type="hidden" name="nonce" value='<?NONCE>'>
<span class="menudesc">
<?_("(domains mapped with the Global Address Book)")>
</span><br />
-<table border=0 cellspacing="2px" cellpadding="2px" width=94%% class="altern" >
+<table border=0 cellspacing="2" cellpadding="2" width=94% class="altern" >
<?ITERATE("SERVCFG:INET", "section_aide_inetconf_entry", "directory")>
<form method="post" action="save_inetconf">
<input type="hidden" name="nonce" value='<?NONCE>'>
<span class="menudesc">
<?_("(Domains as which users are allowed to masquerade)")>
</span><br />
-<table border=0 cellspacing="2px" cellpadding="2px" width=94%% class="altern" >
+<table border=0 cellspacing="2" cellpadding="2" width=94% class="altern" >
<?ITERATE("SERVCFG:INET", "section_aide_inetconf_entry", "masqdomain")>
<form method="post" action="save_inetconf">
<input type="hidden" name="nonce" value='<?NONCE>'>
<span class="menudesc">
<?_("(hosts running a Realtime Blackhole List)")>
</span><br />
-<table border=0 cellspacing="2px" cellpadding="2px" width=94%% class="altern" >
+<table border=0 cellspacing="2" cellpadding="2" width=94% class="altern" >
<?ITERATE("SERVCFG:INET", "section_aide_inetconf_entry", "rbl")>
<form method="post" action="save_inetconf">
<input type="hidden" name="nonce" value='<?NONCE>'>
<span class="menudesc">
<?_("(if present, forward all outbound mail to one of these hosts)")>
</span><br />
-<table border=0 cellspacing="2px" cellpadding="2px" width=94%% class="altern" >
+<table border=0 cellspacing="2" cellpadding="2" width=94% class="altern" >
<?ITERATE("SERVCFG:INET", "section_aide_inetconf_entry", "smarthost")>
<form method="post" action="save_inetconf">
<input type="hidden" name="nonce" value='<?NONCE>'>
<span class="menudesc">
<?_("(hosts running the SpamAssassin service)")>
</span><br />
-<table border=0 cellspacing="2px" cellpadding="2px" width=94%% class="altern" >
+<table border=0 cellspacing="2" cellpadding="2" width=94% class="altern" >
<?ITERATE("SERVCFG:INET", "section_aide_inetconf_entry", "spamassassin")>
<form method="post" action="save_inetconf">
<input type="hidden" name="nonce" value='<?NONCE>'>
</div>
<div id="content" class="service">
<div class="fix_scrollbar_bug">
-<table border=0 width=100% cellspacing="10px" cellpadding="10px"> <tr><td valign=top width=50%>
+<table border=0 width=100% cellspacing="10" cellpadding="10"> <tr><td valign=top width=50%>
<?DOBOXED("aide_inet_aliases", "subject_inet_aliases")><br />
<center>
<form method="POST" action="display_edituser">
<input type="hidden" name="nonce" value="<?NONCE>">
- <select name="username" size=10 style="width:100%%">
+ <select name="username" size=10 style="width:100%">
<?ITERATE("USERLIST", "section_userlist_select")>
</select><br />
<div id="content" class="service">
<div class="fix_scrollbar_bug">
<table>
-<tr valign=top><td width=50%% valign="top">
+<tr valign=top><td width=50% valign="top">
<??("COND:AIDE", 3)><?DOBOXED("aide_global_config", "subject_global_config")><??("X", 3)>
-</td><td width=50%% valign="top">
+</td><td width=50% valign="top">
<??("COND:AIDE", 4)><?DOBOXED("aide_usermanagement", "subject_usermanagement")><??("X", 3)>
-</td></tr><tr><td width=50%% valign="top">
+</td></tr><tr><td width=50% valign="top">
<??("COND:AIDE", 4)><?DOBOXED("aide_restart", "subject_aiderestart")><??("X", 3)>
-</td><td width=50%% valign="top">
+</td><td width=50% valign="top">
<?DOBOXED("aide_floorconfig", "subject_floorconfig")>
</td></tr></table></div>
<?=("trailing")>
<?ROOMBANNER>
<div id="content">
<div class="fix_scrollbar_bug">
-<table width="100%%" cellspacing="10px" cellpadding="0">
+<table width="100%" cellspacing="10" cellpadding="0">
<tr><td colspan="2" class="advanced">
<?DOBOXED("menu_basic_commands", "subj_basic_commands")>
</td></tr>
-<tr valign=top><td width=50%%>
+<tr valign=top><td width=50%>
<?DOBOXED("menu_your_info", "subj_your_info")>
-</td><td width=50%%>
+</td><td width=50%>
<?DOBOXED("menu_advanced_roomcommands", "subj_advanced_roomcommands")>
</td></tr>
</table>
<div id="content" class="service">
<div class="fix_scrollbar_bug">
<table>
-<td width=50%% valign="top">
+<td width=50% valign="top">
<?DOBOXED("box_serverrestart", "subject_floorconfig")>
</td></tr></table></div>
<?=("trailing")>
<div id="content" class="service">
<div class="fix_scrollbar_bug">
<table>
-<td width=50%% valign="top">
+<td width=50% valign="top">
<?DOBOXED("box_serverrestartpagedo")>
</td></tr></table></div>
<?=("trailing")>
<!-- start trailing.html -->
+</div> <!-- end of 'global' div -->
<script type="text/javascript">
<?TRAILING_JAVASCRIPT>
Rounded("div.box", "big transparent top bottom");
<!-- start trailing.m.html -->
+</div> <!-- end of 'global' div -->
</body>
</html>
onMouseDown="NotesDragMouseDown(event,'<?VNOTE:UID>')"
style=" background-color: #<?VNOTE:BGCOLOR>"
>
-<table border=0 cellpadding=0 cellspacing=0 valign=middle width=100%%><tr>
+<table border=0 cellpadding=0 cellspacing=0 valign=middle width=100%><tr>
<td align=left valign=middle>
<img onclick="NotesClickPalette(event,'<?VNOTE:UID>')" src="static/8paint16.gif">
</td>
<?!("COND:SUBST", 3, "WHO:ISME")> <a href="edit_me">(<?_("edit")>)</a> <?!("X", 3)>
</td>
<!-- link to page this user -->
-<td width="5%%"><a href="display_page?recp=<?WHO:NAME("X")>">
+<td width="5%"><a href="display_page?recp=<?WHO:NAME("X")>">
<img align="middle" src="static/citadelchat_24x.gif" alt="(p)" border="0" /></a>
</td>
-<!-- idle flag --->
-<td width="5%%">
+<!-- idle flag -->
+<td width="5%">
<?!("COND:SUBST", 4, "WHO:IDLE")> <img align="middle" src="static/inactiveuser_24x.gif" alt="(<?_("idle since")>s <?WHO:IDLESINCE> <?_("Minutes")>)" border="0" /> <?!("X", 4)>
<??("COND:SUBST", 5, "WHO:IDLE")> <img align="middle" src="static/activeuser_24x.gif" alt="(<?_("active")>)" border="0" /> <?!("X", 5)>
</td>
<tr class="<?ITERATE:ODDEVEN>">
<!-- link to page this user -->
-<td width="5%%"><a href="display_page?recp=<?WHO:NAME("X")>">
+<td width="5%"><a href="display_page?recp=<?WHO:NAME("X")>">
<img align="middle" src="static/citadelchat_24x.gif" alt="(p)" border="0" /></a>
</td>
-<!-- idle flag --->
-<td width="5%%">
+<!-- idle flag -->
+<td width="5%">
<?!("COND:SUBST", 4, "WHO:IDLE")> <img align="middle" src="static/inactiveuser_24x.gif" alt="(<?_("idle since")>s <?WHO:IDLESINCE> <?_("Minutes")>)" border="0" /> <?!("X", 4)>
<??("COND:SUBST", 5, "WHO:IDLE")> <img align="middle" src="static/activeuser_24x.gif" alt="(<?_("active")>)" border="0" /> <?!("X", 5)>
</td>
void end_tab(int tabnum, int num_tabs) {
if (tabnum == num_tabs) {
- wprintf("</div>\n");
+ wprintf("</div> <!-- end of 'tabcontent_submit' div -->\n");
wprintf("<!-- end tab-common epilogue -->\n");
}
* wrap up an HTTP session, closes tags, etc.
*
* print_standard_html_footer should be set to:
- * 0 to transmit only,
- * 1 to append the main menu and closing tags,
- * 2 to append the closing tags only.
+ * 0 - to transmit only,
+ * nonzero - to append the closing tags
*/
void wDumpContent(int print_standard_html_footer)
{
if (print_standard_html_footer) {
- wprintf("</div>\n"); /* end of "text" div */
+ wprintf("</div> <!-- end of 'content' div -->\n");
svcallback("TRAILING_JAVASCRIPT", put_trailing_javascript);
do_template("trailing", NULL);
}