Commit 49e8f6bf22f7241a99495ea6e208475bb31eb17f

Authored by Aurelio A. Heckert
Committed by Daniela Feitosa
1 parent a4a71f2f

ActionItem1070: removed the end comma. msie sux! and i also add the favicon tag too.

app/views/layouts/application-ng.rhtml
... ... @@ -5,6 +5,7 @@
5 5 <%= meta_tags_for_article(@page) %>
6 6 <!--<meta http-equiv="refresh" content="1"/>-->
7 7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  8 + <link rel="shortcut icon" href="<%= '/designs/themes/' + current_theme + '/imgs/favicon.ico' %>" type="image/x-icon" />
8 9 <%= noosfero_javascript %>
9 10 <%= import_blocks_stylesheets %>
10 11 <%= import_controller_stylesheets %>
... ...
app/views/layouts/slideshow.rhtml
... ... @@ -12,8 +12,7 @@
12 12  
13 13 <%= stylesheet_import "slideshow" %>
14 14 <%= javascript_include_tag 'jquery-latest', 'sliderjs', 'pikachoose' %>
15   - <script language="javascript">
16   - <!--
  15 + <script type="text/javascript">
17 16 $(document).ready(function (){
18 17 $("#slideshow").PikaChoose({
19 18 buttons: { play: <%= _("Play").to_json %>, stop: <%= _("Stop").to_json %>, previous: <%= _("Previous").to_json %>, next: <%= _("Next").to_json %> }
... ... @@ -23,10 +22,9 @@
23 22 window_height: 55,
24 23 list_width: 832,
25 24 pikachoose: true,
26   - auto_play: false,
  25 + auto_play: false
27 26 });
28 27 });
29   - -->
30 28 </script>
31 29 </head>
32 30 <body>
... ...