Deprecated: Assigning the return value of new by reference is deprecated in /home/bluestat/public_html/source/index.php on line 477
Bugdar - Commitdiff - ViewGit - Blue Static

Need to cache templates in the admin section

Robert Sesek [2009-03-23 20:36]
Need to cache templates in the admin section

* admin/language.php
* admin/userhelp.php
diff --git a/admin/language.php b/admin/language.php
index 91348ec..92534b2 100644
--- a/admin/language.php
+++ b/admin/language.php
@@ -20,7 +20,8 @@
 \*=====================================================================*/

 $fetchtemplates = array(
-	'language'
+	'language',
+	'language_edit'
 );

 require_once('./global.php');
diff --git a/admin/userhelp.php b/admin/userhelp.php
index 2e440fd..56e835f 100755
--- a/admin/userhelp.php
+++ b/admin/userhelp.php
@@ -19,6 +19,11 @@
 || ###################################################################
 \*=====================================================================*/

+$fetchtemplates = array(
+	'userhelp',
+	'userhelp_add'
+);
+
 require_once('./global.php');
 require_once('./includes/api_userhelp.php');
 require_once('./includes/functions_datastore.php');