]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/opac/skin/default/xml/home/index_body.xml
while we're at it, condense the js/css/images deflat and cache control into 1 block
[working/Evergreen.git] / Open-ILS / web / opac / skin / default / xml / home / index_body.xml
1 <body class="tundra">
2
3         <noscript>
4                 <style type="text/css">#toptable { display: none; }</style>
5                 <p style="font-size: 1.3em; padding: 3em; text-align: center;">
6                 &home.js.disabled;
7                 </p>
8         </noscript>
9
10         <table id='toptable' width='100%' style='border-collapse: collapse;'>
11                 <tbody>
12                         <tr>
13                                 <td width='10%'> </td>
14                                 <td width='80%'>
15                                         <div id='canvas'>
16                                                 <!--#include virtual="../common/altcanvas.xml"-->
17                                                 <!--#include virtual="homesearch.xml"-->
18                                         </div>
19                                 </td>
20                                 <td width='10%'> </td>
21                         </tr>
22                 </tbody>
23         </table>
24         <!--#include virtual='../footer.xml'-->
25     <center>
26         <div id='gcfPrompt' class='hide_me'>
27             <script>dojo.require('dojo.cookie')</script>;
28             <div><span>&common.googlechromeframe.why;</span></div>
29             <button onclick='CFInstall.check({preventPrompt: false, mode: "popup"});'>&common.googlechromeframe.install;</button>
30             <button onclick='dojo.cookie("noGCF", "true", {path:"/", expires: 365}); hideMe($("gcfPrompt"));'>&common.googlechromeframe.dontask;</button>
31         </div>
32     </center>
33     <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script>
34     <script><![CDATA[ 
35         CFInstall.check({
36             preventPrompt: true,
37             onmissing: function() {
38                 if (dojo.cookie("noGCF") != "true")
39                     unHideMe($('gcfPrompt'));
40             }
41         });]]>
42     </script>
43
44     <script language="javascript" type="text/javascript">
45         isFrontPage = true;
46         dojo.addOnLoad(init);
47         dojo.addOnLoad(home_init);
48
49         try { 
50             dojo.style(dojo.byId('toptable'), 'display', 'table'); 
51         } catch(e) {
52             try {
53                 dojo.style(dojo.byId('toptable'), 'display', ''); 
54             } catch(ee) {}
55         }
56
57         dojo.require("dijit._Calendar");
58         dojo.require("dijit.form.DateTextBox");
59         dojo.require("dijit.form.FilteringSelect");
60         dojo.require("dojo.date.locale");
61         dojo.require("dojo.date.stamp");
62         dojo.require("dojo.parser");
63         dojo.require("openils.widget.FacetSidebar"); // pulls in Searcher and I18N
64     </script>
65 </body>
66
67