You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
3.0 KiB
72 lines
3.0 KiB
<?php
|
|
/**
|
|
* The detect view file of mail module of ZenTaoPMS.
|
|
*
|
|
* @copyright Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
|
|
* @license ZPL (http://zpl.pub/page/zplv11.html)
|
|
* @author Chunsheng Wang <wwccss@cnezsoft.com>
|
|
* @package mail
|
|
* @version $Id$
|
|
* @link http://www.zentao.net
|
|
*/
|
|
include '../../common/view/header.html.php';
|
|
?>
|
|
<div class='container mw-700px'>
|
|
<div id='titlebar'>
|
|
<div class='heading'>
|
|
<span class='prefix'><?php echo html::icon($lang->icons['mail']);?></span>
|
|
<strong><?php echo $lang->ldap->common;?></strong>
|
|
<small class='text-muted'> <?php echo $lang->ldap->setting;?> <?php echo html::icon('cog');?></small>
|
|
</div>
|
|
</div>
|
|
<form class='form-condensed pdt-20' method='post' action='<?php echo inlink('save');?>'>
|
|
<table class='table table-form'>
|
|
<tr>
|
|
<th class='w-p25'><?php echo $lang->ldap->host; ?></th>
|
|
<td class='w-p50'><?php echo html::input('ldapHost', $config->ldap->host, "class='form-control'");?></td>
|
|
</tr>
|
|
<tr>
|
|
<th class='w-p25'><?php echo $lang->ldap->version; ?></th>
|
|
<td class='w-p50'><?php echo html::input('ldapVersion', $config->ldap->version, "class='form-control'");?></td>
|
|
</tr>
|
|
<tr>
|
|
<th class='w-p25'><?php echo $lang->ldap->bindDN; ?></th>
|
|
<td class='w-p50'><?php echo html::input('ldapBindDN', $config->ldap->bindDN, "class='form-control'");?></td>
|
|
</tr>
|
|
<tr>
|
|
<th class='w-p25'><?php echo $lang->ldap->password; ?></th>
|
|
<td class='w-p50'><?php echo html::password('ldapPassword', $config->ldap->bindPWD, "class='form-control'");?></td>
|
|
</tr>
|
|
<tr>
|
|
<th class='w-p25'><?php echo $lang->ldap->baseDN; ?></th>
|
|
<td class='w-p50'><?php echo html::input('ldapBaseDN', $config->ldap->baseDN, "class='form-control'");?></td>
|
|
</tr>
|
|
<tr>
|
|
<th class='w-p25'><?php echo $lang->ldap->filter; ?></th>
|
|
<td class='w-p50'><?php echo html::input('ldapFilter', $config->ldap->searchFilter, "class='form-control'");?></td>
|
|
</tr>
|
|
<tr>
|
|
<th class='w-p25'><?php echo $lang->ldap->attributes; ?></th>
|
|
<td class='w-p50'><?php echo html::input('ldapAttr', $config->ldap->uid, "class='form-control'");?></td>
|
|
</tr>
|
|
<tr>
|
|
<th class='w-p25'><?php echo $lang->ldap->mail; ?></th>
|
|
<td class='w-p50'><?php echo html::input('ldapMail', $config->ldap->mail, "class='form-control'");?></td>
|
|
</tr>
|
|
<tr>
|
|
<th class='w-p25'><?php echo $lang->ldap->name; ?></th>
|
|
<td class='w-p50'><?php echo html::input('ldapName', $config->ldap->name, "class='form-control'");?></td>
|
|
</tr>
|
|
<tr>
|
|
<td class='w-p25'></td>
|
|
<td class="text-center">
|
|
<?php
|
|
echo html::submitButton($lang->ldap->save);
|
|
?>
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
</form>
|
|
</div>
|
|
<?php include '../../common/view/footer.html.php';?>
|