Blame view

sources/apps/documents/templates/public.php 1.02 KB
d1bafeea1   Kload   [fix] Upgrade to ...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  <div id="notification-container">
  	<div id="notification" style="display: none;"></div>
  </div>
  <div id="documents-content">
  	<?php if (isset($_['hasPassword'])): ?>
  		<?php if (isset($_['wrongpw'])): ?>
  			<div class="push"></div>
  			<div class="warning"><?php p($l->t('Wrong password. Please retry.')) ?></div>
  		<?php endif; ?>
  		<form method="post">
  			<input type="password" name="password" placeholder="<?php p($l->t('Password')) ?>" />
  			<input type="submit" name="submit" value="<?php p($l->t('OK')) ?>" />
  		</form>
  	<?php endif; ?>
  	<?php if (isset($_['document']) && !isset($_['wrongpw'])): ?>
  		<input type="hidden" name="document" value ="<?php p($_['document']) ?>" />
  		<input type="hidden" name="memberName" value ="<?php p($l->t('Guest %s' ,$_['total'])) ?>" />
  	<?php endif; ?>
  	<?php if (isset($_['notFound'])): ?>
  		<div class="push"></div>
  		<div class="warning"><?php p($l->t('This link has been expired or is never existed. Please contact the person who shared it with you for details.')) ?></div>
  	<?php endif; ?>
  </div>