getSchema(); $TitleField = $Schema->getFieldByMappedName("Title"); if ($TitleField === null) { $Name = "(No title field mapped)"; $Title = ""; } else { # format information for display $DefaultCharSet = InterfaceConfiguration::getInstance()->getString("DefaultCharacterSet"); $Name = defaulthtmlentities( StdLib::neatlyTruncateString($Resource->get($TitleField), 65), ENT_QUOTES, $DefaultCharSet, false ); $Title = defaulthtmlentities( $Resource->get($TitleField), ENT_QUOTES, $DefaultCharSet, false ); } $CheckDate = ($Resource->getCheckDate() == "N/A") ? $Resource->getCheckDate() : date("M jS, Y \a\\t g:i A", strtotime($Resource->getCheckDate())); ?>
id(); ?>
getAssociatedResource(); $Field = $InvalidUrl->getAssociatedField(); $TitleField = $Resource->getSchema()->getFieldByMappedName("Title"); # get the resource name and RFC anchor name $DefaultCharSet = InterfaceConfiguration::getInstance()->getString("DefaultCharacterSet"); $Name = defaulthtmlentities( StdLib::neatlyTruncateString($Resource->get($TitleField), 22), ENT_QUOTES, $DefaultCharSet, false ); $Title = defaulthtmlentities($Resource->get($TitleField), ENT_QUOTES, $DefaultCharSet, false); $Url = defaulthtmlentities($InvalidUrl->Url, ENT_QUOTES, $DefaultCharSet, false); # basic url href sanitization (mainly to reject javascript) $UrlHref = "#"; if (preg_match("/^(mailto|ftps?|https?):\/\//", $InvalidUrl->Url)) { $UrlHref = $InvalidUrl->Url; } ?>
id(); ?> 65) { ?>
setIcon("MagicWand.svg"); $QueueButton->setLink("index.php?P=P_UrlChecker_Developer&QueueNow=1"); # ----- DISPLAY -------------------------------------------------------------- ?>

# URL Checker Developer Page

## Settings and Information

Last Resource Checked | Next Check | URL Timeout | Threshold
--- | --- | --- | ---
Enqueued Resources | Invalid URLs | Invalid, Hidden URLs | Possibly Invalid URLs
URLs Checked Per Call | Checked Resources | URL Checker Version

## HTTP Status Information

Normal URLs
(no information to display)
$Count) { ?>
Hidden URLs
(no information to display)
$Count) { ?>

## Next Resources to be Checked

Resource ID | Title | Date Checked | Check
--- | --- | --- | ---
(no resources to display)
$CheckDate) { PrintNextResource($ResourceId, $CheckDate); } ?>

## Next URLs to be Checked

Resource ID | Title | URL | Check
--- | --- | --- | ---
(no URLs to display)

getHtml(); ?>