diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-10-03 00:09:28 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-10-03 00:09:28 +0000 |
commit | 413d51ebc5a6772ce33ff373297bb15d9028897c (patch) | |
tree | cbfc86ffdc77129bea7d28ae62e84d054383446d /themes/seven | |
parent | fd887655752532b74161ef2d9cfc9414fe5f59ec (diff) | |
download | brdo-413d51ebc5a6772ce33ff373297bb15d9028897c.tar.gz brdo-413d51ebc5a6772ce33ff373297bb15d9028897c.tar.bz2 |
- Patch #852394 by Jody Lynn, reglogge: minimal profile + seven leads to broken 'node/add' link.
Diffstat (limited to 'themes/seven')
-rw-r--r-- | themes/seven/template.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/themes/seven/template.php b/themes/seven/template.php index 46e853e87..f49261b17 100644 --- a/themes/seven/template.php +++ b/themes/seven/template.php @@ -47,6 +47,9 @@ function seven_node_add_list($variables) { } $output .= '</ul>'; } + else { + $output = '<p>' . t('You have not created any content types yet. 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; } |