public function getHead($mobile = false) { $this->debug('function : ' . __FUNCTION__, 2, __LINE__); $this->replaceElements(); $ret = '<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />'; $ret .= $this->getTitle(); $ret .= $this->getBase(); if (!$this->browserCacheEnabled) { $ret .= '<meta http-equiv="pragma" content="no-cache" />'; } $ret .= '<meta name="description" content="' . $this->getMetaDescription() . '" />'; $ret .= '<link rel="shortcut icon" href="' . $this->linker->favicon->getPath() . '"/>'; $ret .= $this->getMetaProperties(); if (!$mobile) { $ret .= $this->getCSS(); self::$scriptsSent = true; $ret .= $this->getScripts(); } return $ret; }