2$this->includeAtTemplateBase(
'includes/header.php');
8assert(is_string(
$url));
29<h2>Attribute query
test</h2>
31<
p>This is a
test page
for sending an AttributeQuery message.</
p>
35<form action=
"?" method=
"post">
36<
input name=
"dataId" type=
"hidden" value=
"<?php echo htmlspecialchars($dataId); ?>" />
38<label
for=
"url">URL of attribute query endpoint:</label><br />
39<
input name=
"url" type=
"text" size=
"80" value=
"<?php echo htmlspecialchars($url); ?>" />
42<label
for=
"nameIdFormat">NameID format:</label><br />
43<
input name=
"nameIdFormat" type=
"text" size=
"80" value=
"<?php echo htmlspecialchars($nameIdFormat); ?>" />
47<label
for=
"nameIdValue">NameID value:</label><br />
48<
input name=
"nameIdValue" type=
"text" size=
"80" value=
"<?php echo htmlspecialchars($nameIdValue); ?>" />
52<label
for=
"nameIdQualifier">NameID NameQualifier (optional):</label><br />
53<
input name=
"nameIdQualifier" type=
"text" size=
"80" value=
"<?php echo htmlspecialchars($nameIdQualifier); ?>" />
57<label for=
"nameIdSPQualifier">NameID SPNameQualifier (optional):</label><br />
58<
input name=
"nameIdSPQualifier" type=
"text" size=
"80" value=
"<?php echo htmlspecialchars($nameIdSPQualifier); ?>" />
62<button type=
"submit" name=
"send" class=
"btn">Send query</button>
69 echo(
'<h3>Attributes received</h3><dl>');
71 echo(
'<dt>' . htmlspecialchars(
$name) .
'</dt><dd><ul>');
73 echo(
'<li>' . htmlspecialchars($value) .
'</li>');
81<?
php $this->includeAtTemplateBase(
'includes/footer.php');
An exception for terminatinating execution or to throw for unit testing.
if(!file_exists(getcwd() . '/ilias.ini.php'))
registration confirmation script for ilias