Merge branch 'master' of github.com:easysoft/zentaopms

This commit is contained in:
wangyidong
2017-12-20 16:10:56 +08:00
2 changed files with 10 additions and 7 deletions
+9 -6
View File
@@ -1035,9 +1035,10 @@ class taskModel extends model
/**
* Cancel a task.
*
* @param int $taskID
* @param int $taskID
*
* @access public
* @return void
* @return array
*/
public function cancel($taskID)
{
@@ -1064,9 +1065,10 @@ class taskModel extends model
/**
* Activate a task.
*
* @param int $taskID
* @param int $taskID
*
* @access public
* @return void
* @return array
*/
public function activate($taskID)
{
@@ -1105,8 +1107,9 @@ class taskModel extends model
/**
* Get task info by Id.
*
* @param int $taskID
* @param bool $setImgSize
* @param int $taskID
* @param bool $setImgSize
*
* @access public
* @return object|bool
*/
+1 -1
View File
@@ -26,7 +26,7 @@
<small class='text-muted'><?php echo html::icon($lang->icons['story']) . ' ' . $story->title ?></small>
<?php endif;?>
<div class='actions'>
<?php echo html::commonButton($lang->pasteText, "data-toggle='myModal' ")?>
<?php echo html::commonButton($lang->pasteText, "data-toggle='myModal'", 'btn btn-primary')?>
<button type="button" class="btn btn-default" data-toggle="customModal"><i class='icon icon-cog'></i></button>
</div>
</div>