diff options
Diffstat (limited to 'modules/digibug/helpers/digibug_theme.php')
-rw-r--r-- | modules/digibug/helpers/digibug_theme.php | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/modules/digibug/helpers/digibug_theme.php b/modules/digibug/helpers/digibug_theme.php index e52fcc7f..f94d07c6 100644 --- a/modules/digibug/helpers/digibug_theme.php +++ b/modules/digibug/helpers/digibug_theme.php @@ -19,24 +19,6 @@ */ class digibug_theme_Core { static function head($theme) { - $head[] = "<link media=\"screen, projection\" rel=\"stylesheet\" type=\"text/css\" href=\"" . - url::file("modules/digibug/css/digibug.css") . "\" />"; - $head[] = html::script("modules/digibug/js/digibug.js");; - return implode("\n", $head); - } - - static function admin_head($theme) { - return "<link media=\"screen, projection\" rel=\"stylesheet\" type=\"text/css\" href=\"" . - url::file("modules/digibug/css/digibug.css") . "\" />"; - } - - static function thumb_bottom($theme, $child) { - if ($theme->page_type() == "album" && $child->type == "photo") { - $v = new View("digibug_album.html"); - $v->id = $child->id; - $v->title = t("Print photo with Digibug"); - return $v->render(); - } - return ""; + $theme->script("modules/digibug/js/digibug.js"); } } |