getScripts(); $scriptDeclarations = $this->getScriptDeclarations(); $styles = $this->getStyles(); $styleDeclarations = $this->getStyleDeclarations(); // Scripts before the template ones if(!empty($scripts)) foreach($scripts as $url => $params) { if($params['before']) { echo "\t\n"; } } // Template scripts ?> $params) { if(!$params['before']) { echo "\t\n"; } } // Script declarations if(!empty($scriptDeclarations)) foreach($scriptDeclarations as $type => $content) { echo "\t"; } // CSS files before the template CSS if(!empty($styles)) foreach($styles as $url => $params) { if($params['before']) { $media = ($params['media']) ? "media=\"{$params['media']}\"" : ''; echo "\t\n"; } } ?> $params) { if(!$params['before']) { $media = ($params['media']) ? "media=\"{$params['media']}\"" : ''; echo "\t\n"; } } // Script declarations if(!empty($styleDeclarations)) foreach($styleDeclarations as $type => $content) { echo "\t"; }