From 6da6b8ed52086d967bdb0d8e4140cbdffdb18cf7 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 3 Nov 2008 05:52:13 +0000 Subject: Theme helper. Right now it has one api method, theme::url which returns a url local to the theme that you're in. For example, if you're in themes/foo/views/page_header.html.php and you call theme::url("images/foo.png") then it'll create a url to: themes/foo/images/foo.png --- core/helpers/theme.php | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 core/helpers/theme.php (limited to 'core/helpers') diff --git a/core/helpers/theme.php b/core/helpers/theme.php new file mode 100644 index 00000000..2146f322 --- /dev/null +++ b/core/helpers/theme.php @@ -0,0 +1,30 @@ +