Пример #1
0
function main_page($group_id)
{
    global $Language;
    docman_header_admin(array('title' => $Language->getText('docman_admin_index', 'title')));
    echo '<h2>' . $Language->getText('docman_admin_index', 'header_doc_mgt') . '</h2>';
    display_docs($group_id);
    docman_footer(array());
}
Пример #2
0
function main_page($group_id)
{
    docman_header('Document Admin Page', 'Document Manager Admin', 'admin');
    echo '<p><b>Pending Submissions:</b>  <p>';
    display_docs('3', $group_id);
    // doc_group 3 == pending
    echo '<p>';
    echo '<b>Active Submissions:</b>  <p>';
    display_docs('1', $group_id);
    //doc_group 1 == active
    docman_footer($params);
}