summaryrefslogtreecommitdiff
path: root/modules/node
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/node
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/node')
-rw-r--r--modules/node/content_types.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/content_types.inc b/modules/node/content_types.inc
index 6717d5743..c2e19ba52 100644
--- a/modules/node/content_types.inc
+++ b/modules/node/content_types.inc
@@ -35,7 +35,7 @@ function node_overview_types() {
}
if (empty($rows)) {
- $rows[] = array(array('data' => t('No content types available.'), 'colspan' => '5', 'class' => 'message'));
+ $rows[] = array(array('data' => t('No content types available. <a href="@link">Add content type</a> now.', array('@link' => url('admin/build/types/add'))), 'colspan' => '5', 'class' => 'message'));
}
return theme('table', $header, $rows);