-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patherror.php
54 lines (51 loc) · 2.62 KB
/
error.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php
/**
* @version 1.0.0
* @package Takai
* @author Nuevvo - http://nuevvo.com
* @copyright Copyright (c) 2010 - 2013 Nuevvo Webware Ltd. All rights reserved.
* @license http://nuevvo.com/license
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
require_once(dirname(__FILE__).'/includes/helper.php');
?>
<!DOCTYPE html>
<!DOCTYPE html>
<!--[if lte IE 6]><html class="isIE6" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" prefix="og: http://ogp.me/ns#"><![endif]-->
<!--[if IE 7]><html class="isIE7" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" prefix="og: http://ogp.me/ns#"><![endif]-->
<!--[if IE 8]><html class="isIE8" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" prefix="og: http://ogp.me/ns#"><![endif]-->
<!--[if IE 9]><html class="isIE9" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" prefix="og: http://ogp.me/ns#"><![endif]-->
<!--[if gt IE 9]><!--><html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" prefix="og: http://ogp.me/ns#"><!--<![endif]-->
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
<meta charset="utf-8" />
<title><?php echo $this->error->getCode(); ?> | <?php echo $this->title; ?></title>
<meta name="viewport" content="width=device-width, user-scalable=0, initial-scale=1.0" />
<script type="text/javascript">
var errorMessages = {
siteName: '<?php echo $app->getCfg('sitename'); ?>',
siteUrl: '<?php echo JURI::root(); ?>',
baseUrl: '<?php echo $this->baseurl; ?>/',
currentUrl: '<?php echo $url; ?>',
resultsContainer: 'googleSearchResults',
errorCode: '<?php echo $this->error->getCode(); ?>',
errorMsg: '<?php echo $this->error->getMessage(); ?>',
googleResultsTitle: '<?php echo nuText('TPL_NU_FE_GOOGLE_RESULTS_MSG'); ?>',
formTitle: '<?php echo nuText('TPL_NU_FE_SEARCH_FORM_MSG'); ?>',
formAction: '<?php echo JRoute::_('index.php'); ?>',
formSubmit: '<?php echo nuText('TPL_NU_FE_SEARCH_FORM_SUBMIT'); ?>',
returnTo: '<?php echo nuText('TPL_NU_FE_RETURN_MSG'); ?>',
returnLinkTitle: '<?php echo nuText('TPL_NU_FE_RETURN_HOME_TITLE'); ?>',
returnLinkText: '<?php echo nuText('TPL_NU_FE_RETURN_HOME'); ?>'
}
</script>
<script type="text/javascript" src="<?php echo NU_CDN; ?>/templates/error.js"></script>
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.2/html5shiv.js"></script>
<![endif]-->
</head>
<body class="errorWrapper">
<div id="loadErrorPage"><?php echo JText::_('TPL_NU_FE_LOADING'); ?></div>
</body>
</html>