summaryrefslogtreecommitdiff
path: root/modules/contact
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-06-28 16:05:58 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-06-28 16:05:58 +0000
commit3bcc48225adf7d92c69accb069bf2604bae7da1b (patch)
tree9b8927350a787f4d2115fec87fa2fcd68a22be8c /modules/contact
parent08b1bb73f770888b39ac862495622629af65de97 (diff)
downloadbrdo-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.inc2
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);