diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-09-10 19:31:42 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-09-10 19:31:42 -0700 |
commit | 7f30863df2ab7520cd059db4aec8a65f114d5a49 (patch) | |
tree | 47af8a43008e67b9464988b9daad3b5de6c9011b /mod/network.php | |
parent | a6a2c02b6a94ffd5ee764d7746d4395e970d9cdc (diff) | |
download | volse-hubzilla-7f30863df2ab7520cd059db4aec8a65f114d5a49.tar.gz volse-hubzilla-7f30863df2ab7520cd059db4aec8a65f114d5a49.tar.bz2 volse-hubzilla-7f30863df2ab7520cd059db4aec8a65f114d5a49.zip |
forum mode - use linked avatar and name for title instead of "Channel: xxxxx" or "Forum: xxxx"
Diffstat (limited to 'mod/network.php')
-rw-r--r-- | mod/network.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/network.php b/mod/network.php index 82c68424c..7a926282e 100644 --- a/mod/network.php +++ b/mod/network.php @@ -232,7 +232,7 @@ function network_content(&$a, $update = 0, $load = false) { if($r) { $sql_extra = " AND item.parent IN ( SELECT DISTINCT parent FROM item WHERE true $sql_options AND uid = " . intval(local_channel()) . " AND ( author_xchan = '" . dbesc($r[0]['abook_xchan']) . "' or owner_xchan = '" . dbesc($r[0]['abook_xchan']) . "' ) $item_normal ) "; $title = replace_macros(get_markup_template("section_title.tpl"),array( - '$title' => (($_GET['pf'] === '1') ? t('Forum: ') : t('Connection: ')) . $r[0]['xchan_name'] + '$title' => '<a href="' . zid($r[0]['xchan_url']) . '" /><img src="' . zid($r[0]['xchan_photo_s']) . '" alt="' . urlencode($r[0]['xchan_name']) . '" /> ' . $r[0]['xchan_name'] . '</a>' )); $o = $tabs; $o .= $title; |