diff options
author | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2013-09-26 22:50:43 +0400 |
---|---|---|
committer | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2013-09-26 22:50:43 +0400 |
commit | b0fae1bef56aeef4a125a537ab4394531ceb2799 (patch) | |
tree | 7a24b090104d8c20f34a33649d6348f068c20789 /templates/public.php | |
parent | 4c30cf0e71738271994adacecb541069fc78b5c6 (diff) |
404 page for broken links
Diffstat (limited to 'templates/public.php')
-rw-r--r-- | templates/public.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/public.php b/templates/public.php index 5d5edba1..eb0e478a 100644 --- a/templates/public.php +++ b/templates/public.php @@ -1,5 +1,12 @@ +<div id="notification-container"> + <div id="notification" style="display: none;"></div> +</div> <div id="documents-content"> <?php if (isset($_['document'])): ?> <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> |