Exemplo n.º 1
0
function showDocman($gid)
{
    global $_DOCMAN;
    require_once $_DOCMAN->getPath('includes_f', 'categories');
    require_once $_DOCMAN->getPath('includes_f', 'documents');
    $html = new StdClass();
    $html->menu = fetchMenu($gid);
    $html->pathway = '';
    //$pathway = fetchPathway($gid);
    $html->pathway = fetchPathway($gid);
    $html->category = '';
    if ($gid > 0) {
        $html->category = fetchCategory($gid);
    }
    $html->cat_list = fetchCategoryList($gid);
    $html->doc_list = fetchDocumentList($gid);
    $html->pagenav = fetchPageNav($gid);
    $html->pagetitle = fetchPageTitle($gid);
    HTML_docman::pageDocman($html);
}
Exemplo n.º 2
0
function showDocman($gid)
{
    $html = new StdClass();
    $html->menu = fetchMenu($gid);
    $html->pathway = '';
    //$pathway = fetchPathway($gid);
    $html->pathway = fetchPathway($gid);
    $html->category = '';
    if ($gid > 0) {
        $html->category = fetchCategory($gid);
    }
    $html->cat_list = fetchCategoryList($gid);
    $html->doc_list = fetchDocumentList($gid);
    $html->pagenav = fetchPageNav($gid);
    $html->pagetitle = fetchPageTitle($gid);
    HTML_docman::pageDocman($html);
}