diff options
author | sembrestels <sembrestels@riseup.net> | 2011-10-13 02:39:43 +0200 |
---|---|---|
committer | sembrestels <sembrestels@riseup.net> | 2011-10-13 02:39:43 +0200 |
commit | 090e2188026c76ac396c919b27404dc7cb110bf8 (patch) | |
tree | 9f7f3a1278aa0a09f168abdc0db98f7de1788870 /views/default/dokuwiki/grouppage.php | |
download | elgg-090e2188026c76ac396c919b27404dc7cb110bf8.tar.gz elgg-090e2188026c76ac396c919b27404dc7cb110bf8.tar.bz2 |
Dokuwiki module for Elgg 1.7
Diffstat (limited to 'views/default/dokuwiki/grouppage.php')
-rw-r--r-- | views/default/dokuwiki/grouppage.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/views/default/dokuwiki/grouppage.php b/views/default/dokuwiki/grouppage.php new file mode 100644 index 000000000..c5a342ac7 --- /dev/null +++ b/views/default/dokuwiki/grouppage.php @@ -0,0 +1,13 @@ +<?php + +$group = page_owner_entity(); +$offset = (int)get_input("offset",0); +if ($group->dokuwiki_enable == 'yes' && $group->dokuwiki_frontpage_enable == 'yes') { + echo '<div class="contentWrapper">'; + set_input("inline_page", true); + echo elggdokuwiki_page_handler(array($group->guid)); + echo '</div>'; + $count = elgg_get_entities(array('offset'=>$offset,'full_view'=>FALSE,'types'=>'group','container_guid'=>$group->getGUID(),'count'=>TRUE)); +} + +?> |