summaryrefslogtreecommitdiffstats
path: root/core/js/share.js
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-04-09 12:30:18 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-04-09 12:30:18 +0200
commit6f51beac23c48384103457c26cda71a7c7f42fc1 (patch)
tree4d500ac802909415bf01baff2d2c6613c90bf7f9 /core/js/share.js
parent4a01d5c5883094f297c2c68628a8bac4a3b25586 (diff)
downloadnextcloud-server-6f51beac23c48384103457c26cda71a7c7f42fc1.tar.gz
nextcloud-server-6f51beac23c48384103457c26cda71a7c7f42fc1.zip
Correctly generate the doc link via go.php
Diffstat (limited to 'core/js/share.js')
-rw-r--r--core/js/share.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/js/share.js b/core/js/share.js
index 29551654435..56925417bfb 100644
--- a/core/js/share.js
+++ b/core/js/share.js
@@ -399,9 +399,9 @@ OC.Share={
html += '<label for="shareWith" class="hidden-visually">'+t('core', 'Share')+'</label>';
html += '<input id="shareWith" type="text" placeholder="' + sharePlaceholder + '" />';
if(oc_appconfig.core.remoteShareAllowed) {
- html += '<a target="_blank" class="icon-info svg shareWithRemoteInfo" '
- + 'title="'+t('core', 'Share with people on other ownClouds using the syntax username@example.com/owncloud')+'" '
- + 'href="https://doc.owncloud.org/server/8.0/user_manual/files/federated_cloud_sharing.html"></a>';
+ var federatedCloudSharingDoc = '<a target="_blank" class="icon-info svg shareWithRemoteInfo" href="{docLink}" '
+ + 'title="' + t('core', 'Share with people on other ownClouds using the syntax username@example.com/owncloud') + '"></a>';
+ html += federatedCloudSharingDoc.replace('{docLink}', oc_appconfig.core.federatedCloudShareDoc);
}
html += '<span class="shareWithLoading icon-loading-small hidden"></span>';
html += '<ul id="shareWithList">';