Petr's patch for MDL-7327 to modify require_capability login a bit
[moodle.git] / message / messages.php
blob30da111088491c67b531b518d150038e718aaf73
1 <?php // $Id$
3 require('../config.php');
5 /// Select encoding
6 $encoding = current_charset();
8 /// Select direction
9 if ( get_string('thisdirection') == 'rtl' ) {
10 $direction = ' dir="rtl"';
11 } else {
12 $direction = ' dir="ltr"';
14 /// Output the header
15 @header('Content-Type: text/html; charset='.$encoding);
17 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
18 <html <?php echo $direction ?>>
19 <head>
20 <meta http-equiv="content-type" content="text/html; charset=<?php echo $encoding ?>" />
21 </head>
22 <body class="message course-1" id="message-messages">