finish off like/dislike localisation except for zrl/magic_link

This commit is contained in:
friendica
2012-11-06 16:16:26 -08:00
parent 9050faa487
commit 55df0452b6
4 changed files with 61 additions and 38 deletions

View File

@@ -1720,4 +1720,20 @@ function find_xchan_in_array($xchan,$arr) {
}
}
return array();
}
}
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;
}