|
@@ -158,11 +158,6 @@ class Manage
|
|
|
if ($data) {
|
|
|
foreach ($data as $k => $v) {
|
|
|
|
|
|
- Dever::setInput('oper_save_table', 'content');
|
|
|
- Dever::setInput('oper_save_project', 'collection');
|
|
|
- Dever::setInput('oper_table', 'info');
|
|
|
- Dever::setInput('oper_project', 'collection');
|
|
|
-
|
|
|
$data[$k]['height'] = 'height: 154px;';
|
|
|
$data[$k]['info_height'] = 'height: auto;';
|
|
|
|
|
@@ -202,26 +197,32 @@ class Manage
|
|
|
$project_name = $temp[0];
|
|
|
$table_name = $temp[1];
|
|
|
|
|
|
- Dever::setInput('search_option_info_id', $v['info_id']);
|
|
|
- Dever::setInput('search_option_content_id', $v['id']);
|
|
|
+ $param['search_option_info_id'] = $v['info_id'];
|
|
|
+ $param['search_option_content_id'] = $v['id'];
|
|
|
|
|
|
|
|
|
- Dever::setInput('table', $table_name);
|
|
|
- Dever::setInput('project', $project_name);
|
|
|
+ $param['table'] = $table_name;
|
|
|
+ $param['project'] = $project_name;
|
|
|
|
|
|
|
|
|
if ($list) {
|
|
|
- Dever::setInput('oper_page_type', 1);
|
|
|
- Dever::setInput('oper_save_table', $table_name);
|
|
|
- Dever::setInput('oper_save_project', $project_name);
|
|
|
+ $param['oper_page_type'] = 1;
|
|
|
+
|
|
|
+ $param['oper_save_table'] = $table_name;
|
|
|
+ $param['oper_save_project'] = $project_name;
|
|
|
|
|
|
- Dever::setInput('oper_table', 'content');
|
|
|
- Dever::setInput('oper_project', 'collection');
|
|
|
- Dever::setInput('top_table', 'info');
|
|
|
- Dever::setInput('top_project', 'collection');
|
|
|
+ $param['oper_table'] = 'content';
|
|
|
+ $param['oper_project'] = 'collection';
|
|
|
+ $param['top_table'] = 'info';
|
|
|
+ $param['top_project'] = 'collection';
|
|
|
+ } else {
|
|
|
+ $param['oper_save_table'] = 'content';
|
|
|
+ $param['oper_save_project'] = 'collection';
|
|
|
+ $param['oper_table'] = 'info';
|
|
|
+ $param['oper_project'] = 'collection';
|
|
|
}
|
|
|
|
|
|
- $data[$k]['data_editurl'] = $database->url($method, $v['id'], $table_name, '', $project_name);
|
|
|
+ $data[$k]['data_editurl'] = $database->url($method, $v['id'], $table_name, '', $project_name, $param);
|
|
|
|
|
|
$data[$k]['delete'] = $database->url('delete', $v['id']);
|
|
|
}
|