languages ) ): foreach ( $this -> languages as $lg ):?>
languages ) ): foreach ( $this -> languages as $lg ):?>
'Tytuł', 'name' => 'title', 'id' => 'title_' . $lg['id'], 'value' => $this -> container['languages'][ $lg['id'] ]['title'], 'inline' => true ) );?> 'Treść', 'name' => 'text', 'id' => 'text_' . $lg['id'], 'value' => $this -> container['languages'][ $lg['id'] ]['text'], 'inline' => true ) );?> 'Kod HTML', 'name' => 'html', 'id' => 'html_' . $lg['id'], 'value' => $this -> container['languages'][ $lg['id'] ]['html'], '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 ) ); ?> 'Tło kontenera', 'name' => 'src', 'id' => 'src', 'value' => $this->container['src'], 'icon_content' => 'przeglądaj', 'icon_js' => "window.open ( 'http://" . $_SERVER['SERVER_NAME'] . "/libraries/filemanager-9.14.1/dialog.php?type=1&popup=1&field_id=src&akey=" . $rfmAkeyJS . "', 'mywindow', 'location=1,status=1,scrollbars=1, width=1100,height=700');" ) ); ?>
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(); ?>