From 5542cc5f16acbdd334a3bfa71171d5c7779021d0 Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Wed, 17 Sep 2008 02:03:05 +0000 Subject: [PATCH] Removed some comments added another new store file. git-svn-id: http://svn.cleancode.org/svn/pickles@48 4d10bc64-7434-11dc-a737-d2d0f8310089 --- classes/Viewer/Smarty.php | 2 -- templates/store/category.tpl | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 templates/store/category.tpl diff --git a/classes/Viewer/Smarty.php b/classes/Viewer/Smarty.php index fdd169b..2de266d 100644 --- a/classes/Viewer/Smarty.php +++ b/classes/Viewer/Smarty.php @@ -23,7 +23,6 @@ class Viewer_Smarty extends Viewer_Common { // @todo Perhaps the templates directory would be better suited as a config variable? $smarty->template_dir = '../templates/'; - // @todo instead of having this in /tmp (which is Linux-scentric) perhaps move it to a folder in the common dir $cache_dir = TEMP_PATH . 'cache'; $compile_dir = TEMP_PATH . 'compile'; @@ -36,7 +35,6 @@ class Viewer_Smarty extends Viewer_Common { $smarty->load_filter('output','trimwhitespace'); // Include custom Smarty functions - // @todo Stupid fucking hard coded path $directory = PICKLES_PATH . 'smarty/functions/'; if (is_dir($directory)) { diff --git a/templates/store/category.tpl b/templates/store/category.tpl new file mode 100644 index 0000000..40a2764 --- /dev/null +++ b/templates/store/category.tpl @@ -0,0 +1,15 @@ +
+ {include file="../../pickles/templates/store/navigation.tpl"}

+ {include file="../../pickles/templates/store/categories.tpl"} +
+
+
+

{$category.name}

+
+
+ {$category.description} +
+ +