} sfLoader::loadHelpers(array('Helper', 'MyMinify', 'Asset')); $debug = defined('PUN_DEBUG'); if ($mobile_version) { ?> <script type="text/javascript"> (function(m,w){var l='<?php echo trim(minify_get_main_stylesheets(!$debug, $debug)); ?> ',r=1 w.devicePixelRatio?r=w.devicePixelRatio:"matchMedia"in w&&w.matchMedia&&(w.matchMedia("(min-resolution: 2dppx)").matches||w.matchMedia("(min-resolution: 192dpi)").matches?r=2:(w.matchMedia("(min-resolution: 1.5dppx)").matches||w.matchMedia("(min-resolution: 144dpi)").matches)&&(r=1.5)) if(r>1){l=l.replace(m,m+'@'+(r>=2?2:1.5)+'x');}document.write(l);})('mobile',window); </script> <?php } else { minify_include_main_stylesheets(!$debug, $debug); } if (!$mobile_version) { ?> <!--[if IE 7]><link rel="stylesheet" type="text/css" media="all" href="<?php echo minify_get_combined_files_url('/static/css/ie7.css'); ?> " /><![endif]--> <!--[if lt IE 9]><script src="<?php echo minify_get_combined_files_url(array('/static/js/html5shiv.js', '/static/js/autofocus.js', '/static/js/indexof.js')); ?> "></script><![endif]--> <?php } else { ?> <link rel="apple-touch-icon-precomposed" href="<?php
<html lang="<?php echo $lang_code; ?> "> <head> <meta charset="utf-8"> <?php $debug = (bool) sfConfig::get('app_minify_debug'); $combine = !$debug; echo include_http_metas(); echo include_title(); // we remove title from metas, because we don't want a <meta name=title> $response->getParameterHolder()->remove('title', 'helper/asset/auto/meta'); echo include_metas(); echo '<link rel="canonical" href="http://' . $_SERVER['HTTP_HOST'] . ($_SERVER['REQUEST_URI'] != '/' ? $_SERVER['REQUEST_URI'] : '') . '" />'; minify_include_main_stylesheets($combine, $debug); minify_include_custom_stylesheets($combine, $debug); ?> <link rel="stylesheet" type="text/css" media="all" href="<?php echo minify_get_combined_files_url('/static/css/cda.css', $debug); ?> " /> <!--[if IE 7]><link rel="stylesheet" type="text/css" media="all" href="<?php echo minify_get_combined_files_url('/static/css/ie7.css'); ?> " /><![endif]--> <!--[if lt IE 9]><script src="<?php echo minify_get_combined_files_url(array('/static/js/html5shiv.js', '/static/js/autofocus.js', '/static/js/indexof.js'), $debug); ?> "></script><![endif]--> </head>