Changeset 155 for ether_megapoli/trunk/web/resources/templates/template.jsp
- Timestamp:
- 08/26/11 11:37:41 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ether_megapoli/trunk/web/resources/templates/template.jsp
r130 r155 19 19 <script src="<html:rewrite page='/resources/js/maj.js'/>"></script> 20 20 <script src="<html:rewrite page='/resources/js/medias/ajax.js'/>"></script> 21 <script src="<html:rewrite page='/resources/js/medias/scw.js'/>"></script> 21 22 <script type="text/javascript"> 22 23 <!-- 23 24 var popup; 24 25 25 26 function popupWindow (url, name, configuration) 26 27 { 27 28 popup = window.open (url, name, configuration); 28 29 } 29 30 30 31 function closePopupWindow () 31 32 { … … 40 41 41 42 <%-- VARIABLES A NE PAS TOUCHER !!! --%> 42 43 44 45 46 47 48 49 43 <bean:define type="java.lang.String" id="today" value="<%=Context.getSimpleDate()%>"/> 44 <bean:define type="java.lang.String" id="lastModified" value="<%=Context.getLastModified(request, application)%>"/> 45 <bean:define type="java.lang.String" id="racine" value="<%=Context.getWebroot(request)%>"/> 46 <bean:define type="java.lang.String" id="relativePageUri" value="<%=Context.getRelativePageURI(request)%>"/> 47 <bean:define type="java.lang.String" id="lang" value="<%=Context.getLangue(request)%>"/> 48 <bean:define type="java.lang.String" id="webmaster" value="<%=Context.getWebmaster(request)%>"/> 49 <bean:define type="java.lang.String" id="chemin" value="<%=request.getContextPath()%>"/> 50 50 51 <div id="container"> 51 52 <div id="pageHeader"> 52 53 <%-- le logo --%> 53 54 <%-- Internationalisation --%> 55 <logic:notEqual name="lang" value="en"> 56 <html:link page="/English.do" paramName="relativePageUri" paramId="requestUri"> 57 <html:img vspace="25" hspace="10" page="/resources/images/utils/gb.png" alt="gb"/> 58 </html:link> 59 </logic:notEqual> 60 <logic:equal name="lang" value="en"> 61 <html:link page="/French.do" paramName="relativePageUri" paramId="requestUri"> 62 <html:img vspace="25" hspace="10" page="/resources/images/utils/fr.png" alt="fr"/> 63 </html:link> 64 </logic:equal> 65 66 <%-- Le titre général du site --%> 67 <h2><u>M</u>egacities: <u>E</u>missions, urban, regional and <u>G</u>lobal <u>A</u>tmospheric <u>POL</u>lution and climate effects, and <u>I</u>ntegrated tools for assessment and mitigation</h2> 54 55 <%-- Le titre général du site --%> 56 <h2><%--<u>M</u>egacities: <u>E</u>missions, urban, regional and <u>G</u>lobal <u>A</u>tmospheric <u>POL</u>lution and climate effects, and <u>I</u>ntegrated tools for assessment and mitigation--%> 57 <bean:message key="app.fulltitle"/> 58 </h2> 68 59 </div> 69 60 70 61 71 <div id="pageMiddle"> 62 <div id="pageMiddle"> 72 63 <div id="pageMenu"> 73 64 <div id="util"> 74 65 75 66 <html:link page="/index.jsp"> 76 67 <html:img page="/resources/images/utils/home.jpg" titleKey="app.home" altKey="app.home"/> 77 68 </html:link> 78 69 79 70 <html:link href="mailto:${webmaster}?subject=[MEGAPOLI]"> 80 71 <html:img page="/resources/images/utils/enveloppe.jpg" titleKey="app.webmaster" altKey="app.webmaster"/> … … 82 73 83 74 <%--html:link page="/sitemap/sitemap.jsp"> 84 <html:img page="/ resources/images/utils/sitemap.png" titleKey="app.sitemap" altKey="app.sitemap"/>75 <html:img page="/images/utils/sitemap.png" titleKey="app.sitemap" altKey="app.sitemap"/> 85 76 </html:link--%> 86 87 <%-- le lien pour se déconnecter de l'application --%> 88 <logic:present name="SES_USER" scope="session"> 77 <%-- Internationalisation --%> 78 <logic:notEqual name="lang" value="en"> 79 <html:link page="/English.do" paramName="relativePageUri" paramId="requestUri" titleKey="app.en"> 80 <html:img page="/resources/images/utils/gb.png" alt="gb"/> 81 </html:link> 82 </logic:notEqual> 83 <logic:equal name="lang" value="en"> 84 <html:link page="/French.do" paramName="relativePageUri" paramId="requestUri" titleKey="app.fr"> 85 <html:img page="/resources/images/utils/fr.png" alt="fr"/> 86 </html:link> 87 </logic:equal> 88 89 <%-- le lien pour se déconnecter de l'application --%> 90 <%--logic:present name="SES_USER" scope="session"> 89 91 <html:link page="/Disconnect.do"> 90 <html:img page="/resources/images/utils/logout.gif" titleKey="app.disconnect" altKey="app.disconnect" onmouseover="this.src='${chemin}/ resources/images/utils/logout2.gif'" onmouseout="this.src='${chemin}/resources/images/utils/logout.gif'"/>91 </html:link> 92 </logic:present >93 </div> 94 92 <html:img page="/resources/images/utils/logout.gif" titleKey="app.disconnect" altKey="app.disconnect" onmouseover="this.src='${chemin}/images/utils/logout2.gif'" onmouseout="this.src='${chemin}/images/utils/logout.gif'"/> 93 </html:link> 94 </logic:present--%> 95 </div> 96 95 97 <div id="plan"> 96 98 <%-- le menu --%> … … 111 113 </ul> 112 114 </div--%> 113 115 114 116 <%--div id="menuItem"> 115 117 <html:link page="/projet/projet.jsp"> … … 121 123 </html:link></li> 122 124 <li><html:link href="mailto:${webmaster}?subject=[MEGAPOLI]"> 123 <html:img page="/ resources/images/utils/mailto.png" titleKey="app.webmaster" altKey="app.webmaster"/>125 <html:img page="/images/utils/mailto.png" titleKey="app.webmaster" altKey="app.webmaster"/> 124 126 </html:link></li> 125 127 <logic:present name="SES_USER" scope="session"> … … 134 136 135 137 <div id="menuItem"> 136 < html:link page="/data/data.jsp">138 <%--html:link page="/data/data.jsp"> 137 139 <h3> <bean:message key="data"/></h3> 138 </html:link >140 </html:link--%> 139 141 <bean:define id="upload" value="upload"/> 140 142 <bean:define id="access" value="access"/> 141 143 <ul> 142 <li> 144 <li><html:link page="/data/access/access.jsp" paramName="access" paramId="source"> 145 <bean:message key="data.access"/> 146 </html:link> 147 </li> 148 <li> > 149 <%--html:link page="/data/access/jeux.jsp" paramName="access" paramId="source"--%> 150 <html:link page="/JeuxAccess.do"> 151 <bean:message key="data.access.jeux"/> 152 </html:link> 153 </li> 154 <li> > 155 <html:link page="/ParametresAccess.do"> 156 <bean:message key="data.access.param"/> 157 </html:link> 158 </li> 159 <li> > 160 <html:link page="/CapteursAccess.do"> 161 <bean:message key="data.access.capt"/> 162 </html:link> 163 </li> 164 <li> > 165 <html:link page="/PlateformesAccess.do"> 166 <bean:message key="data.access.plat"/> 167 </html:link> 168 </li> 169 <li><br/> 170 <logic:notPresent name="SES_USER" scope="session"> 171 <html:link page="/InitLogonAccess.do" paramName="access" paramId="source"> 172 <bean:message key="data.access.extract"/> 173 </html:link> 174 </logic:notPresent> 175 <logic:present name="SES_USER" scope="session"> 176 <html:link page="/DataAccess.do"> 177 <bean:message key="data.access.extract"/> 178 </html:link> 179 </logic:present> 180 </li> 181 <li><br/> 143 182 <logic:notPresent name="SES_USER" scope="session"> 144 183 <html:link page="/InitLogon.do" paramName="upload" paramId="source"> … … 152 191 </logic:present> 153 192 </li> 154 <li><html:link page="/data/access/access.jsp" paramName="access" paramId="source">155 <bean:message key="data.access"/>156 </html:link>157 </li>158 <li> > 159 <%--html:link page="/data/access/jeux.jsp" paramName="access" paramId="source"--%>160 <html:link page="/JeuxAccess.do">161 <bean:message key="data.access.jeux"/>162 </html:link>163 </li>164 <li> > 165 <html:link page="/ParametresAccess.do">166 <bean:message key="data.access.param"/>167 </html:link>168 </li>169 <li> > 170 <html:link page="/CapteursAccess.do">171 <bean:message key="data.access.capt"/>172 </html:link>173 </li>174 <li> > 175 <html:link page="/PlateformesAccess.do">176 <bean:message key="data.access.plat"/>177 </html:link>178 </li>179 193 </ul> 180 194 </div> 181 195 <table width="100%"> 196 <tr><td align="center"> 197 <html:link href="http://megapoli.dmi.dk/" target="help" titleKey="app.linkmegapoli"> 198 <html:img page="/resources/images/megapoli/megapoli_small.jpg" altKey="app.home"/> 199 </html:link> 200 </td></tr> 201 </table> 182 202 <%--div id="menuItem"> 183 203 <html:link page="/partenaires/partenaires.jsp"> … … 193 213 </ul> 194 214 </div> 195 215 196 216 <div id="menuItem"> 197 217 <html:link page="/finance/finance.jsp"> … … 199 219 </html:link> 200 220 </div--%> 201 202 221 222 203 223 <%-- 204 224 <div id="menuItem> … … 210 230 </div> 211 231 <%-- Recherche : solution mnogosearch --%> 212 232 213 233 </div> 214 234 <%-- 215 <div id="recherche"> 235 <div id="recherche"> 216 236 <form method="get" action="/megapoli/cgi-bin/search.cgi"> 217 237 <bean:message key="app.search"/> : <INPUT TYPE="text" NAME="q" VALUE="" size="20"> 218 238 </form> 219 </div> 239 </div> 220 240 --%> 221 241 <div id="pageContent"> 222 242 <div id="nav"> 223 243 <%-- la barre de navigation --%> 224 <div class="texte" >244 <div class="texte" style="float: left;"> 225 245 <tiles:insert attribute="nav"/> 226 246 </div> 227 </div> 228 <div id="blabla"> 247 <div style="float: right; font-size: 13px"> 248 <logic:present name="SES_USER" scope="session"> 249 <table> 250 <tr><td height="40px" valign="middle" style="font-size: 13px; color: white"> 251 <bean:write name="SES_USER" property="prenom"/> <bean:write name="SES_USER" property="nom"/> 252 <logic:equal name="SES_USER" property="roles" value="coordinateur"> 253 (<bean:message key="app.admin"/>) 254 </logic:equal> 255 </td> 256 <td valign="top" width="40px"> 257 <html:link page="/Disconnect.do"> 258 <html:img page="/resources/images/utils/logout.gif" titleKey="app.disconnect" altKey="app.disconnect" onmouseover="this.src='${chemin}/images/utils/logout2.gif'" onmouseout="this.src='${chemin}/images/utils/logout.gif'" width="20px" height="20px" style="margin-top:7px"/> 259 </html:link> 260 </td> 261 </tr> 262 </table> 263 </logic:present> 264 </div> 265 </div> 266 <div id="corpsPage"> 229 267 <div id="title"> 230 268 <%-- le titre de la page --%> … … 237 275 </div> 238 276 </div> 239 </div> 277 </div> 240 278 241 279 242 280 <div id="pageFooter"> 243 <div id="copyright"> 244 © 2010 Sedoo / CNRS 281 <table width="100%" style="color:white;font-size: 12px"> 282 <tr><td align="left">© 2010-2011 <html:link href="http://www.sedoo.fr" target="help" titleKey="app.linksedoo">Sedoo</html:link> / CNRS 283 </td><td align="center"><bean:message key="app.infonavig"/> 284 </td><td align="right"><i><bean:message key="app.lastModified"/> : <bean:write name="lastModified"/></i> 285 </td></tr> 286 </table> 287 <%--div id="copyright"> 288 © 2010-2011 Sedoo / CNRS 245 289 </div> 246 290 <div id="datestamp"> 247 291 <bean:message key="app.lastModified"/> : <bean:write name="lastModified"/> 248 </div >292 </div--%> 249 293 </div> 250 294
Note: See TracChangeset
for help on using the changeset viewer.