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(); ?>
startPane("content-pane"); echo $tabs->startTab(_DML_DOCUMENT, "document-page"); HTML_DMDocuments::_showTabDocument($row, $lists, $last, $created); echo $tabs->endTab(); echo $tabs->startTab(_DML_TAB_PERMISSIONS, "permissions-page"); HTML_DMDocuments::_showTabPermissions($row, $lists, $last, $created); echo $tabs->endTab(); echo $tabs->startTab(_DML_TAB_LICENSE, "license-page"); HTML_DMDocuments::_showTabLicense($row, $lists, $last, $created); if(isset($params)) : echo $tabs->endTab(); echo $tabs->startTab(_DML_TAB_DETAILS, "details-page"); HTML_DMDocuments::_showTabDetails($row, $lists, $last, $created, $params); endif; echo $tabs->endTab(); echo $tabs->endPane(); ?>


dmdescription, 'dmdescription', '550', '250', '50', '10'); ?>




dmdate_published);?>


Preview


dmlink)) : ?>


', _DML_DOCURL);?>


', _DML_HOMEPAGE);?>

()

approved && $_DMUSER->canApprove()) : ?>


approved && $_DMUSER->canPublish()) : ?>



', _DML_OWNER); ?>


', _DML_MAINTAINER); ?>


[name;?>]  dmdate_published) { echo mosFormatDate($row->dmdate_published); } else { $date = date("Y-m-d H:i:s", time("Y-m-d g:i:s")); echo mosFormatDate($row->dmdate_published); } ?>


[name;?>]  dmlastupdateon) { echo "" . _DML_ON . " " . mosFormatDate($row->dmlastupdateon) ."" ; } ?>


', _DML_LICENSE_TYPE); ?>


', _DML_DISPLAY_LIC); ?>

render('params', 'Tableless');?>
id); ob_start(); ?>


dmname;?> (filename;?>)