|
|
@ -32,7 +32,7 @@ class CategoryController extends AdminController |
|
|
$logo = "<img src='$src' style='margin-left: 20px; max-width:35px;max-height:35px' class='img'/>"; |
|
|
$logo = "<img src='$src' style='margin-left: 20px; max-width:35px;max-height:35px' class='img'/>"; |
|
|
|
|
|
|
|
|
$actions = ''; |
|
|
$actions = ''; |
|
|
$actions = (in_array($branch['id'],$select)) ?'<span style="margin-left: 20px;">已绑定</span>':$actions; |
|
|
|
|
|
|
|
|
$actions = (in_array($branch['id'],$select)) ?'<span style="margin-left: 20px;color: #dda451;">在首页显示</span>':$actions; |
|
|
|
|
|
|
|
|
return "{$branch['id']} - {$branch['title']} $logo $actions"; |
|
|
return "{$branch['id']} - {$branch['title']} $logo $actions"; |
|
|
}); |
|
|
}); |
|
|
|