= Kohana::TESTING OR (Request::current() AND Request::current()->secure())) { echo HTML::style('media/theme/bootstrap/css/bootstrap.min.css'); echo HTML::style('media/theme/bootstrap/css/bootstrap-theme.min.css'); echo HTML::style('media/vendor/font-awesome/css/font-awesome.min.css'); } else { echo HTML::style(Site::Protocol('maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css')); echo HTML::style(Site::Protocol('maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css')); } echo HTML::style(Site::Protocol('fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,800italic,400,600,800')); echo HTML::style('media/theme/bootstrap/css/custom.css'); echo Style::factory()->render_all(); ?>
render_all(); ?>
= Kohana::TESTING OR (Request::current() AND Request::current()->secure())) { echo HTML::script('media/js/jquery/jquery-1.9.1.min.js'); echo HTML::script('media/theme/bootstrap/js/bootstrap.min.js'); echo HTML::script('media/js/lodash/lodash-1.2.1.min.js'); } else { echo HTML::script(Site::Protocol('code.jquery.com/jquery-1.9.1.min.js')); echo HTML::script(Site::Protocol('maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js')); echo HTML::script(Site::Protocol('cdnjs.cloudflare.com/ajax/libs/lodash.js/1.2.1/lodash.min.js')); } echo HTML::script('media/theme/bootstrap/js/bootstrap.validator.js'); echo HTML::script('media/js/typeahead.bundle.min.js'); echo HTML::script('media/js/search.js'); echo HTML::script('media/js/custom.js'); echo Script::factory()->render_all(); ?>