|
@@ -60,6 +60,20 @@ class Manage
|
|
|
return $data;
|
|
|
}
|
|
|
|
|
|
+ public function showType()
|
|
|
+ {
|
|
|
+ $value = Dever::input('value');
|
|
|
+
|
|
|
+ $config['type_id'] = Dever::db('page/data')->config['struct']['type_id'];
|
|
|
+ $config['type_id']['name'] = '';
|
|
|
+ $config['type_id']['update'] = 'select';
|
|
|
+ $config['type_id']['update_search'] = 'page/lib/manage.search?type=' . $value;
|
|
|
+
|
|
|
+ $data = Dever::load('manage/database')->update_struct(array('struct' => $config), false, $data, -1, '', true, false);
|
|
|
+
|
|
|
+ return array('data' => $data, 'html' => '', 'remove' => '');
|
|
|
+ }
|
|
|
+
|
|
|
# 查看图片
|
|
|
public function pic($pic)
|
|
|
{
|