File: browse.php

package info (click to toggle)
turba2 2.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 7,332 kB
  • ctags: 2,927
  • sloc: php: 11,046; xml: 1,690; sql: 507; makefile: 62; perl: 17; sh: 1
file content (34 lines) | stat: -rw-r--r-- 1,317 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?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();