diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-09-16 12:51:14 +0200 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-09-16 12:51:14 +0200 |
commit | 6b6f45f9f1c0fa5c0142c0bf1d9a93b77694ea4b (patch) | |
tree | c8dfd7aa6f5c93f6106f12959da426c506fe492a /include/text.php | |
parent | 80af4f3fe647e52add7e38cabc356597fae57a22 (diff) | |
download | volse-hubzilla-6b6f45f9f1c0fa5c0142c0bf1d9a93b77694ea4b.tar.gz volse-hubzilla-6b6f45f9f1c0fa5c0142c0bf1d9a93b77694ea4b.tar.bz2 volse-hubzilla-6b6f45f9f1c0fa5c0142c0bf1d9a93b77694ea4b.zip |
quattro: initial style of conversations
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/include/text.php b/include/text.php index 1f038c49c..a22faa1a5 100644 --- a/include/text.php +++ b/include/text.php @@ -834,9 +834,14 @@ function feed_salmonlinks($nick) { if(! function_exists('get_plink')) { function get_plink($item) { $a = get_app(); - $plink = (((x($item,'plink')) && (! $item['private'])) ? '<div class="wall-item-links-wrapper"><a href="' - . $item['plink'] . '" title="' . t('link to source') . '" target="external-link" class="icon remote-link"></a></div>' : ''); - return $plink; + if (x($item,'plink') && (! $item['private'])){ + return array( + 'href' => $item['plink'], + 'title' => t('link to source'), + ); + } else { + return false; + } }} if(! function_exists('unamp')) { |