scoreyness

This commit is contained in:
Shish
2009-01-20 03:17:49 -08:00
parent 776a42d519
commit 6e6a6bdd16
5 changed files with 17 additions and 9 deletions

View File

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