getPath('classes', 'html')); class HTML_DMDocuments { function displayDocument(&$buttons, &$paths, &$data) { // modify links data unset($buttons['details']); $tpl = &new DOCMAN_Theme(); // Assign values to the Savant instance. $tpl->assignRef('buttons', $buttons); $tpl->assignRef('paths', $paths); $tpl->assignRef('data', $data); // Display a template using the assigned values. return $tpl->fetch('documents/document.tpl.php'); } function displayDocumentList(&$order, &$items) { $tpl = &new DOCMAN_Theme(); // Assign values to the Savant instance. $tpl->assignRef('order', $order); $tpl->assignRef('items', $items); // Display a template using the assigned values. return $tpl->fetch('documents/list.tpl.php'); } function editDocumentForm(&$row, &$lists, $last, $created, &$params) { global $Itemid; global $_DOCMAN, $_DMUSER; require_once($GLOBALS['mosConfig_absolute_path'] . '/includes/HTML_toolbar.php'); mosMakeHtmlSafe($row); ob_start(); ?>
|
dmlink)) : ?> approved && $_DMUSER->canApprove()) : ?> approved && $_DMUSER->canPublish()) : ?>
|