get_logic(); $scs =& $game->get_scoring_system(); $this->def_tplfile('pointstable.tpl.php'); //$this = & new Template('body.personal.tpl.php'); //$parent_tpl->add_template($place, $this); //siin on $person kui infopäring, mitte kui inimene (ta on initsialiseerimata) //$this->set('message', $person->message); $personlist =& new ListView('listview.tpl.php'); $this->add_template('person_list', $personlist); $personlist->set_items($scs->get_points()); $personlist->set('headerLabelsMap', array('name'=>'nimi','profname'=>'amet','points'=>'punktid','person_id'=>'id')); //$inputType = 'radio'; //$inputTypeMap['person_id'] = $inputType; //$personlist->set('inputTypeMap', $inputTypeMap); } } ?>