librefm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Librefm-commits] [1361] added sidebar template


From: Matt Lee
Subject: [Librefm-commits] [1361] added sidebar template
Date: Fri, 08 May 2009 03:43:46 +0000

Revision: 1361
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1361
Author:   mattl
Date:     2009-05-08 03:43:45 +0000 (Fri, 08 May 2009)
Log Message:
-----------
added sidebar template

Modified Paths:
--------------
    trunk/nixtape/themes/librefm/templates/footer.tpl
    trunk/nixtape/user-profile.php

Added Paths:
-----------
    trunk/nixtape/themes/librefm/templates/profile-sidebar.tpl

Modified: trunk/nixtape/themes/librefm/templates/footer.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/footer.tpl   2009-05-08 03:40:44 UTC 
(rev 1360)
+++ trunk/nixtape/themes/librefm/templates/footer.tpl   2009-05-08 03:43:45 UTC 
(rev 1361)
@@ -5,6 +5,10 @@
 
 <!-- sidebar -->
 
+       {include file='adbard.tpl'}
+
+       {include file=$sidebar-template}
+
 </div></div>
 
 {else}

Added: trunk/nixtape/themes/librefm/templates/profile-sidebar.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/profile-sidebar.tpl                  
        (rev 0)
+++ trunk/nixtape/themes/librefm/templates/profile-sidebar.tpl  2009-05-08 
03:43:45 UTC (rev 1361)
@@ -0,0 +1 @@
+<h2>this is just stuff that appears on the sidebar of some pages</h2>
\ No newline at end of file

Modified: trunk/nixtape/user-profile.php
===================================================================
--- trunk/nixtape/user-profile.php      2009-05-08 03:40:44 UTC (rev 1360)
+++ trunk/nixtape/user-profile.php      2009-05-08 03:43:45 UTC (rev 1361)
@@ -52,6 +52,7 @@
        $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(





reply via email to

[Prev in Thread] Current Thread [Next in Thread]