From cbaee76dd955a4d6d6f0f0e0d364e34e12a9b827 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 16 Nov 2014 16:19:24 -0800 Subject: "list mode" (forum and blog mode, no comments or comment boxes displayed on the summary page) --- include/ItemObject.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/ItemObject.php b/include/ItemObject.php index 9e694b8ac..ee7676bd4 100644 --- a/include/ItemObject.php +++ b/include/ItemObject.php @@ -243,6 +243,7 @@ class Item extends BaseObject { 'id' => $this->get_id(), 'linktitle' => sprintf( t('View %s\'s profile - %s'), $profile_name, $item['author']['xchan_addr']), 'olinktitle' => sprintf( t('View %s\'s profile - %s'), $this->get_owner_name(), $item['owner']['xchan_addr']), + 'llink' => $item['llink'], 'to' => t('to'), 'via' => t('via'), 'wall' => t('Wall-to-Wall'), @@ -503,12 +504,12 @@ class Item extends BaseObject { /** * Get template */ - private function get_template() { + public function get_template() { return $this->template; } - private function set_template($t) { + public function set_template($t) { $this->template = $t; } -- cgit v1.2.3