MDL-12864 fix bad XHTML for messaging tabs, merged from 19
This commit is contained in:
+3
-3
@@ -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
@@ -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
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user