Commits

Zhang Huangbin committed cb569e6

Add missing module, fix incorrect url.

Comments (0)

Files changed (3)

libs/ldaplib/core.py

 import os, sys, time
 import web
 import ldap, ldap.filter
+from libs import iredutils
 from libs.ldaplib import attrs, ldaputils
 
 cfg = web.iredconfig

templates/default/ldap/admin_profile.html

-{# defined: cur_lang, langmaps #}
+{# defined: cur_lang, langmaps, [msg] #}
 
 {% extends "layout.html" %}
 

templates/default/ldap/domain_profile.html

 
 {% set createTimestamp = entries.get('createTimestamp', ['--------------'])[0] %}
 
-<form class="frm-form" method="post" action="{{ctx.homepath}}/profile/{{profile_type}}/{{cur_domain}}">
+<form class="frm-form" method="post" action="{{ctx.homepath}}/profile/domain/{{profile_type}}/{{cur_domain}}">
 <div class="main-frm">
     <div class="profile ct-group data-group vcard">
         <div class="ct-set data-set set1">