summaryrefslogtreecommitdiffstatshomepage
path: root/templates/sidebar.tpl.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/sidebar.tpl.php')
-rw-r--r--templates/sidebar.tpl.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/sidebar.tpl.php b/templates/sidebar.tpl.php
new file mode 100644
index 0000000..5f399b5
--- /dev/null
+++ b/templates/sidebar.tpl.php
@@ -0,0 +1,13 @@
+<div id="sidebar">
+ <?php
+ $size = count($sidebar_blocks);
+ for ($i = 0; $i < $size; $i++) {
+ $this->includeTemplate('sidebar.block.'. $sidebar_blocks[$i]);
+ }
+
+ $size = count($rsschannels);
+ for ($i = 0; $i < $size; $i++) {
+ echo '<p><a href="'. $rsschannels[$i][1] .'" title="'. $rsschannels[$i][0] .'"><img src="'. $GLOBALS['root'] .'rss.gif" width="16" height="16" alt="'. $rsschannels[$i][0] .'" /></a></p>';
+ }
+ ?>
+</div>