requestcontext stuff is messy, go back to globals :(

This commit is contained in:
Shish
2009-05-11 07:04:33 -07:00
parent e592ee4c59
commit bb84a735a2
57 changed files with 407 additions and 477 deletions

View File

@@ -1,9 +1,8 @@
<?php
class Layout {
function display_page($context) {
$page = $context->page;
$config = $context->config;
function display_page($page) {
global $config;
$theme_name = $config->get_string('theme', 'default');
$data_href = get_base_href();