librefm-commits
[Top][All Lists]
Advanced

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

[Librefm-commits] [1209] try not caching the menu


From: Clint Adams
Subject: [Librefm-commits] [1209] try not caching the menu
Date: Tue, 05 May 2009 23:26:05 +0000

Revision: 1209
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1209
Author:   clint
Date:     2009-05-05 23:26:04 +0000 (Tue, 05 May 2009)
Log Message:
-----------
try not caching the menu

Modified Paths:
--------------
    trunk/nixtape/templating.php
    trunk/nixtape/themes/librefm/templates/header.tpl

Modified: trunk/nixtape/templating.php
===================================================================
--- trunk/nixtape/templating.php        2009-05-05 22:29:30 UTC (rev 1208)
+++ trunk/nixtape/templating.php        2009-05-05 23:26:04 UTC (rev 1209)
@@ -45,4 +45,8 @@
 
 header("Content-Type: text/html; charset=utf-8");
 
+function getMenu() {
+       $smarty->display('menu.tpl');
+}
+
 ?>

Modified: trunk/nixtape/themes/librefm/templates/header.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/header.tpl   2009-05-05 22:29:30 UTC 
(rev 1208)
+++ trunk/nixtape/themes/librefm/templates/header.tpl   2009-05-05 23:26:04 UTC 
(rev 1209)
@@ -38,7 +38,7 @@
 <div id="doc2" class="yui-t7">
        <div id="hd" role="navigation">
                <h1 rel="dc:publisher" class="vcard"><a property="foaf:name" 
rel="foaf:homepage" href="{$base_url}" class="fn org url">Libre.fm</a></h1>
-               {include file='menu.tpl'}
+               {insert name="getMenu"}
        </div>
 
    <div id="bd" role="main">





reply via email to

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