|
@@ -65,6 +65,13 @@ class Database
|
|
|
*/
|
|
|
private $chart = false;
|
|
|
|
|
|
+ /**
|
|
|
+ * manage_button
|
|
|
+ *
|
|
|
+ * @var array
|
|
|
+ */
|
|
|
+ private $manage_button = false;
|
|
|
+
|
|
|
/**
|
|
|
* __construct
|
|
|
*
|
|
@@ -1856,7 +1863,7 @@ class Database
|
|
|
}
|
|
|
}
|
|
|
//if ((Dever::load('manage/auth.oper', 3) != false || Dever::load('manage/auth.oper', 5) != false) && isset($config['manage']['_list']['value'])) {
|
|
|
- if (isset($config['manage']['_list']['value'])) {
|
|
|
+ if (isset($config['manage']['_list']['value']) && $this->manage_button) {
|
|
|
if ($type == 'layui') {
|
|
|
$layui = array
|
|
|
(
|
|
@@ -2734,6 +2741,7 @@ class Database
|
|
|
}
|
|
|
|
|
|
if ($oper == true) {
|
|
|
+ $this->manage_button = true;
|
|
|
if ($kj == 'delete') {
|
|
|
$class = 'layui-btn layui-btn-danger';
|
|
|
} else {
|