<?php $ldapHtml       = commonModel::hasPriv('user', 'importLDAP') ? "<hr class='space-sm'><div class='text-center'>" . html::a($this->createLink('user', 'importLDAP'), $lang->user->importLDAP, "class='btn btn-sm'") . '</div>' : '';?>
<?php $unofficialHtml = html::a($this->createLink('user', 'admin', "deptID=&mode=unofficial"), $lang->user->unofficialList, "class='btn btn-primary pull-left' style='margin-left: 10px'");?>
<script>
$('.main-row .side-col .panel .panel-body').append(<?php echo helper::jsonEncode($ldapHtml)?>);
</script>
