Jonah: Two more Horde_Themes conversions
authorBen Klang <ben@alkaloid.net>
Tue, 4 May 2010 14:35:55 +0000 (10:35 -0400)
committerBen Klang <ben@alkaloid.net>
Tue, 4 May 2010 14:36:32 +0000 (10:36 -0400)
jonah/lib/Block/tree_menu.php
jonah/templates/common-header.inc

index 83cd8ce..59f782b 100644 (file)
@@ -20,7 +20,7 @@ class Horde_Block_jonah_tree_menu extends Horde_Block {
         }
 
         $url = Horde::applicationUrl('stories/');
-        $icondir = $GLOBALS['registry']->getImageDir();
+        $icondir = Horde_Themes::img(null, array('notheme' => true, 'nohorde' => true));
         $news = Jonah_News::factory();
         $channels = $news->getChannels('internal');
         if (is_a($channels, 'PEAR_Error')) {
index 8fb225d..1777eea 100644 (file)
@@ -29,8 +29,8 @@ if ($channel_id = Horde_Util::getFormData('channel_id')) {
 }
 ?>
 <title><?php echo htmlspecialchars($page_title) ?></title>
-<link href="<?php echo $GLOBALS['registry']->getImageDir()?>/favicon.ico" rel="SHORTCUT ICON" />
-<?php Horde::includeStylesheetFiles() ?>
+<link href="<?php echo Horde_Themes::img(null, array('notheme' => true, 'nohorde' => true));?>/favicon.ico" rel="SHORTCUT ICON" />
+<?php Horde_Themes::includeStylesheetFiles() ?>
 </head>
 
 <body<?php if ($bc = Horde_Util::nonInputVar('bodyClass')) echo ' class="' . $bc . '"' ?><?php if ($bi = Horde_Util::nonInputVar('bodyId')) echo ' id="' . $bi . '"'; ?>>