Thomas Bruederli
2012-11-27 297a74adf1fc246df15fc47f37e32b6458785f9f
Bring back rcube_html_page class which was lost in framework refactoring; fix typo
2 files modified
1 files added
43 ■■■■■ changed files
program/include/bc.php 5 ●●●●● patch | view | raw | blame | history
program/include/rcmail_html_page.php 36 ●●●●● patch | view | raw | blame | history
program/include/rcmail_output_json.php 2 ●●● patch | view | raw | blame | history
program/include/bc.php
@@ -398,3 +398,8 @@
{
    return rcube_utils::get_boolean($str);
}
class rcube_html_page extends rcmail_html_page
{
}
program/include/rcmail_html_page.php
New file
@@ -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);
    }
}
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                       |