source: publico/ILSAPL/trunk/skins/sk_sapl/standard_html_header.dtml @ 6161

Última Alteração nesse arquivo desde 6161 foi 6161, incluída por lucianodefazio, 9 anos atrás

Reabilita apenas geral.js globalmente

File size: 3.0 KB
Linha 
1<dtml-if expr="_.has_key('QUERY_STRING') and QUERY_STRING=='retry=1' and portal_membership.isAnonymousUser()">
2  <dtml-call expr="REQUEST['RESPONSE'].expireCookie('__ac', path='/')">
3  <dtml-call expr="REQUEST['RESPONSE'].redirect(portal_url() +'/index_html?retry=0')">
4<dtml-else>
5
6<dtml-comment>
7  <dtml-call "RESPONSE.setHeader('pragma', 'no-cache')">
8  <dtml-call "RESPONSE.setHeader('Cache-Control', 'no-cache')">
9  <dtml-call "RESPONSE.setHeader('Expires', '-1')">
10</dtml-comment>
11
12<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
13<dtml-comment> ============== evitar cache no sapl ======================== </dtml-comment>
14<metal:cacheheaders define-macro="cacheheaders"
15    tal:define="setHeader python:request.RESPONSE.setHeader;">
16      <metal:block tal:define="dummy python:setHeader('Expires', 'Sat, 1
17Jan 2000 00:00:00 GMT')" />
18      <metal:block tal:define="dummy python:setHeader('Cache-Control',
19'private, no-cache, no-store, must-revalidate, post-check=0, pre-check=0')"
20/>
21</metal:cacheheaders>
22<dtml-comment> =========================================================== </dtml-comment>
23
24<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt">
25
26<head>
27  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
28  <title>Sistema de Apoio ao Processo Legislativo</title>
29
30<dtml-comment>
31Foi feita a compressao dos arquivos: datepicker.js, geral.js e prototype.js
32Para qualquer alteração nesses arquivos, deverá ser feita nova compressão em
33http://jscompress.com/
34</dtml-comment>
35
36<style type="text/css"><!-- @import url(&dtml-portal_url;/generico/manage_page_style); --></style>
37<style type="text/css"><!-- @import url(&dtml-portal_url;/generico/estilos.css); --></style>
38<script type='text/javascript' src='&dtml-portal_url;/javascript/geral.js'></script>
39<dtml-comment>
40<style type="text/css"><!-- @import url(&dtml-portal_url;/generico/datepicker.css); --></style>
41<script type='text/javascript' src='&dtml-portal_url;/javascript/jscompressed.js'></script>
42<script type='text/javascript' src='&dtml-portal_url;/javascript/scriptaculous.js?load=effects'></script>
43</dtml-comment>
44<link rel="shortcut icon" type="image/x-icon" href="&dtml-portal_url;/imagens/favicon.ico" />
45
46  <dtml-if expr="_.has_key('QUERY_STRING') and QUERY_STRING == 'retry=0'">
47    <script language="javascript" type="text/javascript">
48      <!--
49        alert("Nome do usuário e/ou senha não conferem!");
50      //-->
51    </script>
52  </dtml-if>
53
54</head>
55<body>
56  <dtml-if expr="_.has_key('impressao')">
57    <dtml-var printable_html_top_bar>
58  <dtml-elif expr="_.has_key('iframe') or REQUEST.SESSION.get('iframe')">
59    <dtml-call expr="REQUEST.SESSION.set('iframe', 1)">
60  <dtml-else>
61    <div id="pagina">
62      <dtml-var standard_html_top_bar>
63      <div id="corpo">
64        <dtml-var standard_html_lateral>
65        <div id="conteudo">
66  </dtml-if>
67</dtml-if>
68<dtml-if expr="REQUEST.has_key('portal_status_message')">
69  <p id="system-message"><dtml-var portal_status_message></p>
70</dtml-if>
Note: Veja TracBrowser para ajuda no uso do navegador do trac.
 

The contents and data of this website are published under license:
Creative Commons 4.0 Brasil - Atribuir Fonte - Compartilhar Igual.