summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 |