aboutsummaryrefslogtreecommitdiffstats
path: root/include/ItemObject.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-11-16 16:19:24 -0800
committerfriendica <info@friendica.com>2014-11-16 16:19:24 -0800
commitcbaee76dd955a4d6d6f0f0e0d364e34e12a9b827 (patch)
tree6db7b5e761339141bfcac5935c6675c0e96d4d7c /include/ItemObject.php
parent1c249a5b06279ea4a19433d45a8dbe6fd71bcd25 (diff)
downloadvolse-hubzilla-cbaee76dd955a4d6d6f0f0e0d364e34e12a9b827.tar.gz
volse-hubzilla-cbaee76dd955a4d6d6f0f0e0d364e34e12a9b827.tar.bz2
volse-hubzilla-cbaee76dd955a4d6d6f0f0e0d364e34e12a9b827.zip
"list mode" (forum and blog mode, no comments or comment boxes displayed on the summary page)
Diffstat (limited to 'include/ItemObject.php')
-rw-r--r--include/ItemObject.php5
1 files changed, 3 insertions, 2 deletions
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;
}