login_form.tpl 1.3 KB

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