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