diff --git a/portal/index.php b/portal/index.php index 7462dfaaa..796003911 100644 --- a/portal/index.php +++ b/portal/index.php @@ -122,8 +122,8 @@ function SelectService($oP, $oUserOrg) { $sChecked = "checked"; } - $oP->p("

"); - $oP->p("

".htmlentities($oService->Get('description'), ENT_QUOTES, 'UTF-8')."

"); + $oP->p("

"); + $oP->p("

".$oService->Get('description')."

"); } $oP->add("\n"); DumpHiddenParams($oP, array('service_id'), $aParameters); @@ -163,7 +163,7 @@ function SelectSubService($oP, $oUserOrg) if (is_object($oService)) { $oP->add("
\n"); - $oP->add("

".Dict::Format('Portal:SelectSubcategoryFrom_Service', htmlentities($oService->GetName(), ENT_QUOTES, 'UTF-8'))."

\n"); + $oP->add("

".Dict::Format('Portal:SelectSubcategoryFrom_Service', $oService->GetName())."

\n"); $oP->add("
\n"); $oP->add("\n"); while($oSubService = $oSet->Fetch()) @@ -174,8 +174,8 @@ function SelectSubService($oP, $oUserOrg) { $sChecked = "checked"; } - $oP->p(""); + $oP->p(""); } $sMessage = Dict::S('Portal:PleaseSelectAServiceSubCategory'); $oP->add_ready_script( @@ -220,9 +220,9 @@ function RequestCreationForm($oP, $oUserOrg) $oRequest->Set('servicesubcategory_id', $aParameters['servicesubcategory_id']); $oAttDef = MetaModel::GetAttributeDef('UserRequest', 'service_id'); - $aDetails[] = array('label' => ''.$oAttDef->GetLabel().'', 'value' => htmlentities($oService->GetName(), ENT_QUOTES, 'UTF-8')); + $aDetails[] = array('label' => ''.$oAttDef->GetLabel().'', 'value' => $oService->GetName()); $oAttDef = MetaModel::GetAttributeDef('UserRequest', 'servicesubcategory_id'); - $aDetails[] = array('label' => ''.$oAttDef->GetLabel().'', 'value' => htmlentities($oSubService->GetName(), ENT_QUOTES, 'UTF-8')); + $aDetails[] = array('label' => ''.$oAttDef->GetLabel().'', 'value' => $oSubService->GetName()); $iFlags = 0; foreach($aList as $sAttCode) {

"); - $oP->p("

".htmlentities($oSubService->Get('description'), ENT_QUOTES, 'UTF-8')."

"); + $oP->p("

".$oSubService->Get('description')."