summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-08-14 15:06:16 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-08-14 15:06:16 +0200
commit970888b92d967f657b4f719a729a823cbf7e2437 (patch)
tree4e9e842e404d29276d8bc665447ec18a89ca69fe
parent6e30ade0b34224f92ecf4bc7c95cc319006ee4b8 (diff)
downloadnextcloud-server-970888b92d967f657b4f719a729a823cbf7e2437.tar.gz
nextcloud-server-970888b92d967f657b4f719a729a823cbf7e2437.zip
fix some details in Personal
-rw-r--r--apps/user_openid/templates/settings.php5
-rw-r--r--settings/templates/personal.php4
2 files changed, 7 insertions, 2 deletions
diff --git a/apps/user_openid/templates/settings.php b/apps/user_openid/templates/settings.php
index add3345f7b1..b912ff1b79a 100644
--- a/apps/user_openid/templates/settings.php
+++ b/apps/user_openid/templates/settings.php
@@ -1,6 +1,9 @@
<form id="openidform">
<fieldset class="personalblock">
- <p><strong>OpenID</strong> <?php echo ((isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == 'on') ? 'https' : 'http').'://'.$_SERVER['HTTP_HOST'].$WEBROOT.'/?'; echo OC_User::getUser(); ?></p>
+ <p><strong>OpenID</strong>
+ <a href="<?php echo ((isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == 'on') ? 'https' : 'http').'://'.$_SERVER['HTTP_HOST'].OC::$WEBROOT.'/?'; echo OC_User::getUser(); ?>" title="OpenID">
+ <?php echo ((isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == 'on') ? 'https' : 'http').'://'.$_SERVER['HTTP_HOST'].OC::$WEBROOT.'/?'; echo OC_User::getUser(); ?></p>
+ </a>
<label for="identity">Authorized</label>
<input type="text" name="identity" id="identity" value="<?php echo $_['identity']; ?>" placeholder="OpenID provider" title="Wordpress, Identi.ca, Launchpad, &hellip;" />
</fieldset>
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index 02f66c9a131..021d03ba6da 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -26,7 +26,9 @@
</form>
<p class="personalblock">
- <strong>WebDAV</strong> <?php echo ((isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == 'on') ? 'https' : 'http').'://'.$_SERVER['HTTP_HOST'].$WEBROOT.'/files/webdav.php'; ?>
+ <strong>WebDAV</strong> <a href="<?php echo ((isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == 'on') ? 'https' : 'http').'://'.$_SERVER['HTTP_HOST'].OC::$WEBROOT.'/files/webdav.php'; ?>" title="webdav">
+ <?php echo ((isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == 'on') ? 'https' : 'http').'://'.$_SERVER['HTTP_HOST'].OC::$WEBROOT.'/files/webdav.php'; ?>
+ </a>
</p>
<?php foreach($_['forms'] as $form){