source: WAeUP_SRP/branches/joachim-azax-branch/skins/waeup_default/a_header_macros.pt @ 13714

Last change on this file since 13714 was 1997, checked in by joachim, 17 years ago

starting

  • Property svn:keywords set to Id
File size: 3.0 KB
Line 
1<metal:block define-macro="header_resources">
2  <metal:header use-macro="context/azax_header_macros/base_resources" />
3  <metal:header use-macro="context/azax_header_macros/kukit_resource" />
4</metal:block>
5
6<metal:header define-macro="base_resources">
7  <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
8  <script type="text/javascript"
9          tal:attributes="src string:${context/azaxdemo/@@absolute_url}/++resource++sarissa.js;"
10          src="++resource++sarissa.js">
11  </script>
12  <script type="text/javascript"
13          tal:attributes="src string:${context/azaxdemo/@@absolute_url}/++resource++cssQuery.js;"
14          src="++resource++cssQuery.js">
15  </script>
16  <script type="text/javascript"
17          tal:attributes="src string:${context/azaxdemo/@@absolute_url}/++resource++MochiKit.js;"
18          src="++resource++MochiKit.js">
19  </script>
20</metal:header>
21
22<metal:header define-macro="kukit_resource">
23  <script type="text/javascript"
24          tal:attributes="src string:${context/azaxdemo/@@absolute_url}/++resource++kukit.js;"
25          src="++resource++kukit.js">
26  </script>
27</metal:header>
28
29<!-- prototype -->
30
31<metal:header define-macro="header_resources_with_prototype">
32  <metal:header use-macro="context/@@header_macros/base_resources" />
33  <metal:header use-macro="context/@@header_macros/prototype_extra_resources" />
34  <metal:header use-macro="context/@@header_macros/kukit_resource" />
35</metal:header>
36
37<metal:header define-macro="prototype_extra_resources">
38  <script type="text/javascript"
39          tal:attributes="src string:${context/@@absolute_url}/++resource++prototype.js;"
40          src="++resource++prototype.js">
41  </script>
42  <script type="text/javascript"
43          tal:attributes="src string:${context/@@absolute_url}/++resource++effects.js;"
44          src="++resource++effects.js">
45  </script>
46</metal:header>
47
48<!-- ajaxslt-->
49
50<metal:header define-macro="header_resources_with_ajaxslt">
51  <metal:header use-macro="context/@@header_macros/base_resources" />
52  <metal:header use-macro="context/@@header_macros/ajaxslt_extra_resources" />
53  <metal:header use-macro="context/@@header_macros/kukit_resource" />
54</metal:header>
55
56<metal:header define-macro="ajaxslt_extra_resources">
57  <script type="text/javascript"
58          tal:attributes="src
59          string:${context/@@absolute_url}/++resource++ajaxslt_misc.js;"
60          src="++resource++ajaxslt_misc.js">
61  </script>
62  <script type="text/javascript"
63          tal:attributes="src
64          string:${context/@@absolute_url}/++resource++ajaxslt_dom.js;"
65          src="++resource++ajaxslt_dom.js">
66  </script>
67  <script type="text/javascript"
68          tal:attributes="src
69          string:${context/@@absolute_url}/++resource++ajaxslt_xpath.js;"
70          src="++resource++ajaxslt_xpath.js">
71  </script>
72  <!--script type="text/javascript"
73      tal:attributes="src
74      string:${context/@@absolute_url}/++resource++ajaxslt_xslt.js;"
75      src="++resource++ajaxslt_xslt.js">
76    </script-->
77</metal:header>
Note: See TracBrowser for help on using the repository browser.