setIcon("Cross.svg"); $NoButton->setLink("index.php?P=P_UrlChecker_Results"); $YesButton = new HtmlButton("Yes"); $YesButton->setIcon("Check.svg"); $YesButton->setLink("index.php?P=P_UrlChecker_Autofix&Id=$H_Id"); # ----- DISPLAY -------------------------------------------------------------- if (isset($H_Error)) { ?>

getString("DefaultCharacterSet"); $Title = defaulthtmlentities( $H_Resource->GetMapped("Title"), ENT_QUOTES, $Charset, false ); $Url = defaulthtmlentities( $H_InvalidUrl->Url, ENT_QUOTES, $Charset, false ); $FinalUrl = defaulthtmlentities( $H_InvalidUrl->FinalUrl, ENT_QUOTES, $Charset, false ); # basic url href sanitization (mainly to reject javascript) $UrlHref = "#"; if (preg_match("/^(mailto|ftps?|https?):\/\//", $H_InvalidUrl->Url)) { $UrlHref = $H_InvalidUrl->Url; } $FinalUrlHref = "#"; if (preg_match("/^(mailto|ftps?|https?):\/\//", $H_InvalidUrl->FinalUrl)) { $FinalUrlHref = $H_InvalidUrl->FinalUrl; } ?>

# Confirm Automatic Fix

Are you sure you want to permanently modify the getDisplayName(); ?> field of ?

Original:

Updated:

getHtml(); ?> getHtml(); ?>