diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-13 16:44:38 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-13 16:44:38 +0000 |
commit | a152d82bda0a09256be77fb9cde9f13bb8e40a14 (patch) | |
tree | 86e7426924c88fb61886375d09ae188a9e1a6be3 | |
parent | 61fac594920e39df1dcde3c3d8ecfd4a4a31d340 (diff) | |
download | elgg-a152d82bda0a09256be77fb9cde9f13bb8e40a14.tar.gz elgg-a152d82bda0a09256be77fb9cde9f13bb8e40a14.tar.bz2 |
added text to pages plugin for case where no pages have been created on site
git-svn-id: http://code.elgg.org/elgg/trunk@8682 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | mod/pages/world.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/pages/world.php b/mod/pages/world.php index 2a7ea4be9..668100ad2 100644 --- a/mod/pages/world.php +++ b/mod/pages/world.php @@ -15,6 +15,9 @@ $content = elgg_list_entities(array( 'subtypes' => 'page_top', 'full_view' => false, )); +if (!$content) { + $content = '<p>' . elgg_echo('pages:none') . '</p>'; +} $body = elgg_view_layout('content', array( 'filter_context' => 'all', |