You are here

function dba_show_active_database in Database Administration 7

1 call to dba_show_active_database()
dba_table_overview in ./dba.admin.inc
Show a list of all tables.

File

./dba.admin.inc, line 34

Code

function dba_show_active_database() {
  $form = array();
  $keys = dba_list_database_keys();
  if (sizeof($keys) > 1) {
    $form['current_active_database'] = array(
      '#type' => 'markup',
      '#markup' => t('Active database: %active [!change]', array(
        '%active' => variable_get('dba_active_database', 'default'),
        '!change' => l(t('change'), 'admin/config/development/dba'),
      )),
    );
  }
  return $form;
}