diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-06-28 16:05:58 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-06-28 16:05:58 +0000 |
commit | 3bcc48225adf7d92c69accb069bf2604bae7da1b (patch) | |
tree | 9b8927350a787f4d2115fec87fa2fcd68a22be8c /modules/contact | |
parent | 08b1bb73f770888b39ac862495622629af65de97 (diff) | |
download | brdo-3bcc48225adf7d92c69accb069bf2604bae7da1b.tar.gz brdo-3bcc48225adf7d92c69accb069bf2604bae7da1b.tar.bz2 |
#504428 by Sutharsan: Include link to add item on all empty admin listing pages.
Diffstat (limited to 'modules/contact')
-rw-r--r-- | modules/contact/contact.admin.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/contact/contact.admin.inc b/modules/contact/contact.admin.inc index 624c01cbf..72c94da96 100644 --- a/modules/contact/contact.admin.inc +++ b/modules/contact/contact.admin.inc @@ -30,7 +30,7 @@ function contact_admin_categories() { // If no categories were found, let the user know. if (empty($rows)) { - $rows[] = array(array('data' => t('No categories available.'), 'colspan' => 5)); + $rows[] = array(array('data' => t('No categories available. <a href="@link">Add category</a> now.', array('@link' => url('admin/build/contact/add'))), 'colspan' => 5)); } return theme('table', $header, $rows); |