- Timestamp:
- 02/14/11 10:49:49 (2 years ago)
- Location:
- plugins/apostrophePlugin/trunk
- Files:
-
- 2 modified
-
. (modified) (1 prop)
-
modules/a/templates/layout.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
plugins/apostrophePlugin/trunk
- Property svn:mergeinfo changed
-
plugins/apostrophePlugin/trunk/modules/a/templates/layout.php
r3131 r3349 8 8 <?php $root = aPageTable::retrieveBySlug('/') ?> 9 9 <head> 10 <?php // What do you guys think about Chrome frame? It's out of beta now :D ?>11 10 <?php include_http_metas() ?> 12 11 <?php include_metas() ?> … … 110 109 <div class='a-footer-wrapper clearfix'> 111 110 <div class='a-footer clearfix'> 112 <?php include_partial('a/footer') ?> 111 <?php include_partial('a/footer') ?> 112 113 113 </div> 114 114 </div> 115 115 116 <?php if (sfConfig::get('app_a_googleAnalytics')): ?> 117 <?php $analytics = sfConfig::get('app_a_googleAnalytics') ?> 118 <script type="text/javascript"> 119 120 var _gaq = _gaq || []; 121 _gaq.push(['_setAccount', <?php echo json_encode($analytics['account']) ?>]); 122 <?php // Not all sites need this field ?> 123 <?php if (isset($analytics['domainName'])): ?> 124 _gaq.push(['_setDomainName', <?php echo json_encode($analytics['domainName']) ?>]); 125 <?php endif ?> 126 _gaq.push(['_trackPageview']); 127 128 (function() { 129 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; 130 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; 131 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); 132 })(); 133 134 </script> 135 <?php endif ?> 136 116 137 <?php // Invokes apostrophe.smartCSS, your project level JS hook and a_include_js_calls ?> 117 138 <?php include_partial('a/globalJavascripts') ?>

