mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-23 23:04:32 +03:00
Remove unneeded default configs from ChatStyle
This commit is contained in:
parent
1914b23c74
commit
9467525dac
@ -178,8 +178,8 @@ abstract class AbstractGenerator implements GeneratorInterface
|
|||||||
|
|
||||||
return sprintf(
|
return sprintf(
|
||||||
"toolbar=0,scrollbars=0,location=0,status=1,menubar=0,width=%u,height=%u,resizable=%u",
|
"toolbar=0,scrollbars=0,location=0,status=1,menubar=0,width=%u,height=%u,resizable=%u",
|
||||||
$chat_configurations['chat']['window']['width'],
|
$chat_configurations['chat']['window']['width'] ?: 640,
|
||||||
$chat_configurations['chat']['window']['height'],
|
$chat_configurations['chat']['window']['height'] ?: 480,
|
||||||
$chat_configurations['chat']['window']['resizable'] ? '1' : '0'
|
$chat_configurations['chat']['window']['resizable'] ? '1' : '0'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -141,18 +141,10 @@ class ChatStyle extends AbstractHandlebarsPoweredStyle implements StyleInterface
|
|||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
'chat' => array(
|
'chat' => array(
|
||||||
'window' => array(
|
'window' => array(),
|
||||||
'width' => 640,
|
|
||||||
'height' => 480,
|
|
||||||
'resizable' => true,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
'mail' => array(
|
'mail' => array(
|
||||||
'window' => array(
|
'window' => array(),
|
||||||
'width' => 640,
|
|
||||||
'height' => 480,
|
|
||||||
'resizable' => true,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
'screenshots' => array(),
|
'screenshots' => array(),
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user