+sub openpagewithoutmenu {
+ my $title = shift;
+ my $boh = shift;
+ my $extrahead = shift;
+
+ @URI=split ('\?', $ENV{'REQUEST_URI'} );
+ &readhash("${swroot}/main/settings", \%settings);
+ &genmenu();
+
+ my $h2 = gettitle($menu);
+ my $helpuri = get_helpuri();
+
+ $title = "IPFire - $title";
+ if ($settings{'WINDOWWITHHOSTNAME'} eq 'on') {
+ $title = "$settings{'HOSTNAME'}.$settings{'DOMAINNAME'} - $title";
+ }
+
+ print <<END
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html>
+ <head>
+ <title>$title</title>
+
+ $extrahead
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+END
+;
+ if ($settings{'FX'} eq 'on') {
+ print <<END
+ <meta http-equiv="Page-Enter" content="blendTrans(Duration=0.5,Transition=12)">
+ <meta http-equiv="Page-Exit" content="blendTrans(Duration=0.5,Transition=12)">
+END
+;
+ }
+ print <<END
+ <link rel="shortcut icon" href="/favicon.ico" />
+ <style type="text/css">\@import url(/include/style.css);</style>
+ <style type="text/css">\@import url(/include/menu.css);</style>
+ <style type="text/css">\@import url(/include/content.css);</style>
+ <script language="javascript" type="text/javascript">
+
+ function swapVisibility(id) {
+ el = document.getElementById(id);
+ if(el.style.display != 'block') {
+ el.style.display = 'block'
+ }
+ else {
+ el.style.display = 'none'
+ }
+ }
+ </script>
+
+ </head>
+ <body>
+<!-- IPFIRE HEADER -->
+
+<div id="main">
+
+<div id="header">
+ <img id="logo-product" src="/images/logo_ipfire.gif">
+ <div id="header-icons">
+ <a href="http://users.ipfire.eu/" target="_blank"><img border="0" src="/images/help.gif"></a>
+ </div>
+</div>
+
+END
+;
+print <<END
+<div id="content">
+ <table width="90%">
+ <tr>
+ <td valign="top">
+ <p><center><img src="/images/iptux.png" width='160px' height='160px'></center></p>
+ </td>
+ <td width="100%" valign="top">
+ <div id="page-content">
+ <h2>$h2</h2>
+END
+ ;
+}
+