Blame view

sources/apps/documents/templates/public.php 1.08 KB
923852aa1   Kload   Official Owncloud...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  <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="text" 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'])): ?>
  		<form>
  			<input type="text" name="memberName" placeholder="<?php p($l->t('Please enter your nickname')) ?>" />
  			<button id="odf-join"><?php p($l->t('Join')) ?></button>
  		</form>
  		<input type="hidden" name="document" value ="<?php p($_['document']) ?>" />
  	<?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>