Bug 3452: Additional patch that expands the branch name and category code in Suggesti...
[koha_fer] / opac / opac-main.pl
index 1bce420..1f4d8d5 100755 (executable)
@@ -17,7 +17,7 @@
 
 
 use strict;
-require Exporter;
+use warnings;
 use CGI;
 use C4::Auth;    # get_template_and_user
 use C4::Output;
@@ -56,4 +56,9 @@ $template->param(
     koha_news_count => $koha_news_count
 );
 
+# If GoogleIndicTransliteration system preference is On Set paramter to load Google's javascript in OPAC search screens 
+if (C4::Context->preference('GoogleIndicTransliteration')) {
+        $template->param('GoogleIndicTransliteration' => 1);
+}
+
 output_html_with_http_headers $input, $cookie, $template->output;