diff options
Diffstat (limited to 'views/default/page/default.php')
-rw-r--r-- | views/default/page/default.php | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/views/default/page/default.php b/views/default/page/default.php index 4ff2215da..567494d0c 100644 --- a/views/default/page/default.php +++ b/views/default/page/default.php @@ -9,8 +9,6 @@ * @uses $vars['title'] The page title * @uses $vars['body'] The main content of the page * @uses $vars['sysmessages'] A 2d array of various message registers, passed from system_messages() - * - * @override views/default/page/default.php */ // backward compatability support for plugins that are not using the new approach @@ -38,8 +36,8 @@ header("Content-type: text/html; charset=UTF-8"); $lang = get_current_language(); ?> -<!DOCTYPE html> -<html lang="<?php echo $lang; ?>"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $lang; ?>" lang="<?php echo $lang; ?>"> <head> <?php echo elgg_view('page/elements/head', $vars); ?> </head> @@ -50,29 +48,29 @@ $lang = get_current_language(); </div> <?php if (elgg_is_logged_in()){ ?> - <header class="elgg-page-topbar"> + <div class="elgg-page-topbar"> <div class="elgg-inner"> <?php echo $topbar; ?> </div> - </header> + </div> <?php } ?> - - <header class="elgg-page-header"> + + <div class="elgg-page-header"> <div class="elgg-inner"> <?php echo $header; ?> </div> - </header> + </div> <div class="elgg-page-body"> <div class="elgg-inner"> <?php echo $body; ?> </div> </div> - <footer class="elgg-page-footer"> + <div class="elgg-page-footer"> <div class="elgg-inner"> <?php echo $footer; ?> </div> - </footer> + </div> </div> <?php echo elgg_view('page/elements/foot'); ?> </body> -</html> +</html>
\ No newline at end of file |