summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/gallery_theme.php
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2011-04-22 12:37:28 -0400
committerChad Kieffer <ckieffer@gmail.com>2011-04-22 12:37:28 -0400
commit4a9b45c9c3bbd574103e01debcd84cab1a18352a (patch)
treea573bc754e7d1c112ccd920b9e2d147a1f9cae1f /modules/gallery/helpers/gallery_theme.php
parent14eadea2c26e2f284b43bfe73e920dcd07837c1b (diff)
Created apple-touch-icon and added to wind and admin_wind themes.
Diffstat (limited to 'modules/gallery/helpers/gallery_theme.php')
-rw-r--r--modules/gallery/helpers/gallery_theme.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/gallery/helpers/gallery_theme.php b/modules/gallery/helpers/gallery_theme.php
index c4a82390..aa3fb7bb 100644
--- a/modules/gallery/helpers/gallery_theme.php
+++ b/modules/gallery/helpers/gallery_theme.php
@@ -60,11 +60,14 @@ class gallery_theme_Core {
if ($session->get("debug")) {
$buf .= $theme->css("debug.css");
}
+ if (in_array(URI::instance()->segment(1), array("admin", "admin/dashboard"))) {
+ $buf .= $theme->script("jquery.jcarousel.min.js");
+ }
if ($session->get("l10n_mode", false)) {
$buf .= $theme->css("l10n_client.css");
$buf .= $theme->script("jquery.cookie.js");
- $buf .=$theme->script("l10n_client.js");
+ $buf .= $theme->script("l10n_client.js");
}
return $buf;
}