|
@@ -16,6 +16,20 @@ $is_button = array
|
|
|
2 => '不显示',
|
|
|
);
|
|
|
|
|
|
+$text = array
|
|
|
+(
|
|
|
+ 1 => '上左',
|
|
|
+ 2 => '上中',
|
|
|
+ 3 => '上右',
|
|
|
+ 4 => '中左',
|
|
|
+ 5 => '正中',
|
|
|
+ 6 => '中右',
|
|
|
+ 7 => '下左',
|
|
|
+ 8 => '下中',
|
|
|
+ 9 => '下右',
|
|
|
+
|
|
|
+);
|
|
|
+
|
|
|
$author = function()
|
|
|
{
|
|
|
$array = array();
|
|
@@ -242,6 +256,59 @@ return array
|
|
|
'update_search' => 'journal/lib/manage.search_live',
|
|
|
),
|
|
|
|
|
|
+ 'text' => array
|
|
|
+ (
|
|
|
+ 'type' => 'text-1000',
|
|
|
+ 'name' => '文字设置',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '文字设置',
|
|
|
+ 'match' => 'is_string',
|
|
|
+ 'option' => $text,
|
|
|
+ 'show' => 'type=1',
|
|
|
+ 'update' => array
|
|
|
+ (
|
|
|
+ array
|
|
|
+ (
|
|
|
+ 'col' => 'name',
|
|
|
+ 'name' => '文字内容',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '文字内容',
|
|
|
+ 'match' => 'is_string',
|
|
|
+ 'update' => 'textarea',
|
|
|
+ ),
|
|
|
+
|
|
|
+ array
|
|
|
+ (
|
|
|
+ 'col' => 'color',
|
|
|
+ 'name' => '文字颜色',
|
|
|
+ 'default' => '#000000',
|
|
|
+ 'desc' => '文字颜色',
|
|
|
+ 'match' => 'is_string',
|
|
|
+ 'update' => 'color',
|
|
|
+ ),
|
|
|
+
|
|
|
+ array
|
|
|
+ (
|
|
|
+ 'col' => 'bgcolor',
|
|
|
+ 'name' => '背景颜色',
|
|
|
+ 'default' => '#000000',
|
|
|
+ 'desc' => '背景颜色',
|
|
|
+ 'match' => 'is_string',
|
|
|
+ 'update' => 'color',
|
|
|
+ ),
|
|
|
+
|
|
|
+ array
|
|
|
+ (
|
|
|
+ 'col' => 'size',
|
|
|
+ 'name' => '文字大小-直接输入像素数字',
|
|
|
+ 'default' => '16',
|
|
|
+ 'desc' => '结果描述',
|
|
|
+ 'match' => 'is_numeric',
|
|
|
+ 'update' => 'text',
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+
|
|
|
'reorder' => array
|
|
|
(
|
|
|
'type' => 'int-11',
|