Example #1
0
function displayTab($obj, &$links)
{
    // the old '$content_actions' array is thankfully just a
    // sub-array of this one
    $views_links = $links['views'];
    showCredits($obj, $views_links);
    $links['views'] = $views_links;
    return true;
}
Example #2
0
/**
 * DOCman 1.4.x - Joomla! Document Manager
 * @version $Id: docman.php 575 2008-01-27 18:00:56Z mjaz $
 * @package DOCman_1.4
 * @copyright (C) 2003-2008 The DOCman Development Team
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
 * @link http://www.joomlatools.org/ Official website
 **/
defined('_VALID_MOS') or die('Restricted access');
include_once dirname(__FILE__) . '/docman.html.php';
switch ($task) {
    case 'stats':
        showStatistics();
        break;
    case 'credits':
        showCredits();
        break;
    case 'sampledata':
        installSampleData();
        break;
        // DOClink
    // DOClink
    case "doclink":
        require_once $_DOCMAN->getPath('includes_f', 'doclink');
        showDoclink();
        break;
    case "doclink-listview":
        require_once $_DOCMAN->getPath('includes_f', 'doclink');
        showListview();
        break;
        // CPanel