'Strona', 'name' => 'strona', 'id' => 'strona', 'value' => $this -> collective_topic['strona'], 'inline' => true ] );?> 'Kategoria', 'name' => 'kategoria', 'id' => 'kategoria', 'value' => $this -> collective_topic['kategoria'], 'inline' => true ] );?> 'Kategoria ID', 'name' => 'kategoria_id', 'id' => 'kategoria_id', 'value' => $this -> collective_topic['kategoria_id'], 'inline' => true ] );?> 'Temat', 'name' => 'temat_ogolny', 'id' => 'temat_ogolny', 'value' => $this -> collective_topic['temat_ogolny'], 'inline' => true ] );?> 'Data przetworzenia', 'name' => 'data_przetworzenia', 'id' => 'data_przetworzenia', 'value' => $this -> collective_topic['data_przetworzenia'], 'inline' => true ] );?> 'Przetworzony', 'name' => 'przetworzony', 'id' => 'przetworzony', 'checked' => $this -> collective_topic['przetworzony'] == 1 ? true : false, 'inline' => true ] );?> id = 'client-edit'; $grid -> gdb_opt = $gdb; $grid -> include_plugins = true; $grid -> title = 'Edycja tematu zbiorowego'; $grid -> fields = [ [ 'db' => 'id', 'type' => 'hidden', 'value' => $this -> collective_topic['id'] ] ]; $grid -> external_code = $out; $grid -> actions = [ 'save' => [ 'url' => '/backend_sites/collective_topic_save/', 'back_url' => '/backend_sites/collective_topics/' ], 'cancel' => [ 'url' => '/backend_sites/collective_topics/' ] ]; $grid -> persist_edit = true; $grid -> id_param = 'id'; echo $grid -> draw(); ?>