<?php
/**
 * $Horde: turba/browse.php,v 1.76.2.28 2008/01/11 03:48:31 chuck Exp $
 *
 * Copyright 2000-2008 The Horde Project (http://www.horde.org/)
 *
 * See the enclosed file LICENSE for license information (ASL).  If you did
 * did not receive this file, see http://www.horde.org/licenses/asl.php.
 *
 * @author  Chuck Hagenbuch <chuck@horde.org>
 * @package Turba
 */

require_once dirname(__FILE__) . '/lib/base.php';
require_once 'Horde/Variables.php';
require_once TURBA_BASE . '/lib/Views/Browse.php';

$params = array('vars' => Variables::getDefaultVariables(),
                'prefs' => &$prefs,
                'notification' => &$notification,
                'registry' => &$registry,
                'browse_source_count' => $browse_source_count,
                'browse_source_options' => $browse_source_options,
                'copymove_source_options' => $copymove_source_options,
                'copymoveSources' => $copymoveSources,
                'addSources' => $addSources,
                'cfgSources' => $cfgSources,
                'attributes' => $attributes,
                'turba_shares' => &$turba_shares,
                'conf' => $conf,
                'source' => $default_source,
                'browser' => $browser);
$browse = new Turba_View_Browse($params);
$browse->run();
