Blame view

sources/apps/user_openid/templates/nomode.php 974 Bytes
42e4f8d60   Kload   add all apps
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  <?php
  
  global $profile;
  
  ?>
  
  <div id="login">
  	<img src="<?php print_unescaped(OCP\image_path("", "logo.png")); ?>" alt="ownCloud" />
  	<ul>
  		<li class='error'>
  			<div id="setup_form">
  				<p><?php p($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 p($l->t('Identity: <b>').$profile['idp_url']); ?></b></p>
  					<p><?php p($l->t('Realm: <b>').$profile['php_realm']); ?></b></p>
  					<p><?php p($l->t('User: <b>').$_['user']); ?></b></p>
  					<p><a href="<?php print_unescaped($profile['idp_url']); ?>?openid.mode=login"><?php p($l->t('Login')); ?></a>
  					<?php if($profile['allow_test'] === true): ?>
  						<a href="<?php p($profile['idp_url']); ?>?openid.mode=test">Test</a>
  					<?php endif; ?>
  				<?php else: ?>
  					<p><?php p($l->t('Error: <b>No user Selected')); ?></p>
  				<?php endif; ?>
  			</div>
  		</li>
  	</ul>
  </div>