From cad9a17f3f09a0cd8ca7a0c92f25835b7ddc0b4f Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 15 Dec 2009 18:43:04 -0700 Subject: [PATCH] Horde_Tree drivers are now ucfirst --- ansel/lib/Ansel.php | 2 +- ansel/lib/Widget/OtherGalleries.php | 2 +- fima/templates/accounts/accounts.inc | 4 ++-- news/lib/Categories.php | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ansel/lib/Ansel.php b/ansel/lib/Ansel.php index afdb59136..b9d36403a 100644 --- a/ansel/lib/Ansel.php +++ b/ansel/lib/Ansel.php @@ -111,7 +111,7 @@ class Ansel global $ansel_storage; $galleries = $ansel_storage->listGalleries($perm, $attributes, $parent, $allLevels, $from, $count); - $tree = Horde_Tree::factory('gallery_tree', 'select'); + $tree = Horde_Tree::factory('gallery_tree', 'Select'); if (!empty($ignore)) { unset($galleries[$ignore]); diff --git a/ansel/lib/Widget/OtherGalleries.php b/ansel/lib/Widget/OtherGalleries.php index 5013c1d12..669ee6dc5 100644 --- a/ansel/lib/Widget/OtherGalleries.php +++ b/ansel/lib/Widget/OtherGalleries.php @@ -64,7 +64,7 @@ class Ansel_Widget_OtherGalleries extends Ansel_Widget_Base $owner = $this->_view->gallery->get('owner'); /* Set up the tree */ - $tree = Horde_Tree::singleton('otherAnselGalleries_' . md5($owner), 'javascript'); + $tree = Horde_Tree::singleton('otherAnselGalleries_' . md5($owner), 'Javascript'); $tree->setOption(array('class' => 'anselWidgets')); $gals = $GLOBALS['ansel_storage']->listGalleries(Horde_Perms::SHOW, $owner, null, true, 0, 0, diff --git a/fima/templates/accounts/accounts.inc b/fima/templates/accounts/accounts.inc index de1dc29a7..801b2af1c 100644 --- a/fima/templates/accounts/accounts.inc +++ b/fima/templates/accounts/accounts.inc @@ -13,7 +13,7 @@ function Submit(action) return; } } - + document.accounts.actionID.value = action; document.accounts.submit(); } @@ -30,7 +30,7 @@ function Submit(action) $GLOBALS['registry']->getImageDir(), 'icon' => ''); -$tree = Horde_Tree::factory('account_tree', 'javascript'); +$tree = Horde_Tree::factory('account_tree', 'Javascript'); foreach ($accounts as $accountId => $account) { $params['icon'] = $account['icon']; diff --git a/news/lib/Categories.php b/news/lib/Categories.php index 698cde290..e776e5512 100644 --- a/news/lib/Categories.php +++ b/news/lib/Categories.php @@ -475,7 +475,7 @@ class News_Categories { 'icon' => 'folder_open.png'); // Set up the tree - $tree = Horde_Tree::singleton('news_cats', 'javascript'); + $tree = Horde_Tree::singleton('news_cats', 'Javascript'); $tree->setOption(array('width' => '100%', 'border' => '0', 'class' => 'item', 'cellpadding' => '0', 'cellspacing' => '0', 'alternate' => true)); // prepare add link -- 2.11.0