jQuery("#timedata").html(data); jQuery("[rel=popover]").popover({trigger: "hover"}); } }); e.preventDefault(); } else { e.preventDefault(); } }); }); '; $style = '.task-title > a {' . 'margin-left:10px;' . 'margin-right:10px;' . '}' . '.margin-none {' . 'margin: 0;' . '}' . '.list-striped .dropdown-menu li {' . 'background-color:transparent;' . 'padding: 0;' . 'border-bottom-width: 0;' . '}' . '.list-striped .dropdown-menu li.divider {' . 'background-color: rgba(0, 0, 0, 0.1);' . 'margin: 2px 0;' . '}' . '.label {' . 'margin-left: 3px' . '}'; $doc->addScriptDeclaration($script); $doc->addStyleDeclaration($style); modPFtimeHelper::loadMedia(); ?> <form id="adminPFTEForm" name="adminPFTEForm" class="adminPFTEForm" method="post" action="<?php echo htmlspecialchars(JFactory::getURI()->toString()); ?> "> <div class="cat-list-row"> <div class="filter-search-buttons btn-group pull-left" style="width:100%"> <div class="drange controls pull-left"> <label style="width:50px" class="control-label pull-left" for="dpstart"><?php echo JText::_('MOD_PF_TIME_CONFIG_FILTER_DATE_FROM'); ?> </label> <?php echo JHTML::calendar('', 'filter_start_date', 'filter_start_date', '%Y-%m-%d');
<?php /** * @package Projectfork Timesheet Module * * @author ANGEK DESIGN (Kon Angelopoulos) * @copyright Copyright (C) 2013 - 2015 ANGEK DESIGN. All rights reserved. * @license http://www.gnu.org/licenses/gpl.html GNU/GPL, see LICENSE.txt **/ defined('_JEXEC') or die; if (!jimport('projectfork.framework')) { echo JText::_('MOD_PF_TIME_PROJECTFORK_LIB_NOT_INSTALLED'); return; } if (!PFApplicationHelper::exists('com_projectfork')) { echo JText::_('MOD_PF_TIME_PROJECTFORK_NOT_INSTALLED'); return; } require_once dirname(__FILE__) . '/helper.php'; $action = JRequest::getVar('action', null); if ($action) { if ($action == 'export') { modPFtimeHelper::exportCSV(); } elseif ($action == 'filter') { modPFtimeHelper::displayData(); } } // Include layout $moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx')); require JModuleHelper::getLayoutPath('mod_pf_time', $params->get('layout', 'default'));
<?php /** * @package Projectfork Timesheet Module * * @author ANGEK DESIGN (Kon Angelopoulos) * @copyright Copyright (C) 2013 ANGEK DESIGN. All rights reserved. * @license http://www.gnu.org/licenses/gpl.html GNU/GPL, see LICENSE.txt **/ defined('_JEXEC') or die; if (!jimport('projectfork.framework')) { echo JText::_('MOD_PF_TIME_PROJECTFORK_LIB_NOT_INSTALLED'); return; } if (!PFApplicationHelper::exists('com_projectfork')) { echo JText::_('MOD_PF_TIME_PROJECTFORK_NOT_INSTALLED'); return; } require_once dirname(__FILE__) . '/helper.php'; $items = modPFtimeHelper::getItems($params); // Include layout $moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx')); require JModuleHelper::getLayoutPath('mod_pf_time', $params->get('layout', 'default'));