aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-11-06 16:16:26 -0800
committerfriendica <info@friendica.com>2012-11-06 16:16:26 -0800
commit55df0452b60d6faf00b782a03c8cc590f08d8f94 (patch)
tree5896aa3320fbc46c223150b9f8048dd4af952d05 /include/text.php
parent9050faa4874b691321c2a752803669911584a39c (diff)
downloadvolse-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.php18
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