* fix a bug for managecontact.
This commit is contained in:
@@ -857,6 +857,7 @@ class user extends control
|
||||
$this->view->position[] = $this->lang->user->manageContacts;
|
||||
$this->view->lists = $this->user->getContactLists($this->app->user->account);
|
||||
$this->view->users = $users;
|
||||
$this->view->listID = $listID;
|
||||
$this->view->mode = $mode;
|
||||
$this->display();
|
||||
}
|
||||
|
||||
@@ -16,9 +16,6 @@
|
||||
<span class='prefix' title='COMPANY'><?php echo html::icon($lang->icons['company']);?></span>
|
||||
<strong><small class='text-muted'><?php echo html::icon('cogs');?></small> <?php echo $lang->user->contacts->manage;?></strong>
|
||||
</div>
|
||||
<div class='actions'>
|
||||
<?php if($mode != 'edit') echo html::a(inlink('deleteContacts', "listID=$listID"), $lang->delete, 'hiddenwin', "class='btn btn-danger'");?>
|
||||
</div>
|
||||
</div>
|
||||
<div class='row'>
|
||||
<div class='col-md-3 col-lg-2'>
|
||||
@@ -38,6 +35,9 @@
|
||||
<div class='panel panel-sm'>
|
||||
<div class='panel-heading'>
|
||||
<i class='icon-cogs'></i> <strong><?php echo $lang->user->contacts->manage;?></strong>
|
||||
<div class='panel-actions pull-right'>
|
||||
<?php if($mode == 'edit') echo html::a(inlink('deleteContacts', "listID=$listID"), $lang->delete, 'hiddenwin', "class='btn btn-danger'");?>
|
||||
</div>
|
||||
</div>
|
||||
<div class='panel-body'>
|
||||
<table class='table table-form table-fixed'>
|
||||
|
||||
Reference in New Issue
Block a user