aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/views')
-rw-r--r--mod/groups/views/default/groups/icon.php44
-rw-r--r--mod/groups/views/default/icon/group/default/large.php5
-rw-r--r--mod/groups/views/default/icon/group/default/medium.php5
-rw-r--r--mod/groups/views/default/icon/group/default/small.php5
-rw-r--r--mod/groups/views/default/icon/group/default/tiny.php5
5 files changed, 0 insertions, 64 deletions
diff --git a/mod/groups/views/default/groups/icon.php b/mod/groups/views/default/groups/icon.php
deleted file mode 100644
index 993fb54e5..000000000
--- a/mod/groups/views/default/groups/icon.php
+++ /dev/null
@@ -1,44 +0,0 @@
-<?php
-
- /**
- * Elgg group icon
- *
- * @package ElggGroups
- *
- * @uses $vars['entity'] The user entity. If none specified, the current user is assumed.
- * @uses $vars['size'] The size - small, medium or large. If none specified, medium is assumed.
- */
-
- $group = $vars['entity'];
-
- if ($group instanceof ElggGroup) {
-
- // Get size
- if (!in_array($vars['size'],array('small','medium','large','tiny','master','topbar')))
- $vars['size'] = "tiny";
-
- // Get any align and js
- if (!empty($vars['align'])) {
- $align = " align=\"{$vars['align']}\" ";
- } else {
- $align = "";
- }
-
- if ($icontime = $vars['entity']->icontime) {
- $icontime = "{$icontime}";
- } else {
- $icontime = "default";
- }
-
-
-?>
-
-<div class="elgg-user-icon">
-<a href="<?php echo $vars['entity']->getURL(); ?>" class="icon" ><img src="<?php echo $vars['entity']->getIcon($vars['size']); ?>" border="0" <?php echo $align; ?> title="<?php echo $name; ?>" <?php echo $vars['js']; ?> /></a>
-</div>
-
-<?php
-
- }
-
-?> \ No newline at end of file
diff --git a/mod/groups/views/default/icon/group/default/large.php b/mod/groups/views/default/icon/group/default/large.php
deleted file mode 100644
index 4bad6255a..000000000
--- a/mod/groups/views/default/icon/group/default/large.php
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-/**
- * Large default group icon
- */
-echo elgg_get_site_url() . "mod/groups/graphics/defaultlarge.gif";
diff --git a/mod/groups/views/default/icon/group/default/medium.php b/mod/groups/views/default/icon/group/default/medium.php
deleted file mode 100644
index 769357286..000000000
--- a/mod/groups/views/default/icon/group/default/medium.php
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-/**
- * Medium default group icon
- */
-echo elgg_get_site_url() . "mod/groups/graphics/defaultmedium.gif";
diff --git a/mod/groups/views/default/icon/group/default/small.php b/mod/groups/views/default/icon/group/default/small.php
deleted file mode 100644
index 0ff91f4c8..000000000
--- a/mod/groups/views/default/icon/group/default/small.php
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-/**
- * Small default group icon
- */
-echo elgg_get_site_url() . "mod/groups/graphics/defaultsmall.gif";
diff --git a/mod/groups/views/default/icon/group/default/tiny.php b/mod/groups/views/default/icon/group/default/tiny.php
deleted file mode 100644
index c16fe4a24..000000000
--- a/mod/groups/views/default/icon/group/default/tiny.php
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-/**
- * Tiny default group icon
- */
-echo elgg_get_site_url() . "mod/groups/graphics/defaulttiny.gif";