|
@@ -2355,6 +2355,8 @@ class Database
|
|
|
$result .= '<a href="javascript:;" onclick="fastEdit($(this), \'' . $url . '\', \''.$vj[0].'\', \''.$vj[1].'\')"><button type="button" class="btn btn-info btn-rounded waves-effect waves-light m-b-5 '.$class.'">' . $vj[0] . '</button></a> ';
|
|
|
} elseif (strpos($kj, 'oper') !== false) {
|
|
|
$result .= '<a href="javascript:;" onclick="load(\'' . Dever::url($pj) . '\')"><button type="button" class="btn btn-info btn-rounded waves-effect waves-light m-b-5 '.$class.'">' . $vj[0] . '</button></a> ';
|
|
|
+ } elseif (strpos($kj, 'new') !== false) {
|
|
|
+ $result .= '<a href="' . $this->url($kj, $data['id'], $pj) . '" target="_blank" class="oper_' . $kj . '"><button type="button" class="btn btn-info btn-rounded waves-effect waves-light m-b-5 '.$class.'">' . $h . $vjn . '</button></a> ';
|
|
|
} elseif (isset($vj[1]) && strpos($vj[1], 'modal|') !== false) {
|
|
|
$t = explode('|', $vj[1]);
|
|
|
$result .= '<a href="#dever_modal" data-toggle="modal" class="btn btn-info btn-rounded waves-effect waves-light m-b-5 '.$class.'" onclick=' . $t[1] . ' msg-send="' . $this->value($t[2], $data) . '">' . $vj[0] . '</a> ';
|