|
@@ -870,7 +870,9 @@ class Input
|
|
|
public static function _linkage($param, $class = '', $hidden = '', $change = '')
|
|
|
{
|
|
|
$div = 'div';
|
|
|
+ $fast = Dever::input('fast');
|
|
|
$w = 'width:20%;';
|
|
|
+
|
|
|
if ($class == 'span') {
|
|
|
$div = 'span';
|
|
|
$w = '';
|
|
@@ -878,6 +880,11 @@ class Input
|
|
|
|
|
|
if (layadmin()) {
|
|
|
$w = 'margin-top:0px;width:20%;margin-left:-3px;';
|
|
|
+ if ($fast == 1) {
|
|
|
+ $w = 'margin-top:0px;width:50%;margin-left:-3px;';
|
|
|
+ } else {
|
|
|
+ $w = 'margin-top:0px;width:20%;margin-left:-3px;';
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
if (!isset($param['search_state'])) {
|
|
@@ -1008,6 +1015,9 @@ class Input
|
|
|
}
|
|
|
|
|
|
if (isset($param['update_search'])) {
|
|
|
+ if (strstr($param['update_search'], '{id}')) {
|
|
|
+ $param['update_search'] = str_replace('{id}', 'where_id=' . $param['where_id'], $param['update_search']);
|
|
|
+ }
|
|
|
$xm = str_replace('xm-select-search=""', 'xm-select-search="'.Dever::url($param['update_search'] . '&yes='.$search_value.'&json=1').'"', $xm);
|
|
|
}
|
|
|
|