aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-14 16:49:57 -0800
committerfriendica <info@friendica.com>2013-01-14 16:49:57 -0800
commit639325b235deb67396b7e0b64c043f85599e6641 (patch)
tree657eb033e81ddf6bfdd49aba1926d2532dd8b1a4 /include/conversation.php
parent67868a30940545be00360aad43e564767c536f98 (diff)
downloadvolse-hubzilla-639325b235deb67396b7e0b64c043f85599e6641.tar.gz
volse-hubzilla-639325b235deb67396b7e0b64c043f85599e6641.tar.bz2
volse-hubzilla-639325b235deb67396b7e0b64c043f85599e6641.zip
progress on pages - they're still getting lost inside conversation(), but progress is progress.
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 88da4a0b9..e5c035335 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -419,9 +419,6 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional') {
}
}
-
-
-
}
elseif($mode === 'display') {
@@ -432,6 +429,13 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional') {
}
+ elseif($mode === 'page') {
+ $profile_owner = $a->profile['uid'];
+ $page_writeable = ($profile_owner == local_user());
+ $live_update_div = '<div id="live-page"></div>' . "\r\n";
+ }
+
+
else if($mode === 'search') {
$live_update_div = '<div id="live-search"></div>' . "\r\n";
}