From 580cd62f0a4fac5dba37a8a152afaecd99e8c767 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Thu, 15 Dec 2011 20:07:48 -0500 Subject: removed old libraries - depends on openid_api now --- .../examples/server/lib/render/trust.php | 56 ---------------------- 1 file changed, 56 deletions(-) delete mode 100644 models/openid-php-openid-782224d/examples/server/lib/render/trust.php (limited to 'models/openid-php-openid-782224d/examples/server/lib/render/trust.php') diff --git a/models/openid-php-openid-782224d/examples/server/lib/render/trust.php b/models/openid-php-openid-782224d/examples/server/lib/render/trust.php deleted file mode 100644 index 681d4560a..000000000 --- a/models/openid-php-openid-782224d/examples/server/lib/render/trust.php +++ /dev/null @@ -1,56 +0,0 @@ - -
- %s - - -
- -'); - -define('normal_pat', - '

Do you wish to confirm your identity ' . - '(%s) with %s?

'); - -define('id_select_pat', - '

You entered the server URL at the RP. -Please choose the name you wish to use. If you enter nothing, the request will be cancelled.
-

-'); - -define('no_id_pat', -' -You did not send an identifier with the request, -and it was not an identifier selection request. -Please return to the relying party and try again. -'); - -function trust_render($info) -{ - $current_user = getLoggedInUser(); - $lnk = link_render(idURL($current_user)); - $trust_root = htmlspecialchars($info->trust_root); - $trust_url = buildURL('trust', true); - - if ($info->idSelect()) { - $prompt = id_select_pat; - } else { - $prompt = sprintf(normal_pat, $lnk, $trust_root); - } - - $form = sprintf(trust_form_pat, $trust_url, $prompt); - - return page_render($form, $current_user, 'Trust This Site'); -} - -function noIdentifier_render() -{ - return page_render(no_id_pat, null, 'No Identifier Sent'); -} - -?> \ No newline at end of file -- cgit v1.2.3