diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-05-17 18:33:38 +0200 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-05-19 15:45:44 +0200 |
commit | da49e3f3e07158e3aec22efec26ff758c0f04598 (patch) | |
tree | f35da39cf5c42eba34416180f2863a27bda0ed78 /apps/sharebymail/templates | |
parent | 18dd460720b762ff644f3292724c7aad2c9e551d (diff) | |
download | nextcloud-server-da49e3f3e07158e3aec22efec26ff758c0f04598.tar.gz nextcloud-server-da49e3f3e07158e3aec22efec26ff758c0f04598.zip |
Port share by mail settings to vue
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/sharebymail/templates')
-rw-r--r-- | apps/sharebymail/templates/settings-admin.php | 44 |
1 files changed, 23 insertions, 21 deletions
diff --git a/apps/sharebymail/templates/settings-admin.php b/apps/sharebymail/templates/settings-admin.php index 22c9fcedffd..cb58b4cfa48 100644 --- a/apps/sharebymail/templates/settings-admin.php +++ b/apps/sharebymail/templates/settings-admin.php @@ -1,24 +1,26 @@ <?php -/** @var array $_ */ +/** + * @copyright 2022 Carl Schwan <carl@carlschwan.eu> + * + * @author Carl Schwan <carl@carlschwan.eu> + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ -/** @var \OCP\IL10N $l */ -script('sharebymail', 'settings-admin'); -style('sharebymail', 'settings-admin'); +\OCP\Util::addScript('sharebymail', 'vue-settings-admin-sharebymail'); ?> -<div id="ncShareByMailSettings" class="section"> - <h2><?php p($l->t('Share by mail')); ?></h2> - <p class="settings-hint"><?php p($l->t('Allows users to share a personalized link to a file or folder by putting in an email address.')); ?></p> - - <p> - <input id="sendPasswordMail" type="checkbox" class="checkbox" <?php if ($_['sendPasswordMail']) { - p('checked'); -} ?> /> - <label for="sendPasswordMail"><?php p($l->t('Send password by mail')); ?></label><br/> - - <input id="replyToInitiator" type="checkbox" class="checkbox" <?php if ($_['replyToInitiator']) { - p('checked'); -} ?> /> - <label for="replyToInitiator"><?php p($l->t('Reply to initiator')); ?></label> - </p> - -</div> +<div id="vue-admin-sharebymail"></div> |