diff options
author | fabrixxm <fabrix.xm@gmail.com> | 2011-02-17 07:37:15 +0100 |
---|---|---|
committer | fabrixxm <fabrix.xm@gmail.com> | 2011-02-17 07:37:15 +0100 |
commit | c948ab8f211c54ca73643ba23ddcde3da0c256a3 (patch) | |
tree | 24d21b9352352a5594cb7bb80b8afd7f7fea2bc0 /boot.php | |
parent | 2493877a18e3b6bd210aa1e193ce5b2d8dc62419 (diff) | |
parent | c397a2f89bf3c2c609852f5bfc618c1d0cb0b709 (diff) | |
download | volse-hubzilla-c948ab8f211c54ca73643ba23ddcde3da0c256a3.tar.gz volse-hubzilla-c948ab8f211c54ca73643ba23ddcde3da0c256a3.tar.bz2 volse-hubzilla-c948ab8f211c54ca73643ba23ddcde3da0c256a3.zip |
Merge branch 'friendika-master'
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -2449,3 +2449,16 @@ function feed_salmonlinks($nick) { return $salmon; }} +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') . '"><img src="' . $a->get_baseurl() . '/images/remote-link.gif" alt="' . t('link to source') . '" /></a></div>' : ''); + return $plink; +}} + +if(! function_exists('unamp')) { +function unamp($s) { + return str_replace('&', '&', $s); +}} + |