@@ 168-192 (lines=25) @@ | ||
165 | . '<form name="othersform" action="members.php?id=' . $id . '" success="reloadTab">' |
|
166 | . '<group title="' . get_html_resource(RES_OTHERS_ID) . '">'; |
|
167 | ||
168 | if (LDAP_ENABLED && !LDAP_ENUMERATION) |
|
169 | { |
|
170 | $xml .= '<control name="accounts">' |
|
171 | . '<textbox rows="10" maxlen="1000">' |
|
172 | . $_SESSION[VAR_LDAP_ENUMERATION] |
|
173 | . '</textbox>' |
|
174 | . '</control>'; |
|
175 | } |
|
176 | else |
|
177 | { |
|
178 | $xml .= '<control name="accounts[]">' |
|
179 | . '<listbox size="10">'; |
|
180 | ||
181 | $list = group_not_amongs($id); |
|
182 | ||
183 | foreach ($list as $item) |
|
184 | { |
|
185 | $xml .= '<listitem value="' . $item['username'] . '">' |
|
186 | . ustr2html(sprintf('%s (%s)', $item['fullname'], account_get_username($item['username']))) |
|
187 | . '</listitem>'; |
|
188 | } |
|
189 | ||
190 | $xml .= '</listbox>' |
|
191 | . '</control>'; |
|
192 | } |
|
193 | ||
194 | $xml .= '</group>' |
|
195 | . '</form>' |
@@ 174-198 (lines=25) @@ | ||
171 | . '<form name="othersform" action="gmembers.php?pid=' . $pid . '&id=' . $id . '" success="reloadTab">' |
|
172 | . '<group title="' . get_html_resource(RES_OTHERS_ID) . '">'; |
|
173 | ||
174 | if (LDAP_ENABLED && !LDAP_ENUMERATION) |
|
175 | { |
|
176 | $xml .= '<control name="accounts">' |
|
177 | . '<textbox rows="10" maxlen="1000">' |
|
178 | . $_SESSION[VAR_LDAP_ENUMERATION] |
|
179 | . '</textbox>' |
|
180 | . '</control>'; |
|
181 | } |
|
182 | else |
|
183 | { |
|
184 | $xml .= '<control name="accounts[]">' |
|
185 | . '<listbox size="10">'; |
|
186 | ||
187 | $list = group_not_amongs($id); |
|
188 | ||
189 | foreach ($list as $item) |
|
190 | { |
|
191 | $xml .= '<listitem value="' . $item['username'] . '">' |
|
192 | . ustr2html(sprintf('%s (%s)', $item['fullname'], account_get_username($item['username']))) |
|
193 | . '</listitem>'; |
|
194 | } |
|
195 | ||
196 | $xml .= '</listbox>' |
|
197 | . '</control>'; |
|
198 | } |
|
199 | ||
200 | $xml .= '</group>' |
|
201 | . '</form>' |