Skip to content

Commit

Permalink
Bug 554198 - [p=reed r=ozten]
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.mozilla.org/projects/plugindir/trunk@64588 4eb1ac78-321c-0410-a911-ec516a8615a5
  • Loading branch information
reed@reedloden.com authored and lmorchard committed Mar 30, 2010
1 parent d064e18 commit 646f81d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions system/views/kohana_error_disabled.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<?php include Kohana::find_file('views', 'kohana_errors', FALSE, 'css') ?> <?php include Kohana::find_file('views', 'kohana_errors', FALSE, 'css') ?>
</style> </style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title><?php echo $error ?></title> <title><?php echo html::specialchars($error) ?></title>
</head> </head>
<body> <body>
<div id="framework_error" style="width:24em;margin:50px auto;"> <div id="framework_error" style="width:24em;margin:50px auto;">
<h3><?php echo html::specialchars($error) ?></h3> <h3><?php echo html::specialchars($error) ?></h3>
<p style="text-align:center"><?php echo $message ?></p> <p style="text-align:center"><?php echo html::specialchars($message) ?></p>
</div> </div>
</body> </body>
</html> </html>
6 changes: 3 additions & 3 deletions system/views/kohana_error_page.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<?php include Kohana::find_file('views', 'kohana_errors', FALSE, 'css') ?> <?php include Kohana::find_file('views', 'kohana_errors', FALSE, 'css') ?>
</style> </style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title><?php echo $error ?></title> <title><?php echo html::specialchars($error) ?></title>
<base href="http://php.net/" /> <base href="http://php.net/" />
</head> </head>
<body> <body>
Expand All @@ -16,12 +16,12 @@
<?php if ( ! empty($line) AND ! empty($file)): ?> <?php if ( ! empty($line) AND ! empty($file)): ?>
<p><?php echo Kohana::lang('core.error_file_line', $file, $line) ?></p> <p><?php echo Kohana::lang('core.error_file_line', $file, $line) ?></p>
<?php endif ?> <?php endif ?>
<p><code class="block"><?php echo $message ?></code></p> <p><code class="block"><?php echo html::specialchars($message) ?></code></p>
<?php if ( ! empty($trace)): ?> <?php if ( ! empty($trace)): ?>
<h3><?php echo Kohana::lang('core.stack_trace') ?></h3> <h3><?php echo Kohana::lang('core.stack_trace') ?></h3>
<?php echo $trace ?> <?php echo $trace ?>
<?php endif ?> <?php endif ?>
<p class="stats"><?php echo Kohana::lang('core.stats_footer') ?></p> <p class="stats"><?php echo Kohana::lang('core.stats_footer') ?></p>
</div> </div>
</body> </body>
</html> </html>

0 comments on commit 646f81d

Please sign in to comment.