embed.rhtml
1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%= html_language %>" lang="<%= html_language %>">
<head>
<title>Noosfero embed block</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<%= noosfero_stylesheets %>
<%= noosfero_javascript %>
<script type='text/javascript'>
DEFAULT_LOADING_MESSAGE = <%="'#{ _('loading...') }'" %>;
</script>
</head>
<body class="<%= h body_classes %>">
<%=
@plugins.dispatch(:body_beginning).collect do |content|
content.respond_to?(:call) ? content.call : content
end.join("\n")
%>
<div id="wrap-1">
<div id="wrap-2">
<div id="content">
<div id="content-inner">
<%= yield %>
<br style="clear: both" />
</div>
</div>
</div>
</div>
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery('a').attr('target','_blank');
});
</script>
<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(["trackPageView"]);
_paq.push(["enableLinkTracking"]);
(function() {
var u="http://estatisticas.presidencia.gov.br/";
_paq.push(["setTrackerUrl", u+"piwik.php"]);
_paq.push(["setSiteId", "14"]);
var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript";
g.defer=true; g.async=true; g.src="/javascripts/piwik.js"; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Piwik Code -->
</body>
</html>