Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Dubiniuk <victor.dubiniuk@gmail.com>2013-09-26 22:50:43 +0400
committerVictor Dubiniuk <victor.dubiniuk@gmail.com>2013-09-26 22:50:43 +0400
commitb0fae1bef56aeef4a125a537ab4394531ceb2799 (patch)
tree7a24b090104d8c20f34a33649d6348f068c20789 /templates/public.php
parent4c30cf0e71738271994adacecb541069fc78b5c6 (diff)
404 page for broken links
Diffstat (limited to 'templates/public.php')
-rw-r--r--templates/public.php7
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>