You are here

function util_page in Util 6.2

Same name and namespace in other branches
  1. 6.3 util.module \util_page()
  2. 6 util.module \util_page()
  3. 7 util.module \util_page()
2 string references to 'util_page'
util_menu in ./util.module
@file Helper Utilities for your Drupal site.
_util_page in ./util.module

File

./util.module, line 35
Helper Utilities for your Drupal site.

Code

function util_page() {
  $form = array();

  // For now output empty page, this is purely to reserve space for future development
  // and to allow contribs to form_alter onto this page.
  $form['util'] = array(
    '#value' => theme('advanced_help_topic', 'util', 'util') . t('The Utility module is a grouping of commonly-needed utilities that are simple to code, everyone wants, but nobody actually codes them.'),
  );
  $form['clear'] = array(
    '#value' => '<p>Clicking the "Save" button will rebuild the menus.</p>',
    '#prefix' => '<div class="clear-block">',
    '#suffix' => '</div>',
  );
  $form['#submit'][] = array(
    'util_page_submit',
  );
  $form['buttons']['#weight'] = 99;
  return system_settings_form($form);
}