* Modify PRJMine to involved.

This commit is contained in:
holan20180123
2021-03-11 15:32:59 +08:00
parent ae00791f4e
commit aaace4b2de
12 changed files with 35 additions and 36 deletions

View File

@@ -662,7 +662,7 @@ class program extends control
foreach($projects as $id => $name)
{
$active = $data->cpoyProjectID == $id ? 'active' : '';
$html .= "<div class='col-md-4 col-sm-6'><a href='javascript:;' data-id=$id class='nobr $active'>" . html::icon($this->lang->icons['project'], 'text-muted') . $name . "</a></div>";
$html .= "<div class='col-md-4 col-sm-6'><a href='javascript:;' data-id=$id class='nobr $active'>" . html::icon($this->lang->icons['project'], 'text-muted') . $name . "</a></div>";
}
echo $html;
}
@@ -691,7 +691,7 @@ class program extends control
{
$programs = $this->post->programs;
foreach($programs as $id => $order)
{
{
$this->dao->update(TABLE_PROJECT)
->set('`order`')->eq($order)
->where('id')->eq($id)