login_form.tpl 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. {% if login_form %}
  2. <div id="login_block" class="panel panel-default">
  3. <div class="panel-body">
  4. {{ login_language_form }}
  5. {% if plugin_login_top is not null %}
  6. <div id="plugin_login_top">
  7. {{ plugin_login_top }}
  8. </div>
  9. {% endif %}
  10. {{ login_failed }}
  11. {{ login_form }}
  12. {% if "allow_lostpassword" | api_get_setting == 'true' or "allow_registration" | api_get_setting == 'true' %}
  13. <ul class="nav nav-pills nav-stacked">
  14. {% if "allow_registration" | api_get_setting != 'false' %}
  15. <li><a href="main/auth/inscription.php"> {{ 'SignUp' | get_lang }} </a></li>
  16. {% endif %}
  17. {% if "allow_lostpassword" | api_get_setting == 'true' %}
  18. <li><a href="main/auth/lostPassword.php"> {{ 'LostPassword' | get_lang }} </a></li>
  19. {% endif %}
  20. </ul>
  21. {% endif %}
  22. {% if plugin_login_bottom is not null %}
  23. <div id="plugin_login_bottom">
  24. {{ plugin_login_bottom }}
  25. </div>
  26. {% endif %}
  27. </div>
  28. </div>
  29. {% endif %}