summaryrefslogtreecommitdiff
path: root/modules/digibug/helpers
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-06-25 08:14:34 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-06-25 08:14:34 -0700
commitd9e4ad79bbebb3f439df4403c668271c86c19935 (patch)
treefab0ff05d076fb27fd3af96835a40f751b2f09cc /modules/digibug/helpers
parentec67300f9628582bf735468c73aec3c01a6eb57f (diff)
1) Move the digibug css in the default and admin_default themes
2) Remove most of the marketing cruft on the admin pages 3) Change the name of the admin settings to just Digibug 4) Remove the "switch on mouseover" approach
Diffstat (limited to 'modules/digibug/helpers')
-rw-r--r--modules/digibug/helpers/digibug_menu.php2
-rw-r--r--modules/digibug/helpers/digibug_theme.php10
2 files changed, 2 insertions, 10 deletions
diff --git a/modules/digibug/helpers/digibug_menu.php b/modules/digibug/helpers/digibug_menu.php
index 6c466031..d9baf59c 100644
--- a/modules/digibug/helpers/digibug_menu.php
+++ b/modules/digibug/helpers/digibug_menu.php
@@ -22,7 +22,7 @@ class digibug_menu {
$menu->get("settings_menu")
->append(Menu::factory("link")
->id("digibug_menu")
- ->label(t("Digibug Administration"))
+ ->label(t("Digibug"))
->url(url::site("admin/digibug")));
}
diff --git a/modules/digibug/helpers/digibug_theme.php b/modules/digibug/helpers/digibug_theme.php
index e52fcc7f..bd269256 100644
--- a/modules/digibug/helpers/digibug_theme.php
+++ b/modules/digibug/helpers/digibug_theme.php
@@ -19,15 +19,7 @@
*/
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") . "\" />";
+ return html::script("modules/digibug/js/digibug.js");
}
static function thumb_bottom($theme, $child) {