From df51ea7fa4977922a73af8b7219fff62031f52d4 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 28 May 2009 00:06:38 -0700 Subject: Fix broken html::script() and url::file() references to the newly moved gallery module. --- modules/gallery/helpers/gallery_theme.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'modules/gallery/helpers') diff --git a/modules/gallery/helpers/gallery_theme.php b/modules/gallery/helpers/gallery_theme.php index 0acccb45..d45e1b98 100644 --- a/modules/gallery/helpers/gallery_theme.php +++ b/modules/gallery/helpers/gallery_theme.php @@ -23,30 +23,30 @@ class gallery_theme_Core { $buf = ""; if ($session->get("debug")) { $buf .= ""; + url::file("modules/gallery/css/debug.css") . "\" />"; } if (($theme->page_type == "album" || $theme->page_type == "photo") && access::can("edit", $theme->item())) { $buf .= ""; - $buf .= html::script("gallery/js/quick.js"); + url::file("modules/gallery/css/quick.css") . "\" />"; + $buf .= html::script("modules/gallery/js/quick.js"); } if ($theme->page_type == "photo" && access::can("view_full", $theme->item())) { $buf .= ""; - $buf .= html::script("gallery/js/fullsize.js"); + $buf .= html::script("modules/gallery/js/fullsize.js"); } if ($session->get("l10n_mode", false)) { $buf .= ""; + url::file("modules/gallery/css/l10n_client.css") . "\" />"; $buf .= html::script("lib/jquery.cookie.js"); - $buf .= html::script("gallery/js/l10n_client.js"); + $buf .= html::script("modules/gallery/js/l10n_client.js"); } return $buf; @@ -83,14 +83,14 @@ class gallery_theme_Core { $buf = ""; if ($session->get("debug")) { $buf .= ""; + url::file("modules/gallery/css/debug.css") . "\" />"; } if ($session->get("l10n_mode", false)) { $buf .= ""; + url::file("modules/gallery/css/l10n_client.css") . "\" />"; $buf .= html::script("lib/jquery.cookie.js"); - $buf .= html::script("gallery/js/l10n_client.js"); + $buf .= html::script("modules/gallery/js/l10n_client.js"); } return $buf; -- cgit v1.2.3