diff options
author | friendica <info@friendica.com> | 2012-11-06 16:16:26 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-11-06 16:16:26 -0800 |
commit | 55df0452b60d6faf00b782a03c8cc590f08d8f94 (patch) | |
tree | 5896aa3320fbc46c223150b9f8048dd4af952d05 /include/text.php | |
parent | 9050faa4874b691321c2a752803669911584a39c (diff) | |
download | volse-hubzilla-55df0452b60d6faf00b782a03c8cc590f08d8f94.tar.gz volse-hubzilla-55df0452b60d6faf00b782a03c8cc590f08d8f94.tar.bz2 volse-hubzilla-55df0452b60d6faf00b782a03c8cc590f08d8f94.zip |
finish off like/dislike localisation except for zrl/magic_link
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php index 464396d62..0d92c6875 100644 --- a/include/text.php +++ b/include/text.php @@ -1720,4 +1720,20 @@ function find_xchan_in_array($xchan,$arr) { } } return array(); -}
\ No newline at end of file +} + +function get_json_rel_link($j,$rel) { + if(count($j)) + foreach($j as $l) + if($l->rel === $rel) + return $l->href; + return ''; +} + + +// Lots of code to write here + +function magic_link($s) { + return $s; +} +
\ No newline at end of file |