diff options
author | friendica <info@friendica.com> | 2013-01-25 04:30:03 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-01-25 04:30:03 -0800 |
commit | 132a5f0f9691d154a048874342a6ad042be2a9e3 (patch) | |
tree | c8088e3d4b3cad759d1a144a7e1c2270dd48229c /include/text.php | |
parent | 50915c46927e761a46578f8edc1499dcce19e5fc (diff) | |
download | volse-hubzilla-132a5f0f9691d154a048874342a6ad042be2a9e3.tar.gz volse-hubzilla-132a5f0f9691d154a048874342a6ad042be2a9e3.tar.bz2 volse-hubzilla-132a5f0f9691d154a048874342a6ad042be2a9e3.zip |
add new magic links to activity translations
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/text.php b/include/text.php index 167fbb1df..90cd86a5f 100644 --- a/include/text.php +++ b/include/text.php @@ -620,6 +620,12 @@ function chanlink_cid($d) { return z_root() . '/chanview?f=&cid=' . intval($d); } +function magiclink_url($observer,$myaddr,$url) { + return (($observer) + ? z_root() . '/magic?f=&dest=' . $url . '&addr=' . $myaddr + : $url + ); +} if(! function_exists('micropro')) { |