You are here

function _system_sql in Drupal 5

Same name and namespace in other branches
  1. 6 modules/system/system.admin.inc \_system_sql()
1 call to _system_sql()
system_sql in modules/system/system.module
Menu callback: return information about PHP.

File

modules/system/system.module, line 1782
Configuration system that lets administrators modify the workings of the site.

Code

function _system_sql($data, $keys) {
  $rows = array();
  foreach ($keys as $key => $explanation) {
    if (isset($data[$key])) {
      $rows[] = array(
        check_plain($key),
        check_plain($data[$key]),
        $explanation,
      );
    }
  }
  return theme('table', array(
    t('Variable'),
    t('Value'),
    t('Description'),
  ), $rows);
}