Commit 8c7a39c4 authored by mattl's avatar mattl

added sidebar template

parent 85683342
......@@ -5,6 +5,10 @@
<!-- sidebar -->
{include file='adbard.tpl'}
{include file=$sidebar-template}
</div></div>
{else}
......
<h2>this is just stuff that appears on the sidebar of some pages</h2>
\ No newline at end of file
......@@ -52,6 +52,7 @@ if(isset($user->name)) {
$smarty->assign('isme', ($this_user->name == $user->name));
$smarty->assign('me', $user);
$smarty->assign('sidebar', true);
$smarty->assign('sidebar-template', 'profile-sidebar.tpl');
$smarty->assign('extra_head_links', array(
array(
......
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