Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornacho <nacho@ownyourbits.com>2018-12-31 18:34:32 +0300
committernachoparker <nacho@ownyourbits.com>2019-01-05 04:14:53 +0300
commit74db3796ad4b19a17bd131952aada886e1402bbd (patch)
tree6cd435d9091b5c02150d7032b58c40cb1a4c65b1 /ncp-web
parent7fe47432201bf082479cb4315e693348ad4e9732 (diff)
fix URL links
Diffstat (limited to 'ncp-web')
-rw-r--r--ncp-web/elements.php4
-rw-r--r--ncp-web/js/ncp.js2
2 files changed, 2 insertions, 4 deletions
diff --git a/ncp-web/elements.php b/ncp-web/elements.php
index 56446306..c018bc1e 100644
--- a/ncp-web/elements.php
+++ b/ncp-web/elements.php
@@ -130,7 +130,7 @@ function print_config_forms( $l /* translations l10n object */ )
<div id="$cfg[id]-config-box" class="$hidden">
<h2 class="text-title">$cfg[description]</h2>
<div class="config-box-info-txt">$cfg[info]</div>
- <a href="#" target="_blank">
+ <a href="https://github.com/nextcloud/nextcloudpi/wiki/Configuration-Reference#$ncp_app" target="_blank">
<div class="icon-info"></div>
</a>
<br/>
@@ -181,7 +181,7 @@ function print_sidebar( $l /* translations l10n object */, $ticks /* wether to c
if (array_key_exists('app',$_GET) && $_GET['app'] == $ncp_app)
$selected = "active";
$ret .= "<ul id=\"$ncp_app\" class=\"nav-recent $selected\">";
- $ret .= "<a href=\"#\"> {$l->__($ncp_app, $ncp_app)}$active </a>";
+ $ret .= "<a href=\"?app=$ncp_app\"> {$l->__($ncp_app, $ncp_app)}$active </a>";
$ret .= "</ul>";
}
$ret .= "</li>";
diff --git a/ncp-web/js/ncp.js b/ncp-web/js/ncp.js
index c6c043ef..22ad43b8 100644
--- a/ncp-web/js/ncp.js
+++ b/ncp-web/js/ncp.js
@@ -151,8 +151,6 @@ function app_clicked(item)
selectedID = item.get('.id');
item.set('+active');
$('#' + selectedID + '-config-box').show();
- var baseURL = 'https://github.com/nextcloud/nextcloudpi/wiki/Configuration-Reference#';
- $('#' + selectedID + '-config-box .icon-info').up().set( '@href', baseURL + selectedID );
}
$(function()