+my $template = C4::Templates::gettemplate($from, 'intranet', $query);
+$template->param(
+ referer => $refer,
+ intranetstylesheet => C4::Context->preference("intranetstylesheet"),
+ intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"),
+);