summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-11-27 15:01:46 +0100
committerThomas Bruederli <thomas@roundcube.net>2012-11-27 15:01:46 +0100
commit297a74adf1fc246df15fc47f37e32b6458785f9f (patch)
treecf1a339c8b26a97a3f378b2281c7e4355560affc /program
parent60226a75d8e4a3ee9504da6eab6d8f329bb32e7b (diff)
Bring back rcube_html_page class which was lost in framework refactoring; fix typo
Diffstat (limited to 'program')
-rw-r--r--program/include/bc.php5
-rw-r--r--program/include/rcmail_html_page.php36
-rw-r--r--program/include/rcmail_output_json.php2
3 files changed, 42 insertions, 1 deletions
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 @@
+<?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 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 |