template.tpl 1.1 KB

12345678910111213141516171819202122
  1. {% if add_cas_login_button.show_message %}
  2. <link href="{{ _p.web_plugin }}add_cas_login_button/css.css" rel="stylesheet" type="text/css">
  3. <div class="well">
  4. {% if add_cas_login_button.url_label %}
  5. <img src="{{ add_cas_login_button.url_label }}" class='cas_plugin_image'/>
  6. {% endif %}
  7. <h4>{{ add_cas_login_button.button_label }}</h4>
  8. {% if add_cas_login_button.url_label %}
  9. <div class='cas_plugin_clear'>&nbsp;</div>
  10. {% endif %}
  11. <div class='cas_plugin_comm'>{{ add_cas_login_button.comm_label }}</div>
  12. {% if add_cas_login_button.cas_activated %}
  13. {% if add_cas_login_button.cas_configured %}
  14. <button class="btn btn-default" onclick="javascript:self.location.href='main/auth/cas/logincas.php'">{{"LoginEnter"|get_lang}}</button>
  15. {% else %}
  16. CAS isn't configured. Go to Admin > Configuration > CAS.<br/>
  17. {% endif %}
  18. {% else %}
  19. CAS isn't activated. Go to Admin > Configuration > CAS.<br/>
  20. {% endif %}
  21. </div>
  22. {% endif %}