/**
  * Prepare controller
  */
 function __before()
 {
     parent::__before();
     $this->wireframe->tabs->clear();
     $this->wireframe->tabs->add('calendar', lang('Timer'), TimerModule::getTimerRoute(), null, true);
     // Custom event
     EventsManager::trigger('on_timer_tabs', array(&$this->wireframe->tabs, &$this->logged_user));
     // set wireframe
     $this->wireframe->breadcrumbs->add('timer', lang('Timer'), TimerModule::getTimerRoute());
     $this->wireframe->setCurrentMenuItem('timer');
     $this->wireframe->actions->clear();
     // assign template variable
     $this->smarty->assign('api_url', ROOT_URL . '/api.php?format=json&auth_api_token=1-HQVcG1x3xfSNIMypMkDsAVT8W670QwGwhI387Tta');
     $this->smarty->assign('user_id', ROOT_URL . '1');
 }
 /**
  * Prepare controller
  */
 function __before()
 {
     parent::__before();
     $this->wireframe->breadcrumbs->add('frosso_activity', lang('Activities Updates'), Router::assemble('frosso_mail_notify'));
     $this->wireframe->tabs->add('frosso_activities', lang('Activities Updates'), Router::assemble('frosso_mail_notify'), false, true);
 }