From 297a74adf1fc246df15fc47f37e32b6458785f9f Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Tue, 27 Nov 2012 15:01:46 +0100 Subject: 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 deletion(-) create mode 100644 program/include/rcmail_html_page.php (limited to 'program/include') diff --git a/program/include/bc.php b/program/include/bc.php index 40524be50..5047e0a84 100644 --- a/program/include/bc.php +++ b/program/include/bc.php @@ -398,3 +398,8 @@ function get_boolean($str) { 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 000000000..2624d590a --- /dev/null +++ b/program/include/rcmail_html_page.php @@ -0,0 +1,36 @@ + | + +-----------------------------------------------------------------------+ +*/ + + +/** + * 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 22edce9bd..def6ee42c 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 | -- cgit v1.2.3