richdocuments/templates/public.php

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

2015-08-26 20:16:53 +03:00
<?php
2015-12-16 17:57:44 +03:00
style( 'richdocuments', 'style' );
2015-08-26 20:16:53 +03:00
?>
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-04 12:31:09 +04:00
<input type="hidden" name="memberName" value ="<?php p($l->t('Guest %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>