From ff182eaa7045ca68faf1f09bd73256aba11aa101 Mon Sep 17 00:00:00 2001 From: pecesama Date: Fri, 6 Jul 2007 06:29:38 +0000 Subject: [PATCH] Path for bug on theme selection --- index.php | 8 +++++--- themes/tumblr/template_header.htm | 6 ++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/index.php b/index.php index cc9c58c..126b281 100644 --- a/index.php +++ b/index.php @@ -60,10 +60,12 @@ $gelato_includes = "\n"; $gelato_includes .= "\t\n"; $gelato_includes .= "\turlGelato."/admin/css/slimbox.css\" />\n"; - $gelato_includes .= "\turlGelato."/images/favicon.ico\" />"; + $gelato_includes .= "\turlGelato."/images/favicon.ico\" />\n"; + $gelato_includes .= "\turlGelato."/themes/".$conf->template."/style.css\"/>\n"; + $gelato_includes .= "\turlGelato."/rss.php\"/>"; - $input = array("{Gelato_includes}","{Title}", "{Description}", "{URL_Tumble}"); - $output = array($gelato_includes, $conf->title, $conf->description, $conf->urlGelato); + $input = array("{Gelato_includes}","{Title}", "{Description}", "{URL_Tumble}", "{Template_name}"); + $output = array($gelato_includes, $conf->title, $conf->description, $conf->urlGelato, $conf->template); $template->cargarPlantilla($input, $output, "template_header"); $template->mostrarPlantilla(); diff --git a/themes/tumblr/template_header.htm b/themes/tumblr/template_header.htm index a981976..5efcd23 100644 --- a/themes/tumblr/template_header.htm +++ b/themes/tumblr/template_header.htm @@ -3,9 +3,7 @@ - {Gelato_includes} - - + {Gelato_includes} {Title}