} } } $secondarymodule = implode(":", $secondarymodules); if ($secondarymodule != '') { $oReport->secmodule = $secondarymodule; } $BLOCK1 = getPrimaryStdFilterHTML($oReport->primodule, $oReport->stdselectedcolumn); $BLOCK1 .= getSecondaryStdFilterHTML($oReport->secmodule, $oReport->stdselectedcolumn); //added to fix the ticket #5117 $selectedcolumnvalue = '"' . $oReport->stdselectedcolumn . '"'; if (!$is_admin && isset($oReport->stdselectedcolumn) && strpos($BLOCK1, $selectedcolumnvalue) === false) { $BLOCK1 .= "<option selected value='Not Accessible'>" . $app_strings['LBL_NOT_ACCESSIBLE'] . "</option>"; } $report_std_filter->assign("BLOCK1_STD", $BLOCK1); $BLOCKJS = $oReport->getCriteriaJS(); $report_std_filter->assign("BLOCKJS_STD", $BLOCKJS); $BLOCKCRITERIA = $oReport->getSelectedStdFilterCriteria($oReport->stdselectedfilter); $report_std_filter->assign("BLOCKCRITERIA_STD", $BLOCKCRITERIA); if (isset($oReport->startdate) && isset($oReport->enddate)) { $report_std_filter->assign("STARTDATE_STD", getDisplayDate($oReport->startdate)); $report_std_filter->assign("ENDDATE_STD", getDisplayDate($oReport->enddate)); } else { $report_std_filter->assign("STARTDATE_STD", $oReport->startdate); $report_std_filter->assign("ENDDATE_STD", $oReport->enddate); } } /** Function to get the HTML strings for the primarymodule standard filters * @ param $module : Type String * @ param $selected : Type String(optional) * This Returns a HTML combo srings