* Finish task #56918.* Finish task #56918.* Finish task #56918.* Finish task #56918.* Finish task #56918.* Finish task #56918.* Finish task #56918.* Finish task #56918.* Finish task #56918.
This commit is contained in:
@@ -1177,7 +1177,7 @@ EOF;
|
||||
}
|
||||
$this->user->setGlobalContacts($listID, isset($data->share));
|
||||
if(isonlybody()) return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'closeModal' => true, 'callback' => "parent.parent.ajaxGetContacts('#mailto')"));
|
||||
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => inlink('manageContacts', "listID=$listID")));
|
||||
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => inlink('manageContacts', "listID=$listID&mode=edit")));
|
||||
}
|
||||
elseif($data->mode == 'edit')
|
||||
{
|
||||
@@ -1194,7 +1194,7 @@ EOF;
|
||||
return $this->send($response);
|
||||
}
|
||||
|
||||
$response['locate'] = inlink('manageContacts', "listID=$listID");
|
||||
$response['locate'] = inlink('manageContacts', "listID=$listID&mode=edit");
|
||||
return $this->send($response);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
body.body-modal {padding-bottom: 20px; min-height: 400px;}
|
||||
.side-col {padding-right: 40px;}
|
||||
.btn-block {display: block; width: 100%; text-overflow: ellipsis; white-space: nowrap; overflow: hidden;}
|
||||
.title {margin-left: 45px !important;}
|
||||
.contactListTitle {margin-left: 45px !important;}
|
||||
.createBtn {width: 100%; margin-bottom: 5px;}
|
||||
.main-col .main-header .title {margin-left: 17px !important;}
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<?php include '../../common/view/header.html.php';?>
|
||||
<div id='mainContent' class='main-content main-row'>
|
||||
<div class='side-col'>
|
||||
<div class='main-header'><h2 class='title'><?php echo $lang->my->contactList;?></h2></div>
|
||||
<div class='main-header'><h2 class='contactListTitle'><?php echo $lang->my->contactList;?></h2></div>
|
||||
<div>
|
||||
<?php echo html::a(inlink('managecontacts', "listID=0&mode=new"), '<i class="icon icon-plus"></i> ' . $lang->user->contacts->createList, '', "class='btn btn-secondary createBtn'"); ?>
|
||||
<?php
|
||||
@@ -28,11 +28,11 @@
|
||||
</div>
|
||||
<div class='main-col'>
|
||||
<div class='main-header'>
|
||||
<h2>
|
||||
<h2 class='title'>
|
||||
<?php if($mode == 'new'):?>
|
||||
<i class='icon-plus'></i> <strong><?php echo $lang->user->contacts->createList;?></strong>
|
||||
<strong><?php echo $lang->user->contacts->createList;?></strong>
|
||||
<?php else:?>
|
||||
<i class='icon-cogs'></i> <strong><?php echo $lang->user->contacts->manage;?></strong>
|
||||
<strong><?php echo $lang->user->contacts->manage;?></strong>
|
||||
<?php endif;?>
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user