Removing old PO files, removing clutter
[koha_fer] / opac / opac-main.pl
index 28de699..8ec0eb0 100755 (executable)
@@ -22,7 +22,7 @@ require Exporter;
 use CGI;
 use C4::Auth;    # get_template_and_user
 use C4::Output;
-use C4::BookShelves;
+use C4::VirtualShelves;
 use C4::Languages;       # getTranslatedLanguages
 use C4::Branch;          # GetBranches
 use C4::Members;         # GetMember
@@ -116,4 +116,8 @@ $template->param(
     koha_news_count => $koha_news_count
 );
 
+$template->param(
+    'Disable_Dictionary' => C4::Context->preference("Disable_Dictionary") )
+  if ( C4::Context->preference("Disable_Dictionary") );
+
 output_html_with_http_headers $input, $cookie, $template->output;