add_course.tpl 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {% if just_created == 1%}
  2. {{ just_created_link }}
  3. <h3>{{ 'JustCreated'|get_lang }} {{ course_title }}</h3>
  4. <hr />
  5. {% endif %}
  6. <h3>{{ 'ThingsToDo'|get_lang }}</h3>
  7. <br />
  8. <div id="course_thing_to_do" class="row">
  9. <div class="col-md-3">
  10. <div class="thumbnail">
  11. {{ 'info.png' | img(64, 'AddCourseDescription'|get_lang ) }}
  12. <div class="caption">
  13. <a href="{{ _p.web_main }}course_description/?cidReq={{ course_id }}" class="btn btn-default">
  14. <em class="fa fa-info-circle"></em> {{'AddCourseDescription'|get_lang}}
  15. </a>
  16. </div>
  17. </div>
  18. </div>
  19. <div class="col-md-3">
  20. <div class="thumbnail">
  21. {{ 'folder_document.png' | img(64, 'UploadADocument'|get_lang ) }}
  22. <div class="caption">
  23. <a href="{{ _p.web_main }}document/document.php?cidReq={{ course_id }}" class="btn btn-default">
  24. <em class="fa fa-paper-plane"></em> {{'UploadADocument'|get_lang}}
  25. </a>
  26. </div>
  27. </div>
  28. </div>
  29. <div class="col-md-3">
  30. <div class="thumbnail">
  31. {{ 'forum.png' | img(64, 'AddForum'|get_lang ) }}
  32. <div class="caption">
  33. <a href="{{ _p.web_main }}forum/index.php?cidReq={{ course_id }}" class="btn btn-default">
  34. <em class="fa fa-users"></em> {{ 'AddForum'|get_lang }}
  35. </a>
  36. </div>
  37. </div>
  38. </div>
  39. {% if ("allow_user_course_subscription_by_course_admin" | api_get_setting) == 'true' or _u.is_admin == 1 %}
  40. <div class="col-md-3">
  41. <div class="thumbnail">
  42. {{ 'user.png' | img(64, 'SubscribeUserToCourse'|get_lang ) }}
  43. <div class="caption">
  44. <a href="{{ _p.web_main }}user/subscribe_user.php?cidReq={{ course_id }}" class="btn btn-default">
  45. <em class="fa fa-user-plus"></em> {{ 'SubscribeUserToCourse'|get_lang }}
  46. </a>
  47. </div>
  48. </div>
  49. </div>
  50. {% endif %}
  51. </div>
  52. <div class="clear"></div>