Use correct default config params for page and chat styles

This commit is contained in:
Dmitriy Simushev 2014-02-18 09:10:03 +00:00
parent 0f17cac626
commit f0f612b11a
2 changed files with 19 additions and 19 deletions

View File

@ -170,22 +170,11 @@ class ChatStyle extends AbstractStyle implements StyleInterface
protected function defaultConfigurations() protected function defaultConfigurations()
{ {
return array( return array(
'history' => array( 'chat' => array(
'window_params' => '', 'window_params' => ''
), ),
'users' => array( 'mail' => array(
'thread_tag' => 'div', 'window_params' => ''
'visitor_tag' => 'div',
),
'tracked' => array(
'user_window_params' => '',
'visitor_window_params' => '',
),
'invitation' => array(
'window_params' => '',
),
'ban' => array(
'window_params' => '',
), ),
'screenshots' => array(), 'screenshots' => array(),
); );

View File

@ -149,11 +149,22 @@ class PageStyle extends AbstractStyle implements StyleInterface
protected function defaultConfigurations() protected function defaultConfigurations()
{ {
return array( return array(
'chat' => array( 'history' => array(
'window_params' => '' 'window_params' => '',
), ),
'mail' => array( 'users' => array(
'window_params' => '' 'thread_tag' => 'div',
'visitor_tag' => 'div',
),
'tracked' => array(
'user_window_params' => '',
'visitor_window_params' => '',
),
'invitation' => array(
'window_params' => '',
),
'ban' => array(
'window_params' => '',
), ),
'screenshots' => array(), 'screenshots' => array(),
); );