summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/templates
diff options
context:
space:
mode:
authorMorris Jobke <morris.jobke@gmail.com>2013-10-10 04:49:47 -0700
committerMorris Jobke <morris.jobke@gmail.com>2013-10-10 04:49:47 -0700
commitcf554fd8043a984dfc475bc10d161b96f0ce7b4b (patch)
tree093b37124027c4fe61cf2fe781bcc356728bbe88 /apps/files_sharing/templates
parentd968843bf629c188d7f3e8a85e565cf78878e02f (diff)
parentc99c3ea9e62d5c150aaaecc4075f4ea35b4034ea (diff)
downloadnextcloud-server-cf554fd8043a984dfc475bc10d161b96f0ce7b4b.tar.gz
nextcloud-server-cf554fd8043a984dfc475bc10d161b96f0ce7b4b.zip
Merge pull request #5182 from owncloud/fix-sharring-with-password-screen
Fix password screen for public shares
Diffstat (limited to 'apps/files_sharing/templates')
-rw-r--r--apps/files_sharing/templates/authenticate.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/files_sharing/templates/authenticate.php b/apps/files_sharing/templates/authenticate.php
index 2c89b5df3f6..6b98e6c9f34 100644
--- a/apps/files_sharing/templates/authenticate.php
+++ b/apps/files_sharing/templates/authenticate.php
@@ -1,12 +1,15 @@
<form action="<?php p($_['URL']); ?>" method="post">
<fieldset>
+ <?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>
+ <div class="warning"><?php p($l->t('The password is wrong. Try again.')); ?></div>
<?php endif; ?>
<p class="infield">
<label for="password" class="infield"><?php p($l->t('Password')); ?></label>
<input type="password" name="password" id="password" placeholder="" value="" autofocus />
- <input type="submit" value="<?php p($l->t('Submit')); ?>" />
+ <input type="submit" value="" class="svg" />
</p>
</fieldset>
</form>