diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-05-28 00:49:41 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-05-28 00:49:41 -0700 |
commit | c1e55e9593a6b0ce9f749eb85c4bca1d649e358a (patch) | |
tree | 6f3e44645209471aede760e79a5c7b1836fdba8b /modules/gallery/helpers | |
parent | 93053cf83152082ce2fb365ad2ab6034c9edd4ee (diff) | |
parent | 8d2782ad1df10679b302ab6c4fafdd2f5535be4a (diff) |
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/gallery/helpers')
-rw-r--r-- | modules/gallery/helpers/gallery_theme.php | 20 |
1 files changed, 10 insertions, 10 deletions
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 .= "<link rel=\"stylesheet\" type=\"text/css\" href=\"" . - url::file("gallery/css/debug.css") . "\" />"; + url::file("modules/gallery/css/debug.css") . "\" />"; } if (($theme->page_type == "album" || $theme->page_type == "photo") && access::can("edit", $theme->item())) { $buf .= "<link rel=\"stylesheet\" type=\"text/css\" href=\"" . - url::file("gallery/css/quick.css") . "\" />"; - $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 .= "<script type=\"text/javascript\" >" . " var fullsize_detail = { " . - " close: \"" . url::file("gallery/images/ico-close.png") . "\", " . + " close: \"" . url::file("modules/gallery/images/ico-close.png") . "\", " . " url: \"" . $theme->item()->file_url() . "\", " . " width: " . $theme->item()->width . ", " . " height: " . $theme->item()->height . "};" . "</script>"; - $buf .= html::script("gallery/js/fullsize.js"); + $buf .= html::script("modules/gallery/js/fullsize.js"); } if ($session->get("l10n_mode", false)) { $buf .= "<link rel=\"stylesheet\" type=\"text/css\" href=\"" . - url::file("gallery/css/l10n_client.css") . "\" />"; + 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 .= "<link rel=\"stylesheet\" type=\"text/css\" href=\"" . - url::file("gallery/css/debug.css") . "\" />"; + url::file("modules/gallery/css/debug.css") . "\" />"; } if ($session->get("l10n_mode", false)) { $buf .= "<link rel=\"stylesheet\" type=\"text/css\" href=\"" . - url::file("gallery/css/l10n_client.css") . "\" />"; + 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; |