Allegato "ubuntu-banner.xsl"
Scarica 1 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
2 version="1.0">
3
4 <!-- This adds the header -->
5
6 <xsl:template name="header.navigation">
7 <script type="text/javascript">
8 var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
9 document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
10 </script>
11 <script type="text/javascript">
12 try {
13 var pageTracker = _gat._getTracker("UA-8147493-2");
14 pageTracker._trackPageview();
15 } catch(err) {}</script>
16
17
18 <div id="page-border-top-repeat">
19 <div id="header">
20 <div id="header-navigation">
21 <ul>
22 <li><a href="http://www.ubuntu-it.org">Web</a></li><li><a href="http://wiki.ubuntu-it.org">Documentazione</a></li><li><a href="http://forum.ubuntu-it.org">Forum</a></li><li><a href="http://planet.ubuntu-it.org">Planet</a></li>
23 </ul>
24 </div>
25
26 <!-- <div class="header-distro-minori">-->
27 <!-- <a href="#FAI QUELLO CHE VUOI">-->
28 <!-- <img src="libs/img/edubuntu-it-icon.png" title="TOOLTIP AZIONE"/> -->
29 <!-- </a>-->
30 <!-- <a href="#FAI QUELLO CHE VUOI">-->
31 <!-- <img src="libs/img/kubuntu-it-icon.png" title="TOOLTIP AZIONE"/> -->
32 <!-- </a>-->
33 <!-- <a href="#FAI QUELLO CHE VUOI">-->
34 <!-- <img src="libs/img/xubuntu-it-icon.png" title="TOOLTIP AZIONE"/> -->
35 <!-- </a>-->
36 <!-- -->
37 <!-- </div>-->
38
39 <form action="http://help.ubuntu-it.org/10.04/ubuntu/search.php" id="cse-search-box">
40 <div>
41 <input type="text" name="s" size="28" title="search" />
42 <input type="submit" value="Cerca" title="search"/>
43 </div>
44 </form>
45 <!-- <div id="sitename"><a href="http://help.ubuntu-it.org/"><img alt="Documentazione ufficiale" src="http://help.ubuntu-it.org/10.04/ubuntu/libs/img/help-about.png" /><span>Documentazione ufficiale</span></a></div>-->
46 </div> <!-- end header -->
47
48 </div> <!-- end page-border-top-repeat -->
49
50
51
52 </xsl:template>
53
54 <!-- Breadcrumbs -->
55
56 <xsl:template name="breadcrumbs">
57 <xsl:param name="this.node" select="."/>
58 <div class="pagelocation">
59 <a href="http://help.ubuntu-it.org/">Documentazione di Ubuntu</a>
60 <xsl:text> > </xsl:text>
61 <a href="http://help.ubuntu-it.org/ubuntu1004.html">Ubuntu 10.04</a>
62 <xsl:text> > </xsl:text>
63 <xsl:for-each select="$this.node/ancestor::*">
64 <span class="breadcrumb-link">
65 <a>
66 <xsl:attribute name="href">
67 <xsl:call-template name="href.target">
68 <xsl:with-param name="object" select="."/>
69 <xsl:with-param name="context" select="$this.node"/>
70 </xsl:call-template>
71 </xsl:attribute>
72 <xsl:apply-templates select="." mode="title.markup"/>
73 </a>
74 </span>
75 <xsl:text> > </xsl:text>
76 </xsl:for-each>
77 <!-- And display the current node, but not as a link -->
78 <span class="breadcrumb-node">
79 <xsl:apply-templates select="$this.node" mode="title.markup"/>
80 </span>
81 </div>
82 </xsl:template>
83
84
85
86
87 <!-- This adds the footer -->
88
89 <xsl:template name="user.footer.navigation">
90
91
92
93 <div id="page-border-bottom-repeat">
94 <div id="footer">
95 <div id="copyright">
96 Ubuntu e Canonical sono marchi registrati da Canonical Ltd.
97 </div>
98 </div>
99 </div>
100 <div id="page-border-right-top"> </div><div id="page-border-right-bottom"> </div>
101
102
103 </xsl:template>
104
105
106
107
108
109
110
111 <!-- This adds the wrapper elements -->
112
113 <xsl:template name="chunk-element-content">
114 <xsl:param name="prev"/>
115 <xsl:param name="next"/>
116 <xsl:param name="nav.context"/>
117 <xsl:param name="content">
118 <xsl:apply-imports/>
119 </xsl:param>
120
121 <xsl:call-template name="user.preroot"/>
122
123 <html>
124 <xsl:call-template name="html.head">
125 <xsl:with-param name="prev" select="$prev"/>
126 <xsl:with-param name="next" select="$next"/>
127 </xsl:call-template>
128
129 <link href="http://help.ubuntu-it.org/favicon.ico" rel="shortcut icon"/>
130
131 <body>
132 <xsl:call-template name="body.attributes"/>
133 <div id="page-border-left-repeat">
134 <div id="page-border-right-repeat">
135
136 <xsl:call-template name="user.header.navigation"/>
137
138 <xsl:call-template name="header.navigation">
139 <xsl:with-param name="prev" select="$prev"/>
140 <xsl:with-param name="next" select="$next"/>
141 <xsl:with-param name="nav.context" select="$nav.context"/>
142 </xsl:call-template>
143 <div>
144
145
146 <div id="bodyarea">
147
148 <xsl:call-template name="user.header.content"/>
149 <xsl:call-template name="breadcrumbs"/>
150 <xsl:copy-of select="$content"/>
151
152 <xsl:call-template name="user.footer.content"/>
153
154
155 <xsl:call-template name="footer.navigation">
156 <xsl:with-param name="prev" select="$prev"/>
157 <xsl:with-param name="next" select="$next"/>
158 <xsl:with-param name="nav.context" select="$nav.context"/>
159 </xsl:call-template>
160
161 </div> <!-- end bodyarea -->
162
163 </div>
164
165 <xsl:call-template name="user.footer.navigation"/>
166
167 </div> <!-- end page-border-right-repeat -->
168 <div id="page-border-left-top"> </div><div id="page-border-left-bottom"> </div>
169 </div> <!-- end page-border-left-repeat -->
170 <p></p>
171
172 </body>
173 </html>
174 <xsl:value-of select="$chunk.append"/>
175 </xsl:template>
176
177 </xsl:stylesheet>
Allegati
Per riferirsi agli allegati di una pagina, usare attachment:NOME_FILE, come mostrato qui sotto nell'elenco degli allegati. NON usare l'URL che si trova in corrispondenza del collegamento [scarica], potrebbe cambiare in futuro.Non รจ consentito inserire allegati su questa pagina.