css('base')); // Apply theme CSS if (isset($account)) { e($director->css($account['Account']['theme'])); $lang = $account['Account']['lang']; } else { e($director->css('/app/webroot/styles/default/default.css')); if (isset($controller) && $controller->Session) { if ($controller->Session->read('Language')) { $lang = $controller->Session->read('Language'); } else { $lang = 'eng'; } } else { $lang = 'eng'; } } /// Bring in extra sheets if necessary $agent = env('HTTP_USER_AGENT'); if (strpos($agent, 'MSIE 7.0') !== false): e($html->css('ie7.css?' . DIR_VERSION) . "\n"); elseif (strpos($agent, 'MSIE 6.0') !== false): e($html->css('ie6.css?' . DIR_VERSION) . "\n"); elseif (strpos($agent, 'Firefox') !== false): e($html->css('firefox.css?' . DIR_VERSION) . "\n"); endif; if (isset($javascript)): e(''); e($asset->js('base')); endif; ?>
element('messenger')); ?>