photo "conversation streams" need work - quite a bit of it
This commit is contained in:
parent
8416cff2a5
commit
c357fddea7
1 changed files with 8 additions and 0 deletions
|
@ -1250,6 +1250,12 @@ function photos_content(&$a) {
|
||||||
|
|
||||||
// Do we have an item for this photo?
|
// Do we have an item for this photo?
|
||||||
|
|
||||||
|
// FIXME! - replace following code to display the conversation with our normal
|
||||||
|
// conversation functions so that it works correctly and tracks changes
|
||||||
|
// in the evolving conversation code.
|
||||||
|
// The difference is that we won't be displaying the conversation head item
|
||||||
|
// as a "post" but displaying instead the photo it is linked to
|
||||||
|
|
||||||
$linked_items = q("SELECT * FROM `item` WHERE `resource-id` = '%s' $sql_extra LIMIT 1",
|
$linked_items = q("SELECT * FROM `item` WHERE `resource-id` = '%s' $sql_extra LIMIT 1",
|
||||||
dbesc($datum)
|
dbesc($datum)
|
||||||
);
|
);
|
||||||
|
@ -1390,6 +1396,8 @@ function photos_content(&$a) {
|
||||||
$like = '';
|
$like = '';
|
||||||
$dislike = '';
|
$dislike = '';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// display comments
|
// display comments
|
||||||
if(count($r)) {
|
if(count($r)) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue