feedback_widget_options.company = "Three20";
    feedback_widget_options.placement = "left";
    feedback_widget_options.color = "#FC9";
    feedback_widget_options.style = "idea";

    var feedback_widget = new GSFN.feedback_widget(feedback_widget_options);
  ');
}
if (IN_PRODUCTION) {
    echo three20html::inlinescript('
  var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
  document.write(unescape("%3Cscript src=\'" + gaJsHost + "google-analytics.com/ga.js\' type=\'text/javascript\'%3E%3C/script%3E"));
  ');
    echo three20html::script('http://static.getclicky.com/js');
    echo three20html::inlinescript('clicky.init(155532);');
    echo three20html::inlinescript('
  try {
  var pageTracker = _gat._getTracker("' . Kohana::config('core.google_analytics_key') . '");
  pageTracker._setDomainName(".three20.info");
  pageTracker._trackPageview();
  } catch(err) {}');
}
?>

<?php 
echo three20html::script($js_foot_files, FALSE);
?>

</body>
</html>
Example #2
0
    echo three20html::inlinescript('
    var feedback_widget_options = {};

    feedback_widget_options.display = "overlay";  
    feedback_widget_options.company = "Three20";
    feedback_widget_options.placement = "left";
    feedback_widget_options.color = "#FC9";
    feedback_widget_options.style = "idea";

    var feedback_widget = new GSFN.feedback_widget(feedback_widget_options);
  ');
}
if (IN_PRODUCTION) {
    echo three20html::inlinescript('
  var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
  document.write(unescape("%3Cscript src=\'" + gaJsHost + "google-analytics.com/ga.js\' type=\'text/javascript\'%3E%3C/script%3E"));
  ');
    echo three20html::script('http://static.getclicky.com/js');
    echo three20html::inlinescript('clicky.init(155532);');
    echo three20html::inlinescript('
  try {
  var pageTracker = _gat._getTracker("' . Kohana::config('core.google_analytics_key') . '");
  pageTracker._setDomainName(".three20.info");
  pageTracker._trackPageview();
  } catch(err) {}');
}
?>

</body>
</html>