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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-06-11 15:15:03 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2018-06-20 09:53:37 +0300
commit31392c24434c8dfbe770cec93ccb3c209392334e (patch)
treeb489fe7d181223b06c8c358be6922a47433ce1d8 /apps/files_sharing/templates
parent366981fba6d01167c1ac38f559bd611062d8e534 (diff)
Move public auth page over
Now this is in core so the basics (that 99% of the app will want to use) looks always the same. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_sharing/templates')
-rw-r--r--apps/files_sharing/templates/authenticate.php27
1 files changed, 0 insertions, 27 deletions
diff --git a/apps/files_sharing/templates/authenticate.php b/apps/files_sharing/templates/authenticate.php
deleted file mode 100644
index 6f270c2851a..00000000000
--- a/apps/files_sharing/templates/authenticate.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
- /** @var $_ array */
- /** @var $l \OCP\IL10N */
- style('core', 'guest');
- style('files_sharing', 'authenticate');
- script('files_sharing', 'authenticate');
-?>
-<form method="post">
- <fieldset class="warning">
- <?php if (!isset($_['wrongpw'])): ?>
- <div class="warning-info"><?php p($l->t('This share is password-protected')); ?></div>
- <?php endif; ?>
- <?php if (isset($_['wrongpw'])): ?>
- <div class="warning"><?php p($l->t('The password is wrong. Try again.')); ?></div>
- <?php endif; ?>
- <p>
- <label for="password" class="infield"><?php p($l->t('Password')); ?></label>
- <input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']) ?>" />
- <input type="password" name="password" id="password"
- placeholder="<?php p($l->t('Password')); ?>" value=""
- autocomplete="new-password" autocapitalize="off" autocorrect="off"
- autofocus />
- <input type="submit" id="password-submit"
- class="svg icon-confirm input-button-inline" value="" disabled="disabled" />
- </p>
- </fieldset>
-</form>