* adjust code.
This commit is contained in:
@@ -116,10 +116,13 @@ class mailModel extends model
|
||||
/* Get realname and email of users. */
|
||||
$this->loadModel('user');
|
||||
$list = $toList . ',' . $ccList;
|
||||
$listArray = explode(",", $list);
|
||||
unset($list);
|
||||
$list = '';
|
||||
foreach($listArray as $data) if($data != $this->app->user->account) $list = $list . $data . ',';
|
||||
if(substr_count($list, $this->app->user->account) != 0)
|
||||
{
|
||||
$listArray = explode(",", $list);
|
||||
unset($list);
|
||||
$list = '';
|
||||
foreach($listArray as $data) if($data != $this->app->user->account) $list = $list . $data . ',';
|
||||
}
|
||||
$emails = $this->user->getRealNameAndEmails(str_replace(' ', '', $list));
|
||||
|
||||
$this->clear();
|
||||
|
||||
@@ -51,6 +51,15 @@ $lang->product->whitelist = 'Whitelist';
|
||||
|
||||
$lang->product->moduleStory = 'By module';
|
||||
$lang->product->searchStory = 'By search';
|
||||
$lang->product->assignedToMe= 'To me';
|
||||
$lang->product->openedByMe = 'Opened by me';
|
||||
$lang->product->reviewedByMe= 'Reviewed by me';
|
||||
$lang->product->closedByMe = 'Closed by me';
|
||||
$lang->product->draftStory = 'Draft story';
|
||||
$lang->product->activeStory = 'Active story';
|
||||
$lang->product->changedStory= 'Changed story';
|
||||
$lang->product->closedStory = 'Closed story';
|
||||
|
||||
$lang->product->allStory = 'All story';
|
||||
$lang->product->allProduct = 'All products';
|
||||
|
||||
|
||||
@@ -101,7 +101,7 @@ var browseType = '<?php echo $browseType;?>';
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan='10' class='a-right'>
|
||||
<td colspan='11' class='a-right'>
|
||||
<div class='f-left'><?php printf($lang->product->storySummary, count($stories), $totalEstimate);?></div>
|
||||
<?php $pager->show();?>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user