aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire/views/default/object
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-08-06 14:17:37 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-08-06 14:17:37 +0000
commite9f261e51adcaa80429fe14b04ee277ab3124ce9 (patch)
tree6637cbf6a3917d29adcdffb4d1e8ab562050fd61 /mod/thewire/views/default/object
parent44c6025cc9a1536a772bf74af8cc9c07b0efc8b6 (diff)
downloadelgg-e9f261e51adcaa80429fe14b04ee277ab3124ce9.tar.gz
elgg-e9f261e51adcaa80429fe14b04ee277ab3124ce9.tar.bz2
removed all main plugins from core - they now live in the plugins svn
git-svn-id: https://code.elgg.org/elgg/trunk@3422 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/thewire/views/default/object')
-rw-r--r--mod/thewire/views/default/object/thewire.php102
1 files changed, 0 insertions, 102 deletions
diff --git a/mod/thewire/views/default/object/thewire.php b/mod/thewire/views/default/object/thewire.php
deleted file mode 100644
index ef1c8f55c..000000000
--- a/mod/thewire/views/default/object/thewire.php
+++ /dev/null
@@ -1,102 +0,0 @@
-<?php
-
- /**
- * Elgg thewire note view
- *
- * @package ElggTheWire
- * @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.com/
- *
- * @question - do we want users to be able to edit thewire?
- *
- * @uses $vars['entity'] Optionally, the note to view
- */
-
- if (isset($vars['entity'])) {
-
- $user_name = $vars['entity']->getOwnerEntity()->name;
-
- //if the note is a reply, we need some more info
-
- $note_url = '';
- $note_owner = elgg_echo("thewire:notedeleted");
-
-?>
-<div class="thewire-singlepage">
- <div class="thewire-post">
-
- <!-- the actual shout -->
- <div class="note_body">
-
- <div class="thewire_icon">
- <?php
- echo elgg_view("profile/icon",array('entity' => $vars['entity']->getOwnerEntity(), 'size' => 'small'));
- ?>
- </div>
-
- <div class="thewire_options">
-
- <a href="<?php echo $vars['url']; ?>mod/thewire/add.php?wire_username=<?php echo $vars['entity']->getOwnerEntity()->username; ?>" class="reply"><?php echo elgg_echo('thewire:reply'); ?></a>
- <?php
-/* //only have a reply option for main notes, not other replies
- if($vars['entity']->parent == 0){
- ?>
- <a href="<?php echo $vars['url']; ?>mod/thewire/reply.php?note_id=<?php echo $vars['entity']->guid; ?>" class="reply">reply</a>
- <?php
- }
-*/
- ?>
- <div class="clearfloat"></div>
- <?php
-
- // if the user looking at thewire post can edit, show the delete link
- if ($vars['entity']->canEdit()) {
-
-
- echo "<div class='delete_note'>" . elgg_view("output/confirmlink",array(
- 'href' => $vars['url'] . "action/thewire/delete?thewirepost=" . $vars['entity']->getGUID(),
- 'text' => elgg_echo('delete'),
- 'confirm' => elgg_echo('deleteconfirm'),
- )) . "</div>";
-
- } //end of can edit if statement
- ?>
- </div>
-
-
- <?php
- echo "<b>{$user_name}: </b>";
-
-
- $desc = $vars['entity']->description;
-
- $desc = preg_replace('/\@([A-Za-z0-9\_\.\-]*)/i','@<a href="' . $vars['url'] . 'pg/thewire/$1">$1</a>',$desc);
- echo parse_urls($desc);
- ?>
-
-
- <div class="clearfloat"></div>
- </div>
- <div class="note_date">
-
- <?php
-
- echo elgg_echo("thewire:wired") . " " . sprintf(elgg_echo("thewire:strapline"),
- friendly_time($vars['entity']->time_created)
- );
-
- echo " via " . elgg_echo($vars['entity']->method) . ".";
-
- ?>
- </div>
-
-
- </div>
-</div>
-<?php
-
- }
-
-?> \ No newline at end of file