aboutsummaryrefslogtreecommitdiff
path: root/mod/activity/views/default
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-29 13:47:27 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-29 13:47:27 +0000
commitd9ff97bf01e8693f71e871d930e6bf45541f2cfa (patch)
tree120365cc308db7f7ce9cf6b94ce7cfff107dd3f6 /mod/activity/views/default
parent1fdf4fa7b8ed7175ee9b21a6b2b5fa698fd19bc3 (diff)
downloadelgg-d9ff97bf01e8693f71e871d930e6bf45541f2cfa.tar.gz
elgg-d9ff97bf01e8693f71e871d930e6bf45541f2cfa.tar.bz2
Farewell, activity, we hardly knew ye.
git-svn-id: https://code.elgg.org/elgg/trunk@2348 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/activity/views/default')
-rw-r--r--mod/activity/views/default/activity/dashboard.php14
-rw-r--r--mod/activity/views/default/activity/wrapper.php51
-rw-r--r--mod/activity/views/default/settings/activity/edit.php11
3 files changed, 0 insertions, 76 deletions
diff --git a/mod/activity/views/default/activity/dashboard.php b/mod/activity/views/default/activity/dashboard.php
deleted file mode 100644
index 3e626b49f..000000000
--- a/mod/activity/views/default/activity/dashboard.php
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php
- /// Extract the activity
- $activity = $vars['activity'];
-?>
-<div id="activity">
- <?php
- if (($activity) && (count($activity)))
- {
- foreach ($activity as $a) echo $a;
- }
- else
- echo elgg_echo('activity:noactivity');
- ?>
-</div> \ No newline at end of file
diff --git a/mod/activity/views/default/activity/wrapper.php b/mod/activity/views/default/activity/wrapper.php
deleted file mode 100644
index 88ba6ef57..000000000
--- a/mod/activity/views/default/activity/wrapper.php
+++ /dev/null
@@ -1,51 +0,0 @@
-<?php
-
- /**
- * Elgg activity item wrapper.
- * Wraps all river items.
- *
- * @package Elgg
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider
- * @copyright Curverider Ltd 2008
- * @link http://elgg.com/
- */
-
- $statement = $vars['statement'];
- $time = $vars['time'];
- $event = $vars['event'];
- $entry = $vars['entry'];
-
- if ($statement->getObject() instanceof ElggEntity) {
-
- $obj = $statement->getObject();
- $subtype = $obj->getSubtype();
- if (empty($subtype)) $subtype = $obj->type;
- if (empty($subtype)) $subtype = "general";
- } else if (is_array($statement->getObject())) {
- $obj = $statement->getObject();
- $subtype = "relationship_" . $obj['relationship'];
- }
-?>
-<div class="activity_item">
-
- <div class="activity_<?php echo $subtype; ?>">
- <div class="activity_<?php echo $event; ?>">
- <p class="activity_<?php echo $subtype; ?>_<?php echo $event; ?>">
- <?php
-
- echo $vars['entry'];
-
- ?>
- <span class="activity_item_time">
- (<?php
-
- echo friendly_time($time);
-
- ?>)
- </span>
- </p>
- </div>
- </div>
-
-</div>
diff --git a/mod/activity/views/default/settings/activity/edit.php b/mod/activity/views/default/settings/activity/edit.php
deleted file mode 100644
index bfb1a9dbe..000000000
--- a/mod/activity/views/default/settings/activity/edit.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-?>
-<p>
- <?php echo elgg_echo('activity:useasdashboard'); ?>
-
- <select name="params[useasdashboard]">
- <option value="yes" <?php if ($vars['entity']->useasdashboard == 'yes') echo " selected=\"yes\" "; ?>><?php echo elgg_echo('option:yes'); ?></option>
- <option value="no" <?php if ($vars['entity']->useasdashboard != 'yes') echo " selected=\"yes\" "; ?>><?php echo elgg_echo('option:no'); ?></option>
- </select>
-
-</p>