Customizable sidebars!
authorLuke Williams <[email protected]>
Thu, 12 Mar 2009 08:20:37 +0000 (17:20 +0900)
committerLuke Williams <[email protected]>
Thu, 12 Mar 2009 08:20:37 +0000 (17:20 +0900)
templates/page.tmpl

index a3d64a9..bf3ab8d 100644 (file)
@@ -82,19 +82,19 @@ Fresher Guide
 </div>
 </div>
 
+<TMPL_IF NAME="sidebar_item1">
 <div class="sidebar_box">
 <div class="sidebar_item">
-<div class="body_item_title"><span class="item_title_left">Upcoming Events</span><span class="item_title_right"><img src="<TMPL_VAR BASEURL>images/rss.png" /></span></div>
+<div class="body_item_title"><span class="item_title_left"><TMPL_VAR sidebar_item1_title></span></div>
 <div class="body_item_content">
-<ul class="news_list">
-<li>10/03/09 1:00 PM: <a href="#">UCC AGM</a></li>
-<li>16/03/09 6:00 PM: <a href="#">Monday at the Movies: Wargames</a></li>
-<li>30/03/09 6:00 PM: <a href="#">Monday at the Movies: TRON</a></li>
-</ul>
-<img style="margin-left:15px" src="<TMPL_VAR BASEURL>images/ical.png" />
+<TMPL_VAR sidebar_item1>
 </div>
 </div>
+<TMPL_IF NAME="sidebar_item2">
+
+</TMPL_IF>
 </div>
+</TMPL_IF>
 
 </div>
 <div class="footerbox">

UCC git Repository :: git.ucc.asn.au