Temporary patch for bug 182
authoracli <acli>
Sun, 26 Jan 2003 04:37:17 +0000 (04:37 +0000)
committeracli <acli>
Sun, 26 Jan 2003 04:37:17 +0000 (04:37 +0000)
C4/Output.pm

index 2fa88d1..6d61bb9 100644 (file)
@@ -94,7 +94,8 @@ sub gettemplate {
                                   global_vars       => 1,
                                   path              => ["$htdocs/$theme/$lang/includes"]);
 
-    $template->param(themelang => "/$theme/$lang",
+    # XXX temporary patch for Bug 182 for themelang
+    $template->param(themelang => ($opac ne 'intranet'? '/opac-tmpl': '/intranet-tmpl') . "/$theme/$lang",
                                                        theme => $theme,
                                                        lang => $lang);
     return $template;