Commit 5c3027cc authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Changed some stuff to use sitename rather than Mahara

parent 4b0efae1
......@@ -90,12 +90,7 @@ function contactus_submit($values) {
}
$to = new StdClass;
if (!$sitename = @get_config('sitename')) {
$to->firstname = 'mahara';
}
else {
$to->firstname = $sitename;
}
$to->firstname = get_config('sitename');
$to->lastname = 'contact email';
$to->email = $contactemail;
......
......@@ -109,6 +109,9 @@ function &smarty($javascript = array(), $headers = array(), $strings = array())
$smarty->assign('THEMEURL', get_config('themeurl'));
$smarty->assign('WWWROOT', get_config('wwwroot'));
$sitename = get_config('sitename');
$smarty->assign('title', $sitename);
$smarty->assign('heading', $sitename);
if (defined('PUBLIC')) {
$smarty->assign('PUBLIC', true);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment