1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-17 07:10:48 +03:00

update Jevix

This commit is contained in:
Mzhelskiy Maxim 2010-01-24 14:58:06 +00:00
parent b0f33a7e53
commit 80225d40f1
2 changed files with 1328 additions and 1269 deletions

File diff suppressed because it is too large Load diff

View file

@ -73,10 +73,10 @@ class LsText extends Module {
$this->oJevix->cfgSetTagIsEmpty(array('param','embed'));
// Не нужна авто-расстановка <br>
$this->oJevix->cfgSetTagNoAutoBr(array('ul','ol','object'));
// Теги с обязательными параметрами
$this->oJevix->cfgSetTagParamsAutoAdd('embed',array(array('name'=>'wmode','value'=>'opaque','rewrite'=>true)));
if (Config::Get('view.noindex')) {
$this->oJevix->cfgSetTagParamsAutoAdd('a',array(array('name'=>'rel','value'=>'nofollow','rewrite'=>true)));
// Теги с обязательными параметрами
$this->oJevix->cfgSetTagParamDefault('embed','wmode','opaque',true);
if (Config::Get('view.noindex')) {
$this->oJevix->cfgSetTagParamDefault('a','rel','nofollow',true);
}
// Отключение авто-добавления <br>
$this->oJevix->cfgSetAutoBrMode(true);