Use $this->error for only error report
[moodle-linuxchix.git] / message / messages.php
blob9c824e86666c68d70adc66dcb14e21e9095cd6ad
1 <?php // $Id$
3 require('../config.php');
5 /// Select direction
6 if ( get_string('thisdirection') == 'rtl' ) {
7 $direction = ' dir="rtl"';
8 } else {
9 $direction = ' dir="ltr"';
11 /// Output the header
12 @header('Content-Type: text/html; charset=utf-8');
14 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
15 <html xmlns="http://www.w3.org/1999/xhtml" <?php echo $direction ?>>
16 <head>
17 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
18 </head>
19 <body class="message course-1" id="message-messages">