From 55df0452b60d6faf00b782a03c8cc590f08d8f94 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 6 Nov 2012 16:16:26 -0800 Subject: finish off like/dislike localisation except for zrl/magic_link --- include/text.php | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'include/text.php') 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 -- cgit v1.2.3