Commits

Zhang Huangbin committed cf3019a

Typo in template files.

  • Participants
  • Parent commits 0683a41

Comments (0)

Files changed (7)

 = 0.1.5 =
+    * Escape untrusted variables in template files.
     * Allow to use domain names which end with 2-6 chars.
       Thanks Julian P. <@consistency.at>.
 

File templates/default/ldap/admin/profile.html

 {% block breadcrumb %}
     {% set crumbs = [
             (ctx.homepath + '/admins', _('All admins'),),
-            (None, _('Profile of admin:') + '&nbsp;' + mail,),
+            (None, _('Profile of admin:') + ' ' + mail,),
             ]
             %}
     {{ display_subnav(crumbs) }}

File templates/default/ldap/domain/profile.html

 {% block breadcrumb %}
     {% set crumbs = [
             (ctx.homepath + '/domains', _('All domains'),),
-            (None, _('Profile of domain:') + '&nbsp;' + cur_domain,),
+            (None, _('Profile of domain:') + ' ' + cur_domain,),
             (ctx.homepath + '/users/' + cur_domain, _('Users'),),
             ]
             %}

File templates/default/ldap/user/profile.html

             (ctx.homepath + '/domains', _('All domains'),),
             (ctx.homepath + '/profile/domain/general/' + cur_domain, cur_domain,),
             (ctx.homepath + '/users/' + cur_domain, _('Users'),),
-            (None, _('Profile of user:') + '&nbsp;' + mail,),
+            (None, _('Profile of user:') + ' ' + mail,),
             ]
             %}
     {{ display_subnav(crumbs) }}

File templates/default/mysql/admin/profile.html

 {% block breadcrumb %}
     {% set crumbs = [
             (ctx.homepath + '/admins', _('All admins'),),
-            (None, _('Profile of admin:') + '&nbsp;' + mail,),
+            (None, _('Profile of admin:') + ' ' + mail,),
             ]
             %}
     {{ display_subnav(crumbs) }}

File templates/default/mysql/domain/profile.html

 {% block breadcrumb %}
     {% set crumbs = [
             (ctx.homepath + '/domains', _('All domains'),),
-            (None, _('Profile of domain:') + '&nbsp;' + cur_domain,),
+            (None, _('Profile of domain:') + ' ' + cur_domain,),
             (ctx.homepath + '/users/' + cur_domain, _('Users'),),
             ]
             %}

File templates/default/mysql/user/profile.html

             (ctx.homepath + '/domains', _('All domains'),),
             (ctx.homepath + '/profile/domain/general/' + cur_domain, cur_domain,),
             (ctx.homepath + '/users/' + cur_domain, _('Users'),),
-            (None, _('Profile of user:') + '&nbsp;' + mail,),
+            (None, _('Profile of user:') + ' ' + mail,),
             ]
             %}
     {{ display_subnav(crumbs) }}