aboutsummaryrefslogtreecommitdiff
path: root/mod/activity/views
diff options
context:
space:
mode:
Diffstat (limited to 'mod/activity/views')
-rw-r--r--mod/activity/views/default/activity/css.php169
-rw-r--r--mod/activity/views/default/activity/dashboard.php18
-rw-r--r--mod/activity/views/default/activity/offset.php29
-rw-r--r--mod/activity/views/default/activity/wrapper.php51
-rw-r--r--mod/activity/views/default/settings/activity/edit.php11
-rw-r--r--mod/activity/views/opendd/activity/dashboard.php13
6 files changed, 0 insertions, 291 deletions
diff --git a/mod/activity/views/default/activity/css.php b/mod/activity/views/default/activity/css.php
deleted file mode 100644
index 506fdd096..000000000
--- a/mod/activity/views/default/activity/css.php
+++ /dev/null
@@ -1,169 +0,0 @@
-<?php
-
- /**
- * Elgg Activity CSS
- *
- * @package ElggBookmarks
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider <info@elgg.com>
- * @copyright Curverider Ltd 2008-2009
- * @link http://elgg.org/
- */
-
-?>
-
-
-/* ***************************************
- ACTIVITY
-*************************************** */
-.activity_item p {
- margin:0;
- padding:2px 0 0 0;
- line-height:1.1em;
- min-height:17px;
-}
-.activity_item .activity_item_time {
- font-size:90%;
- color:#666666;
-}
-#activity {
- border-top:1px solid #dddddd;
-}
-#activity .activity_item p {
- margin:0;
- padding:2px 0 0 20px;
- line-height:1.1em;
- min-height:17px;
-}
-#activity .activity_item {
- border-bottom:1px solid #dddddd;
- padding:2px 0 2px 0;
-}
-#activity .river_item_time {
- font-size:90%;
- color:#666666;
-}
-/* IE6 fix */
-* html #activity .river_item p {
- padding:3px 0 3px 20px;
-}
-/* IE7 */
-*:first-child+html #activity .river_item p {
- min-height:17px;
-}
-
-#activity .activity_file_create {
- background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_files.gif) no-repeat left -1px;
-}
-#activity .activity_file_annotate {
- background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_comment.gif) no-repeat left -1px;
-}
-#activity .activity_status_create {
- background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_profile.gif) no-repeat left -1px;
-}
-#activity .activity_user_profileupdate {
- background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_profile.gif) no-repeat left -1px;
-}
-#activity .activity_user_profileiconupdate {
- background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_profile.gif) no-repeat left -1px;
-}
-#activity .activity_relationship_friend_create {
- background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_friends.gif) no-repeat left -1px;
-}
-#activity .activity_bookmarks_create {
- background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_bookmarks.gif) no-repeat left -1px;
-}
-#activity .activity_blog_annotate {
- background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_comment.gif) no-repeat left -1px;
-}
-#activity .activity_widget_create {
- background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_plugin.gif) no-repeat left -1px;
-}
-#activity .activity_blog_update {
- background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_blog.gif) no-repeat left -1px;
-}
-#activity .activity_blog_create {
- background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_blog.gif) no-repeat left -1px;
-}
-#activity .activity_status_create {
- background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_status.gif) no-repeat left -1px;
-}
-#activity .activity_forums_create {
- background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_forum.gif) no-repeat left -1px;
-}
-#activity .activity_forums_update {
- background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_forum.gif) no-repeat left -1px;
-}
-#activity .activity_forumtopic_create {
- background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_forum.gif) no-repeat left -1px;
-}
-#activity .activity_relationship_member_create {
- background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_forum.gif) no-repeat left -1px;
-}
-#activity .activity_groupforumtopic_annotate {
- background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_comment.gif) no-repeat left -1px;
-}
-/* post to wire */
-#activity .activity_thewire_create {
- background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_thewire.gif) no-repeat left -1px;
-}
-#activity .activity_groupforumtopic_create {
- background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_forum.gif) no-repeat left -1px;
-}
-/* comment on page */
-#activity .activity_page_annotate {
- background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_comment.gif) no-repeat left -1px;
-}
-#activity .activity_page_top_annotate {
- background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_comment.gif) no-repeat left -1px;
-}
-/* create a page */
-#activity .activity_page_create {
- background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_pages.gif) no-repeat left -1px;
-}
-#activity .activity_page_top_create {
- background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_pages.gif) no-repeat left -1px;
-}
-/* updated a page */
-#activity .activity_page_update {
- background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_pages.gif) no-repeat left -1px;
-}
-#activity .activity_page_top_update {
- background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_pages.gif) no-repeat left -1px;
-}
-
-.river_content {
- margin:10px;
- padding:4px;
- border:1px solid #ddd;
- background:#efefef;
-}
-
-.pagination .forward,
-.pagination .back {
- display:block;
- float:left;
- border:1px solid #4690d6;
- color:#4690d6;
- text-align: center;
- font-size: 12px;
- font-weight: normal;
- margin:0 6px 0 0;
- padding:0px 4px;
- cursor: pointer;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
-}
-.pagination .forward:hover,
-.pagination .back:hover {
- background:#4690d6;
- color:white;
- text-decoration: none;
-}
-.pagination .back {
- margin:0 20px 0 0;
-}
-
-
-
-
diff --git a/mod/activity/views/default/activity/dashboard.php b/mod/activity/views/default/activity/dashboard.php
deleted file mode 100644
index 3e0483777..000000000
--- a/mod/activity/views/default/activity/dashboard.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
- /// Extract the activity
- $activity = $vars['activity'];
-
- //include a view which can then be extended by the wire plugin so you can post to the wire right in this view
- echo elgg_view("activity/thewire");
-
-?>
-<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/offset.php b/mod/activity/views/default/activity/offset.php
deleted file mode 100644
index ad741307a..000000000
--- a/mod/activity/views/default/activity/offset.php
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
- /// Extract the offset value
- $offset = $vars['offset'];
- $backset = '-1'; //used to display the forward link
- $add_to_url = $vars['add_to_url'];//used to determine which pane we are looking at - sitewide, friends, own
- $url = "pg/activity/";//set the default url
-
- if($add_to_url == "friends")
- $url = "pg/activity/" . $_SESSION['user']->username . "/friends/";
-
- if($add_to_url == "own")
- $url = "pg/activity/" . $_SESSION['user']->username;
-
-
- if($offset > 19)
- $backset = $offset - 20;//set backset
-
- $offset = $offset + 20;//set new offset
-
- echo "<div class=\"pagination\">";
-
- echo "<a class=\"back\" href=\"{$vars['url']}{$url}?offset={$offset}\"> &laquo; " . elgg_echo('activity:back') . "</a>";
-
- if($backset != '-1')
- echo "<a class=\"forward\" href=\"{$vars['url']}{$url}?offset={$backset}\">". elgg_echo('activity:forward') . " &raquo;</a> ";
-
- echo "<div class=\"clearfloat\"></div></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 685236d01..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-2009
- * @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>
diff --git a/mod/activity/views/opendd/activity/dashboard.php b/mod/activity/views/opendd/activity/dashboard.php
deleted file mode 100644
index 2fdd7bbf2..000000000
--- a/mod/activity/views/opendd/activity/dashboard.php
+++ /dev/null
@@ -1,13 +0,0 @@
-<?php
- /// Extract the activity
- $activity = $vars['activity'];
-
- if (($activity) && (count($activity)))
- {
- foreach ($activity as $a)
- {
- foreach ($a as $odd)
- echo $odd;
- }
- }
-?> \ No newline at end of file