Стратегии обучения
Уроки
Технологии
Участники
Проекты
Топики
Блоги
О проекте
... ... function __construct(modX &$modx, $params= array ()) { parent :: __construct(); $this->modx= & $modx; $this->modx->layout= $_SERVER['HTTP_X_REQUESTED_WITH'] != 'XMLHttpRequest' ? "layout.tpl" : "<strong>empty_layout.tpl</strong>"; ... ...