Added condition response handling to StaticResponse class
[simplicity.git] / source / lib / simplicity / modules / error / template / default.phtml
bloba14fac14fd6b75307b0ae020446a98e5abb880b2
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3         <head>
4                 <title><?php echo $this->title; ?></title>
5             <link rel="stylesheet" href="/_static/admin/css/reset.css" type="text/css" media="screen" />
6                 <link rel="stylesheet" href="/_static/admin/css/jquery/themes/start/jquery.css" type="text/css" media="screen" />
7                 <link rel="stylesheet" href="/_static/admin/css/main.css" type="text/css" media="screen" />             
8                 <link rel="stylesheet" href="/_static/error/css/shCore.css" type="text/css" media="screen" />
9                 <link rel="stylesheet" href="/_static/error/css/shThemeDefault.css" type="text/css" media="screen" />
10         </head>
11         <body>
12                 <div id='content'>
13                         <div class='content'>
14                                 <h1>HTTP Error 500 Internal Server Error</h1>
15                                 <div id="tabs">
16                                         <ul>
17                                                 <li><a href="#tabs-1">Summary</a></li>
18                                                 <li><a href="#tabs-2">Source</a></li>
19                                                 <li><a href="#tabs-3">Trace</a></li>
20                                                 <li><a href="#tabs-4">Context</a></li>
21                                                 <li><a href="#tabs-5">Headers</a></li>
22                                         </ul>
23                                         <div id="tabs-1">
24                                                 <? echo $this->render('message.phtml'); ?>
25                                         </div>
26                                         <div id="tabs-2">
27                                                 <? echo $this->render('code.phtml'); ?>
28                                         </div>
29                                         <div id="tabs-3">
30                                                 <? echo $this->render('trace.phtml'); ?>
31                                         </div>
32                                         <div id="tabs-4">
33                                                 <? echo $this->render('context.phtml'); ?>
34                                         </div>
35                                         <div id="tabs-5">
36                                                 <? echo $this->render('headers.phtml'); ?>
37                                         </div>
38                                 </div>
39                         </div>
40                 </div>
41                 
42                 <script src="/_static/admin/js/jquery/jquery.min.js" type="text/javascript"></script>
43                 <script src="/_static/admin/js/jquery/jquery-ui.min.js" type="text/javascript"></script>
44                 <script type="text/javascript" src="/_static/error/js/shCore.js"></script>      
45                 <script type="text/javascript" src="/_static/error/js/shBrushJScript.js"></script>
46                 <script type="text/javascript" src="/_static/error/js/shBrushCss.js"></script>
47                 <script type="text/javascript" src="/_static/error/js/shBrushPhp.js"></script>
48                 <script type="text/javascript" src="/_static/error/js/shBrushPlain.js"></script>
49                 <script type="text/javascript" src="/_static/error/js/shBrushXml.js"></script>
50                 
51                 <script type="text/javascript">
52                         SyntaxHighlighter.all();
54                         $(function() {
55                                 $('#tabs').tabs();
56                                 $("#accordion").accordion({clearStyle: true,collapsible: true,animated:false});
57                                 $("#accordion").accordion( 'activate' , -1 );
58                                 $("#accordion").accordion( 'activate' , 0 );
59                         });
60                         
61                 </script> 
62         </body>
63 </html>