diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-11-03 07:17:38 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-11-03 07:17:38 -0400 |
commit | 21f67d2117ed460c7d8374c9b42348e2eea2b0f4 (patch) | |
tree | cdb6e1088c44a3da99e530f121be4329b34920b9 /mod/bookmarks/pages/bookmarks/all.php | |
parent | e66bfc0434876327e7993382041db51d21b60f42 (diff) | |
download | elgg-21f67d2117ed460c7d8374c9b42348e2eea2b0f4.tar.gz elgg-21f67d2117ed460c7d8374c9b42348e2eea2b0f4.tar.bz2 |
Fixes #4042 made sure empty content pages had a message about no content
Diffstat (limited to 'mod/bookmarks/pages/bookmarks/all.php')
-rw-r--r-- | mod/bookmarks/pages/bookmarks/all.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/bookmarks/pages/bookmarks/all.php b/mod/bookmarks/pages/bookmarks/all.php index d9ac2767f..f57776752 100644 --- a/mod/bookmarks/pages/bookmarks/all.php +++ b/mod/bookmarks/pages/bookmarks/all.php @@ -20,6 +20,10 @@ $content = elgg_list_entities(array( 'view_toggle_type' => false )); +if (!$content) { + $content = elgg_echo('bookmarks:none'); +} + $title = elgg_echo('bookmarks:everyone'); $body = elgg_view_layout('content', array( |