From 48c022e8cbcc027cec20aa0b6657a2c784df5ad8 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Fri, 20 Mar 2009 14:59:55 +0000 Subject: Rather than moving the themeroller and all of its associated files into each theme. I chose to create methods Theme_View::file($path) and Admin_View::file($path). These methods check for a theme override file in the theme and return a link to it if it exists. So to override the themeroller files. just create a lib/themeroller in the theme and the files will be picked up. --- themes/admin_default/views/admin.html.php | 16 ++++++++-------- themes/default/views/login_page.html.php | 16 ++++++++-------- themes/default/views/page.html.php | 16 ++++++++-------- 3 files changed, 24 insertions(+), 24 deletions(-) (limited to 'themes') diff --git a/themes/admin_default/views/admin.html.php b/themes/admin_default/views/admin.html.php index 55f0f884..d56015db 100644 --- a/themes/admin_default/views/admin.html.php +++ b/themes/admin_default/views/admin.html.php @@ -6,11 +6,11 @@ G3: Admin Dashboard " type="image/x-icon" /> - " + " media="screen,projection" /> - " + " media="screen,projection" /> - " + " media="screen,projection" /> " media="screen,projection" /> @@ -20,11 +20,11 @@ " media="screen,print,projection" /> - - - - - + + + + + admin_head() ?> diff --git a/themes/default/views/login_page.html.php b/themes/default/views/login_page.html.php index 1bd76c18..933a8bc2 100644 --- a/themes/default/views/login_page.html.php +++ b/themes/default/views/login_page.html.php @@ -8,11 +8,11 @@ " type="image/x-icon" /> - " + " media="screen,print,projection" /> - " + " media="screen" /> - " + " media="screen,print,projection" /> " media="screen,print,projection" /> @@ -20,11 +20,11 @@ " media="screen,print,projection" /> - - - - - + + + + + - - - - + + + + + -- cgit v1.2.3