applied my changes - initial import
[boxroom-stian.git] / app / views / layouts / folder.rhtml
blob045552463d73408ef79bc5ef8be6cb9d7c0c0e00
1 <html>\r
2 <head>\r
3                                  \r
4   <title><%= TITLE %></title>\r
5     <%= stylesheet_link_tag 'boxroom' %>\r
6     <%= auto_discovery_link_tag(:rss, { :controller => 'folder', :action => 'feed', :id => controller.folder_id, :access_key => @logged_in_user.rss_access_key })%>\r
7     <% if params[:action] =~ /(list|index)/ && @logged_in_user.can_update_folderinfo?(@folder)   %>\r
8     <%= javascript_include_tag :defaults %>\r
9     <% end %>\r
10     <script type="text/javascript">\r
11         if(IE)\r
12         {\r
13             window.onload = ResizeContentDiv;\r
14             window.onresize = ResizeContentDiv;\r
15         }\r
16         // Nannette Thacker http://www.shiningstar.net\r
17 function confirmSubmit()\r
18 {\r
19 var agree=confirm("Are you sure you want to delete the selected files and folders?");\r
20 if (agree)\r
21         return true ;\r
22 else\r
23         return false ;\r
24 }\r
26     </script>\r
27 </head>\r
28 <body>                                                                           \r
29   <%= render_partial 'shared/top_header' %>\r
31     <div id="middle">\r
32         <div class="actionLinks">\r
33             <%= render_partial 'shared/create_file_folder' %>\r
34             <%= render_partial 'shared/root_folder' %>\r
35         </div>\r
37         <%= render_partial 'shared/content' %>\r
38     </div>\r
41 </body>\r
42 </html>