Zeile 6 | Zeile 6 |
---|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* $Id: functions_view_manager.php 5016 2010-06-12 00:24:02Z RyanGordon $
| * $Id: functions_view_manager.php 5460 2011-05-10 11:21:21Z Tomm $
|
*/
/**
| */
/**
|
Zeile 49 | Zeile 49 |
---|
admin_redirect($base_url."&action=views"); } set_default_view($type, $admin_view['vid']);
|
admin_redirect($base_url."&action=views"); } set_default_view($type, $admin_view['vid']);
|
flash_message($lang->success_view_set_as_default, 'success');
| flash_message($lang->succuss_view_set_as_default, 'success');
|
admin_redirect($base_url."&action=views"); }
| admin_redirect($base_url."&action=views"); }
|
Zeile 99 | Zeile 99 |
---|
"visibility" => intval($mybb->input['visibility']), "fields" => $db->escape_string(serialize($mybb->input['fields'])), "conditions" => $db->escape_string(serialize($mybb->input['conditions'])),
|
"visibility" => intval($mybb->input['visibility']), "fields" => $db->escape_string(serialize($mybb->input['fields'])), "conditions" => $db->escape_string(serialize($mybb->input['conditions'])),
|
| "custom_profile_fields" => $db->escape_string(serialize($mybb->input['profile_fields'])),
|
"sortby" => $db->escape_string($mybb->input['sortby']), "sortorder" => $db->escape_string($mybb->input['sortorder']), "perpage" => intval($mybb->input['perpage']),
| "sortby" => $db->escape_string($mybb->input['sortby']), "sortorder" => $db->escape_string($mybb->input['sortorder']), "perpage" => intval($mybb->input['perpage']),
|
Zeile 215 | Zeile 216 |
---|
$field_options[$key] = $field['title']; }
|
$field_options[$key] = $field['title']; }
|
$field_select .= "<noscript>".$form->generate_select_box('fields', $field_options, $mybb->input['fields'], array('id' => 'fields', 'multiple' => true))."</noscript>\n";
| $field_select .= "<noscript>".$form->generate_select_box('fields[]', $field_options, $mybb->input['fields'], array('id' => 'fields', 'multiple' => true))."</noscript>\n";
|
$form_container = new FormContainer($lang->fields_to_show); $form_container->output_row($lang->fields_to_show_desc, $description, $field_select);
| $form_container = new FormContainer($lang->fields_to_show); $form_container->output_row($lang->fields_to_show_desc, $description, $field_select);
|
Zeile 289 | Zeile 290 |
---|
"visibility" => intval($mybb->input['visibility']), "fields" => $db->escape_string(serialize($mybb->input['fields'])), "conditions" => $db->escape_string(serialize($mybb->input['conditions'])),
|
"visibility" => intval($mybb->input['visibility']), "fields" => $db->escape_string(serialize($mybb->input['fields'])), "conditions" => $db->escape_string(serialize($mybb->input['conditions'])),
|
| "custom_profile_fields" => $db->escape_string(serialize($mybb->input['profile_fields'])),
|
"sortby" => $db->escape_string($mybb->input['sortby']), "sortorder" => $db->escape_string($mybb->input['sortorder']), "perpage" => intval($mybb->input['perpage']),
| "sortby" => $db->escape_string($mybb->input['sortby']), "sortorder" => $db->escape_string($mybb->input['sortorder']), "perpage" => intval($mybb->input['perpage']),
|
Zeile 340 | Zeile 342 |
---|
{ $admin_view['conditions'] = unserialize($admin_view['conditions']); $admin_view['fields'] = unserialize($admin_view['fields']);
|
{ $admin_view['conditions'] = unserialize($admin_view['conditions']); $admin_view['fields'] = unserialize($admin_view['fields']);
|
| $admin_view['profile_fields'] = unserialize($admin_view['custom_profile_fields']);
|
$mybb->input = $admin_view; }
| $mybb->input = $admin_view; }
|
Zeile 422 | Zeile 425 |
---|
$field_options[$key] = $field['title']; }
|
$field_options[$key] = $field['title']; }
|
$field_select .= "<noscript>".$form->generate_select_box('fields', $field_options, $mybb->input['fields'], array('id' => 'fields', 'multiple' => true))."</noscript>\n";
| $field_select .= "<noscript>".$form->generate_select_box('fields[]', $field_options, $mybb->input['fields'], array('id' => 'fields', 'multiple' => true))."</noscript>\n";
|
$form_container = new FormContainer($lang->fields_to_show); $form_container->output_row($lang->fields_to_show_desc, $description, $field_select);
| $form_container = new FormContainer($lang->fields_to_show); $form_container->output_row($lang->fields_to_show_desc, $description, $field_select);
|