From 45149271285ea3515c3c1a7ea189609969c76748 Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 8 Nov 2010 17:30:00 -0800 Subject: added search --- boot.php | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 985cc922c..4fc917bcc 100644 --- a/boot.php +++ b/boot.php @@ -355,10 +355,10 @@ function load_translation_table($lang) { if(! function_exists('t')) { function t($s) { - + $a = get_app(); - if($a->strings[$s]) + if(x($a->strings,$s)) return $a->strings[$s]; return $s; }} @@ -1427,3 +1427,14 @@ function contact_block() { }} +if(! function_exists('search')) { +function search($s) { + $a = get_app(); + $o = ''; + return $o; +}} + -- cgit v1.2.3