From 60226a75d8e4a3ee9504da6eab6d8f329bb32e7b Mon Sep 17 00:00:00 2001 From: Thomas Bruederli <thomas@roundcube.net> Date: Tue, 27 Nov 2012 06:13:33 -0500 Subject: [PATCH] Separate the very application-specific output classes from the Roundcube framework; add autoloader for rmail* classes --- program/include/bc.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/program/include/bc.php b/program/include/bc.php index b589135..40524be 100644 --- a/program/include/bc.php +++ b/program/include/bc.php @@ -31,7 +31,7 @@ define('RCUBE_INPUT_POST', rcube_utils::INPUT_POST); define('RCUBE_INPUT_GPC', rcube_utils::INPUT_GPC); -define('JS_OBJECT_NAME', rcmail::JS_OBJECT_NAME); +define('JS_OBJECT_NAME', rcmail_output::JS_OBJECT_NAME); define('RCMAIL_CHARSET', RCUBE_CHARSET); function get_table_name($table) @@ -126,7 +126,7 @@ function rcmail_get_edit_field($col, $value, $attrib, $type='text') { - return rcube_utils::get_edit_field($col, $value, $attrib, $type); + return rcube_output::get_edit_field($col, $value, $attrib, $type); } function rcmail_mod_css_styles($source, $container_id, $allow_remote=false) -- Gitblit v1.9.1