diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-01-14 20:30:28 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-01-16 18:09:16 +0100 |
commit | a8f963d9cf5b243cae497450af78c20cbc367b4b (patch) | |
tree | fd23acd48a702fe247e81c25e1f98a6f214a30ae /settings/templates/help.php | |
parent | cb0fd30458c29db7667582b7c182b4d530366634 (diff) | |
download | nextcloud-server-a8f963d9cf5b243cae497450af78c20cbc367b4b.tar.gz nextcloud-server-a8f963d9cf5b243cae497450af78c20cbc367b4b.zip |
Spaces to tabs
Diffstat (limited to 'settings/templates/help.php')
-rw-r--r-- | settings/templates/help.php | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/settings/templates/help.php b/settings/templates/help.php index b697905f7ef..8f51cd87017 100644 --- a/settings/templates/help.php +++ b/settings/templates/help.php @@ -1,14 +1,14 @@ <div id="controls"> - <?php if($_['admin']) { ?> + <?php if($_['admin']) { ?> <a class="button newquestion <?php echo($_['style1']); ?>" href="<?php echo($_['url1']); ?>"><?php echo $l->t( 'User Documentation' ); ?></a> - <a class="button newquestion <?php echo($_['style2']); ?>" href="<?php echo($_['url2']); ?>"><?php echo $l->t( 'Administrator Documentation' ); ?></a> + <a class="button newquestion <?php echo($_['style2']); ?>" href="<?php echo($_['url2']); ?>"><?php echo $l->t( 'Administrator Documentation' ); ?></a> <?php } ?> - <a class="button newquestion" href="http://owncloud.org/support" target="_blank"><?php echo $l->t( 'Online Documentation' ); ?></a> - <a class="button newquestion" href="http://forum.owncloud.org" target="_blank"><?php echo $l->t( 'Forum' ); ?></a> - <?php if($_['admin']) { ?> + <a class="button newquestion" href="http://owncloud.org/support" target="_blank"><?php echo $l->t( 'Online Documentation' ); ?></a> + <a class="button newquestion" href="http://forum.owncloud.org" target="_blank"><?php echo $l->t( 'Forum' ); ?></a> + <?php if($_['admin']) { ?> <a class="button newquestion" href="https://github.com/owncloud/core/issues" target="_blank"><?php echo $l->t( 'Bugtracker' ); ?></a> <?php } ?> - <a class="button newquestion" href="http://owncloud.com" target="_blank"><?php echo $l->t( 'Commercial Support' ); ?></a> + <a class="button newquestion" href="http://owncloud.com" target="_blank"><?php echo $l->t( 'Commercial Support' ); ?></a> </div> <br /><br /> <iframe src="<?php echo($_['url']); ?>" width="100%" id="ifm" ></iframe> @@ -18,14 +18,14 @@ <!-- function pageY(elem) { - return elem.offsetParent ? (elem.offsetTop + pageY(elem.offsetParent)) : elem.offsetTop; + return elem.offsetParent ? (elem.offsetTop + pageY(elem.offsetParent)) : elem.offsetTop; } var buffer = 5; //scroll bar buffer function resizeIframe() { - var height = document.documentElement.clientHeight; - height -= pageY(document.getElementById('ifm'))+ buffer ; - height = (height < 0) ? 0 : height; - document.getElementById('ifm').style.height = height + 'px'; + var height = document.documentElement.clientHeight; + height -= pageY(document.getElementById('ifm'))+ buffer ; + height = (height < 0) ? 0 : height; + document.getElementById('ifm').style.height = height + 'px'; } document.getElementById('ifm').onload=resizeIframe; |