Beispiel #1
0
 /**
  * Footer Block potentially holds tracking codes or other code that needs
  * to run in the footer
  */
 public function footer_block()
 {
     $content = Kohana::config("globalcode.foot") . $this->google_analytics() . "\n" . $this->ushahidi_stats_js() . "\n" . $this->scheduler_js();
     if (Kohana::config('requirements.write_js_to_body')) {
         $content .= Requirements::render('js');
     }
     // Filter::footer_block - Modify Footer Block
     Event::run('ushahidi_filter.footer_block', $content);
     return $content;
 }