richdocuments/templates/public.php

24 строки
1.0 KiB
PHP
Исходник Обычный вид История

2013-09-26 22:50:43 +04:00
<div id="notification-container">
<div id="notification" style="display: none;"></div>
</div>
2013-09-23 23:56:27 +04:00
<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'])): ?>
2013-09-23 23:56:27 +04:00
<input type="hidden" name="document" value ="<?php p($_['document']) ?>" />
2014-04-02 20:56:42 +04:00
<input type="hidden" name="memberName" value ="<?php p($l->t('User %s' ,$_['total'])) ?>" />
2013-09-23 23:56:27 +04:00
<?php endif; ?>
2013-09-26 22:50:43 +04:00
<?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; ?>
2013-09-23 23:56:27 +04:00
</div>