diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-09-18 09:10:16 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-09-18 09:10:16 +0200 |
commit | c89c6ed21de96be58793c0e63c39aa0897253450 (patch) | |
tree | e9584a17c69a2d922d9de6207c27485744b0b5f3 /core | |
parent | 338db48c0b284aa5bc3a5ec36f352ce3fa8ea16e (diff) | |
parent | 8fc1a9f5a9c6ba1be8ff2ae6f2c693e21183696d (diff) | |
download | nextcloud-server-c89c6ed21de96be58793c0e63c39aa0897253450.tar.gz nextcloud-server-c89c6ed21de96be58793c0e63c39aa0897253450.zip |
Merge pull request #11143 from owncloud/improve-404
Make 404 page easier to understand
Diffstat (limited to 'core')
-rw-r--r-- | core/templates/404.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/core/templates/404.php b/core/templates/404.php index bf1e03e6bc9..90912844ef9 100644 --- a/core/templates/404.php +++ b/core/templates/404.php @@ -1,4 +1,6 @@ <?php +/** @var $_ array */ +/** @var $l OC_L10N */ if(!isset($_)) {//also provide standalone error page require_once '../../lib/base.php'; @@ -12,8 +14,9 @@ if(!isset($_)) {//also provide standalone error page <?php else: ?> <ul> <li class="error"> - <?php p($l->t( 'Cloud not found' )); ?><br/> - <p class='hint'><?php if(isset($_['file'])) p($_['file'])?></p> + <?php p($l->t('File not found')); ?><br/> + <p class="hint"><?php p($l->t('The specified document has not been found on the server.')); ?></p> + <p class="hint"><a href="<?php p(OC_Helper::linkTo('', 'index.php')) ?>"><?php p($l->t('You can click here to return to %s.', array($theme->getName()))); ?></a></p> </li> </ul> <?php endif; ?> |