server/apps/user_openid/templates/nomode.php

29 lines
969 B
PHP
Raw Normal View History

2011-06-23 22:24:45 +00:00
<?php
global $profile;
?>
<div id="login">
2012-05-06 21:00:36 +00:00
<img src="<?php echo OCP\image_path("", "logo.png"); ?>" alt="ownCloud" />
2011-06-23 22:24:45 +00:00
<ul>
<li class='error'>
<div id="setup_form">
<p><?php echo($l->t('This is an OpenID server endpoint. For more information, see '));?><a href='http://openid.net/' title='openid.net'>http://openid.net/</a></p>
<?php if($_['user']):?>
<p><?php echo($l->t('Identity: <b>').$profile['idp_url']); ?></b></p>
<p><?php echo($l->t('Realm: <b>').$profile['php_realm']); ?></b></p>
<p><?php echo($l->t('User: <b>').$_['user']); ?></b>
<p><a href="<?php echo($profile['idp_url']); ?>?openid.mode=login"><?php echo($l->t('Login')); ?></a>
<?php if($profile['allow_test'] === true): ?>
<a href="<?php echo($profile['idp_url']); ?>?openid.mode=test">Test</a>
<?php endif; ?>
<?php else: ?>
<p><?php echo($l->t('Error: <b>No user Selected')); ?></p>
<?php endif; ?>
2011-06-23 22:24:45 +00:00
</div>
</li>
</ul>
</div>