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]);
$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,
return;
}
}
-
+
document.accounts.actionID.value = action;
document.accounts.submit();
}
<?php
$params = array('icondir' => $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'];
'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