template.tpl 716 B

123456789101112
  1. {% if ext_auth_chamilo_logout_button_behaviour.show_message %}
  2. <script type="text/javascript">
  3. $("#logout_button").attr('href', '{{ ext_auth_chamilo_logout_button_behaviour.link_url }}' );
  4. $("#logout_button").attr('title', '{{ ext_auth_chamilo_logout_button_behaviour.link_infobulle }}' );
  5. {% if ext_auth_chamilo_logout_button_behaviour.alert_onoff %}
  6. $("#logout_button").attr('onclick', 'alert("{{ ext_auth_chamilo_logout_button_behaviour.alert_text }}")' );
  7. {% endif %}
  8. {% if ext_auth_chamilo_logout_button_behaviour.link_image %}
  9. $("#logout_button img").attr('src', '{{ "exit_na.png"|icon(22) }}');
  10. {% endif %}
  11. </script>
  12. {% endif %}