MDL-12864 fix bad XHTML for messaging tabs, merged from 19

This commit is contained in:
jerome
2008-05-02 05:15:26 +00:00
parent 957f6fc9d2
commit 04b687e824
4 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -57,7 +57,7 @@
print_header(get_string('messages', 'message').' - '.format_string($SITE->fullname));
}
echo '<table cellspacing="2" cellpadding="2" border="0" align="center" width="95%">';
echo '<table cellspacing="2" cellpadding="2" border="0" width="95%" class="boxaligncenter">';
echo '<tr>';
/// Print out the tabs
@@ -70,8 +70,8 @@
$tabrow[] = new tabobject('settings', $CFG->wwwroot.'/message/index.php?tab=settings',
get_string('settings', 'message'));
$tabrows = array($tabrow);
print_tabs($tabrows, $tab);
print_tabs($tabrows, $tab);
echo '</td>';
+2 -2
View File
@@ -102,7 +102,7 @@ function message_print_contacts() {
echo '</div>';
}
echo '<table id="message_contacts" align="center" cellspacing="2" cellpadding="0" border="0">';
echo '<table id="message_contacts" class="boxaligncenter" cellspacing="2" cellpadding="0" border="0">';
if($countonlinecontacts) {
/// print out list of online contacts
@@ -160,7 +160,7 @@ function message_print_contacts() {
document.write("'.$autorefresh.'")
//]]>
</script>';
echo '<noscript><div align="center">';
echo '<noscript><div class="button aligncenter">';
echo print_single_button('index.php', false, get_string('refresh'));
echo '</div></noscript>';
}
+2 -2
View File
@@ -1,8 +1,8 @@
<form id="personsearch" action="index.php" method="post">
<input type="hidden" name="tab" value="search" />
<div><input type="hidden" name="tab" value="search" /></div>
<table cellpadding="5" align="center" class="message_form">
<table cellpadding="5" class="message_form boxaligncenter">
<tr>
+2 -2
View File
@@ -1,8 +1,8 @@
<form id="message_settings" action="index.php" method="post">
<input type="hidden" name="tab" value="settings" />
<div><input type="hidden" name="tab" value="settings" /></div>
<table cellpadding="5" align="center" class="message_form">
<table cellpadding="5" class="message_form boxaligncenter">
<tr valign="top">
<td align="right"><input type="checkbox" name="showmessagewindow" id="showmessagewindow" <?php echo $cbshowmessagewindow ?> /></td>