dever 5 tahun lalu
induk
melakukan
30eaf3cc19
1 mengubah file dengan 17 tambahan dan 16 penghapusan
  1. 17 16
      app/content/database/video.php

+ 17 - 16
app/content/database/video.php

@@ -21,7 +21,7 @@ return array
 			'default' 	=> '',
 			'desc' 		=> '',
 			'match' 	=> 'is_numeric',
-			'list'		=> true,
+			//'list'		=> true,
 		),
 
 		'info_id'      => array
@@ -54,8 +54,8 @@ return array
 			'desc' 		=> '标题',
 			'match' 	=> 'option',
 			'update'	=> 'text',
-			'list'		=> true,
-			'search'	=> 'fulltext',
+			//'list'		=> true,
+			//'search'	=> 'fulltext',
 			//增加预览
 			'preview'	=> true,
 		),
@@ -70,6 +70,7 @@ return array
 			'update'	=> 'image',
 			'key' 		=> '1',
 			'place'		=> '750*1386',
+            'list'      => 'Dever::load("content/lib/manage.pic", "{pic}")',
 		),
 
         'video'     => array
@@ -107,19 +108,19 @@ return array
 			'desc' 		=> '',
 		),
 
-		'status'		=> array
-		(
-			'type' 		=> 'int-11',
-			'name' 		=> '发布状态',
-			'default' 	=> '1',
-			'desc' 		=> '发布状态',
-			'match' 	=> 'is_numeric',
-			//'update'	=> 'select',
-			'option'	=> $status,
-			'search'	=> 'select',
-			'list'		=> true,
-			'edit'		=> true,
-		),
+		'status'      => array
+        (
+            'type'      => 'int-11',
+            'name'      => '发布状态',
+            'default'   => '1',
+            'desc'      => '发布状态',
+            'match'     => 'is_numeric',
+            //'update'  => 'select',
+            'option'    => $status,
+            //'search'  => 'select',
+            //'list'        => true,
+            //'edit'        => true,
+        ),
 
 		'reorder'		=> array
 		(