Commits

Zhang Huangbin  committed 4a3a337

Template code cleanup.

  • Participants
  • Parent commits f502aa4

Comments (0)

Files changed (3)

File libs/iredbase.py

 web.config.debug = eval(cfg.general.get('debug', 'False'))
 lang = cfg.general.get('lang', 'en_US')
 
-web.config.session_parameters['cookie_name'] = 'iRedAdmin-ent'
+web.config.session_parameters['cookie_name'] = 'iRedAdmin-OSE'
 web.config.session_parameters['cookie_domain'] = None
 #web.config.session_parameters['timeout'] = 600          # 10 minutes
 web.config.session_parameters['ignore_expiry'] = False

File templates/default/ldap/macros.html

     </fieldset>
 {%- endmacro %}
 
-{% macro display_reset_password(oldpw='', newpw='', confirmpw='', show_oldpw='no', show_confirmpw='yes', firstitem='yes',) -%}
+{% macro display_reset_password(oldpw='', newpw='', confirmpw='', show_oldpw='no', show_confirmpw='yes', firstitem='yes') -%}
     <fieldset class="frm-group {%if firstitem == 'yes' %}group1{%endif%}">
         <legend class="group-legend"><strong>Required information</strong></legend>
         {% if show_oldpw == 'yes' %}

File templates/default/ldap/preferences.html

     {% endif %}
 {% endif %}
 
-<div class="main-content frm parted">
+<div class="frm parted">
     <form class="frm-form" method="post" action="{{ctx.homepath}}/preferences">
         <div class="content-head">
             <h2 class="hn"><span>{{ _('Default language') }}</span></h2>