From 9b6663f87a7e679ffba691cf516191fc840cf978 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Tue, 24 Nov 2009 19:20:36 -0800 Subject: Update to Kohana r4684 which is now Kohana 2.4 and has substantial changes. --- system/views/kohana/error.php | 252 +++++++++++++++++++++++++++++++++ system/views/kohana/error_disabled.php | 19 +++ system/views/kohana/template.php | 6 +- 3 files changed, 274 insertions(+), 3 deletions(-) create mode 100644 system/views/kohana/error.php create mode 100644 system/views/kohana/error_disabled.php (limited to 'system/views/kohana') diff --git a/system/views/kohana/error.php b/system/views/kohana/error.php new file mode 100644 index 00000000..b40c0f8a --- /dev/null +++ b/system/views/kohana/error.php @@ -0,0 +1,252 @@ + + + +
+

+ + [ ]: + + + + +

+
+

+ +[ ] + +

+ + +
 $row) : ?>
+ + + +
    + $step): ?> +
  1. +

    + + + + [ ] + + [ ] + + + {} + + + » + ( +) +

    + + + + + + +
  2. + + +
+ + +
+

+ +
diff --git a/system/views/kohana/error_disabled.php b/system/views/kohana/error_disabled.php new file mode 100644 index 00000000..1024eb1e --- /dev/null +++ b/system/views/kohana/error_disabled.php @@ -0,0 +1,19 @@ + + + + + + <?php echo htmlspecialchars(__('Unable to Complete Request'), ENT_QUOTES, Kohana::CHARSET) ?> + + +
+

+

+home page or try again.', + array('%site%' => htmlspecialchars(url::site(), ENT_QUOTES, Kohana::CHARSET), '%uri%' => htmlspecialchars(url::site(Router::$current_uri), ENT_QUOTES, Kohana::CHARSET))); +?> +

+
+ + diff --git a/system/views/kohana/template.php b/system/views/kohana/template.php index b090fd88..84ddbff5 100644 --- a/system/views/kohana/template.php +++ b/system/views/kohana/template.php @@ -5,7 +5,7 @@ - <?php echo html::specialchars($title) ?> + <?php echo html::chars(__($title)) ?>