function display_overview_nav() { global $proposalStatiMap; $items = array('All' => array('url' => 'index.php?filter=', 'title' => 'All')); foreach ($proposalStatiMap as $status => $name) { $items[$name] = array('url' => 'index.php?filter=' . $status, 'title' => $name); } print_tabbed_navigation($items); }
$Id$ */ require_once 'pear-database-channel.php'; $channels = channel::listActive(); $inactive_channels = array(); if (auth_check('pear.admin')) { $inactive_channels = channel::listInactive(); } response_header("Channels", false, '<link rel="alternate" type="application/xbel+xml" href="xbel.php" title="Channel list as XBEL" />'); $tabs = array("List" => array("url" => "/channels/index.php", "title" => "List Sites."), "Add Site" => array("url" => "/channels/add.php", "title" => "Add your site.")); ?> <h1>Channels</h1> <?php print_tabbed_navigation($tabs); ?> <h2>What's that?</h2> <p>A number of third-party sites make it possible to install their software package using the new <a href="/manual/en/guide.migrating.channels.php">channels</a> feature of PEAR ≥ 1.4.0. Specific installation instructures are provided on the individual pages.</p> <h2>List of Sites</h2> <p>There are <?php print count($channels); ?> channel(s) we know of.</p> <ul>