* fix a bug for managecontact.

This commit is contained in:
wangyidong
2014-06-25 02:56:48 +00:00
parent c15d972be4
commit 3c04fb1ef6
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -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();
}
+3 -3
View File
@@ -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'>