diff options
Diffstat (limited to 'mod/thewire/views')
-rw-r--r-- | mod/thewire/views/default/thewire/forms/add.php | 3 | ||||
-rw-r--r-- | mod/thewire/views/default/thewire/profile_status.php | 5 |
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 |