<!DOCTYPE html >\r
-<html>\r
+<html lang="<?php echo $lang; ?>">\r
<head>\r
<title><?php if(x($page,'title')) echo $page['title'] ?></title>\r
<script>var baseurl="<?php echo $a->get_baseurl() ?>";</script>\r
<div class='main-container'>\r
<!-- <div class='main-content-container'>-->\r
<div class='section-wrapper'>\r
- <?php if( ($a->module === 'settings') && x($page,'aside')) echo $page['aside']; ?>\r
- <section><?php if(x($page,'content')) echo $page['content']; ?>\r
+ <?php if( ($a->module === 'settings' || $a->module === 'message' || $a->module === 'profile') && x($page,'aside')) echo $page['aside']; ?>\r
+ <section>\r
+ <?php if(x($page,'content')) echo $page['content']; ?>\r
+ <div id="pause"></div> <!-- The pause/resume Ajax indicator -->\r
<div id="page-footer"></div>\r
</section>\r
</div>\r
<?php if(x($page,'end')) echo $page['end']; ?>\r
</body>\r
</html>\r
-\r