Пример #1
0
 protected function generateHeader()
 {
     $headerVars = $this->getDefaultHeaderVars();
     $headerVars['showRUM'] = MobileHtmlBuilder::showRUM();
     return EasyTemplate::html('header.tmpl.php', $headerVars);
 }
Пример #2
0
	<?php 
}
?>

	<?php 
// before deferred js
?>
	<?php 
echo MobileHtmlBuilder::showDeferredJS($deviceOpts);
?>
	<?php 
// after deferred js
?>

	<?php 
echo MobileHtmlBuilder::showBootStrapScript();
?>
	<?php 
echo Wikihow_i18n::genJSMsgs(array('facebook_locale'));
?>

	<?php 
if ($deviceOpts['show-analytics']) {
    ?>
	<script type="text/javascript">
		var _gaq = _gaq || [];
		_gaq.push(['_setAccount', 'UA-2375655-1']);
		_gaq.push(['_setDomainName', '.wikihow.com']);
		_gaq.push(['_trackPageview']);
		(function() {
			var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;