diff --git a/apps/user_openid/phpmyid.php b/apps/user_openid/phpmyid.php index 330cd466c48..5b04684cd7d 100644 --- a/apps/user_openid/phpmyid.php +++ b/apps/user_openid/phpmyid.php @@ -560,7 +560,9 @@ function logout_mode () { * @global array $profile */ function no_mode () { + global $USERNAME; $tmpl = new OC_TEMPLATE( 'user_openid', 'nomode', 'guest' ); + $tmpl->assign('user',$USERNAME); $tmpl->printPage(); } @@ -1669,7 +1671,7 @@ if (! array_key_exists('auth_domain', $profile)) // Set a default authentication realm if (! array_key_exists('auth_realm', $profile)) - $profile['auth_realm'] = 'phpMyID'; + $profile['auth_realm'] = 'ownCloud'; // Determine the realm for digest authentication - DO NOT OVERRIDE $profile['php_realm'] = $profile['auth_realm'] . (ini_get('safe_mode') ? '-' . getmyuid() : ''); diff --git a/apps/user_openid/templates/nomode.php b/apps/user_openid/templates/nomode.php index 13a1a894931..f85d28cdc9b 100644 --- a/apps/user_openid/templates/nomode.php +++ b/apps/user_openid/templates/nomode.php @@ -5,17 +5,22 @@ global $profile; ?>
t('This is an OpenID server endpoint. For more information, see http://openid.net/'));?>
-t('Server: ').$profile['idp_url']); ?> -
t('Realm: ').$profile['php_realm']); ?> -
t('Login')); ?> - - | Test - +
t('This is an OpenID server endpoint. For more information, see '));?>http://openid.net/
+ +t('Identity: ').$profile['idp_url']); ?>
+t('Realm: ').$profile['php_realm']); ?>
+t('User: ').$_['user']); ?> +
t('Login')); ?> + + Test + + +
t('Error: No user Selected')); ?>
+