diff options
Diffstat (limited to 'modules/node/node.pages.inc')
-rw-r--r-- | modules/node/node.pages.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/node/node.pages.inc b/modules/node/node.pages.inc index 42fd59b8e..56b210df7 100644 --- a/modules/node/node.pages.inc +++ b/modules/node/node.pages.inc @@ -43,6 +43,9 @@ function theme_node_add_list($content) { } $output .= '</dl>'; } + else { + $output = '<p>' . t('You have not created any content types yet. Please go to the <a href="@create-content">content type creation page</a> to add a new content type.', array('@create-content' => url('admin/structure/types/add'))) . '</p>'; + } return $output; } |