aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire/views
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-23 17:33:43 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-23 17:33:43 +0000
commit33b3fae7aeaf94b85bba04a7c1633f892292d5b6 (patch)
treea46a326195b30f007b7e2124b5e4b96a85d8f1f1 /mod/thewire/views
parent57297a7e814f64bdc844321caabe6dafcef7b246 (diff)
downloadelgg-33b3fae7aeaf94b85bba04a7c1633f892292d5b6.tar.gz
elgg-33b3fae7aeaf94b85bba04a7c1633f892292d5b6.tar.bz2
new wire work
git-svn-id: https://code.elgg.org/elgg/trunk@2903 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/thewire/views')
-rw-r--r--mod/thewire/views/default/thewire/forms/add.php3
-rw-r--r--mod/thewire/views/default/thewire/profile_status.php5
2 files changed, 6 insertions, 2 deletions
diff --git a/mod/thewire/views/default/thewire/forms/add.php b/mod/thewire/views/default/thewire/forms/add.php
index 00efb61ae..a424e4eb4 100644
--- a/mod/thewire/views/default/thewire/forms/add.php
+++ b/mod/thewire/views/default/thewire/forms/add.php
@@ -15,7 +15,8 @@
if (!empty($wire_user)) { $msg = '@' . $wire_user . ' '; } else { $msg = ''; }
?>
-<div class="contentWrapper">
+<div class="post_to_wire">
+<h3><?php echo elgg_echo("thewire:doing"); ?></h3>
<script>
function textCounter(field,cntfield,maxlimit) {
// if too long...trim it!
diff --git a/mod/thewire/views/default/thewire/profile_status.php b/mod/thewire/views/default/thewire/profile_status.php
index 556ae8a9f..52d4d69f5 100644
--- a/mod/thewire/views/default/thewire/profile_status.php
+++ b/mod/thewire/views/default/thewire/profile_status.php
@@ -5,7 +5,8 @@
*/
$owner = $vars['entity']->guid;
-
+ $url_to_wire = $vars['url'] . "mod/thewire/";
+
//grab the users latest from the wire
$latest_wire = get_entities("object", "thewire", $owner, "", 1, 0, false, 0, null);
@@ -19,6 +20,8 @@
if($latest_wire){
echo "<div class=\"profile_status\">";
echo $content . " " . $time;
+ if($owner == $_SESSION['user']->guid)
+ echo " <a href=\"{$url_to_wire}\">update</a>";
echo "</div>";
}
?> \ No newline at end of file