Commit 779060b6 authored by Richard Mansfield's avatar Richard Mansfield

Raw theme: settings pages

parent f795d462
......@@ -178,6 +178,6 @@ $smarty->assign('markdel', 'markread(document.notificationlist, \'del\'); return
$smarty->assign('typechange', 'activitylist.type = this.options[this.selectedIndex].value; activitylist.doupdate();');
$smarty->assign('types', $types);
$smarty->assign('INLINEJAVASCRIPT', $javascript);
$smarty->assign('heading', get_string('notifications'));
$smarty->assign('PAGEHEADING', hsc(get_string('notifications')));
$smarty->display('account/activity/index.tpl');
?>
......@@ -98,7 +98,7 @@ $prefsform = pieform(array(
$smarty = smarty();
$smarty->assign('prefsdescr', get_string('prefsdescr', 'activity'));
$smarty->assign('form', $prefsform);
$smarty->assign('heading', get_string('activityprefs'));
$smarty->assign('PAGEHEADING', hsc(get_string('activityprefs')));
$smarty->display('account/activity/preferences/index.tpl');
function activityprefs_submit(Pieform $form, $values) {
......
......@@ -243,6 +243,7 @@ $smarty->assign('memberform', $memberform);
$smarty->assign('requestedform', $requestedform);
$smarty->assign('invitedform', $invitedform);
$smarty->assign('joinform', $joinform);
$smarty->assign('PAGEHEADING', hsc(TITLE));
$smarty->display('account/institutions.tpl');
?>
{include file="header.tpl"}
{include file="sidebar.tpl"}
{include file="columnleftstart.tpl"}
<div id="notifications">
<form method="post">
<label>{str section='activity' tag='type'}:</label>
......@@ -40,5 +38,4 @@
</form>
</div>
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
{include file="header.tpl"}
{include file="sidebar.tpl"}
{include file="columnleftstart.tpl"}
{$prefsdescr}
{$form}
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
{include file="header.tpl"}
{include file="sidebar.tpl"}
{include file="columnleftstart.tpl"}
<p>{str tag="institutionmembershipdescription"}</p>
{$memberform}
{$requestedform}
......@@ -10,5 +7,4 @@
<h3>{str tag="requestmembershipofaninstitution"}</h3>
{$joinform}
{/if}
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
Markdown is supported
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