GetFieldByMappedName("Title");
$UrlField = $Schema->GetFieldByMappedName("Url");
return array(
"CanViewTitleField" => $Resource->UserCanViewField($GLOBALS["User"], $TitleField),
"CanViewUrlField" => $Resource->UserCanViewField($GLOBALS["User"], $UrlField),
"SafeResourceId" => defaulthtmlentities($ParameterOne),
"SafeResourceTitle" => defaulthtmlentities($Resource->Get($TitleField)),
"SafeResourceUrl" => defaulthtmlentities($Resource->Get($UrlField)));
}
/**
* Append HTML to the feedback form.
* @return void
*/
function AppendHtmlToForm()
{
# fetch the data from plugins
$Data = $GLOBALS["AF"]->SignalEvent(
"EVENT_APPEND_HTML_TO_FORM",
array(
"PageName" => "LeaveFeedback",
"FormName"=>"FeedbackForm",
"Labels" => array(),
"InputElements" => array(),
"Notes" => array())) ;
# extract data: $Labels, $InputElements, $Notes
extract($Data);
# append them where required
for ($i = 0; $i < count($Labels); $i++)
{
?>
|
|
|
|
IsLoggedIn();
# escaped values that are safe for printing
$SafePageHeader = defaulthtmlentities(GetPageHeader($H_FeedbackType));
$SafeFormAction = defaulthtmlentities("index.php?".http_build_query($_GET));
$SafeFeedbackType = defaulthtmlentities($H_FeedbackType);
$SafeReturnTo = defaulthtmlentities($H_ReturnTo);
?>
Su envento ha sido registrado. Gracias por su informacioón!
Su opinión ha sido registrada. Gracias por su ayuda!
Su opinión ha sido registrada. Gracias por sus comentarios!
Volver