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
$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>';
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
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>';
}
<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>
<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>