layout_2_col.tpl 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. {extends file="default/layout/main.tpl"}
  2. {block name=header}
  3. {if $show_header == 1 }
  4. {include file="default/layout/main_header.tpl"}
  5. {/if}
  6. {/block}
  7. {block name=body}
  8. {* Main content*}
  9. {if $show_sniff == 1 }
  10. {include file="default/layout/sniff.tpl"}
  11. {/if}
  12. <div class="span9">
  13. {* Course plugin block*}
  14. <section id="courses_plugin">
  15. {$plugin_courses_block}
  16. </section>
  17. {* ?? *}
  18. <section id="home_page">
  19. {$home_page_block}
  20. </section>
  21. {* ?? *}
  22. {$sniff_notification}
  23. {* Show messages*}
  24. <section id="messages">
  25. {$message}
  26. </section>
  27. {* Main content*}
  28. <section id="main_content">
  29. {$content}
  30. </section>
  31. {* Announcements *}
  32. <section id="announcements_page">
  33. {$announcements_block}
  34. </section>
  35. {* Hot courses template *}
  36. <section id="hot_courses">
  37. {include file="default/layout/hot_courses.tpl"}
  38. </section>
  39. </div>
  40. {* Right column *}
  41. <div class="span3">
  42. {*if user is not login show the login form*}
  43. {if $_u.logged == 0}
  44. {include file="default/layout/login_form.tpl"}
  45. {/if}
  46. {* My account - user picture *}
  47. {$profile_block}
  48. {$account_block}
  49. {$teacher_block}
  50. {* Notices *}
  51. {$notice_block}
  52. {* Links that are not added in the tabs*}
  53. {$navigation_course_links}
  54. {* Plugin courses sidebar *}
  55. {$plugin_courses_right_block}
  56. {* Reservation block *}
  57. {$reservation_block}
  58. {* Search (xapian)*}
  59. {$search_block}
  60. {* Classes *}
  61. {$classes_block}
  62. {* Skills*}
  63. {$skills_block}
  64. </div>
  65. {/block}
  66. {* Footer *}
  67. {block name=footer}
  68. {if $show_footer == 1 }
  69. {include file="default/layout/main_footer.tpl"}
  70. {/if}
  71. {/block}