Exemplo n.º 1
0
 public function validate_mc(Module_BAIM $m, $arg)
 {
     //		if (!Baim_MC::isValidMC($arg)) {
     //			return $m->lang('err_mc');
     //		}
     if (!$this->row->canChange()) {
         return $m->lang('err_change_freq', array($this->row->displayNextChange()));
     }
     return false;
 }
Exemplo n.º 2
0
 private static function menuAccount(Module_BAIM $module)
 {
     $sel = Common::getGet('mo') === 'Account';
     $sel = $sel ? ' class="menu_sel"' : '';
     $href = GWF_WEB_ROOT . 'account';
     return sprintf('<a %shref="%s">%s</a>', $sel, $href, $module->lang('menu_account'));
 }