From 297a74adf1fc246df15fc47f37e32b6458785f9f Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Tue, 27 Nov 2012 09:01:46 -0500
Subject: [PATCH] Bring back rcube_html_page class which was lost in framework refactoring; fix typo
---
program/include/bc.php | 5 +++++
program/include/rcmail_html_page.php | 36 ++++++++++++++++++++++++++++++++++++
program/include/rcmail_output_json.php | 2 +-
3 files changed, 42 insertions(+), 1 deletions(-)
diff --git a/program/include/bc.php b/program/include/bc.php
index 40524be..5047e0a 100644
--- a/program/include/bc.php
+++ b/program/include/bc.php
@@ -398,3 +398,8 @@
{
return rcube_utils::get_boolean($str);
}
+
+class rcube_html_page extends rcmail_html_page
+{
+
+}
diff --git a/program/include/rcmail_html_page.php b/program/include/rcmail_html_page.php
new file mode 100644
index 0000000..2624d59
--- /dev/null
+++ b/program/include/rcmail_html_page.php
@@ -0,0 +1,36 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | program/include/rcmail_html_page.php |
+ | |
+ | This file is part of the Roundcube Webmail client |
+ | Copyright (C) 2006-2012, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ | PURPOSE: |
+ | Render a simple HTML page with the given contents |
+ | |
+ +-----------------------------------------------------------------------+
+ | Author: Thomas Bruederli <roundcube@gmail.com> |
+ +-----------------------------------------------------------------------+
+*/
+
+
+/**
+ * Class to create HTML page output using a skin template
+ *
+ * @package Core
+ * @subpackage View
+ */
+class rcmail_html_page extends rcmail_output_html
+{
+ public function write($contents = '')
+ {
+ self::reset();
+ parent::write($contents);
+ }
+}
\ No newline at end of file
diff --git a/program/include/rcmail_output_json.php b/program/include/rcmail_output_json.php
index 22edce9..def6ee4 100644
--- a/program/include/rcmail_output_json.php
+++ b/program/include/rcmail_output_json.php
@@ -2,7 +2,7 @@
/*
+-----------------------------------------------------------------------+
- | program/include/rc,ai�_output_json.php |
+ | program/include/rcmail_output_json.php |
| |
| This file is part of the Roundcube Webmail client |
| Copyright (C) 2008-2012, The Roundcube Dev Team |
--
Gitblit v1.9.1