diff options
author | Daniele E. Domenichelli <daniele.domenichelli@gmail.com> | 2012-04-12 14:40:49 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-04-12 17:51:17 +0200 |
commit | d9aa31fd922a3e316e5113854a06790ffb38685b (patch) | |
tree | c2152a5375baef334c4b1e7f32cddd4942e783a5 /apps/user_openid | |
parent | 156bdae2fe0e305a78c8c8ef16dde5f2d4066c42 (diff) | |
download | nextcloud-server-d9aa31fd922a3e316e5113854a06790ffb38685b.tar.gz nextcloud-server-d9aa31fd922a3e316e5113854a06790ffb38685b.zip |
Use OC_Helper::serverHost() in openid settings
Diffstat (limited to 'apps/user_openid')
-rw-r--r-- | apps/user_openid/templates/settings.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_openid/templates/settings.php b/apps/user_openid/templates/settings.php index 7c742030ce3..24dfaa17891 100644 --- a/apps/user_openid/templates/settings.php +++ b/apps/user_openid/templates/settings.php @@ -1,7 +1,7 @@ <form id="openidform"> <fieldset class="personalblock"> <strong>OpenID</strong> - <?php echo ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https' : 'http').'://'.$_SERVER['HTTP_HOST'].OC::$WEBROOT.'/?'; echo OC_User::getUser(); ?><br /><em><?php echo $l->t('you can authenticate to other sites with this address');?></em><br /> + <?php echo ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https' : 'http').'://'.OC_Helper::serverHost().OC::$WEBROOT.'/?'; echo OC_User::getUser(); ?><br /><em><?php echo $l->t('you can authenticate to other sites with this address');?></em><br /> <label for="identity"><?php echo $l->t('Authorized OpenID provider');?></label> <input type="text" name="identity" id="identity" value="<?php echo $_['identity']; ?>" placeholder="<?php echo $l->t('Your address at Wordpress, Identi.ca, …');?>" /><span class="msg"></span> </fieldset> |