theme::form_start($controller_path . '/' . $controller_action, $record->id); theme::header_start('View Security Violations'); theme::header_end(); theme::hr(0, 12); theme::start_form_section('Entry Date'); theme::static_text($record->created_on); theme::end_form_section(); theme::start_form_section('type'); theme::static_text($record->type); theme::end_form_section(); theme::start_form_section('Route'); theme::static_text($record->route); theme::end_form_section(); theme::start_form_section('Username'); theme::static_text($record->username); theme::end_form_section(); theme::start_form_section('User'); theme::static_text($record->user); theme::end_form_section(); theme::start_form_section('Session'); theme::static_text($record->session); theme::end_form_section(); theme::start_form_section('Extra'); theme::static_text($record->extra); theme::end_form_section(); theme::hr(0, 12); theme::footer_start(); theme::footer_button('Done'); theme::footer_end(); theme::form_end();
<?php theme::form_start($controller_path . '/' . $controller_action, $record->id); theme::header_start($controller_title); theme::header_button('cancel'); theme::header_end(); theme::hr(0, 12); theme::hidden('sort', $record->sort); theme::hidden('parent_id', $record->parent_id); theme::start_form_section('Name', true, 6); theme::text('name', $record->name); theme::end_form_section(); theme::view_event($controller_path, 'form.footer'); theme::hr(0, 12); theme::footer_start(); theme::footer_required(); theme::footer_button('submit'); theme::footer_end(); theme::form_end();
<?php theme::form_start($controller_path . '/' . $controller_action, $record->id); theme::header_start(ucfirst($controller_action) . ' ' . $controller_title); theme::header_end(); theme::hr(0, 12); theme::start_form_section('Created On'); theme::text('created_on', $record->created_on, ['readonly' => true]); theme::end_form_section(); theme::start_form_section('Form Name'); theme::text('form_name', $record->form_name, ['readonly' => true]); theme::end_form_section(); theme::start_form_section('URL'); theme::text('url', $record->url, ['readonly' => true]); theme::end_form_section(); theme::start_form_section('User Agent'); theme::text('user_agent', $record->user_agent, ['readonly' => true]); theme::end_form_section(); theme::start_form_section('Ip Address'); theme::text('ip_address', $record->ip_address, ['readonly' => true]); theme::end_form_section(); theme::start_form_section('Capture'); theme::textarea('capture', $record->capture, ['readonly' => true]); theme::end_form_section(); theme::view_event($controller_path, 'form.footer'); theme::hr(0, 12); theme::footer_start(); theme::footer_button('back', ['href' => $controller_path]); theme::footer_end(); theme::form_end();