function getModuleButtons($name, $params = array()) { if (defined('_DM_J15')) { // the buttons don't work in J15 yet return true; } global $mosConfig_live_site, $option; $id = DOCMAN_Utils::getModuleIdByName($name); mosCommonHTML::loadOverlib(); ?> <div width="100%" align="right"> <?php $href = "index2.php?option=com_modules&client=admin&task=editA&hidemainmenu=1&id={$id}"; echo DOCMAN_Utils::mosToolTip(_DML_EDIT_THIS_MODULE, '', '', 'edit.png', '', $href); $href = "index2.php?option=com_docman&section=modules&task=unpublish&moduleid={$id}&redirect=index2.php%3foption%3d{$option}"; echo DOCMAN_Utils::mosToolTip(_DML_UNPUBLISH_THIS_MODULE, '', '', '../../../administrator/images/publish_x.png', '', $href); $href = "index2.php?option=com_docman&section=modules&task=orderup&moduleid={$id}&redirect=index2.php%3foption%3d{$option}"; echo DOCMAN_Utils::mosToolTip(_DML_ORDER_THIS_MODULE, '', '', '../../../administrator/images/uparrow.png', '', $href); $href = "index2.php?option=com_docman&section=modules&task=orderdown&moduleid={$id}&redirect=index2.php%3foption%3d{$option}"; echo DOCMAN_Utils::mosToolTip(_DML_ORDER_THIS_MODULE, '', '', '../../../administrator/images/downarrow.png', '', $href); ?> </div><?php }