Bug 3452: Additional patch that expands the branch name and category code in Suggesti...
[koha_fer] / opac / opac-main.pl
index d72e55b..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,8 +56,9 @@ $template->param(
     koha_news_count => $koha_news_count
 );
 
-$template->param(
-    'Disable_Dictionary' => C4::Context->preference("Disable_Dictionary") )
-  if ( C4::Context->preference("Disable_Dictionary") );
+# 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;