Skip to content

Commit

Permalink
Set configuration page's title to include the jail's name
Browse files Browse the repository at this point in the history
  • Loading branch information
Shawn Webb committed Jan 17, 2013
1 parent 2ac4526 commit 1f52575
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jailconfig.inc
Expand Up @@ -25,6 +25,8 @@ function jailadmin_config($form, &$form_state) {
}
}

drupal_set_title(t('Configure @jail', array('@jail' => $jail->name)));

if ($jail->IsOnline())
drupal_set_message(t('NOTE: Jail is online. All settings are read-only.'), 'status');

Expand Down

0 comments on commit 1f52575

Please sign in to comment.