summaryrefslogtreecommitdiff
path: root/program/include/rcmail_html_page.php
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/include/rcmail_html_page.php
parent60226a75d8e4a3ee9504da6eab6d8f329bb32e7b (diff)
Bring back rcube_html_page class which was lost in framework refactoring; fix typo
Diffstat (limited to 'program/include/rcmail_html_page.php')
-rw-r--r--program/include/rcmail_html_page.php36
1 files changed, 36 insertions, 0 deletions
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