You are here

function skinr_ui_list in Skinr 6.2

Same name and namespace in other branches
  1. 7.2 skinr_ui.admin.inc \skinr_ui_list()

Menu callback; displays the skinr listing page.

1 string reference to 'skinr_ui_list'
skinr_ui_menu in ./skinr_ui.module
Implementation of hook_menu().

File

./skinr_ui.admin.inc, line 11
Admin page callbacks for the skinr module.

Code

function skinr_ui_list($form_state) {
  if (isset($form_state['values']['operation']) && $form_state['values']['operation'] == 'delete') {
    return skinr_ui_settings_multiple_delete_confirm($form_state, array_filter($form_state['values']['skinr_settings']));
  }
  $form = skinr_ui_filter_form();
  $form['#theme'] = 'skinr_ui_filter_form';
  $form['admin'] = skinr_ui_admin_skins();
  return $form;
}