aboutsummaryrefslogtreecommitdiff
path: root/lib/tidypics.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-09-01 01:26:02 +0000
committerCash Costello <cash.costello@gmail.com>2009-09-01 01:26:02 +0000
commitff7a4572ab0e91a3e18390c0a0f9706b36ee394b (patch)
treea2aed6adaca3de5f8814004f1a33bc1f638b0f0f /lib/tidypics.php
parent61d7f7243d7c06fd7ea9b282cda6efddf63a6a38 (diff)
downloadelgg-ff7a4572ab0e91a3e18390c0a0f9706b36ee394b.tar.gz
elgg-ff7a4572ab0e91a3e18390c0a0f9706b36ee394b.tar.bz2
moved tagging list to library and added group members
Diffstat (limited to 'lib/tidypics.php')
-rw-r--r--lib/tidypics.php21
1 files changed, 20 insertions, 1 deletions
diff --git a/lib/tidypics.php b/lib/tidypics.php
index e9b3ad46d..6bed421ed 100644
--- a/lib/tidypics.php
+++ b/lib/tidypics.php
@@ -53,7 +53,15 @@
}
- /**** these functions replace broken core functions ****/
+
+ /*********************************************************************
+ * the functions below replace broken core functions or add functions
+ * that should exist in the core
+ */
+
+ /**
+ *
+ */
function tp_get_entities($type = "", $subtype = "", $owner_guid = 0, $order_by = "", $limit = 10, $offset = 0, $count = false, $site_guid = 0, $container_guid = null, $timelower = 0, $timeupper = 0)
{
global $CONFIG;
@@ -164,4 +172,15 @@
return elgg_view_entity_list($entities, $count, $offset, $limit, $fullview, $viewtypetoggle, $pagination);
}
+
+ function tp_is_group_page() {
+
+ if ($group = page_owner_entity()) {
+ if ($group instanceof ElggGroup)
+ return true;
+ }
+
+ return false;
+ }
+
?> \ No newline at end of file