languages ) ): foreach ( $this -> languages as $lg ):?>
languages ) ): foreach ( $this -> languages as $lg ):?>
'Tytuł', 'name' => 'title[' . $lg['id'] . ']', 'id' => 'title_' . $lg['id'], 'value' => $this -> container['languages'][ $lg['id'] ]['title'], 'inline' => true ) );?> 'Treść', 'name' => 'text[' . $lg['id'] . ']', 'id' => 'text_' . $lg['id'], 'value' => $this -> container['languages'][ $lg['id'] ]['text'], 'inline' => true ) );?>
'Aktywny', 'name' => 'status', 'checked' => $this -> container['status'] == 1 or !$this -> container['id'] ? true : false ) );?> 'Pokaż tytuł', 'name' => 'show_title', 'checked' => $this -> container['show_title'] == 1 ? true : false ) );?>
id = 'container-edit'; $grid -> gdb_opt = $gdb; $grid -> include_plugins = true; $grid -> title = 'Edycja kontenera statycznego'; $grid -> fields = [ [ 'db' => 'id', 'type' => 'hidden', 'value' => $this -> container['id'] ] ]; $grid -> actions = [ 'save' => [ 'url' => '/admin/scontainers/container_save/', 'back_url' => '/admin/scontainers/view_list/' ], 'cancel' => [ 'url' => '/admin/scontainers/view_list/' ] ]; $grid -> external_code = $out; $grid -> persist_edit = true; $grid -> id_param = 'id'; echo $grid -> draw(); ?>