replace 'ownCloud' with 'Nextcloud'
This commit is contained in:
parent
a0ae16aa1a
commit
1394b0afb9
|
@ -313,7 +313,7 @@ OCA.Sharing.PublicApp = {
|
||||||
$.get(OC.generateUrl('apps/files_sharing/testremote'), {remote: remote}).then(function (protocol) {
|
$.get(OC.generateUrl('apps/files_sharing/testremote'), {remote: remote}).then(function (protocol) {
|
||||||
if (protocol !== 'http' && protocol !== 'https') {
|
if (protocol !== 'http' && protocol !== 'https') {
|
||||||
toggleLoading();
|
toggleLoading();
|
||||||
OC.dialogs.alert(t('files_sharing', 'No ownCloud installation (7 or higher) found at {remote}', {remote: remote}),
|
OC.dialogs.alert(t('files_sharing', 'No Nextcloud installation (7 or higher) found at {remote}', {remote: remote}),
|
||||||
t('files_sharing', 'Invalid ownCloud url'));
|
t('files_sharing', 'Invalid ownCloud url'));
|
||||||
} else {
|
} else {
|
||||||
OC.redirect(protocol + '://' + url);
|
OC.redirect(protocol + '://' + url);
|
||||||
|
|
|
@ -82,9 +82,9 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size);
|
||||||
?>
|
?>
|
||||||
<span id="save" data-protected="<?php p($_['protected']) ?>"
|
<span id="save" data-protected="<?php p($_['protected']) ?>"
|
||||||
data-owner-display-name="<?php p($_['displayName']) ?>" data-owner="<?php p($_['owner']) ?>" data-name="<?php p($_['filename']) ?>">
|
data-owner-display-name="<?php p($_['displayName']) ?>" data-owner="<?php p($_['owner']) ?>" data-name="<?php p($_['filename']) ?>">
|
||||||
<button id="save-button"><?php p($l->t('Add to your ownCloud')) ?></button>
|
<button id="save-button"><?php p($l->t('Add to your Nextcloud')) ?></button>
|
||||||
<form class="save-form hidden" action="#">
|
<form class="save-form hidden" action="#">
|
||||||
<input type="text" id="remote_address" placeholder="user@example.com/owncloud"/>
|
<input type="text" id="remote_address" placeholder="user@yourNextcloud.org"/>
|
||||||
<button id="save-button-confirm" class="icon-confirm svg" disabled></button>
|
<button id="save-button-confirm" class="icon-confirm svg" disabled></button>
|
||||||
</form>
|
</form>
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in New Issue