Exemple #1
0
 public function process_adjustments($error_out = true)
 {
     $this->adj->add_new($this->in->get('adjs_add', 0));
     $this->member->display();
     $this->raid->display();
     $this->item->display();
     $this->adj->display(true);
     $this->tpl->assign_vars(array('S_ATT_BEGIN' => ($this->rli->config('attendence_begin') > 0 and !$this->rli->config('attendence_raid')) ? true : false, 'S_ATT_END' => ($this->rli->config('attendence_end') > 0 and !$this->rli->config('attendence_raid')) ? true : false));
     //language
     lang2tpl();
     // error processing
     if ($error_out) {
         $this->process_error('process_adjustments');
     }
     $this->rli->nav(3);
     $this->core->set_vars(array('page_title' => sprintf($this->user->lang('admin_title_prefix'), $this->config->get('guildtag'), $this->config->get('dkp_name')) . ': ' . $this->user->lang('rli_check_data'), 'template_path' => $this->pm->get_data('raidlogimport', 'template_path'), 'template_file' => 'adjustments.html', 'display' => true));
 }
 public function process_views()
 {
     $this->member->display();
     $this->raid->display();
     $this->item->display();
     $this->adj->display();
     //language
     lang2tpl();
     // error processing
     if ($error_out) {
         $this->process_error('process_views');
     }
     $this->rli->nav('viewall');
     $this->core->set_vars(array('page_title' => $this->user->lang('rli_check_data'), 'template_path' => $this->pm->get_data('raidlogimport', 'template_path'), 'template_file' => 'viewall.html', 'display' => true));
 }