How to use clear method of std class

Best Atoum code snippet using std.clear

themes-options.php

Source:themes-options.php Github

copy

Full Screen

...124 )125 );126127 $options[] = array(128 'id' => 'clear'129 );130131 $options[] = array(132 'name' => '首页幻灯',133 'desc' => '显示',134 'id' => 'slider',135 'std' => '0',136 'type' => 'checkbox'137 );138139 $options[] = array(140 'name' => '',141 'desc' => '自定义排序,需给幻灯中的文章添加排序编号',142 'id' => 'show_order',143 'std' => '0',144 'class' => 'hidden',145 'type' => 'checkbox'146 );147148 $options[] = array(149 'name' => '',150 'desc' => '幻灯显示篇数',151 'id' => 'slider_n',152 'std' => '2',153 'class' => 'mini hidden',154 'type' => 'text'155 );156157 $options[] = array(158 'id' => 'clear'159 );160161 $options[] = array(162 'name' => '博客布局排除的分类文章',163 'desc' => '输入排除的分类ID,多个分类用半角逗号","隔开',164 'id' => 'not_cat_n',165 'std' => '',166 'type' => 'textarea'167 );168169 $options[] = array(170 'name' => '分类ID对照',171 'desc' => '<ul>'.$cats_id.'</ul>',172 'id' => 'catid',173 'type' => 'info'174 );175176 $options[] = array(177 'id' => 'clear'178 );179180 $options[] = array(181 'name' => '',182 'desc' => '显示博客布局文章排序按钮',183 'id' => 'order_by',184 'std' => '1',185 'type' => 'checkbox'186 );187188 $options[] = array(189 'id' => 'clear'190 );191192 $options[] = array(193 'name' => '首页推荐文章',194 'desc' => '显示',195 'id' => 'cms_top',196 'std' => '0',197 'type' => 'checkbox'198 );199200 $options[] = array(201 'name' => '',202 'desc' => '排序:1',203 'id' => 'cms_top_s',204 'class' => 'mini',205 'std' => '1',206 'type' => 'text'207 );208209 $options[] = array(210 'name' => '',211 'desc' => '篇',212 'id' => 'cms_top_n',213 'class' => 'mini hidden',214 'std' => '4',215 'type' => 'text'216 );217218 $options[] = array(219 'id' => 'clear'220 );221222 $options[] = array(223 'name' => '',224 'desc' => '图片布局显示摘要',225 'id' => 'hide_box',226 'std' => '0',227 'type' => 'checkbox'228 );229230 $options[] = array(231 'id' => 'clear'232 );233234 $options[] = array(235 'name' => '',236 'desc' => '首页新窗口或标签打开链接',237 'id' => 'blank',238 'std' => '0',239 'type' => 'checkbox'240 );241242 $options[] = array(243 'id' => 'clear'244 );245246 $options[] = array(247 'name' => '首页分类图片布局设置'248 );249250 $options[] = array(251 'name' => '',252 'desc' => '显示分类图片布局最新文章',253 'id' => 'grid_cat_new',254 'std' => '1',255 'type' => 'checkbox'256 );257258 $options[] = array(259 'name' => '',260 'desc' => '显示篇数',261 'id' => 'grid_cat_news_n',262 'std' => '4',263 'class' => 'mini hidden',264 'type' => 'text'265 );266267 $options[] = array(268 'id' => 'clear'269 );270271 $options[] = array(272 'name' => '',273 'desc' => '显示分类图片布局模块A',274 'id' => 'grid_cat_a',275 'std' => '0',276 'type' => 'checkbox'277 );278279 $options[] = array(280 'name' => '',281 'desc' => '输入分类ID,多个分类用英文半角逗号","隔开',282 'id' => 'grid_cat_a_id',283 'std' => '1,2',284 'class' => 'hidden',285 'type' => 'text'286 );287288 $options[] = array(289 'name' => '',290 'desc' => '显示篇数',291 'id' => 'grid_cat_a_n',292 'std' => '4',293 'class' => 'mini hidden',294 'type' => 'text'295 );296297298 $options[] = array(299 'id' => 'clear'300 );301302 $options[] = array(303 'name' => '分类ID对照',304 'desc' => '<ul>'.$cats_id.'</ul>',305 'id' => 'catid',306 'type' => 'info'307 );308309 $options[] = array(310 'id' => 'clear'311 );312313 $options[] = array(314 'name' => '',315 'desc' => '显示杂志单栏小工具',316 'id' => 'grid_widget_one',317 'std' => '1',318 'type' => 'checkbox'319 );320321 $options[] = array(322 'id' => 'clear'323 );324325 $options[] = array(326 'name' => '',327 'desc' => '显示分类图片布局模块B',328 'id' => 'grid_cat_b',329 'std' => '0',330 'type' => 'checkbox'331 );332333 $options[] = array(334 'name' => '',335 'desc' => '输入分类ID,多个分类用英文半角逗号","隔开',336 'id' => 'grid_cat_b_id',337 'std' => '1,2',338 'class' => 'hidden',339 'type' => 'text'340 );341342 $options[] = array(343 'name' => '',344 'desc' => '显示篇数',345 'id' => 'grid_cat_b_n',346 'std' => '5',347 'class' => 'mini hidden',348 'type' => 'text'349 );350351 $options[] = array(352 'id' => 'clear'353 );354355 $options[] = array(356 'name' => '',357 'desc' => '显示杂志两栏小工具',358 'id' => 'grid_widget_two',359 'std' => '1',360 'type' => 'checkbox'361 );362363 $options[] = array(364 'id' => 'clear'365 );366367 $options[] = array(368 'name' => '',369 'desc' => '显示分类图片布局模块C',370 'id' => 'grid_cat_c',371 'std' => '0',372 'type' => 'checkbox'373 );374375 $options[] = array(376 'name' => '',377 'desc' => '输入分类ID,多个分类用英文半角逗号","隔开',378 'id' => 'grid_cat_c_id',379 'std' => '1,2',380 'class' => 'hidden',381 'type' => 'text'382 );383384 $options[] = array(385 'name' => '',386 'desc' => '显示篇数',387 'id' => 'grid_cat_c_n',388 'std' => '4',389 'class' => 'mini hidden',390 'type' => 'text'391 );392393 // CMS设置394 $options[] = array(395 'name' => '杂志布局',396 'type' => 'heading'397 );398399 $options[] = array(400 'name' => '幻灯显示模式',401 'id' => 'slider_l',402 'std' => 'slider_n',403 'type' => 'radio',404 'options' => array(405 'slider_n' => '标准',406 'slider_w' => '通栏',407 )408 );409410 $options[] = array(411 'id' => 'clear'412 );413414 $options[] = array(415 'name' => '最新文章',416 'desc' => '显示',417 'id' => 'news',418 'std' => '1',419 'type' => 'checkbox'420 );421422 $options[] = array(423 'name' => '',424 'desc' => '排序:2',425 'id' => 'news_s',426 'class' => 'mini hidden',427 'std' => '2',428 'type' => 'text'429 );430431 $options[] = array(432 'name' => '',433 'id' => 'news_model',434 'std' => 'news_grid',435 'class' => 'hidden',436 'type' => 'radio',437 'options' => array(438 'news_grid' => '网格模式',439 'news_normal' => '标准模式',440 )441 );442443 $options[] = array(444 'name' => '',445 'desc' => '最新文章显示篇数',446 'id' => 'news_n',447 'std' => '4',448 'class' => 'hidden',449 'type' => 'text'450 );451452 $options[] = array(453 'name' => '',454 'desc' => '输入排除的分类ID,多个分类用英文半角逗号","隔开',455 'id' => 'not_news_n',456 'std' => '',457 'class' => 'hidden',458 'type' => 'textarea'459 );460461 $options[] = array(462 'name' => '分类ID对照',463 'desc' => '<ul>'.$cats_id.'</ul>',464 'id' => 'catids',465 'class' => 'news-catid hidden',466 'type' => 'info'467 );468469 $options[] = array(470 'id' => 'clear'471 );472473 $options[] = array(474 'name' => '图文模块',475 'desc' => '显示(位于最新文章模块中)',476 'id' => 'post_img',477 'std' => '0',478 'type' => 'checkbox'479 );480481 $options[] = array(482 'name' => '',483 'desc' => '显示篇数',484 'id' => 'post_img_n',485 'std' => '4',486 'class' => 'hidden',487 'type' => 'text'488 );489490 $options[] = array(491 'id' => 'clear'492 );493494 $options[] = array(495 'name' => '',496 'desc' => '显示杂志单栏小工具',497 'id' => 'cms_widget_one',498 'std' => '0',499 'type' => 'checkbox'500 );501 $options[] = array(502 'name' => '',503 'desc' => '排序:3',504 'id' => 'cms_widget_one_s',505 'class' => 'mini hidden',506 'std' => '3',507 'type' => 'text'508 );509510 $options[] = array(511 'id' => 'clear'512 );513514 $options[] = array(515 'name' => '图片日志',516 'desc' => '显示',517 'id' => 'picture',518 'std' => '0',519 'type' => 'checkbox'520 );521522 $options[] = array(523 'name' => '',524 'desc' => '排序:4',525 'id' => 'picture_s',526 'std' => '4',527 'class' => 'mini hidden',528 'type' => 'text'529 );530531 $options[] = array(532 'name' => '选择图片日志分类',533 'desc' => '输入分类ID,多个分类用英文半角逗号","隔开',534 'id' => 'picture_id',535 'std' => '',536 'class' => 'hidden',537 'type' => 'text'538 );539540 $options[] = array(541 'name' => '图片分类ID对照',542 'desc' => '<ul>'.$catp_id.'</ul>',543 'id' => 'catids',544 'class' => 'pi-catid hidden',545 'type' => 'info'546 );547548 $options[] = array(549 'name' => '',550 'desc' => '图片日志显示篇数',551 'id' => 'picture_n',552 'std' => '4',553 'class' => 'hidden',554 'type' => 'text'555 );556557 $options[] = array(558 'name' => '',559 'desc' => '随机显示图片日志',560 'id' => 'rand_img',561 'std' => '0',562 'class' => 'hidden',563 'type' => 'checkbox'564 );565566 $options[] = array(567 'id' => 'clear'568 );569570 $options[] = array(571 'name' => '',572 'desc' => '显示杂志两栏小工具',573 'id' => 'cms_widget_two',574 'std' => '0',575 'type' => 'checkbox'576 );577578 $options[] = array(579 'name' => '',580 'desc' => '排序:5',581 'id' => 'cms_widget_two_s',582 'std' => '5',583 'class' => 'mini hidden',584 'type' => 'text'585 );586587 $options[] = array(588 'id' => 'clear'589 );590591 $options[] = array(592 'name' => '主体单栏分类列表(5篇文章)',593 'desc' => '显示',594 'id' => 'cat_one_5',595 'std' => '0',596 'type' => 'checkbox'597 );598599 $options[] = array(600 'name' => '',601 'desc' => '排序:6',602 'id' => 'cat_one_5_s',603 'std' => '6',604 'class' => 'mini hidden',605 'type' => 'text'606 );607608 $options[] = array(609 'name' => '选择主体单栏分类列表分类',610 'desc' => '输入分类ID,多个分类用英文半角逗号","隔开',611 'id' => 'cat_one_5_id',612 'std' => '1',613 'class' => 'hidden',614 'type' => 'text'615 );616617 $options[] = array(618 'name' => '分类ID对照',619 'desc' => '<ul>'.$cats_id.'</ul>',620 'id' => 'catids',621 'class' => 'ov-catid hidden',622 'type' => 'info'623 );624625 $options[] = array(626 'id' => 'clear'627 );628629 $options[] = array(630 'name' => '主体单栏分类列表(10篇文章)',631 'desc' => '显示',632 'id' => 'cat_one_10',633 'std' => '0',634 'type' => 'checkbox'635 );636637 $options[] = array(638 'name' => '',639 'desc' => '排序:7',640 'id' => 'cat_one_10_s',641 'std' => '7',642 'class' => 'mini hidden',643 'type' => 'text'644 );645646 $options[] = array(647 'name' => '选择主体单栏分类列表分类',648 'desc' => '输入分类ID,多个分类用英文半角逗号","隔开',649 'id' => 'cat_one_10_id',650 'std' => '1',651 'class' => 'hidden',652 'type' => 'text'653 );654655 $options[] = array(656 'name' => '分类ID对照',657 'desc' => '<ul>'.$cats_id.'</ul>',658 'id' => 'catids',659 'class' => 'os-catid hidden',660 'type' => 'info'661 );662663 $options[] = array(664 'id' => 'clear'665 );666667 $options[] = array(668 'name' => '视频日志',669 'desc' => '显示',670 'id' => 'video',671 'std' => '0',672 'type' => 'checkbox'673 );674675 $options[] = array(676 'name' => '',677 'desc' => '排序:8',678 'id' => 'video_s',679 'std' => '8',680 'class' => 'mini hidden',681 'type' => 'text'682 );683684 $options[] = array(685 'name' => '选择视频日志分类',686 'desc' => '输入分类ID,多个分类用英文半角逗号","隔开',687 'id' => 'video_id',688 'std' => '',689 'class' => 'hidden',690 'type' => 'text'691 );692693 $options[] = array(694 'name' => '视频分类ID对照',695 'desc' => '<ul>'.$catv_id.'</ul>',696 'id' => 'catids',697 'class' => 'vs-catid hidden',698 'type' => 'info'699 );700701 $options[] = array(702 'name' => '',703 'desc' => '视频日志显示篇数',704 'id' => 'video_n',705 'std' => '4',706 'class' => 'hidden',707 'type' => 'text'708 );709710 $options[] = array(711 'name' => '',712 'desc' => '随机显示视频日志',713 'id' => 'rand_video',714 'std' => '0',715 'class' => 'hidden',716 'type' => 'checkbox'717 );718719 $options[] = array(720 'id' => 'clear'721 );722723 $options[] = array(724 'name' => '主体两栏分类列表',725 'desc' => '显示',726 'id' => 'cat_small',727 'std' => '0',728 'type' => 'checkbox'729 );730731 $options[] = array(732 'name' => '',733 'desc' => '排序:9',734 'id' => 'cat_small_s',735 'std' => '9',736 'class' => 'mini hidden',737 'type' => 'text'738 );739740 $options[] = array(741 'name' => '选择主体两栏分类列表分类',742 'desc' => '输入分类ID,多个分类用英文半角逗号","隔开',743 'id' => 'cat_small_id',744 'std' => '1,2',745 'class' => 'hidden',746 'type' => 'text'747 );748749 $options[] = array(750 'name' => '分类ID对照',751 'desc' => '<ul>'.$cats_id.'</ul>',752 'id' => 'catids',753 'class' => 'sm-catid hidden',754 'type' => 'info'755 );756757 $options[] = array(758 'name' => '',759 'desc' => '主体两栏分类列表显示篇数',760 'id' => 'cat_small_n',761 'std' => '4',762 'class' => 'hidden',763 'type' => 'text'764 );765766 $options[] = array(767 'name' => '',768 'desc' => '不显示第一篇摘要(只显示自动裁剪后的缩略图)',769 'id' => 'cat_small_z',770 'std' => '1',771 'class' => 'hidden',772 'type' => 'checkbox'773 );774775 $options[] = array(776 'id' => 'clear'777 );778779 $options[] = array(780 'name' => 'Tab组合分类',781 'desc' => '显示',782 'id' => 'tab_h',783 'std' => '0',784 'type' => 'checkbox'785 );786787 $options[] = array(788 'name' => '',789 'desc' => '排序:10',790 'id' => 'tab_h_s',791 'std' => '10',792 'class' => 'mini hidden',793 'type' => 'text'794 );795796 $options[] = array(797 'name' => '',798 'desc' => 'Tab显示篇数',799 'id' => 'tabt_n',800 'std' => '8',801 'class' => 'hidden',802 'type' => 'text'803 );804805 $options[] = array(806 'name' => 'Tab“推荐文章”设置',807 'desc' => '自定义文字',808 'id' => 'tab_a',809 'std' => '推荐文章',810 'class' => 'hidden',811 'type' => 'text'812 );813814 if ( $options_categories ) {815 $options[] = array(816 'name' => '',817 'desc' => '选择一个分类',818 'id' => 'tabt_id',819 'class' => 'hidden',820 'type' => 'select',821 'options' => $options_categories);822 }823824 $options[] = array(825 'name' => 'Tab“专题文章”设置',826 'desc' => '自定义文字',827 'id' => 'tab_b',828 'class' => 'hidden',829 'std' => '专题文章',830 'type' => 'text'831 );832833 if ( $options_categories ) {834 $options[] = array(835 'name' => '',836 'desc' => '选择一个分类',837 'id' => 'tabz_n',838 'class' => 'hidden',839 'type' => 'select',840 'options' => $options_categories);841 }842843 $options[] = array(844 'name' => 'Tab“分类文章”设置',845 'desc' => '自定义文字',846 'id' => 'tab_c',847 'class' => 'hidden',848 'std' => '分类文章',849 'type' => 'text'850 );851852 if ( $options_categories ) {853 $options[] = array(854 'name' => '',855 'desc' => '选择一个分类',856 'id' => 'tabq_n',857 'class' => 'hidden',858 'type' => 'select',859 'options' => $options_categories);860 }861862 $options[] = array(863 'id' => 'clear'864 );865866 $options[] = array(867 'name' => '产品日志',868 'desc' => '显示',869 'id' => 'products_on',870 'std' => '0',871 'type' => 'checkbox'872 );873874 $options[] = array(875 'name' => '',876 'desc' => '排序:11',877 'id' => 'products_on_s',878 'std' => '11',879 'class' => 'mini hidden',880 'type' => 'text'881 );882883 $options[] = array(884 'name' => '选择产品分类',885 'desc' => '输入分类ID,多个分类用英文半角逗号","隔开',886 'id' => 'products_id',887 'std' => '',888 'class' => 'hidden',889 'type' => 'text'890 );891892 $options[] = array(893 'name' => '产品分类ID对照',894 'desc' => '<ul>'.$catpr_id.'</ul>',895 'id' => 'catids',896 'class' => 'pr-catid hidden',897 'type' => 'info'898 );899900 $options[] = array(901 'name' => '',902 'desc' => '产品显示个数',903 'id' => 'products_n',904 'std' => '4',905 'class' => 'hidden',906 'type' => 'text'907 );908909 $options[] = array(910 'id' => 'clear'911 );912913 $options[] = array(914 'name' => '分类图片',915 'desc' => '显示',916 'id' => 'cat_square',917 'std' => '0',918 'type' => 'checkbox'919 );920921 $options[] = array(922 'name' => '',923 'desc' => '排序:12',924 'id' => 'cat_square_s',925 'std' => '12',926 'class' => 'mini hidden',927 'type' => 'text'928 );929930 $options[] = array(931 'name' => '',932 'desc' => '输入分类ID,多个分类用英文半角逗号","隔开',933 'id' => 'cat_square_id',934 'std' => '2',935 'class' => 'hidden',936 'type' => 'text'937 );938939 $options[] = array(940 'name' => '分类ID对照',941 'desc' => '<ul>'.$cats_id.'</ul>',942 'id' => 'catids',943 'class' => 'cas-catid hidden',944 'type' => 'info'945 );946947 $options[] = array(948 'name' => '',949 'desc' => '显示篇数',950 'id' => 'cat_square_n',951 'std' => '6',952 'class' => 'hidden',953 'type' => 'text'954 );955956 $options[] = array(957 'id' => 'clear'958 );959960 $options[] = array(961 'name' => '分类网格',962 'desc' => '显示',963 'id' => 'cat_grid',964 'std' => '0',965 'type' => 'checkbox'966 );967968 $options[] = array(969 'name' => '',970 'desc' => '排序:13',971 'id' => 'cat_grid_s',972 'std' => '13',973 'class' => 'mini hidden',974 'type' => 'text'975 );976977 $options[] = array(978 'name' => '',979 'desc' => '输入分类ID,多个分类用英文半角逗号","隔开',980 'id' => 'cat_grid_id',981 'std' => '2',982 'class' => 'hidden',983 'type' => 'text'984 );985986 $options[] = array(987 'name' => '',988 'desc' => '显示篇数',989 'id' => 'cat_grid_n',990 'std' => '6',991 'class' => 'hidden',992 'type' => 'text'993 );994995 $options[] = array(996 'id' => 'clear'997 );998999 $options[] = array(1000 'name' => '图片滚动模块',1001 'desc' => '显示',1002 'id' => 'flexisel',1003 'std' => '0',1004 'type' => 'checkbox'1005 );10061007 $options[] = array(1008 'name' => '',1009 'desc' => '排序:14',1010 'id' => 'flexisel_s',1011 'std' => '14',1012 'class' => 'mini hidden',1013 'type' => 'text'1014 );10151016 $options[] = array(1017 'name' => '自定义栏目名称',1018 'desc' => '通过为文章添加自定义栏目,调用指定文章',1019 'id' => 'key_n',1020 'std' => 'views',1021 'class' => 'hidden',1022 'type' => 'text'1023 );10241025 $options[] = array(1026 'name' => '',1027 'desc' => '调用图片日志',1028 'id' => 'gallery_post',1029 'std' => '0',1030 'class' => 'hidden',1031 'type' => 'checkbox'1032 );10331034 $options[] = array(1035 'name' => '图片日志分类',1036 'desc' => '输入分类ID,多个分类用英文半角逗号","隔开',1037 'id' => 'gallery_id',1038 'std' => '',1039 'class' => 'hidden',1040 'type' => 'text'1041 );10421043 $options[] = array(1044 'name' => '图片分类ID对照',1045 'desc' => '<ul>'.$catp_id.'</ul>',1046 'id' => 'catids',1047 'class' => 'tpv-catid hidden',1048 'type' => 'info'1049 );10501051 $options[] = array(1052 'name' => '',1053 'desc' => '横向滚动显示篇数',1054 'id' => 'flexisel_n',1055 'std' => '4',1056 'class' => 'hidden',1057 'type' => 'text'1058 );10591060 $options[] = array(1061 'id' => 'clear'1062 );10631064 $options[] = array(1065 'name' => '显示底部两栏分类列表',1066 'desc' => '显示',1067 'id' => 'cat_big',1068 'std' => '0',1069 'type' => 'checkbox'1070 );10711072 $options[] = array(1073 'name' => '',1074 'desc' => '排序:15',1075 'id' => 'cat_big_s',1076 'std' => '15',1077 'class' => 'mini hidden',1078 'type' => 'text'1079 );10801081 $options[] = array(1082 'name' => '选择底部两栏列表分类',1083 'desc' => '输入分类ID,多个分类用英文半角逗号","隔开',1084 'id' => 'cat_big_id',1085 'std' => '1,2',1086 'class' => 'hidden',1087 'type' => 'text'1088 );10891090 $options[] = array(1091 'name' => '分类ID对照',1092 'desc' => '<ul>'.$cats_id.'</ul>',1093 'id' => 'catids',1094 'class' => 'dct-catid hidden',1095 'type' => 'info');10961097 $options[] = array(1098 'name' => '',1099 'desc' => '底部两栏列表显示篇数',1100 'id' => 'cat_big_n',1101 'std' => '4',1102 'class' => 'hidden',1103 'type' => 'text'1104 );11051106 $options[] = array(1107 'name' => '',1108 'desc' => '不显示第一篇摘要(只显示自动裁剪后的缩略图)',1109 'id' => 'cat_big_z',1110 'std' => '0',1111 'class' => 'hidden',1112 'type' => 'checkbox'1113 );11141115 $options[] = array(1116 'id' => 'clear'1117 );11181119 $options[] = array(1120 'name' => '淘客',1121 'desc' => '显示',1122 'id' => 'tao_h',1123 'std' => '0',1124 'type' => 'checkbox'1125 );11261127 $options[] = array(1128 'name' => '',1129 'desc' => '排序:16',1130 'id' => 'tao_h_s',1131 'std' => '16',1132 'class' => 'mini hidden',1133 'type' => 'text'1134 );11351136 $options[] = array(1137 'name' => '选择淘客分类',1138 'desc' => '输入分类ID,多个分类用英文半角逗号","隔开',1139 'id' => 'tao_h_id',1140 'std' => '',1141 'class' => 'hidden',1142 'type' => 'text'1143 );11441145 $options[] = array(1146 'name' => '淘客分类ID对照',1147 'desc' => '<ul>'.$catt_id.'</ul>',1148 'id' => 'catids',1149 'class' => 'taoc-catid hidden',1150 'type' => 'info'1151 );11521153 $options[] = array(1154 'name' => '',1155 'desc' => '淘客商品显示数量',1156 'id' => 'tao_h_n',1157 'std' => '4',1158 'class' => 'hidden',1159 'type' => 'text'1160 );11611162 $options[] = array(1163 'name' => '',1164 'desc' => '随机显示淘客商品',1165 'id' => 'rand_tao',1166 'std' => '0',1167 'class' => 'hidden',1168 'type' => 'checkbox'1169 );11701171 $options[] = array(1172 'id' => 'clear'1173 );11741175 if (function_exists( 'is_shop' )) {1176 $options[] = array(1177 'name' => 'WOO产品',1178 'desc' => '显示,需要安装商城插件 WooCommerce 并发表产品',1179 'id' => 'product_h',1180 'std' => '0',1181 'type' => 'checkbox'1182 );11831184 $options[] = array(1185 'name' => '',1186 'desc' => '排序:17',1187 'id' => 'product_h_s',1188 'std' => '17',1189 'class' => 'mini hidden',1190 'type' => 'text'1191 );11921193 $options[] = array(1194 'name' => '选择产品分类',1195 'desc' => '输入分类ID,多个分类用英文半角逗号","隔开',1196 'id' => 'product_h_id',1197 'std' => '',1198 'class' => 'hidden',1199 'type' => 'text'1200 );12011202 $options[] = array(1203 'name' => '产品分类ID对照',1204 'desc' => '<ul>'.$catr_id.'</ul>',1205 'id' => 'catids',1206 'class' => 'wooc-catid hidden',1207 'type' => 'info'1208 );12091210 $options[] = array(1211 'name' => '',1212 'desc' => '产品商品显示数量',1213 'id' => 'product_h_n',1214 'std' => '4',1215 'class' => 'hidden',1216 'type' => 'text'1217 );12181219 $options[] = array(1220 'id' => 'clear'1221 );1222 }12231224 if (function_exists( 'edd_get_actions' )) {1225 $options[] = array(1226 'name' => 'EDD下载',1227 'desc' => '显示,需要安装付费下载插件 Easy Digital Downloads 并发表下载',1228 'id' => 'cms_edd',1229 'std' => '0',1230 'type' => 'checkbox'1231 );12321233 $options[] = array(1234 'name' => '',1235 'desc' => '排序:18',1236 'id' => 'cms_edd_s',1237 'std' => '18',1238 'class' => 'mini hidden',1239 'type' => 'text'1240 );12411242 $options[] = array(1243 'name' => '下载分类',1244 'desc' => '下载分类自定义文字',1245 'id' => 'dow_tab_a',1246 'std' => '下载分类',1247 'class' => 'hidden',1248 'type' => 'text'1249 );12501251 $options[] = array(1252 'name' => '',1253 'desc' => '输入下载分类ID,多个分类ID用半角逗号","隔开',1254 'id' => 'cms_edd_a_id',1255 'std' => '',1256 'class' => 'hidden',1257 'type' => 'text'1258 );12591260 $options[] = array(1261 'name' => '',1262 'desc' => '下载分类文字说明',1263 'id' => 'dow_tab_a_s',1264 'std' => '',1265 'class' => 'hidden',1266 'type' => 'textarea'1267 );12681269 $options[] = array(1270 'name' => '下载分类',1271 'desc' => '下载分类自定义文字',1272 'id' => 'dow_tab_b',1273 'std' => '下载分类',1274 'class' => 'hidden',1275 'type' => 'text'1276 );12771278 $options[] = array(1279 'name' => '',1280 'desc' => '输入下载分类ID,多个分类ID用半角逗号","隔开',1281 'id' => 'cms_edd_b_id',1282 'std' => '',1283 'class' => 'hidden',1284 'type' => 'text'1285 );12861287 $options[] = array(1288 'name' => '',1289 'desc' => '下载分类文字说明',1290 'id' => 'dow_tab_b_s',1291 'std' => '',1292 'class' => 'hidden',1293 'type' => 'textarea'1294 );12951296 $options[] = array(1297 'name' => '下载分类',1298 'desc' => '下载分类自定义文字',1299 'id' => 'dow_tab_c',1300 'std' => '下载分类',1301 'class' => 'hidden',1302 'type' => 'text'1303 );13041305 $options[] = array(1306 'name' => '',1307 'desc' => '输入下载分类ID,多个分类ID用半角逗号","隔开',1308 'id' => 'cms_edd_c_id',1309 'std' => '',1310 'class' => 'hidden',1311 'type' => 'text'1312 );13131314 $options[] = array(1315 'name' => '',1316 'desc' => '下载分类文字说明',1317 'id' => 'dow_tab_c_s',1318 'std' => '',1319 'class' => 'hidden',1320 'type' => 'textarea'1321 );13221323 $options[] = array(1324 'name' => '',1325 'desc' => '下载分类文章显示数量',1326 'id' => 'cms_edd_n',1327 'std' => '4',1328 'class' => 'hidden',1329 'type' => 'text'1330 );13311332 $options[] = array(1333 'name' => '下载分类ID对照',1334 'desc' => '<ul>'.$eddcat_id.'</ul>',1335 'id' => 'catids',1336 'class' => 'eddc-catid hidden',1337 'type' => 'info'1338 );13391340 $options[] = array(1341 'id' => 'clear'1342 );1343 }1344 $options[] = array(1345 'name' => '显示底部两栏无缩略图分类列表',1346 'desc' => '显示,适用于无图片的分类文章',1347 'id' => 'cat_big_not',1348 'std' => '0',1349 'type' => 'checkbox'1350 );13511352 $options[] = array(1353 'name' => '',1354 'desc' => '排序:19',1355 'id' => 'cat_big_not_s',1356 'std' => '19',1357 'class' => 'mini hidden',1358 'type' => 'text'1359 );13601361 $options[] = array(1362 'name' => '选择底部两栏无缩略图列表分类',1363 'desc' => '输入分类ID,多个分类用英文半角逗号","隔开',1364 'id' => 'cat_big_not_id',1365 'std' => '1,2',1366 'class' => 'hidden',1367 'type' => 'text'1368 );13691370 $options[] = array(1371 'name' => '',1372 'desc' => '底部两栏无缩略图列表显示篇数',1373 'id' => 'cat_big_not_n',1374 'std' => '4',1375 'class' => 'hidden',1376 'type' => 'text'1377 );13781379 $options[] = array(1380 'name' => '分类ID对照',1381 'desc' => '<ul>'.$cats_id.'</ul>',1382 'id' => 'catids',1383 'class' => 'nocat-catid hidden',1384 'type' => 'info'1385 );13861387 $options[] = array(1388 'id' => 'clear'1389 );13901391 $options[] = array(1392 'name' => '',1393 'desc' => '显示文章列表日期',1394 'id' => 'list_date',1395 'std' => '1',1396 'type' => 'checkbox'1397 );13981399// 公司主页14001401 $options[] = array(1402 'name' => '公司主页',1403 'type' => 'heading'1404 );14051406 $options[] = array(1407 'name' => '幻灯',1408 'desc' => '显示',1409 'id' => 'group_slider',1410 'std' => '0',1411 'type' => 'checkbox'1412 );14131414 $options[] = array(1415 'name' => '',1416 'desc' => '幻灯显示篇数',1417 'id' => 'group_slider_n',1418 'std' => '3',1419 'class' => 'mini hidden',1420 'type' => 'text'1421 );14221423 $options[] = array(1424 'name' => '',1425 'desc' => '链接到目标',1426 'id' => 'group_slider_url',1427 'std' => '1',1428 'class' => 'hidden',1429 'type' => 'checkbox'1430 );14311432 $options[] = array(1433 'name' => '',1434 'desc' => '显示文字',1435 'id' => 'group_slider_t',1436 'std' => '1',1437 'class' => 'hidden',1438 'type' => 'checkbox'1439 );144014411442 $options[] = array(1443 'id' => 'clear'1444 );14451446 $options[] = array(1447 'name' => '关于我们',1448 'desc' => '显示',1449 'id' => 'group_contact',1450 'std' => '0',1451 'type' => 'checkbox'1452 );14531454 $options[] = array(1455 'name' => '',1456 'desc' => '排序:1',1457 'id' => 'group_contact_s',1458 'std' => '1',1459 'class' => 'mini hidden',1460 'type' => 'text'1461 );14621463 $options[] = array(1464 'name' => '',1465 'desc' => '白色背景',1466 'id' => 'bg_1',1467 'std' => '0',1468 'class' => 'hidden',1469 'type' => 'checkbox'1470 );14711472 $options[] = array(1473 'name' => '',1474 'desc' => '自定义标题文字',1475 'id' => 'group_contact_t',1476 'std' => '关于我们',1477 'class' => 'hidden',1478 'type' => 'text'1479 );14801481 $options[] = array(1482 'name' => '',1483 'desc' => '选择页面',1484 'id' => 'contact_p',1485 'type' => 'select',1486 'class' => 'mini hidden',1487 'options' => $options_pages1488 );14891490 $options[] = array(1491 'name' => '',1492 'desc' => '"详细查看"按钮文字',1493 'id' => 'group_more_z',1494 'std' => '详细查看',1495 'class' => 'hidden',1496 'type' => 'text'1497 );14981499 $options[] = array(1500 'name' => '',1501 'desc' => '自定义"详细查看"链接地址',1502 'id' => 'group_more_url',1503 'class' => 'hidden',1504 'placeholder' => '',1505 'type' => 'text'1506 );15071508 $options[] = array(1509 'name' => '',1510 'desc' => '"联系方式"按钮文字',1511 'id' => 'group_contact_z',1512 'std' => '联系方式',1513 'class' => 'hidden',1514 'type' => 'text'1515 );15161517 $options[] = array(1518 'name' => '',1519 'desc' => '输入"联系方式"链接地址',1520 'id' => 'group_contact_url',1521 'class' => 'hidden',1522 'placeholder' => '',1523 'type' => 'text'1524 );15251526 $options[] = array(1527 'id' => 'clear'1528 );15291530 $options[] = array(1531 'name' => '服务项目',1532 'desc' => '显示',1533 'id' => 'dean',1534 'std' => '0',1535 'type' => 'checkbox'1536 );15371538 $options[] = array(1539 'name' => '',1540 'desc' => '排序:2',1541 'id' => 'dean_s',1542 'std' => '2',1543 'class' => 'mini hidden',1544 'type' => 'text'1545 );15461547 $options[] = array(1548 'name' => '',1549 'desc' => '白色背景',1550 'id' => 'bg_2',1551 'std' => '0',1552 'class' => 'hidden',1553 'type' => 'checkbox'1554 );15551556 $options[] = array(1557 'name' => '',1558 'desc' => '文字说明',1559 'id' => 'dean_des',1560 'std' => '服务项目模块',1561 'class' => 'hidden',1562 'type' => 'text'1563 );15641565 $options[] = array(1566 'name' => '标题',1567 'desc' => '自定义标题文字',1568 'id' => 'dean_t',1569 'std' => '服务项目',1570 'class' => 'hidden',1571 'type' => 'text'1572 );15731574 $options[] = array(1575 'name' => '调用内容方法',1576 'id' => 'dean_d',1577 'class' => 'hidden',1578 'desc' => '编辑页面或者文章,在下面表单中输入相关内容',1579 );15801581 $options[] = array(1582 'id' => 'clear'1583 );15841585 $options[] = array(1586 'name' => '产品日志模块',1587 'desc' => '显示',1588 'id' => 'group_products',1589 'std' => '0',1590 'type' => 'checkbox'1591 );15921593 $options[] = array(1594 'name' => '',1595 'desc' => '排序:3',1596 'id' => 'group_products_s',1597 'std' => '3',1598 'class' => 'mini hidden',1599 'type' => 'text'1600 );16011602 $options[] = array(1603 'name' => '',1604 'desc' => '白色背景',1605 'id' => 'bg_3',1606 'std' => '0',1607 'class' => 'hidden',1608 'type' => 'checkbox'1609 );16101611 $options[] = array(1612 'name' => '',1613 'desc' => '自定义标题文字',1614 'id' => 'group_products_t',1615 'std' => '主要产品',1616 'class' => 'hidden',1617 'type' => 'text'1618 );16191620 $options[] = array(1621 'name' => '',1622 'desc' => '文字说明',1623 'id' => 'group_products_des',1624 'std' => '产品日志模块',1625 'class' => 'hidden',1626 'type' => 'text'1627 );16281629 $options[] = array(1630 'name' => '选择产品日志分类',1631 'desc' => '输入分类ID,多个分类用英文半角逗号","隔开',1632 'id' => 'group_products_id',1633 'std' => '',1634 'class' => 'hidden',1635 'type' => 'text'1636 );16371638 $options[] = array(1639 'name' => '产品分类ID对照',1640 'desc' => '<ul>'.$catpr_id.'</ul>',1641 'id' => 'catids',1642 'class' => 'gpr-catid hidden',1643 'type' => 'info'1644 );16451646 $options[] = array(1647 'name' => '',1648 'desc' => '显示篇数',1649 'id' => 'group_products_n',1650 'std' => '4',1651 'class' => 'hidden',1652 'type' => 'text'1653 );16541655 $options[] = array(1656 'name' => '',1657 'desc' => '输入更多按钮链接地址,留空则不显示',1658 'id' => 'group_products_url',1659 'placeholder' => '',1660 'class' => 'hidden',1661 'type' => 'text'1662 );16631664 $options[] = array(1665 'id' => 'clear'1666 );16671668 $options[] = array(1669 'name' => '服务宗旨',1670 'desc' => '显示',1671 'id' => 'service',1672 'std' => '0',1673 'type' => 'checkbox'1674 );16751676 $options[] = array(1677 'name' => '',1678 'desc' => '排序:4',1679 'id' => 'service_s',1680 'std' => '4',1681 'class' => 'mini hidden',1682 'type' => 'text'1683 );16841685 $options[] = array(1686 'name' => '',1687 'desc' => '白色背景',1688 'id' => 'bg_4',1689 'std' => '0',1690 'class' => 'hidden',1691 'type' => 'checkbox'1692 );16931694 $options[] = array(1695 'name' => '',1696 'desc' => '文字说明',1697 'id' => 'service_des',1698 'std' => '服务宗旨模块',1699 'class' => 'hidden',1700 'type' => 'text'1701 );17021703 $options[] = array(1704 'name' => '标题',1705 'desc' => '自定义标题文字',1706 'id' => 'service_t',1707 'std' => '服务宗旨',1708 'class' => 'hidden',1709 'type' => 'text'1710 );17111712 $options[] = array(1713 'name' => '',1714 'desc' => '输入左侧模块文章或页面ID,多个分类用英文半角逗号","隔开',1715 'id' => 'service_l_id',1716 'std' => '1,2',1717 'class' => 'hidden',1718 'type' => 'text'1719 );17201721 $options[] = array(1722 'name' => '',1723 'desc' => '输入右侧模块文章或页面ID,多个分类用英文半角逗号","隔开',1724 'id' => 'service_r_id',1725 'std' => '1,2',1726 'class' => 'hidden',1727 'type' => 'text'1728 );17291730 $options[] = array(1731 'name' => '',1732 'desc' => '输入中间模块文章或页面ID',1733 'id' => 'service_c_id',1734 'std' => '1',1735 'class' => 'hidden',1736 'type' => 'text'1737 );17381739 $options[] = array(1740 'name' => '',1741 'desc' => '输入中间模块图片地址',1742 'id' => 'service_c_img',1743 'std' => 'http://wx3.sinaimg.cn/large/0066LGKLly1fgcbh8r7rcj31hc0dwtr7.jpg',1744 'class' => 'hidden',1745 'type' => 'text'1746 );17471748 $options[] = array(1749 'id' => 'clear'1750 );17511752 if (function_exists( 'is_shop' )) {1753 $options[] = array(1754 'name' => 'WOO产品',1755 'desc' => '显示,需要安装商城插件 WooCommerce 并发表产品',1756 'id' => 'g_product',1757 'std' => '0',1758 'type' => 'checkbox'1759 );17601761 $options[] = array(1762 'name' => '',1763 'desc' => '排序:5',1764 'id' => 'g_product_s',1765 'std' => '5',1766 'class' => 'mini hidden',1767 'type' => 'text'1768 );17691770 $options[] = array(1771 'name' => '',1772 'desc' => '白色背景',1773 'id' => 'bg_5',1774 'std' => '0',1775 'class' => 'hidden',1776 'type' => 'checkbox'1777 );17781779 $options[] = array(1780 'name' => '',1781 'desc' => '自定义标题文字',1782 'id' => 'g_product_t',1783 'std' => 'WOO产品',1784 'class' => 'hidden',1785 'type' => 'text'1786 );17871788 $options[] = array(1789 'name' => '',1790 'desc' => '文字说明',1791 'id' => 'g_product_des',1792 'std' => 'WOO产品模块',1793 'class' => 'hidden',1794 'type' => 'text'1795 );17961797 $options[] = array(1798 'name' => '选择产品分类',1799 'desc' => '输入分类ID,多个分类用英文半角逗号","隔开',1800 'id' => 'g_product_id',1801 'std' => '',1802 'class' => 'hidden',1803 'type' => 'text'1804 );18051806 $options[] = array(1807 'name' => '产品分类ID对照',1808 'desc' => '<ul>'.$catr_id.'</ul>',1809 'id' => 'catids',1810 'class' => 'grwoo-catid hidden',1811 'type' => 'info'1812 );18131814 $options[] = array(1815 'name' => '',1816 'desc' => '产品商品显示数量',1817 'id' => 'g_product_n',1818 'std' => '4',1819 'class' => 'hidden',1820 'type' => 'text'1821 );18221823 $options[] = array(1824 'name' => '',1825 'desc' => '输入更多按钮链接地址,留空则不显示',1826 'id' => 'g_product_url',1827 'placeholder' => '',1828 'class' => 'hidden',1829 'type' => 'text'1830 );18311832 $options[] = array(1833 'id' => 'clear'1834 );1835 }18361837 $options[] = array(1838 'name' => '简介',1839 'desc' => '显示',1840 'id' => 'group_features',1841 'std' => '0',1842 'type' => 'checkbox'1843 );18441845 $options[] = array(1846 'name' => '',1847 'desc' => '排序:6',1848 'id' => 'group_features_s',1849 'std' => '6',1850 'class' => 'mini hidden',1851 'type' => 'text'1852 );18531854 $options[] = array(1855 'name' => '',1856 'desc' => '白色背景',1857 'id' => 'bg_6',1858 'std' => '0',1859 'class' => 'hidden',1860 'type' => 'checkbox'1861 );18621863 $options[] = array(1864 'name' => '',1865 'desc' => '自定义标题文字',1866 'id' => 'features_t',1867 'std' => '本站简介',1868 'class' => 'hidden',1869 'type' => 'text'1870 );18711872 $options[] = array(1873 'name' => '',1874 'desc' => '文字说明',1875 'id' => 'features_des',1876 'std' => '公司简介模块',1877 'class' => 'hidden',1878 'type' => 'text'1879 );18801881 if ( $options_categories ) {1882 $options[] = array(1883 'name' => '',1884 'desc' => '选择一个分类',1885 'id' => 'features_id',1886 'class' => 'hidden',1887 'type' => 'select',1888 'options' => $options_categories);1889 }18901891 $options[] = array(1892 'name' => '',1893 'desc' => '显示篇数',1894 'id' => 'features_n',1895 'std' => '4',1896 'class' => 'hidden',1897 'type' => 'text'1898 );18991900 $options[] = array(1901 'name' => '',1902 'desc' => '输入更多按钮链接地址,留空则不显示',1903 'id' => 'features_url',1904 'placeholder' => '',1905 'class' => 'hidden',1906 'type' => 'text'1907 );19081909 $options[] = array(1910 'id' => 'clear'1911 );19121913 $options[] = array(1914 'name' => '分类左图',1915 'desc' => '显示',1916 'id' => 'group_wd_l',1917 'std' => '0',1918 'type' => 'checkbox'1919 );19201921 $options[] = array(1922 'name' => '',1923 'desc' => '排序:7',1924 'id' => 'group_wd_l_s',1925 'std' => '7',1926 'class' => 'mini hidden',1927 'type' => 'text'1928 );19291930 $options[] = array(1931 'name' => '',1932 'desc' => '白色背景',1933 'id' => 'bg_7',1934 'std' => '0',1935 'class' => 'hidden',1936 'type' => 'checkbox'1937 );19381939 $options[] = array(1940 'name' => '',1941 'desc' => '输入分类ID,多个分类用英文半角逗号","隔开',1942 'id' => 'group_wd_l_id',1943 'std' => '2',1944 'class' => 'hidden',1945 'type' => 'text'1946 );19471948 $options[] = array(1949 'name' => '',1950 'desc' => '显示篇数',1951 'id' => 'group_wd_l_id_n',1952 'std' => '5',1953 'class' => 'hidden',1954 'type' => 'text'1955 );19561957 $options[] = array(1958 'name' => '分类ID对照',1959 'desc' => '<ul>'.$cats_id.'</ul>',1960 'id' => 'catids',1961 'class' => 'wl-catid hidden',1962 'type' => 'info'1963 );19641965 $options[] = array(1966 'id' => 'clear'1967 );196819691970 $options[] = array(1971 'name' => '分类右图',1972 'desc' => '显示',1973 'id' => 'group_wd_r',1974 'std' => '0',1975 'type' => 'checkbox'1976 );19771978 $options[] = array(1979 'name' => '',1980 'desc' => '排序:8',1981 'id' => 'group_wd_r_s',1982 'std' => '8',1983 'class' => 'mini hidden',1984 'type' => 'text'1985 );19861987 $options[] = array(1988 'name' => '',1989 'desc' => '白色背景',1990 'id' => 'bg_8',1991 'std' => '0',1992 'class' => 'hidden',1993 'type' => 'checkbox'1994 );19951996 $options[] = array(1997 'name' => '',1998 'desc' => '输入分类ID,多个分类用英文半角逗号","隔开',1999 'id' => 'group_wd_r_id',2000 'std' => '2',2001 'class' => 'hidden',2002 'type' => 'text'2003 );20042005 $options[] = array(2006 'name' => '',2007 'desc' => '显示篇数',2008 'id' => 'group_wd_r_id_n',2009 'std' => '5',2010 'class' => 'hidden',2011 'type' => 'text'2012 );20132014 $options[] = array(2015 'name' => '分类ID对照',2016 'desc' => '<ul>'.$cats_id.'</ul>',2017 'id' => 'catids',2018 'class' => 'wr-catid hidden',2019 'type' => 'info'2020 );20212022 $options[] = array(2023 'id' => 'clear'2024 );20252026 $options[] = array(2027 'name' => '说明',2028 'desc' => '显示',2029 'id' => 'group_explain',2030 'std' => '0',2031 'type' => 'checkbox'2032 );20332034 $options[] = array(2035 'name' => '',2036 'desc' => '排序:9',2037 'id' => 'group_explain_s',2038 'std' => '9',2039 'class' => 'mini hidden',2040 'type' => 'text'2041 );20422043 $options[] = array(2044 'name' => '',2045 'desc' => '白色背景',2046 'id' => 'bg_9',2047 'std' => '0',2048 'class' => 'hidden',2049 'type' => 'checkbox'2050 );20512052 $options[] = array(2053 'name' => '',2054 'desc' => '自定义标题文字',2055 'id' => 'group_explain_t',2056 'std' => '公司说明',2057 'class' => 'hidden',2058 'type' => 'text'2059 );20602061 $options[] = array(2062 'name' => '',2063 'desc' => '选择简介页面',2064 'id' => 'explain_p',2065 'type' => 'select',2066 'class' => 'mini hidden',2067 'options' => $options_pages2068 );20692070 $options[] = array(2071 'id' => 'clear'2072 );20732074 $options[] = array(2075 'name' => '一栏小工具',2076 'desc' => '显示',2077 'id' => 'group_widget_one',2078 'std' => '0',2079 'type' => 'checkbox'2080 );20812082 $options[] = array(2083 'name' => '',2084 'desc' => '排序:10',2085 'id' => 'group_widget_one_s',2086 'std' => '10',2087 'class' => 'mini hidden',2088 'type' => 'text'2089 );20902091 $options[] = array(2092 'name' => '',2093 'desc' => '白色背景',2094 'id' => 'bg_10',2095 'std' => '0',2096 'class' => 'hidden',2097 'type' => 'checkbox'2098 );20992100 $options[] = array(2101 'id' => 'clear'2102 );21032104 $options[] = array(2105 'name' => '最新文章',2106 'desc' => '显示',2107 'id' => 'group_new',2108 'std' => '1',2109 'type' => 'checkbox'2110 );21112112 $options[] = array(2113 'name' => '',2114 'desc' => '排序:11',2115 'id' => 'group_new_s',2116 'std' => '11',2117 'class' => 'mini hidden',2118 'type' => 'text'2119 );21202121 $options[] = array(2122 'name' => '',2123 'desc' => '白色背景',2124 'id' => 'bg_11',2125 'std' => '0',2126 'class' => 'hidden',2127 'type' => 'checkbox'2128 );21292130 $options[] = array(2131 'name' => '标题',2132 'desc' => '自定义标题文字',2133 'id' => 'group_new_t',2134 'std' => '最新文章',2135 'class' => 'hidden',2136 'type' => 'text'2137 );21382139 $options[] = array(2140 'name' => '',2141 'desc' => '文字说明',2142 'id' => 'group_new_des',2143 'std' => '这里是本站最新发表的文章',2144 'class' => 'hidden',2145 'type' => 'text'2146 );21472148 $options[] = array(2149 'name' => '',2150 'desc' => '最新文章显示篇数',2151 'id' => 'group_new_n',2152 'std' => '4',2153 'class' => 'hidden',2154 'type' => 'text'2155 );21562157 $options[] = array(2158 'name' => '',2159 'desc' => '输入排除的分类ID,多个分类用英文半角逗号","隔开',2160 'id' => 'not_group_new',2161 'std' => '',2162 'class' => 'hidden',2163 'type' => 'textarea'2164 );21652166 $options[] = array(2167 'name' => '分类ID对照',2168 'desc' => '<ul>'.$cats_id.'</ul>',2169 'id' => 'catids',2170 'class' => 'grne-catid hidden',2171 'type' => 'info'2172 );21732174 $options[] = array(2175 'id' => 'clear'2176 );2177 if (function_exists( 'edd_get_actions' )) {2178 $options[] = array(2179 'name' => 'EDD下载',2180 'desc' => '显示',2181 'id' => 'group_edd',2182 'std' => '0',2183 'type' => 'checkbox'2184 );21852186 $options[] = array(2187 'name' => '',2188 'desc' => '排序:12',2189 'id' => 'group_edd_s',2190 'std' => '12',2191 'class' => 'mini hidden',2192 'type' => 'text'2193 );21942195 $options[] = array(2196 'name' => '',2197 'desc' => '白色背景',2198 'id' => 'bg_12',2199 'std' => '0',2200 'class' => 'hidden',2201 'type' => 'checkbox'2202 );22032204 $options[] = array(2205 'name' => '',2206 'desc' => '请到杂志布局EDD下载模块中设置',2207 'id' => 'group_edd_o',2208 'class' => 'hidden'2209 );22102211 $options[] = array(2212 'id' => 'clear'2213 );2214 }2215 $options[] = array(2216 'name' => '三栏小工具',2217 'desc' => '显示',2218 'id' => 'group_widget_three',2219 'std' => '0',2220 'type' => 'checkbox'2221 );22222223 $options[] = array(2224 'name' => '',2225 'desc' => '排序:13',2226 'id' => 'group_widget_three_s',2227 'std' => '13',2228 'class' => 'mini hidden',2229 'type' => 'text'2230 );22312232 $options[] = array(2233 'name' => '',2234 'desc' => '白色背景',2235 'id' => 'bg_13',2236 'std' => '0',2237 'class' => 'hidden',2238 'type' => 'checkbox'2239 );22402241 $options[] = array(2242 'id' => 'clear'2243 );22442245 $options[] = array(2246 'name' => '新闻资讯A',2247 'desc' => '显示',2248 'id' => 'group_cat_a',2249 'std' => '0',2250 'type' => 'checkbox'2251 );22522253 $options[] = array(2254 'name' => '',2255 'desc' => '排序:14',2256 'id' => 'group_cat_a_s',2257 'std' => '14',2258 'class' => 'mini hidden',2259 'type' => 'text'2260 );22612262 $options[] = array(2263 'name' => '',2264 'desc' => '白色背景',2265 'id' => 'bg_14',2266 'std' => '0',2267 'class' => 'hidden',2268 'type' => 'checkbox'2269 );22702271 $options[] = array(2272 'name' => '',2273 'desc' => '输入分类ID,多个分类用英文半角逗号","隔开',2274 'id' => 'group_cat_a_id',2275 'std' => '1,2',2276 'class' => 'hidden',2277 'type' => 'text'2278 );22792280 $options[] = array(2281 'name' => '',2282 'desc' => '第一篇调用分类置顶文章',2283 'id' => 'group_cat_a_top',2284 'std' => '0',2285 'class' => 'hidden',2286 'type' => 'checkbox'2287 );22882289 $options[] = array(2290 'name' => '',2291 'desc' => '显示篇数',2292 'id' => 'group_cat_a_n',2293 'std' => '4',2294 'class' => 'hidden',2295 'type' => 'text'2296 );22972298 $options[] = array(2299 'name' => '分类ID对照',2300 'desc' => '<ul>'.$cats_id.'</ul>',2301 'id' => 'catids',2302 'class' => 'grcata-catid hidden',2303 'type' => 'info'2304 );23052306 $options[] = array(2307 'id' => 'clear'2308 );23092310 $options[] = array(2311 'name' => '两栏小工具',2312 'desc' => '显示',2313 'id' => 'group_widget_two',2314 'std' => '0',2315 'type' => 'checkbox'2316 );23172318 $options[] = array(2319 'name' => '',2320 'desc' => '排序:15',2321 'id' => 'group_widget_two_s',2322 'std' => '15',2323 'class' => 'mini hidden',2324 'type' => 'text'2325 );23262327 $options[] = array(2328 'name' => '',2329 'desc' => '白色背景',2330 'id' => 'bg_15',2331 'std' => '0',2332 'class' => 'hidden',2333 'type' => 'checkbox'2334 );23352336 $options[] = array(2337 'id' => 'clear'2338 );23392340 $options[] = array(2341 'name' => '新闻资讯B',2342 'desc' => '显示',2343 'id' => 'group_cat_b',2344 'std' => '0',2345 'type' => 'checkbox'2346 );23472348 $options[] = array(2349 'name' => '',2350 'desc' => '排序:16',2351 'id' => 'group_cat_b_s',2352 'std' => '16',2353 'class' => 'mini hidden',2354 'type' => 'text'2355 );23562357 $options[] = array(2358 'name' => '',2359 'desc' => '白色背景',2360 'id' => 'bg_16',2361 'std' => '0',2362 'class' => 'hidden',2363 'type' => 'checkbox'2364 );23652366 $options[] = array(2367 'name' => '',2368 'desc' => '输入分类ID,多个分类用英文半角逗号","隔开',2369 'id' => 'group_cat_b_id',2370 'std' => '1,2',2371 'class' => 'hidden',2372 'type' => 'text'2373 );23742375 $options[] = array(2376 'name' => '',2377 'desc' => '第一篇调用分类置顶文章',2378 'id' => 'group_cat_b_top',2379 'std' => '0',2380 'class' => 'hidden',2381 'type' => 'checkbox'2382 );23832384 $options[] = array(2385 'name' => '',2386 'desc' => '显示篇数',2387 'id' => 'group_cat_b_n',2388 'std' => '4',2389 'class' => 'hidden',2390 'type' => 'text'2391 );23922393 $options[] = array(2394 'name' => '分类ID对照',2395 'desc' => '<ul>'.$cats_id.'</ul>',2396 'id' => 'catids',2397 'class' => 'grcatb-catid hidden',2398 'type' => 'info'2399 );24002401 $options[] = array(2402 'id' => 'clear'2403 );24042405 $options[] = array(2406 'name' => '产品案例',2407 'desc' => '显示',2408 'id' => 'group_tab',2409 'std' => '0',2410 'type' => 'checkbox'2411 );24122413 $options[] = array(2414 'name' => '',2415 'desc' => '排序:17',2416 'id' => 'group_tab_s',2417 'std' => '17',2418 'class' => 'mini hidden',2419 'type' => 'text'2420 );24212422 $options[] = array(2423 'name' => '',2424 'desc' => '白色背景',2425 'id' => 'bg_17',2426 'std' => '0',2427 'class' => 'hidden',2428 'type' => 'checkbox'2429 );24302431 $options[] = array(2432 'name' => '案例',2433 'desc' => '自定义案例标题文字',2434 'id' => 'anli_t',2435 'std' => '客户案例',2436 'class' => 'hidden',2437 'type' => 'text'2438 );24392440 if ( $options_categories ) {2441 $options[] = array(2442 'name' => '',2443 'desc' => '选择一个分类',2444 'id' => 'anli_id',2445 'type' => 'select',2446 'class' => 'hidden',2447 'options' => $options_categories);2448 }24492450 $options[] = array(2451 'name' => '产品',2452 'desc' => '自定义产品标题文字',2453 'id' => 'cp_t',2454 'std' => '产品中心',2455 'class' => 'hidden',2456 'type' => 'text'2457 );24582459 if ( $options_categories ) {2460 $options[] = array(2461 'name' => '',2462 'desc' => '选择一个分类',2463 'id' => 'cp_id',2464 'type' => 'select',2465 'class' => 'hidden',2466 'options' => $options_categories);2467 }24682469 $options[] = array(2470 'name' => '设备',2471 'desc' => '自定义设备标题文字',2472 'id' => 'sb_t',2473 'std' => '生产设备',2474 'class' => 'hidden',2475 'type' => 'text'2476 );24772478 if ( $options_categories ) {2479 $options[] = array(2480 'name' => '',2481 'desc' => '选择一个分类',2482 'id' => 'sb_id',2483 'type' => 'select',2484 'class' => 'hidden',2485 'options' => $options_categories);2486 }24872488 $options[] = array(2489 'name' => '',2490 'desc' => '显示篇数',2491 'id' => 'group_tab_n',2492 'std' => '8',2493 'class' => 'mini hidden',2494 'type' => 'text'2495 );24962497 $options[] = array(2498 'id' => 'clear'2499 );25002501 $options[] = array(2502 'name' => '新闻资讯C',2503 'desc' => '显示',2504 'id' => 'group_cat_c',2505 'std' => '0',2506 'type' => 'checkbox'2507 );25082509 $options[] = array(2510 'name' => '',2511 'desc' => '排序:18',2512 'id' => 'group_cat_c_s',2513 'std' => '18',2514 'class' => 'mini hidden',2515 'type' => 'text'2516 );25172518 $options[] = array(2519 'name' => '',2520 'desc' => '白色背景',2521 'id' => 'bg_18',2522 'std' => '0',2523 'class' => 'hidden',2524 'type' => 'checkbox'2525 );25262527 $options[] = array(2528 'name' => '',2529 'desc' => '输入分类ID,多个分类用英文半角逗号","隔开',2530 'id' => 'group_cat_c_id',2531 'std' => '1,2',2532 'class' => 'hidden',2533 'type' => 'text'2534 );25352536 $options[] = array(2537 'name' => '',2538 'desc' => '第一篇调用分类置顶文章',2539 'id' => 'group_cat_c_top',2540 'std' => '0',2541 'class' => 'hidden',2542 'type' => 'checkbox'2543 );25442545 $options[] = array(2546 'name' => '',2547 'desc' => '显示篇数',2548 'id' => 'group_cat_c_n',2549 'std' => '4',2550 'class' => 'hidden',2551 'type' => 'text'2552 );25532554 $options[] = array(2555 'name' => '分类ID对照',2556 'desc' => '<ul>'.$cats_id.'</ul>',2557 'id' => 'catids',2558 'class' => 'grcatc-catid hidden',2559 'type' => 'info'2560 );25612562 $options[] = array(2563 'id' => 'clear'2564 );25652566 $options[] = array(2567 'name' => '热门推荐',2568 'desc' => '显示',2569 'id' => 'group_carousel',2570 'std' => '0',2571 'type' => 'checkbox'2572 );25732574 $options[] = array(2575 'name' => '标题',2576 'desc' => '自定义标题文字',2577 'id' => 'group_carousel_t',2578 'std' => '热门推荐',2579 'class' => 'hidden',2580 'type' => 'text'2581 );25822583 $options[] = array(2584 'name' => '',2585 'desc' => '文字说明',2586 'id' => 'carousel_des',2587 'std' => '文字说明文字说明文字说明文字说明文字说明文字说明',2588 'class' => 'hidden',2589 'type' => 'text'2590 );25912592 if ( $options_categories ) {2593 $options[] = array(2594 'name' => '',2595 'desc' => '选择一个分类',2596 'id' => 'group_carousel_id',2597 'type' => 'select',2598 'class' => 'hidden',2599 'options' => $options_categories);2600 }26012602 $options[] = array(2603 'name' => '',2604 'desc' => '调用图片日志',2605 'id' => 'group_gallery',2606 'std' => '0',2607 'class' => 'hidden',2608 'type' => 'checkbox'2609 );26102611 $options[] = array(2612 'name' => '图片日志分类',2613 'desc' => '输入分类ID,多个分类用英文半角逗号","隔开',2614 'id' => 'group_gallery_id',2615 'std' => '',2616 'class' => 'hidden',2617 'type' => 'text'2618 );26192620 $options[] = array(2621 'name' => '图片分类ID对照',2622 'desc' => '<ul>'.$catp_id.'</ul>',2623 'id' => 'catids',2624 'class' => 'grim-catid hidden',2625 'type' => 'info'2626 );26272628 $options[] = array(2629 'name' => '',2630 'desc' => '显示篇数',2631 'id' => 'carousel_n',2632 'std' => '6',2633 'class' => 'hidden',2634 'type' => 'text'2635 );26362637 $options[] = array(2638 'name' => '背景图片',2639 'desc' => '上传背景图片',2640 'id' => 'group_carousel_img',2641 'class' => 'hidden',2642 "std" => "http://wx4.sinaimg.cn/large/0066LGKLly1fgbupqu5utj31hc0dwdgt.jpg",2643 'type' => 'upload'2644 );26452646 // 基本设置26472648 $options[] = array(2649 'name' => '基本设置',2650 'type' => 'heading'2651 );26522653 $options[] = array(2654 'name' => '管理站点',2655 'desc' => '显示管理站点',2656 'id' => 'profile',2657 'std' => '1',2658 'type' => 'checkbox'2659 );26602661 $options[] = array(2662 'name' => '',2663 'desc' => '显示登录按钮',2664 'id' => 'login',2665 'class' => 'hidden',2666 'std' => '1',2667 'type' => 'checkbox'2668 );26692670 $options[] = array(2671 'name' => '',2672 'desc' => '显示找回密码',2673 'id' => 'reset_pass',2674 'class' => 'hidden',2675 'std' => '1',2676 'type' => 'checkbox'2677 );26782679 $options[] = array(2680 'name' => '',2681 'desc' => '使用默认登录页面',2682 'id' => 'user_l',2683 'class' => 'hidden',2684 'std' => '0',2685 'type' => 'checkbox'2686 );26872688 $options[] = array(2689 'name' => '顶部欢迎语',2690 'desc' => '',2691 'id' => 'wel_come',2692 'class' => 'hidden',2693 'std' => '欢迎光临!',2694 'type' => 'text'2695 );26962697 $options[] = array(2698 'name' => '注册按钮',2699 'desc' => '输入注册页面地址,留空则显示欢迎语',2700 'id' => 'reg_url',2701 'class' => 'hidden',2702 'placeholder' => '',2703 'type' => 'text'2704 );27052706 $options[] = array(2707 'id' => 'clear'2708 );27092710 $options[] = array(2711 'name' => '用户中心',2712 'desc' => '选择用户中心页面',2713 'id' => 'user_url',2714 'type' => 'select',2715 'class' => 'mini',2716 'options' => $options_pages2717 );27182719 if (function_exists( 'fep_get_plugin_caps' )) {2720 $options[] = array(2721 'name' => '站内信息',2722 'desc' => '选择站内信页面',2723 'id' => 'front_end_pm',2724 'type' => 'select',2725 'class' => 'mini',2726 'options' => $options_pages2727 );2728 }27292730 $options[] = array(2731 'name' => '用户投稿',2732 'desc' => '选择投稿页面,新建页面添加短代码 [fep_submission_form]',2733 'id' => 'tou_url',2734 'type' => 'select',2735 'class' => 'mini',2736 'options' => $options_pages2737 );27382739 $options[] = array(2740 'name' => '用户中心背景图片',2741 'desc' => '上传背景图片',2742 'id' => 'personal_img',2743 "std" => "http://wx1.sinaimg.cn/large/0066LGKLly1fdbs52ifvrj30p00500su.jpg",2744 'type' => 'upload'2745 );27462747 $options[] = array(2748 'name' => '',2749 'desc' => '非管理员不显示站点管理',2750 'id' => 'no_admin',2751 'std' => '0',2752 'type' => 'checkbox'2753 );27542755 $options[] = array(2756 'id' => 'clear'2757 );27582759 $options[] = array(2760 'name' => '修改默认登录链接',2761 'desc' => '启用',2762 'id' => 'login_link',2763 'std' => '0',2764 'type' => 'checkbox'2765 );27662767 $options[] = array(2768 'desc' => '前缀',2769 'id' => 'pass_h',2770 'std' => 'my',2771 'type' => 'text'2772 );27732774 $options[] = array(2775 'desc' => '后缀',2776 'id' => 'word_q',2777 'std' => 'the',2778 'type' => 'text'2779 );27802781 $options[] = array(2782 'desc' => '跳转网址',2783 'id' => 'go_link',2784 'std' => '链接地址',2785 'type' => 'text'2786 );27872788 $options[] = array(2789 'name' => '',2790 'desc' => '登录地址:http://域名/wp-login.php?my=the',2791 'id' => 'login_s'2792 );27932794 $options[] = array(2795 'id' => 'clear'2796 );27972798 $options[] = array(2799 'name' => '移动端导航菜单',2800 'desc' => '启用单独移动端导航菜单',2801 'id' => 'm_nav',2802 'std' => '0',2803 'type' => 'checkbox'2804 );28052806 $options[] = array(2807 'id' => 'clear'2808 );28092810 $options[] = array(2811 'name' => '',2812 'desc' => '在移动设备上显示登录按钮',2813 'id' => 'mobile_login',2814 'std' => '1',2815 'type' => 'checkbox'2816 );28172818 $options[] = array(2819 'id' => 'clear'2820 );28212822 $options[] = array(2823 'name' => '',2824 'desc' => '移动端导航按钮链接到页面',2825 'id' => 'nav_no',2826 'std' => '0',2827 'type' => 'checkbox'2828 );28292830 $options[] = array(2831 'name' => '',2832 'desc' => '选择页面',2833 'id' => 'nav_url',2834 'type' => 'select',2835 'class' => 'mini',2836 'options' => $options_pages2837 );28382839 $options[] = array(2840 'id' => 'clear'2841 );28422843 $options[] = array(2844 'name' => '默认搜索设置',2845 'desc' => '使用',2846 'id' => 'wp_s',2847 'std' => '1',2848 'type' => 'checkbox'2849 );28502851 $options[] = array(2852 'name' => '',2853 'desc' => '选择分类搜索',2854 'id' => 'search_cat',2855 'class' => 'hidden',2856 'std' => '1',2857 'type' => 'checkbox'2858 );28592860 $options[] = array(2861 'name' => '',2862 'desc' => '只搜索标题',2863 'id' => 'search_title',2864 'class' => 'hidden',2865 'std' => '0',2866 'type' => 'checkbox'2867 );28682869 $options[] = array(2870 'name' => '',2871 'desc' => '排除的分类',2872 'id' => 'not_search_cat',2873 'class' => 'hidden',2874 'std' => '',2875 'type' => 'text'2876 );28772878 $options[] = array(2879 'id' => 'clear'2880 );28812882 $options[] = array(2883 'name' => '百度站内搜索',2884 'desc' => '使用百度站内搜索',2885 'id' => 'baidu_s',2886 'std' => '0',2887 'type' => 'checkbox'2888 );28892890 $options[] = array(2891 'name' => '',2892 'desc' => '输入百度站内搜索ID',2893 'id' => 'baidu_id',2894 'class' => 'hidden',2895 'std' => '2817554795023086482',2896 'type' => 'text'2897 );28982899 $options[] = array(2900 'name' => '',2901 'desc' => '选择百度搜索结果页面',2902 'id' => 'baidu_url',2903 'type' => 'select',2904 'class' => 'mini hidden',2905 'options' => $options_pages2906 );29072908 $options[] = array(2909 'id' => 'clear'2910 );29112912 $options[] = array(2913 'name' => '文章列表截断字数',2914 'desc' => '自动截断字数,默认值:100',2915 'id' => 'words_n',2916 'std' => '100',2917 'class' => 'mini',2918 'type' => 'text'2919 );29202921 $options[] = array(2922 'name' => '',2923 'desc' => '摘要截断字数,默认值:90',2924 'id' => 'word_n',2925 'std' => '90',2926 'class' => 'mini',2927 'type' => 'text'2928 );29292930 $options[] = array(2931 'id' => 'clear'2932 );29332934 $options[] = array(2935 'name' => '缩略图方式',2936 'id' => 'img_way',2937 'std' => 'd_img',2938 'type' => 'radio',2939 'options' => array(2940 'd_img' => '默认缩略图',2941 'q_img' => '七牛缩略图(测试版)',2942 )2943 );29442945 $options[] = array(2946 'id' => 'clear'2947 );29482949 $options[] = array(2950 'name' => '缩略图自动裁剪设置',2951 'id' => 'c_img',2952 );29532954 $options[] = array(2955 'desc' => '缩略裁剪位置',2956 'id' => 'img_crop',2957 );29582959 $options[] = array(2960 'name' => '',2961 'desc' => '',2962 'id' => 'crop_top',2963 'std' => '',2964 'type' => 'radio',2965 'options' => $test_array2966 );29672968 $options[] = array(2969 'desc' => '标准缩略图',2970 'id' => 'img_c',2971 );29722973 $options[] = array(2974 'desc' => '宽 默认 280',2975 'id' => 'img_w',2976 'std' => '280',2977 'type' => 'text'2978 );29792980 $options[] = array(2981 'desc' => '高 默认 210',2982 'id' => 'img_h',2983 'std' => '210',2984 'type' => 'text'2985 );29862987 $options[] = array(2988 'desc' => '分类模块缩略图',2989 'id' => 'img_c',2990 );29912992 $options[] = array(2993 'desc' => '宽 默认 530',2994 'id' => 'img_k_w',2995 'std' => '530',2996 'type' => 'text'2997 );29982999 $options[] = array(3000 'desc' => '高 默认 200',3001 'id' => 'img_k_h',3002 'std' => '200',3003 'type' => 'text'3004 );30053006 $options[] = array(3007 'desc' => '图片布局缩略图',3008 'id' => 'img_c',3009 );30103011 $options[] = array(3012 'desc' => '宽 默认 280',3013 'id' => 'grid_w',3014 'std' => '280',3015 'type' => 'text'3016 );30173018 $options[] = array(3019 'desc' => '高 默认 210',3020 'id' => 'grid_h',3021 'std' => '210',3022 'type' => 'text'3023 );30243025 $options[] = array(3026 'desc' => '图片缩略图',3027 'id' => 'img_c',3028 );30293030 $options[] = array(3031 'desc' => '宽 默认 280',3032 'id' => 'img_i_w',3033 'std' => '280',3034 'type' => 'text'3035 );30363037 $options[] = array(3038 'desc' => '高 默认 210',3039 'id' => 'img_i_h',3040 'std' => '210',3041 'type' => 'text'3042 );30433044 $options[] = array(3045 'desc' => '视频缩略图',3046 'id' => 'img_c',3047 );30483049 $options[] = array(3050 'desc' => '宽 默认 280',3051 'id' => 'img_v_w',3052 'std' => '280',3053 'type' => 'text'3054 );30553056 $options[] = array(3057 'desc' => '高 默认 210',3058 'id' => 'img_v_h',3059 'std' => '210',3060 'type' => 'text'3061 );30623063 $options[] = array(3064 'desc' => '商品缩略图',3065 'id' => 'img_c',3066 );30673068 $options[] = array(3069 'desc' => '宽 默认 400',3070 'id' => 'img_t_w',3071 'std' => '400',3072 'type' => 'text'3073 );30743075 $options[] = array(3076 'desc' => '高 默认 400',3077 'id' => 'img_t_h',3078 'std' => '400',3079 'type' => 'text'3080 );30813082 $options[] = array(3083 'id' => 'clear'3084 );30853086 $options[] = array(3087 'name' => '限制文章列表缩略图',3088 'desc' => '缩略图最大宽度,默认值:200',3089 'id' => 'thumbnail_width',3090 'std' => '',3091 'type' => 'text'3092 );30933094 $options[] = array(3095 'name' => '',3096 'desc' => '调整信息位置,默认距左:240',3097 'id' => 'meta_left',3098 'std' => '',3099 'type' => 'text'3100 );31013102 $options[] = array(3103 'id' => 'clear'3104 );31053106 $options[] = array(3107 'name' => '',3108 'desc' => '文章中无图,不显示随机缩略图',3109 'id' => 'no_rand_img',3110 'std' => '1',3111 'type' => 'checkbox'3112 );31133114 $options[] = array(3115 'id' => 'clear'3116 );31173118 $options[] = array(3119 'name' => '',3120 'desc' => '外链图片自动本地化(酌情开启)',3121 'id' => 'save_image',3122 'std' => '0',3123 'type' => 'checkbox'3124 );31253126 $options[] = array(3127 'id' => 'clear'3128 );31293130 $options[] = array(3131 'name' => '',3132 'desc' => '启用特色图像,如不使用该功能请不要开启',3133 'id' => 'wp_thumbnails',3134 'std' => '0',3135 'type' => 'checkbox'3136 );31373138 $options[] = array(3139 'id' => 'clear'3140 );31413142 $options[] = array(3143 'name' => '图片延迟加载',3144 'desc' => '启用缩略图延迟加载',3145 'id' => 'lazy_s',3146 'std' => '0',3147 'type' => 'checkbox'3148 );31493150 $options[] = array(3151 'name' => '',3152 'desc' => '启用正文图片延迟加载',3153 'id' => 'lazy_e',3154 'std' => '0',3155 'type' => 'checkbox'3156 );31573158 $options[] = array(3159 'name' => '',3160 'desc' => '启用留言头像延迟加载',3161 'id' => 'lazy_c',3162 'std' => '0',3163 'type' => 'checkbox'3164 );31653166 $options[] = array(3167 'id' => 'clear'3168 );31693170 $options[] = array(3171 'name' => '文章Ajax滚动加载',3172 'desc' => '启用',3173 'id' => 'scroll',3174 'std' => '1',3175 'type' => 'checkbox'3176 );31773178 $options[] = array(3179 'name' => '',3180 'desc' => '滚动加载页数',3181 'id' => 'scroll_n',3182 'std' => '3',3183 'class' => 'mini',3184 'type' => 'text'3185 );31863187 $options[] = array(3188 'id' => 'clear'3189 );31903191 $options[] = array(3192 'name' => '评论Ajax翻页',3193 'desc' => '启用',3194 'id' => 'comment_scroll',3195 'std' => '1',3196 'type' => 'checkbox'3197 );31983199 $options[] = array(3200 'id' => 'clear'3201 );32023203 $options[] = array(3204 'name' => '公告',3205 'desc' => '显示,并代替首页面包屑导航',3206 'id' => 'bulletin',3207 'std' => '0',3208 'type' => 'checkbox'3209 );32103211 $options[] = array(3212 'name' => '',3213 'desc' => '必须输入一个公告分类ID',3214 'id' => 'bulletin_id',3215 'class' => 'hidden',3216 'std' => '',3217 'type' => 'text'3218 );32193220 $options[] = array(3221 'name' => '公告分类ID对照',3222 'desc' => '<ul>'.$catb_id.'</ul>',3223 'class' => 'hidden',3224 'id' => 'catids',3225 'type' => 'info'3226 );32273228 $options[] = array(3229 'name' => '',3230 'desc' => '公告滚动篇数',3231 'id' => 'bulletin_n',3232 'std' => '2',3233 'class' => 'mini hidden',3234 'type' => 'text'3235 );32363237 $options[] = array(3238 'id' => 'clear'3239 );32403241 $options[] = array(3242 'name' => '',3243 'desc' => '自定义阅读全文按钮文字',3244 'id' => 'more_w',3245 'std' => '阅读全文',3246 'type' => 'text'3247 );32483249 $options[] = array(3250 'name' => '',3251 'desc' => '自定义直达链接按钮文字',3252 'id' => 'direct_w',3253 'std' => '直达链接',3254 'type' => 'text'3255 );32563257 $options[] = array(3258 'id' => 'clear'3259 );32603261 $options[] = array(3262 'name' => '',3263 'desc' => '禁止冒充管理员留言',3264 'id' => 'check_admin',3265 'std' => '0',3266 'type' => 'checkbox'3267 );32683269 $options[] = array(3270 'name' => '',3271 'desc' => '管理员名称',3272 'id' => 'admin_name',3273 'class' => 'hidden',3274 'std' => '',3275 'type' => 'text'3276 );32773278 $options[] = array(3279 'name' => '',3280 'desc' => '管理员邮箱',3281 'id' => 'admin_email',3282 'class' => 'hidden',3283 'std' => '',3284 'type' => 'text'3285 );32863287 $options[] = array(3288 'id' => 'clear'3289 );32903291 $options[] = array(3292 'name' => '',3293 'desc' => '文章信息显示在标题下面',3294 'id' => 'meta_b',3295 'std' => '0',3296 'type' => 'checkbox'3297 );32983299 $options[] = array(3300 'id' => 'clear'3301 );33023303 $options[] = array(3304 'name' => '',3305 'desc' => '编辑器增加中文字体',3306 'id' => 'custum_font',3307 'std' => '1',3308 'type' => 'checkbox'3309 );33103311 $options[] = array(3312 'id' => 'clear'3313 );33143315 $options[] = array(3316 'name' => '',3317 'desc' => '显示分类推荐文章',3318 'id' => 'cat_top',3319 'std' => '0',3320 'type' => 'checkbox'3321 );33223323 $options[] = array(3324 'id' => 'clear'3325 );33263327 $options[] = array(3328 'name' => '',3329 'desc' => '显示相同父分类链接',3330 'id' => 'child_cat',3331 'std' => '1',3332 'type' => 'checkbox'3333 );33343335 $options[] = array(3336 'id' => 'clear'3337 );33383339 $options[] = array(3340 'name' => '显示分类图片',3341 'desc' => '注:必须为分类添加“图像描述”',3342 'id' => 'cat_des',3343 'std' => '0',3344 'type' => 'checkbox'3345 );33463347 $options[] = array(3348 'name' => '',3349 'desc' => '显示描述文字',3350 'id' => 'cat_des_p',3351 'std' => '0',3352 'type' => 'checkbox'3353 );33543355 $options[] = array(3356 'id' => 'clear'3357 );33583359 $options[] = array(3360 'name' => '',3361 'desc' => '不显示分类链接中的"category"',3362 'id' => 'no_category',3363 'std' => '0',3364 'type' => 'checkbox'3365 );33663367 $options[] = array(3368 'id' => 'clear'3369 );33703371 $options[] = array(3372 'name' => '',3373 'desc' => '在线视频支持(请禁用Smartideo插件,再勾选启用)',3374 'id' => 'smart_ideo',3375 'std' => '0',3376 'type' => 'checkbox'3377 );33783379 $options[] = array(3380 'id' => 'clear'3381 );33823383 $options[] = array(3384 'name' => '',3385 'desc' => '侧边栏跟随滚动',3386 'id' => 'sidebar_sticky',3387 'std' => '1',3388 'type' => 'checkbox'3389 );33903391 $options[] = array(3392 'id' => 'clear'3393 );33943395 $options[] = array(3396 'name' => '',3397 'desc' => '滚动动画',3398 'id' => 'wow_no',3399 'std' => '0',3400 'type' => 'checkbox'3401 );34023403 $options[] = array(3404 'id' => 'clear'3405 );34063407 $options[] = array(3408 'name' => '',3409 'desc' => '代码高亮显示',3410 'id' => 'highlight',3411 'std' => '1',3412 'type' => 'checkbox'3413 );34143415 $options[] = array(3416 'id' => 'clear'3417 );34183419 $options[] = array(3420 'name' => '',3421 'desc' => '使用标准时间格式',3422 'id' => 'meta_time',3423 'std' => '0',3424 'type' => 'checkbox'3425 );34263427 $options[] = array(3428 'id' => 'clear'3429 );34303431 $options[] = array(3432 'name' => '',3433 'desc' => '四级标题作为文章索引目录',3434 'id' => 'index_c',3435 'std' => '1',3436 'type' => 'checkbox'3437 );34383439 $options[] = array(3440 'id' => 'clear'3441 );34423443 $options[] = array(3444 'name' => '',3445 'desc' => '外链接(包括评论者链接)添加自动跳转',3446 'id' => 'link_to',3447 'std' => '1',3448 'type' => 'checkbox'3449 );34503451 $options[] = array(3452 'id' => 'clear'3453 );34543455 $options[] = array(3456 'name' => '',3457 'desc' => '禁用xmlrpc',3458 'id' => 'xmlrpc_no',3459 'std' => '0',3460 'type' => 'checkbox'3461 );34623463 $options[] = array(3464 'id' => 'clear'3465 );34663467 $options[] = array(3468 'name' => '',3469 'desc' => '禁用文章修订',3470 'id' => 'revisions_no',3471 'std' => '0',3472 'type' => 'checkbox'3473 );34743475 $options[] = array(3476 'id' => 'clear'3477 );34783479 $options[] = array(3480 'name' => '',3481 'desc' => '禁用自动保存草稿',3482 'id' => 'autosave_no',3483 'std' => '0',3484 'type' => 'checkbox'3485 );34863487 $options[] = array(3488 'id' => 'clear'3489 );34903491 $options[] = array(3492 'name' => '',3493 'desc' => '禁用oEmbed',3494 'id' => 'embed_no',3495 'std' => '1',3496 'type' => 'checkbox'3497 );34983499 $options[] = array(3500 'id' => 'clear'3501 );35023503 $options[] = array(3504 'name' => '',3505 'desc' => '自动为文章添加标签(酌情开启)',3506 'id' => 'auto_tags',3507 'std' => '0',3508 'type' => 'checkbox'3509 );35103511 $options[] = array(3512 'id' => 'clear'3513 );35143515 $options[] = array(3516 'name' => '',3517 'desc' => '页面添加.html后缀(更改后需重新保存一下固定链接设置)',3518 'id' => 'page_html',3519 'std' => '0',3520 'type' => 'checkbox'3521 );35223523 $options[] = array(3524 'id' => 'clear'3525 );35263527 $options[] = array(3528 'name' => '',3529 'desc' => '自动将文章标题作为图片ALT标签内容',3530 'id' => 'image_alt',3531 'std' => '1',3532 'type' => 'checkbox'3533 );35343535 $options[] = array(3536 'id' => 'clear'3537 );35383539 $options[] = array(3540 'name' => '',3541 'desc' => '显示正文底部版权信息',3542 'id' => 'copyright',3543 'std' => '1',3544 'type' => 'checkbox'3545 );35463547 $options[] = array(3548 'id' => 'clear'3549 );35503551 $options[] = array(3552 'name' => '',3553 'desc' => '替换作者默认链接',3554 'id' => 'my_author',3555 'std' => '1',3556 'type' => 'checkbox'3557 );35583559 $options[] = array(3560 'id' => 'clear'3561 );35623563 $options[] = array(3564 'name' => '',3565 'desc' => 'Ajax评论',3566 'id' => 'comment_ajax',3567 'std' => '1',3568 'type' => 'checkbox'3569 );35703571 $options[] = array(3572 'id' => 'clear'3573 );35743575 $options[] = array(3576 'name' => '',3577 'desc' => '评论@回复',3578 'id' => 'at',3579 'std' => '1',3580 'type' => 'checkbox'3581 );35823583 $options[] = array(3584 'id' => 'clear'3585 );35863587 $options[] = array(3588 'name' => '',3589 'desc' => '默认开启评论回复邮件通知',3590 'id' => 'mail_notify',3591 'std' => '0',3592 'type' => 'checkbox'3593 );35943595 $options[] = array(3596 'id' => 'clear'3597 );35983599 $options[] = array(3600 'name' => '',3601 'desc' => '滑动解锁才能提交评论',3602 'id' => 'qt',3603 'std' => '1',3604 'type' => 'checkbox'3605 );36063607 $options[] = array(3608 'id' => 'clear'3609 );36103611 $options[] = array(3612 'name' => '',3613 'desc' => '评论检查中文',3614 'id' => 'refused_spam',3615 'std' => '1',3616 'type' => 'checkbox'3617 );36183619 $options[] = array(3620 'id' => 'clear'3621 );36223623 $options[] = array(3624 'name' => '',3625 'desc' => '显示评论等级',3626 'id' => 'vip',3627 'std' => '1',3628 'type' => 'checkbox'3629 );36303631 $options[] = array(3632 'id' => 'clear'3633 );36343635 $options[] = array(3636 'name' => '',3637 'desc' => '显示评论楼层',3638 'id' => 'comment_floor',3639 'std' => '1',3640 'type' => 'checkbox'3641 );36423643 $options[] = array(3644 'id' => 'clear'3645 );36463647 $options[] = array(3648 'name' => '',3649 'desc' => '允许评论贴图',3650 'id' => 'embed_img',3651 'std' => '1',3652 'type' => 'checkbox'3653 );36543655 $options[] = array(3656 'id' => 'clear'3657 );36583659 $options[] = array(3660 'name' => '',3661 'desc' => '禁止评论HTML,启用后评论贴图也将失效',3662 'id' => 'comment_html',3663 'std' => '0',3664 'type' => 'checkbox'3665 );36663667 $options[] = array(3668 'id' => 'clear'3669 );36703671 $options[] = array(3672 'name' => '',3673 'desc' => '3D标签云',3674 'id' => '3dtag',3675 'std' => '1',3676 'type' => 'checkbox'3677 );36783679 $options[] = array(3680 'id' => 'clear'3681 );36823683 $options[] = array(3684 'name' => '',3685 'desc' => '删除文章时删除图片附件',3686 'id' => 'attachments_delete',3687 'std' => '0',3688 'type' => 'checkbox'3689 );36903691 $options[] = array(3692 'id' => 'clear'3693 );36943695 $options[] = array(3696 'name' => '',3697 'desc' => '下载链接在根目录(将主题根目录中的download.php放到网站根目录)',3698 'id' => 'down_root',3699 'std' => '0',3700 'type' => 'checkbox'3701 );37023703 $options[] = array(3704 'id' => 'clear'3705 );37063707 $options[] = array(3708 'name' => 'QQ快速评论',3709 'desc' => '开启',3710 'id' => 'qq_info',3711 'std' => '1',3712 'type' => 'checkbox'3713 );37143715 $options[] = array(3716 'name' => '',3717 'desc' => '使用QQ头像代替Gravatar(酌情开启)',3718 'id' => 'qq_avatar',3719 'std' => '0',3720 'type' => 'checkbox'3721 );37223723 $options[] = array(3724 'id' => 'clear'3725 );37263727 $options[] = array(3728 'name' => '',3729 'desc' => '文章收藏按钮',3730 'id' => 'favorite_p',3731 'std' => '1',3732 'type' => 'checkbox'3733 );37343735 $options[] = array(3736 'name' => '',3737 'id' => 'favorite_ub',3738 'std' => 'favorite_t',3739 'type' => 'radio',3740 'options' => array(3741 'favorite_t' => '正文上面',3742 'favorite_b' => '正文下面',3743 )3744 );37453746 $options[] = array(3747 'name' => '',3748 'desc' => 'Ajax 方式提交收藏',3749 'id' => 'favorite_js',3750 'std' => '1',3751 'type' => 'checkbox'3752 );37533754 $options[] = array(3755 'id' => 'clear'3756 );37573758 $options[] = array(3759 'name' => '',3760 'desc' => '自动为文章中的关键词添加链接',3761 'id' => 'tag_c',3762 'std' => '1',3763 'type' => 'checkbox'3764 );37653766 $options[] = array(3767 'name' => '',3768 'desc' => '链接数量',3769 'id' => 'chain_n',3770 'std' => '2',3771 'class' => 'mini',3772 'type' => 'text'3773 );37743775 $options[] = array(3776 'id' => 'clear'3777 );37783779 $options[] = array(3780 'name' => '',3781 'desc' => '显示正文相关文章图片',3782 'id' => 'related_img',3783 'std' => '1',3784 'type' => 'checkbox'3785 );37863787 $options[] = array(3788 'name' => '',3789 'desc' => '显示篇数',3790 'id' => 'related_n',3791 'std' => '4',3792 'class' => 'mini',3793 'type' => 'text'3794 );37953796 $options[] = array(3797 'id' => 'clear'3798 );37993800 $options[] = array(3801 'name' => '',3802 'desc' => '显示正文底部小工具',3803 'id' => 'single_e',3804 'std' => '1',3805 'type' => 'checkbox'3806 );38073808 $options[] = array(3809 'id' => 'clear'3810 );38113812 $options[] = array(3813 'name' => '正文底部商品',3814 'desc' => '显示',3815 'id' => 'single_tao',3816 'std' => '0',3817 'type' => 'checkbox'3818 );38193820 $options[] = array(3821 'name' => '',3822 'desc' => '商品显示个数',3823 'id' => 'single_tao_n',3824 'std' => '4',3825 'class' => 'mini',3826 'type' => 'text'3827 );38283829 $options[] = array(3830 'id' => 'clear'3831 );38323833 $options[] = array(3834 'name' => '图片、视频、商品文章归档',3835 'desc' => '显示篇数,注:要求大于WP阅读设置页面博客页面至多显示篇数',3836 'id' => 'taxonomy_cat_n',3837 'std' => '16',3838 'class' => 'mini',3839 'type' => 'text'3840 );38413842 $options[] = array(3843 'name' => '',3844 'desc' => '显示该类型所有分类链接',3845 'id' => 'type_cat',3846 'std' => '1',3847 'type' => 'checkbox'3848 );38493850 $options[] = array(3851 'id' => 'clear'3852 );38533854 $options[] = array(3855 'name' => '图片、视频、商品、Edd下载分类、Woo产品分类页面模板',3856 'desc' => '分类显示篇数',3857 'id' => 'custom_cat_n',3858 'std' => '12',3859 'class' => 'mini',3860 'type' => 'text'3861 );38623863 $options[] = array(3864 'id' => 'clear'3865 );38663867 $options[] = array(3868 'name' => '最新文章图标',3869 'desc' => '默认一周(168小时)内发表的文章显示,最短24小时',3870 'id' => 'new_n',3871 'std' => '168',3872 'class' => 'mini',3873 'type' => 'text'3874 );38753876 $options[] = array(3877 'id' => 'clear'3878 );38793880 $options[] = array(3881 'name' => '联系方式',3882 'desc' => '输入常用邮箱用于联系方式页面模板',3883 'id' => 'email',3884 'std' => '',3885 'type' => 'text'3886 );38873888 $options[] = array(3889 'id' => 'clear'3890 );38913892 $options[] = array(3893 'name' => '文章更新页面模板',3894 'desc' => '留空则显示全部文章',3895 'id' => 'up_t'3896 );38973898 $options[] = array(3899 'name' => '',3900 'desc' => '年份',3901 'id' => 'year_n',3902 'std' => '',3903 'type' => 'text'3904 );39053906 $options[] = array(3907 'name' => '',3908 'desc' => '月份',3909 'id' => 'mon_n',3910 'std' => '',3911 'type' => 'text'3912 );39133914 $options[] = array(3915 'name' => '',3916 'desc' => '分类ID',3917 'id' => 'cat_up_n',3918 'std' => '',3919 'type' => 'text'3920 );392139223923 $options[] = array(3924 'id' => 'clear'3925 );39263927 $options[] = array(3928 'name' => '页脚小工具',3929 'desc' => '启用',3930 'id' => 'footer_w',3931 'std' => '1',3932 'type' => 'checkbox'3933 );39343935 $options[] = array(3936 'id' => 'clear'3937 );39383939 $options[] = array(3940 'name' => '首页页脚链接',3941 'desc' => '显示首页页脚链接',3942 'id' => 'footer_link',3943 'std' => '1',3944 'type' => 'checkbox'3945 );39463947 $options[] = array(3948 'name' => '',3949 'desc' => '可以输入链接分类ID,显示特定的链接在首页,留空则显示全部链接',3950 'id' => 'link_f_cat',3951 'std' => '',3952 'type' => 'text'3953 );39543955 $options[] = array(3956 'name' => '',3957 'desc' => '以图片形式显示链接并显示链接分类名称',3958 'id' => 'footer_img',3959 'std' => '0',3960 'type' => 'checkbox'3961 );39623963 $options[] = array(3964 'id' => 'clear'3965 );39663967 $options[] = array(3968 'name' => '友情链接页面',3969 'desc' => '可以输入链接分类ID,只显示特定的链接,留空显示全部链接',3970 'id' => 'link_cat',3971 'std' => '',3972 'type' => 'text'3973 );39743975 $options[] = array(3976 'name' => '',3977 'desc' => '选择友情链接页面',3978 'id' => 'link_url',3979 'type' => 'select',3980 'class' => 'mini',3981 'options' => $options_pages3982 );39833984 $options[] = array(3985 'name' => '',3986 'desc' => '显示链接分类名称',3987 'id' => 'linkcat_h2',3988 'std' => '0',3989 'type' => 'checkbox'3990 );39913992 $options[] = array(3993 'name' => '',3994 'desc' => '以图片形式显示链接',3995 'id' => 'link_all_img',3996 'std' => '0',3997 'type' => 'checkbox'3998 );39994000 // 网站标志40014002 $options[] = array(4003 'name' => '网站标志',4004 'type' => 'heading'4005 );40064007 $options[] = array(4008 'name' => '站点LOGO',4009 'desc' => '勾选并上传logo',4010 'id' => 'logos',4011 'std' => '0',4012 'type' => 'checkbox'4013 );40144015 $options[] = array(4016 'name' => '上传Logo',4017 'desc' => '透明png图片最佳,比例 220×50px',4018 'id' => 'logo',4019 "std" => "$blogpath/logo.png",4020 'class' => 'hidden',4021 'type' => 'upload'4022 );40234024 $options[] = array(4025 'id' => 'clear'4026 );40274028 $options[] = array(4029 'name' => '',4030 'desc' => '为Logo添加扫光动画',4031 'id' => 'logo_css',4032 'std' => '1',4033 'type' => 'checkbox'4034 );40354036 $options[] = array(4037 'id' => 'clear'4038 );40394040 $options[] = array(4041 'name' => '自定义Favicon',4042 'desc' => '上传favicon.ico,并通过FTP上传到网站根目录',4043 'id' => 'favicon',4044 "std" => "$blogpath/favicon.ico",4045 'type' => 'upload'4046 );40474048 $options[] = array(4049 'id' => 'clear'4050 );40514052 $options[] = array(4053 'name' => '自定义IOS屏幕图标',4054 'desc' => '上传苹果移动设备添加到主屏幕图标',4055 'id' => 'apple_icon',4056 "std" => "$blogpath/favicon.png",4057 'type' => 'upload'4058 );40594060 // 辅助功能40614062 $options[] = array(4063 'name' => '辅助功能',4064 'type' => 'heading'4065 );40664067 $options[] = array(4068 'name' => 'Gravatar 头像设置',4069 'id' => 'gravatar_url',4070 'std' => 'cn',4071 'type' => 'radio',4072 'options' => array(4073 'no' => '默认',4074 'cn' => '从官方cn服务器获取',4075 'ssl' => '从官方ssl获取'4076 )4077 );40784079 $options[] = array(4080 'name' => '',4081 'desc' => '字母代替默认头像图片,启用后上述头像获取设置将失效',4082 'id' => 'first_avatar',4083 'std' => '1',4084 'type' => 'checkbox'4085 );40864087 $options[] = array(4088 'id' => 'clear'4089 );40904091 $options[] = array(4092 'name' => '阿里图标库',4093 'desc' => '输入图标库在线链接',4094 'id' => 'iconfont_url',4095 'std' => '',4096 'type' => 'textarea'4097 );40984099 $options[] = array(4100 'id' => 'clear'4101 );41024103 $options[] = array(4104 'name' => '前台投稿',4105 'desc' => '启用,新建页面并添加短代码 [fep_submission_form]',4106 'id' => 'front_tougao',4107 'std' => '0',4108 'type' => 'checkbox'4109 );41104111 $options[] = array(4112 'name' => '',4113 'desc' => '允许投稿者角色上传图片',4114 'id' => 'allow_files',4115 'std' => '0',4116 'class' => 'hidden',4117 'type' => 'checkbox'4118 );41194120 $options[] = array(4121 'name' => '分类排除',4122 'desc' => '输入排除的分类ID,多个分类用半角逗号","隔开',4123 'id' => 'not_front_cat',4124 'std' => '',4125 'class' => 'hidden',4126 'type' => 'textarea'4127 );41284129 $options[] = array(4130 'name' => '分类ID对照',4131 'desc' => '<ul>'.$cats_id.'</ul>',4132 'id' => 'catids',4133 'class' => 'fep-catid hidden',4134 'type' => 'info'4135 );41364137 $options[] = array(4138 'id' => 'clear'4139 );41404141 $options[] = array(4142 'name' => '邀请码注册',4143 'desc' => '启用',4144 'id' => 'invitation_code',4145 'std' => '0',4146 'type' => 'checkbox'4147 );41484149 $options[] = array(4150 'id' => 'clear'4151 );41524153 $options[] = array(4154 'name' => '前台英文',4155 'desc' => '启用',4156 'id' => 'languages_en',4157 'std' => '0',4158 'type' => 'checkbox'4159 );41604161 $options[] = array(4162 'id' => 'clear'4163 );41644165 $options[] = array(4166 'name' => '是否使用自定义分类文章',4167 'desc' => '公告',4168 'id' => 'no_bulletin',4169 'std' => '1',4170 'type' => 'checkbox'4171 );41724173 $options[] = array(4174 'name' => '',4175 'desc' => '图片',4176 'id' => 'no_picture',4177 'std' => '1',4178 'type' => 'checkbox'4179 );41804181 $options[] = array(4182 'name' => '',4183 'desc' => '视频',4184 'id' => 'no_video',4185 'std' => '1',4186 'type' => 'checkbox'4187 );41884189 $options[] = array(4190 'name' => '',4191 'desc' => '商品',4192 'id' => 'no_taobao',4193 'std' => '1',4194 'type' => 'checkbox'4195 );41964197 $options[] = array(4198 'name' => '',4199 'desc' => '网址',4200 'id' => 'no_favorites',4201 'std' => '1',4202 'type' => 'checkbox'4203 );42044205 $options[] = array(4206 'name' => '',4207 'desc' => '产品',4208 'id' => 'no_show',4209 'std' => '1',4210 'type' => 'checkbox'4211 );42124213 $options[] = array(4214 'id' => 'clear'4215 );42164217 $options[] = array(4218 'name' => '',4219 'desc' => '只有临时使用文章快速编辑和定时发布时使用,防止文章选项勾选丢失',4220 'id' => 'meta_delete',4221 'std' => '0',4222 'type' => 'checkbox'4223 );42244225 $options[] = array(4226 'id' => 'clear'4227 );42284229 $options[] = array(4230 'name' => '新浪微博关注按钮',4231 'desc' => '启用',4232 'id' => 'weibo_t',4233 'std' => '0',4234 'type' => 'checkbox'4235 );42364237 $options[] = array(4238 'name' => '',4239 'desc' => '输入新浪微博ID',4240 'id' => 'weibo_id',4241 'std' => '1882973105',4242 'type' => 'text'4243 );42444245 $options[] = array(4246 'id' => 'clear'4247 );42484249 $options[] = array(4250 'name' => '',4251 'desc' => '显示简繁体转换按钮',4252 'id' => 'gb2',4253 'std' => '1',4254 'type' => 'checkbox'4255 );42564257 $options[] = array(4258 'id' => 'clear'4259 );42604261 $options[] = array(4262 'name' => '生成当前页面二维码',4263 'desc' => '启用',4264 'id' => 'qr_img',4265 'std' => '1',4266 'type' => 'checkbox'4267 );42684269 $options[] = array(4270 'name' => '上传二维码中间小Logo图片',4271 'desc' => '',4272 'id' => 'qr_icon',4273 'class' => 'hidden',4274 "std" => "$blogpath/favicon.png",4275 'type' => 'upload'4276 );42774278 $options[] = array(4279 'id' => 'clear'4280 );42814282 $options[] = array(4283 'name' => 'QQ在线',4284 'desc' => '启用',4285 'id' => 'qq_online',4286 'std' => '0',4287 'type' => 'checkbox'4288 );42894290 $options[] = array(4291 'name' => '',4292 'desc' => '自定义文字',4293 'id' => 'qq_name',4294 'std' => '在线咨询',4295 'class' => 'hidden',4296 'type' => 'text'4297 );42984299 $options[] = array(4300 'name' => '',4301 'desc' => '输入QQ号码',4302 'id' => 'qq_id',4303 'std' => '8888',4304 'class' => 'hidden',4305 'type' => 'text'4306 );43074308 $options[] = array(4309 'name' => '',4310 'desc' => '微信二维码',4311 'id' => 'weixing_qr',4312 "std" => "$blogpath/favicon.png",4313 'class' => 'hidden',4314 'type' => 'upload'4315 );43164317 $options[] = array(4318 'id' => 'clear'4319 );43204321 $options[] = array(4322 'name' => '正文末尾微信二维码',4323 'desc' => '显示',4324 'id' => 'single_weixin',4325 'std' => '1',4326 'type' => 'checkbox'4327 );4328 $options[] = array(4329 'name' => '',4330 'desc' => '只显示一个微信二维码',4331 'id' => 'single_weixin_one',4332 'std' => '0',4333 'class' => 'hidden',4334 'type' => 'checkbox'4335 );43364337 $options[] = array(4338 'name' => '',4339 'desc' => '微信文字',4340 'id' => 'weixin_h',4341 'std' => '我的微信',4342 'class' => 'hidden',4343 'type' => 'text'4344 );43454346 $options[] = array(4347 'name' => '',4348 'desc' => '微信说明文字',4349 'id' => 'weixin_h_w',4350 'std' => '这是我的微信扫一扫',4351 'class' => 'hidden',4352 'type' => 'text'4353 );43544355 $options[] = array(4356 'name' => '',4357 'desc' => '上传微信二维码图片(<240px)',4358 'id' => 'weixin_h_img',4359 'class' => 'hidden',4360 'std' => "$blogpath/random/11.jpg",4361 'type' => 'upload'4362 );43634364 $options[] = array(4365 'name' => '',4366 'desc' => '微信公众号文字',4367 'id' => 'weixin_g',4368 'std' => '我的微信公众号',4369 'class' => 'hidden',4370 'type' => 'text'4371 );43724373 $options[] = array(4374 'name' => '',4375 'desc' => '微信公众号说明文字',4376 'id' => 'weixin_g_w',4377 'std' => '我的微信公众号扫一扫',4378 'class' => 'hidden',4379 'type' => 'text'4380 );43814382 $options[] = array(4383 'name' => '',4384 'desc' => '上传微信公众号二维码图片(<240px)',4385 'id' => 'weixin_g_img',4386 'class' => 'hidden',4387 'std' => "$blogpath/random/20.jpg",4388 'type' => 'upload'4389 );43904391 $options[] = array(4392 'id' => 'clear'4393 );43944395 $options[] = array(4396 'name' => '点赞分享'43974398 );43994400 $options[] = array(4401 'name' => '',4402 'desc' => '启用正文底部点赞分享按钮',4403 'id' => 'zm_like',4404 'std' => '1',4405 'type' => 'checkbox'4406 );44074408 $options[] = array(4409 'name' => '',4410 'desc' => '启用百度分享',4411 'id' => 'share',4412 'std' => '1',4413 'type' => 'checkbox'4414 );44154416 $options[] = array(4417 'id' => 'clear'4418 );44194420 $options[] = array(4421 'name' => '打赏(赞助)按钮设置',4422 'desc' => '自定义按钮文字,留空则不显示弹窗',4423 'id' => 'alipay_name',4424 'std' => '赏',4425 'type' => 'text'4426 );44274428 $options[] = array(4429 'name' => '',4430 'desc' => '自定义提示文字',4431 'id' => 'alipay_t',4432 'std' => '赞助本站',4433 'type' => 'text'4434 );44354436 $options[] = array(4437 'name' => '',4438 'desc' => '自定义弹窗标题文字,留空则不显示',4439 'id' => 'alipay_h',4440 'std' => '您可以选择一种方式赞助本站',4441 'type' => 'text'4442 );44434444 $options[] = array(4445 'name' => '',4446 'desc' => '上传支付宝二维码图片(<240px)',4447 'id' => 'qr_a',4448 "std" => "",4449 'type' => 'upload'4450 );44514452 $options[] = array(4453 'name' => '',4454 'desc' => '自定义支付宝二维码图片文字说明,留空则不显示',4455 'id' => 'alipay_z',4456 'std' => '支付宝扫一扫赞助',4457 'type' => 'text'4458 );44594460 $options[] = array(4461 'name' => '',4462 'desc' => '上传微信钱包二维码图片(<250px)',4463 'id' => 'qr_b',4464 "std" => "",4465 'type' => 'upload'4466 );44674468 $options[] = array(4469 'name' => '',4470 'desc' => '自定义微信钱包二维码图片文字说明,留空则不显示',4471 'id' => 'alipay_w',4472 'std' => '微信钱包扫描赞助',4473 'type' => 'text'4474 );44754476 $options[] = array(4477 'id' => 'clear'4478 );44794480 $options[] = array(4481 'name' => '自定义404页面标题',4482 'desc' => '',4483 'id' => '404_t',4484 'std' => '亲,你迷路了!',4485 'type' => 'text'4486 );44874488 $options[] = array(4489 'name' => '自定义404页面内容',4490 'desc' => '',4491 'id' => '404_c',4492 'std' => '亲,该网页可能搬家了!',4493 'type' => 'textarea'4494 );44954496 $options[] = array(4497 'id' => 'clear'4498 );44994500 $options[] = array(4501 'name' => '后台登录美化',4502 'desc' => '启用后台登录美化',4503 'id' => 'custom_login',4504 'std' => '1',4505 'type' => 'checkbox'4506 );45074508 $options[] = array(4509 'name' => '',4510 'desc' => '上传背景图片',4511 'id' => 'login_img',4512 "std" => "http://ww3.sinaimg.cn/large/703be3b1jw1ezoddh8a9mj21hc0u014s.jpg",4513 'type' => 'upload'4514 );45154516 $options[] = array(4517 'id' => 'clear'4518 );45194520 $options[] = array(4521 'name' => '注册页面背景图片',4522 'desc' => '上传背景图片',4523 'id' => 'reg_img',4524 "std" => "http://ww1.sinaimg.cn/large/703be3b1jw1ew0wrzdyguj21hc0u0tcy.jpg",4525 'type' => 'upload'4526 );45274528 $options[] = array(4529 'name' => '注册页面视频背景',4530 'desc' => '上传视频背景(默认视频外链自搜狐)',4531 'id' => 'reg_video',4532 "std" => "http://data.vod.itc.cn/?new=/241/113/LAHVGSHQTBO9H9nLD4iuNF.mp4&vid=2389831&ch=tv&cateCode=107;107102&plat=null&mkey=naGNastwo_0-KG4inoUSAquepq1SRBiy&prod=app",4533 'type' => 'upload'4534 );45354536 $options[] = array(4537 'id' => 'clear'4538 );45394540 $options[] = array(4541 'name' => '下载页面背景图片',4542 'desc' => '上传背景图片',4543 'id' => 'down_header_img',4544 "std" => "http://wx3.sinaimg.cn/large/0066LGKLly1fgcbh8r7rcj31hc0dwtr7.jpg",4545 'type' => 'upload'4546 );45474548 // SEO设置45494550 $options[] = array(4551 'name' => 'SEO设置',4552 'type' => 'heading'4553 );45544555 $options[] = array(4556 'name' => '',4557 'desc' => '启用主题自带SEO功能,如使用其它SEO插件,请取消勾选',4558 'id' => 'wp_title',4559 'std' => '1',4560 'type' => 'checkbox'4561 );45624563 $options[] = array(4564 'name' => '自定义网站首页title',4565 'desc' => '留空则不显示自定义title',4566 'id' => 'home_title',4567 'std' => '',4568 'type' => 'textarea'4569 );45704571 $options[] = array(4572 'name' => '自定义网站首页副标题',4573 'desc' => '留空则不显示副标题',4574 'id' => 'home_info',4575 'std' => '',4576 'type' => 'textarea'4577 );45784579 $options[] = array(4580 'id' => 'clear'4581 );45824583 $options[] = array(4584 'name' => '站点title连接符',4585 'desc' => '修改站点title连接符号',4586 'id' => 'connector',4587 'std' => '|',4588 'class' => 'mini',4589 'type' => 'text'4590 );45914592 $options[] = array(4593 'id' => 'clear'4594 );45954596 $options[] = array(4597 'name' => '',4598 'desc' => '首页显示站点副标题',4599 'id' => 'blog_info',4600 'std' => '1',4601 'type' => 'checkbox'4602 );46034604 $options[] = array(4605 'id' => 'clear'4606 );46074608 $options[] = array(4609 'name' => '首页描述(Description)',4610 'desc' => '',4611 'id' => 'description',4612 'std' => '一般不超过200个字符',4613 'type' => 'textarea'4614 );46154616 $options[] = array(4617 'name' => '首页关键词(KeyWords)',4618 'desc' => '',4619 'id' => 'keyword',4620 'std' => '一般不超过100个字符',4621 'type' => 'textarea'4622 );46234624 $options[] = array(4625 'id' => 'clear'4626 );46274628 $options[] = array(4629 'name' => '将文章主动推送到百度',4630 'desc' => '启用',4631 'id' => 'baidu_submit',4632 'std' => '0',4633 'type' => 'checkbox'4634 );46354636 $options[] = array(4637 'name' => '',4638 'desc' => '输入百度主动推送token值',4639 'id' => 'token_p',4640 'std' => '',4641 'type' => 'text'4642 );46434644 $options[] = array(4645 'id' => 'clear'4646 );46474648 $options[] = array(4649 'name' => '自定义图片固定链接前缀',4650 'desc' => '“图片”固定链接前缀',4651 'id' => 'img_url',4652 'std' => 'picture',4653 'class' => 'mini',4654 'type' => 'text'4655 );46564657 $options[] = array(4658 'name' => '',4659 'desc' => '“图片分类”固定链接前缀',4660 'id' => 'img_cat_url',4661 'std' => 'gallery',4662 'type' => 'text'4663 );46644665 $options[] = array(4666 'id' => 'clear'4667 );46684669 $options[] = array(4670 'name' => '自定义视频固定链接前缀',4671 'desc' => '“视频”固定链接前缀',4672 'id' => 'video_url',4673 'std' => 'video',4674 'type' => 'text'4675 );46764677 $options[] = array(4678 'name' => '',4679 'desc' => '“视频分类”固定链接前缀',4680 'id' => 'video_cat_url',4681 'std' => 'videos',4682 'type' => 'text'4683 );46844685 $options[] = array(4686 'id' => 'clear'4687 );46884689 $options[] = array(4690 'name' => '自定义商品固定链接前缀',4691 'desc' => '“商品”固定链接前缀',4692 'id' => 'sp_url',4693 'std' => 'tao',4694 'type' => 'text'4695 );46964697 $options[] = array(4698 'name' => '',4699 'desc' => '“商品分类”固定链接前缀',4700 'id' => 'sp_cat_url',4701 'std' => 'taobao',4702 'type' => 'text'4703 );47044705 $options[] = array(4706 'id' => 'clear'4707 );47084709 $options[] = array(4710 'name' => '自定义网址固定链接前缀',4711 'desc' => '“网址”固定链接前缀',4712 'id' => 'favorites_url',4713 'std' => 'sites',4714 'type' => 'text'4715 );471647174718 $options[] = array(4719 'name' => '',4720 'desc' => '“网址分类”固定链接前缀',4721 'id' => 'favorites_cat_url',4722 'std' => 'favorites',4723 'type' => 'text'4724 );47254726 $options[] = array(4727 'id' => 'clear'4728 );47294730 $options[] = array(4731 'name' => '自定义产品固定链接前缀',4732 'desc' => '“产品”固定链接前缀',4733 'id' => 'show_url',4734 'std' => 'show',4735 'type' => 'text'4736 );473747384739 $options[] = array(4740 'name' => '',4741 'desc' => '“产品分类”固定链接前缀',4742 'id' => 'show_cat_url',4743 'std' => 'products',4744 'type' => 'text'4745 );47464747 $options[] = array(4748 'id' => 'clear'4749 );47504751 $options[] = array(4752 'name' => '流量统计代码(异步)',4753 'desc' => '用于在页头添加异步统计代码,',4754 'id' => 'tongji_h',4755 'std' => '',4756 'type' => 'textarea'4757 );47584759 $options[] = array(4760 'name' => '流量统计代码(同步)',4761 'desc' => '用于在页脚添加同步统计代码',4762 'id' => 'tongji_f',4763 'std' => '',4764 'type' => 'textarea'4765 );47664767 $options[] = array(4768 'id' => 'clear'4769 );47704771 $wp_editor_settings = array(4772 'quicktags' => 1,4773 'tinymce' => 1,4774 'media_buttons' => 1,4775 'textarea_rows' => 54776 );47774778 $options[] = array(4779 'name' => '编辑页脚第一行信息',4780 'desc' => '个性化页脚内容',4781 'id' => 'footer_inf_t',4782 'std' => 'Copyright &copy;&nbsp;&nbsp;站点名称&nbsp;&nbsp;版权所有.',4783 'type' => 'editor',4784 'settings' => $wp_editor_settings4785 );47864787 $options[] = array(4788 'name' => '编辑页脚第二行信息',4789 'desc' => '个性化页脚内容',4790 'id' => 'footer_inf_b',4791 'std' => '<a title="主题设计:知更鸟" href="http://zmingcx.com/" target="_blank"><img src="' . get_template_directory_uri() . '/ad/img/bt.png" alt="Begin主题" /></a>',4792 'type' => 'editor',4793 'settings' => $wp_editor_settings4794 );47954796 // 广告设置47974798 $options[] = array(4799 'name' => '广告位',4800 'type' => 'heading'4801 );48024803 $options[] = array(4804 'name' => '头部通栏广告位',4805 'desc' => '显示',4806 'id' => 'ad_h_t',4807 'std' => '0',4808 'type' => 'checkbox'4809 );48104811 $options[] = array(4812 'name' => '输入头部通栏广告代码(非移动端)',4813 'desc' => '宽度小于等于 1080px',4814 'id' => 'ad_ht_c',4815 'class' => 'hidden',4816 'std' => '<a href="#" target="_blank"><img src="' . get_template_directory_uri() . '/ad/img/ad.jpg" alt="广告也精彩" /></a>',4817 'type' => 'textarea'4818 );48194820 $options[] = array(4821 'name' => '输入头部通栏广告代码(用于移动端)',4822 'desc' => '',4823 'id' => 'ad_ht_m',4824 'class' => 'hidden',4825 'std' => '<a href="#" target="_blank"><img src="' . get_template_directory_uri() . '/ad/img/ad.jpg" alt="广告也精彩" /></a>',4826 'type' => 'textarea'4827 );48284829 $options[] = array(4830 'id' => 'clear'4831 );48324833 $options[] = array(4834 'name' => '头部两栏广告位',4835 'desc' => '显示',4836 'id' => 'ad_h',4837 'std' => '0',4838 'type' => 'checkbox'4839 );48404841 $options[] = array(4842 'name' => '输入头部左侧广告代码(非移动端)',4843 'desc' => '宽度小于等于 758px',4844 'id' => 'ad_h_c',4845 'class' => 'hidden',4846 'std' => '<a href="#" target="_blank"><img src="' . get_template_directory_uri() . '/ad/img/ad.jpg" alt="广告也精彩" /></a>',4847 'type' => 'textarea'4848 );48494850 $options[] = array(4851 'name' => '输入头部左侧广告代码(用于移动端)',4852 'desc' => '',4853 'id' => 'ad_h_c_m',4854 'class' => 'hidden',4855 'std' => '<a href="#" target="_blank"><img src="' . get_template_directory_uri() . '/ad/img/ad.jpg" alt="广告也精彩" /></a>',4856 'type' => 'textarea'4857 );48584859 $options[] = array(4860 'name' => '输入头部右侧广告代码(非移动端)',4861 'desc' => '宽度小于等于 307px',4862 'id' => 'ad_h_cr',4863 'class' => 'hidden',4864 'std' => '<a href="#" target="_blank"><img src="' . get_template_directory_uri() . '/ad/img/adhr.jpg" alt="广告也精彩" /></a>',4865 'type' => 'textarea'4866 );48674868 $options[] = array(4869 'id' => 'clear'4870 );48714872 $options[] = array(4873 'name' => '文章列表广告位',4874 'desc' => '显示',4875 'id' => 'ad_a',4876 'std' => '0',4877 'type' => 'checkbox'4878 );48794880 $options[] = array(4881 'name' => '输入文章列表广告代码(非移动端)',4882 'desc' => '宽度小于等于 760px',4883 'id' => 'ad_a_c',4884 'class' => 'hidden',4885 'std' => '<a href="#" target="_blank"><img src="' . get_template_directory_uri() . '/ad/img/ad.jpg" alt="广告也精彩" /></a>',4886 'type' => 'textarea'4887 );48884889 $options[] = array(4890 'name' => '输入文章列表广告代码(用于移动端)',4891 'desc' => '',4892 'id' => 'ad_a_c_m',4893 'class' => 'hidden',4894 'std' => '<a href="#" target="_blank"><img src="' . get_template_directory_uri() . '/ad/img/ad.jpg" alt="广告也精彩" /></a>',4895 'type' => 'textarea'4896 );48974898 $options[] = array(4899 'id' => 'clear'4900 );49014902 $options[] = array(4903 'name' => '正文标题广告位',4904 'desc' => '显示',4905 'id' => 'ad_s',4906 'std' => '0',4907 'type' => 'checkbox'4908 );49094910 $options[] = array(4911 'name' => '输入正文标题广告代码(非移动端)',4912 'desc' => '宽度小于等于 740px',4913 'id' => 'ad_s_c',4914 'class' => 'hidden',4915 'std' => '<a href="#" target="_blank"><img src="' . get_template_directory_uri() . '/ad/img/ad.jpg" alt="广告也精彩" /></a>',4916 'type' => 'textarea'4917 );49184919 $options[] = array(4920 'name' => '输入正文标题广告代码(用于移动端)',4921 'desc' => '',4922 'id' => 'ad_s_c_m',4923 'class' => 'hidden',4924 'std' => '<a href="#" target="_blank"><img src="' . get_template_directory_uri() . '/ad/img/ad.jpg" alt="广告也精彩" /></a>',4925 'type' => 'textarea'4926 );49274928 $options[] = array(4929 'id' => 'clear'4930 );49314932 $options[] = array(4933 'name' => '正文底部广告位',4934 'desc' => '显示',4935 'id' => 'ad_s_b',4936 'std' => '0',4937 'type' => 'checkbox'4938 );49394940 $options[] = array(4941 'name' => '输入正文底部广告代码(非移动端)',4942 'desc' => '宽度小于等于 740px',4943 'id' => 'ad_s_c_b',4944 'class' => 'hidden',4945 'std' => '<a href="#" target="_blank"><img src="' . get_template_directory_uri() . '/ad/img/ad.jpg" alt="广告也精彩" /></a>',4946 'type' => 'textarea'4947 );49484949 $options[] = array(4950 'name' => '输入正文底部广告代码(用于移动端)',4951 'desc' => '',4952 'id' => 'ad_s_c_b_m',4953 'class' => 'hidden',4954 'std' => '<a href="#" target="_blank"><img src="' . get_template_directory_uri() . '/ad/img/ad.jpg" alt="广告也精彩" /></a>',4955 'type' => 'textarea'4956 );49574958 $options[] = array(4959 'id' => 'clear'4960 );49614962 $options[] = array(4963 'name' => '正文短代码广告位'4964 );49654966 $options[] = array(4967 'name' => '输入正文短代码广告代码(非移动端)',4968 'desc' => '宽度小于等于 740px',4969 'id' => 'ad_s_z',4970 'std' => '<a href="#" target="_blank"><img src="' . get_template_directory_uri() . '/ad/img/ad.jpg" alt="广告也精彩" /></a>',4971 'type' => 'textarea'4972 );49734974 $options[] = array(4975 'name' => '输入正文短代码广告代码(用于移动端)',4976 'desc' => '',4977 'id' => 'ad_s_z_m',4978 'std' => '<a href="#" target="_blank"><img src="' . get_template_directory_uri() . '/ad/img/ad.jpg" alt="广告也精彩" /></a>',4979 'type' => 'textarea'4980 );49814982 $options[] = array(4983 'id' => 'clear'4984 );49854986 $options[] = array(4987 'name' => '评论上方广告位',4988 'desc' => '显示',4989 'id' => 'ad_c',4990 'std' => '0',4991 'type' => 'checkbox'4992 );49934994 $options[] = array(4995 'name' => '输入评论上方广告代码(非移动端)',4996 'desc' => '宽度小于等于 760px',4997 'id' => 'ad_c_c',4998 'class' => 'hidden',4999 'std' => '<a href="#" target="_blank"><img src="' . get_template_directory_uri() . '/ad/img/ad.jpg" alt="广告也精彩" /></a>',5000 'type' => 'textarea'5001 );50025003 $options[] = array(5004 'name' => '输入评论上方广告代码(用于移动端)',5005 'desc' => '',5006 'id' => 'ad_c_c_m',5007 'class' => 'hidden',5008 'std' => '<a href="#" target="_blank"><img src="' . get_template_directory_uri() . '/ad/img/ad.jpg" alt="广告也精彩" /></a>',5009 'type' => 'textarea'5010 );50115012 $options[] = array(5013 'id' => 'clear'5014 );50155016 $options[] = array(5017 'name' => '下载弹窗广告代码',5018 'desc' => '',5019 'id' => 'ad_f',5020 'std' => '<a href="#" target="_blank"><img src="' . get_template_directory_uri() . '/ad/img/adf.jpg" alt="广告也精彩" /></a>',5021 'type' => 'textarea'5022 );50235024 $options[] = array(5025 'id' => 'clear'5026 );50275028 $options[] = array(5029 'name' => '文件下载页面广告代码',5030 'desc' => '',5031 'id' => 'ad_down',5032 'std' => '<a href="#" target="_blank"><img src="' . get_template_directory_uri() . '/ad/img/ad.jpg" alt="广告也精彩" /></a>',5033 'type' => 'textarea'5034 );50355036 $options[] = array(5037 'id' => 'clear'5038 );50395040 $options[] = array(5041 'name' => '需要在页头<head></head>之间加载的广告代码,如无必要不需添加任何东西',5042 'desc' => '',5043 'id' => 'ad_t',5044 'std' => '',5045 'type' => 'textarea'5046 );50475048 // 定制CSS50495050 $options[] = array(5051 'name' => '定制风格',5052 'type' => 'heading'5053 );50545055 $options[] = array(5056 'name' => '页面宽度',5057 'desc' => '默认值:1080,只适用于增加宽度,不使用自定义宽度请留空!',5058 'id' => 'custom_width',5059 'std' => '',5060 'type' => 'text'5061 );50625063 $options[] = array(5064 'id' => 'clear'5065 );50665067 $options[] = array(5068 'name' => '颜色风格',5069 'desc' => '选择自己喜欢的颜色,不使用自定义颜色清空即可',5070 'id' => 'custom_color',5071 'std' => '',5072 'type' => 'color'5073 );50745075 $options[] = array(5076 'name' => '参考颜色值',5077 'desc' => '#56bbdc #32c5d2 #4cb6cb #2f889a #6491bb #cc0000 #ff4400 #e84266 #ff9966'5078 );50795080 $options[] = array(5081 'id' => 'clear'5082 );50835084 $options[] = array(5085 'name' => '自定义样式',5086 'desc' => '例如输入:#menu-box {background: #56bbdc;} 将固定的导航背景改为蓝色',5087 'id' => 'custom_css',5088 'std' => '',5089 'type' => 'textarea'5090 );50915092 return $options; ...

Full Screen

Full Screen

_search.php

Source:_search.php Github

copy

Full Screen

...36$group_search_setup = $group . ':setup';37$group_search_design = $group . ':design';38$group_search_input = $group . ':input';39$group_search_submit = $group . ':submit';40$group_search_clear = $group . ':clear';41// Conditions42// =============================================================================43$conditions = x_module_conditions( $condition );44// Options45// =============================================================================46$options_search_dimensions = array(47 'available_units' => array( 'px', 'em', 'rem', '%' ),48 'fallback_value' => '0px',49 'valid_keywords' => array( 'auto', 'none' ),50);51$options_search_base_font_size = array(52 'available_units' => array( 'px', 'em', 'rem' ),53 'valid_keywords' => array( 'calc' ),54 'ranges' => array(55 'px' => array( 'min' => 10, 'max' => 54, 'step' => 1 ),56 'em' => array( 'min' => 0.5, 'max' => 5, 'step' => 0.001 ),57 'rem' => array( 'min' => 0.5, 'max' => 5, 'step' => 0.001 ),58 ),59);60$options_search_order = array(61 'choices' => array(62 array( 'value' => '1', 'label' => __( '1st', '__x__' ) ),63 array( 'value' => '2', 'label' => __( '2nd', '__x__' ) ),64 array( 'value' => '3', 'label' => __( '3rd', '__x__' ) ),65 ),66);67// Settings68// =============================================================================69$settings_search_design = array(70 'k_pre' => 'search',71 'group' => $group_search_design,72 'conditions' => $conditions,73 'alt_color' => true,74 'options' => $options_color_base_interaction_labels,75);76$settings_search_design_no_options = array(77 'k_pre' => 'search',78 'group' => $group_search_design,79 'conditions' => $conditions,80);81$settings_search_input = array(82 'k_pre' => 'search_input',83 't_pre' => __( 'Input', '__x__' ),84 'group' => $group_search_input,85 'conditions' => $conditions,86 'alt_color' => true,87 'options' => $options_color_base_interaction_labels,88);89$settings_search_submit = array(90 'k_pre' => 'search_submit',91 't_pre' => __( 'Submit', '__x__' ),92 'group' => $group_search_submit,93 'conditions' => $conditions,94 'alt_color' => true,95 'options' => $options_color_base_interaction_labels,96);97$settings_search_clear = array(98 'k_pre' => 'search_clear',99 't_pre' => __( 'Clear', '__x__' ),100 'group' => $group_search_clear,101 'conditions' => $conditions,102 'alt_color' => true,103 'options' => $options_color_base_interaction_labels,104);105$options_search_icons_stroke_width = array(106 'choices' => array(107 array( 'value' => 1, 'label' => '1' ),108 array( 'value' => 2, 'label' => '2' ),109 array( 'value' => 3, 'label' => '3' ),110 array( 'value' => 4, 'label' => '4' ),111 ),112);113$options_search_button_dimensions = array(114 'available_units' => array( 'px', 'em', 'rem' ),115 'fallback_value' => '1em',116);117$settings_search_std_design_margin = array(118 't_pre' => __( 'Search', '__x__' ),119 'k_pre' => 'search',120 'group' => $group_std_design,121 'conditions' => $conditions,122);123// Individual Controls124// =============================================================================125$control_search_base_font_size = array(126 'key' => 'search_base_font_size',127 'type' => 'slider',128 'label' => __( 'Base Font Size', '__x__' ),129 'options' => $options_search_base_font_size,130);131$control_search_width = array(132 'key' => 'search_width',133 'type' => 'unit',134 'label' => __( 'Width', '__x__' ),135 'options' => $options_search_dimensions,136);137$control_search_height = array(138 'key' => 'search_height',139 'type' => 'unit',140 'label' => __( 'Height', '__x__' ),141 'options' => $options_search_dimensions,142);143$control_search_max_width = array(144 'key' => 'search_max_width',145 'type' => 'unit',146 'label' => __( 'Max Width', '__x__' ),147 'options' => $options_search_dimensions,148);149$control_search_bg_color = array(150 'keys' => array(151 'value' => 'search_bg_color',152 'alt' => 'search_bg_color_alt',153 ),154 'type' => 'color',155 'label' => __( 'Background', '__x__' ),156 'options' => $options_base_interaction_labels,157);158$control_search_placeholder = array(159 'key' => 'search_placeholder',160 'type' => 'text',161 'label' => __( 'Placeholder', '__x__' ),162);163$control_search_order_input = array(164 'key' => 'search_order_input',165 'type' => 'choose',166 'label' => __( 'Input Placement', '__x__' ),167 'options' => $options_search_order,168);169$control_search_order_submit = array(170 'key' => 'search_order_submit',171 'type' => 'choose',172 'label' => __( 'Submit Placement', '__x__' ),173 'options' => $options_search_order,174);175$control_search_order_clear = array(176 'key' => 'search_order_clear',177 'type' => 'choose',178 'label' => __( 'Clear Placement', '__x__' ),179 'options' => $options_search_order,180);181$control_search_submit_font_size = array(182 'key' => 'search_submit_font_size',183 'type' => 'unit-slider',184 'label' => __( 'Font Size', '__x__' ),185);186$control_search_submit_stroke_width = array(187 'key' => 'search_submit_stroke_width',188 'type' => 'choose',189 'label' => __( 'Stroke Width', '__x__' ),190 'options' => $options_search_icons_stroke_width,191);192$control_search_submit_width = array(193 'key' => 'search_submit_width',194 'type' => 'unit',195 'options' => $options_search_button_dimensions,196);197$control_search_submit_height = array(198 'key' => 'search_submit_height',199 'type' => 'unit',200 'options' => $options_search_button_dimensions,201);202$control_search_submit_width_and_height = array(203 'type' => 'group',204 'title' => __( 'Width &amp; Height', '__x__' ),205 'controls' => array(206 $control_search_submit_width,207 $control_search_submit_height,208 ),209);210$control_search_submit_colors = array(211 'keys' => array(212 'value' => 'search_submit_color',213 'alt' => 'search_submit_color_alt',214 ),215 'type' => 'color',216 'label' => __( 'Color', '__x__' ),217 'options' => $options_base_interaction_labels,218);219$control_search_submit_bg_colors = array(220 'keys' => array(221 'value' => 'search_submit_bg_color',222 'alt' => 'search_submit_bg_color_alt',223 ),224 'type' => 'color',225 'label' => __( 'Background', '__x__' ),226 'options' => $options_base_interaction_labels,227);228$control_search_clear_font_size = array(229 'key' => 'search_clear_font_size',230 'type' => 'unit-slider',231 'label' => __( 'Font Size', '__x__' ),232);233$control_search_clear_stroke_width = array(234 'key' => 'search_clear_stroke_width',235 'type' => 'choose',236 'label' => __( 'Stroke Width', '__x__' ),237 'options' => $options_search_icons_stroke_width,238);239$control_search_clear_width = array(240 'key' => 'search_clear_width',241 'type' => 'unit',242 'options' => $options_search_button_dimensions,243);244$control_search_clear_height = array(245 'key' => 'search_clear_height',246 'type' => 'unit',247 'options' => $options_search_button_dimensions,248);249$control_search_clear_width_and_height = array(250 'type' => 'group',251 'title' => __( 'Width &amp; Height', '__x__' ),252 'controls' => array(253 $control_search_clear_width,254 $control_search_clear_height,255 ),256);257$control_search_clear_colors = array(258 'keys' => array(259 'value' => 'search_clear_color',260 'alt' => 'search_clear_color_alt',261 ),262 'type' => 'color',263 'label' => __( 'Color', '__x__' ),264 'options' => $options_base_interaction_labels,265);266$control_search_clear_bg_colors = array(267 'keys' => array(268 'value' => 'search_clear_bg_color',269 'alt' => 'search_clear_bg_color_alt',270 ),271 'type' => 'color',272 'label' => __( 'Background', '__x__' ),273 'options' => $options_base_interaction_labels,274);275// Control Lists276// =============================================================================277// Advanced278// --------279$control_list_search_adv_setup = array(280 $control_search_base_font_size,281 $control_search_width,282 $control_search_height,283 $control_search_max_width,284 $control_search_bg_color,285);286$control_list_search_adv_content_setup = array(287 $control_search_placeholder,288 $control_search_order_input,289 $control_search_order_submit,290 $control_search_order_clear,291);292$control_list_search_adv_submit_setup = array(293 $control_search_submit_font_size,294 $control_search_submit_stroke_width,295 $control_search_submit_width_and_height,296 $control_search_submit_colors,297 $control_search_submit_bg_colors,298);299$control_list_search_adv_clear_setup = array(300 $control_search_clear_font_size,301 $control_search_clear_stroke_width,302 $control_search_clear_width_and_height,303 $control_search_clear_colors,304 $control_search_clear_bg_colors,305);306// Standard307// --------308$control_list_search_std_content_setup = array(309 $control_search_placeholder,310);311$control_list_search_std_design_setup = array(312 $control_search_base_font_size,313 $control_search_width,314 $control_search_height,315 $control_search_max_width,316);317$control_list_search_std_design_colors_base = array(318 array(319 'keys' => array(320 'value' => 'search_input_text_color',321 'alt' => 'search_input_text_color_alt',322 ),323 'type' => 'color',324 'label' => __( 'Text', '__x__' ),325 'options' => $options_base_interaction_labels,326 ),327 array(328 'keys' => array(329 'value' => 'search_box_shadow_color',330 'alt' => 'search_box_shadow_color_alt',331 ),332 'type' => 'color',333 'label' => __( 'Box<br>Shadow', '__x__' ),334 'options' => $options_base_interaction_labels,335 'condition' => array( 'key' => 'search_box_shadow_dimensions', 'op' => 'NOT EMPTY' )336 ),337 $control_search_bg_color,338);339$control_list_search_std_design_colors_submit = array(340 $control_search_submit_colors,341 array(342 'keys' => array(343 'value' => 'search_submit_box_shadow_color',344 'alt' => 'search_submit_box_shadow_color_alt',345 ),346 'type' => 'color',347 'label' => __( 'Box<br>Shadow', '__x__' ),348 'options' => $options_base_interaction_labels,349 'condition' => array( 'key' => 'search_submit_box_shadow_dimensions', 'op' => 'NOT EMPTY' )350 ),351 $control_search_submit_bg_colors,352);353$control_list_search_std_design_colors_clear = array(354 $control_search_clear_colors,355 array(356 'keys' => array(357 'value' => 'search_clear_box_shadow_color',358 'alt' => 'search_clear_box_shadow_color_alt',359 ),360 'type' => 'color',361 'label' => __( 'Box<br>Shadow', '__x__' ),362 'options' => $options_base_interaction_labels,363 'condition' => array( 'key' => 'search_clear_box_shadow_dimensions', 'op' => 'NOT EMPTY' )364 ),365 $control_search_clear_bg_colors,366);367// Control Groups (Advanced)368// =============================================================================369$control_group_search_adv_setup = array(370 array(371 'type' => 'group',372 'title' => __( 'Setup', '__x__' ),373 'group' => $group_search_setup,374 'conditions' => $conditions,375 'controls' => $control_list_search_adv_setup,376 ),377);378$control_group_search_adv_content_setup = array(379 array(380 'type' => 'group',381 'title' => __( 'Content', '__x__' ),382 'group' => $group_search_setup,383 'conditions' => $conditions,384 'controls' => $control_list_search_adv_content_setup,385 ),386);387$control_group_search_adv_submit_setup = array(388 array(389 'type' => 'group',390 'title' => __( 'Submit Setup', '__x__' ),391 'group' => $group_search_submit,392 'conditions' => $conditions,393 'controls' => $control_list_search_adv_submit_setup,394 ),395);396$control_group_search_adv_clear_setup = array(397 array(398 'type' => 'group',399 'title' => __( 'Clear Setup', '__x__' ),400 'group' => $group_search_clear,401 'conditions' => $conditions,402 'controls' => $control_list_search_adv_clear_setup,403 ),404);405// Control Groups (Standard)406// =============================================================================407$control_group_search_std_content_setup = array(408 array(409 'type' => 'group',410 'title' => __( 'Search Content', '__x__' ),411 'group' => $group_std_content,412 'conditions' => $conditions,413 'controls' => $control_list_search_std_content_setup,414 ),415);416$control_group_search_std_design_setup = array(417 array(418 'type' => 'group',419 'title' => __( 'Search Design Content', '__x__' ),420 'group' => $group_std_content,421 'conditions' => $conditions,422 'controls' => $control_list_search_std_design_setup,423 ),424);425$control_group_search_std_design_colors = array_merge(426 array(427 array(428 'type' => 'group',429 'title' => __( 'Search Base Colors', '__x__' ),430 'group' => $group,431 'conditions' => $conditions,432 'controls' => $control_list_search_std_design_colors_base,433 ),434 ),435 x_control_border(436 array_merge(437 $settings_search_design,438 array(439 't_pre' => __( 'Search', '__x__' ),440 'group' => $group_std_design,441 'options' => $options_color_base_interaction_labels_color_only,442 'condition' => array(443 $condition,444 array( 'key' => 'search_border_width', 'op' => 'NOT EMPTY' ),445 array( 'key' => 'search_border_style', 'op' => '!=', 'value' => 'none' )446 ),447 )448 )449 ),450 array(451 array(452 'type' => 'group',453 'title' => __( 'Search Submit Colors', '__x__' ),454 'group' => $group,455 'conditions' => $conditions,456 'controls' => $control_list_search_std_design_colors_submit,457 ),458 ),459 x_control_border(460 array_merge(461 $settings_search_submit,462 array(463 't_pre' => __( 'Search Submit', '__x__' ),464 'group' => $group_std_design,465 'options' => $options_color_base_interaction_labels_color_only,466 'condition' => array(467 $condition,468 array( 'key' => 'search_submit_border_width', 'op' => 'NOT EMPTY' ),469 array( 'key' => 'search_submit_border_style', 'op' => '!=', 'value' => 'none' )470 ),471 )472 )473 ),474 array(475 array(476 'type' => 'group',477 'title' => __( 'Search Clear Colors', '__x__' ),478 'group' => $group,479 'conditions' => $conditions,480 'controls' => $control_list_search_std_design_colors_clear,481 ),482 ),483 x_control_border(484 array_merge(485 $settings_search_clear,486 array(487 't_pre' => __( 'Search Clear', '__x__' ),488 'group' => $group_std_design,489 'options' => $options_color_base_interaction_labels_color_only,490 'condition' => array(491 $condition,492 array( 'key' => 'search_clear_border_width', 'op' => 'NOT EMPTY' ),493 array( 'key' => 'search_clear_border_style', 'op' => '!=', 'value' => 'none' )494 ),495 )496 )497 )498);...

Full Screen

Full Screen

clear

Using AI Code Generation

copy

Full Screen

1$std = new stdClass();2$std->name = "John";3$std->age = 25;4echo $std->name;5echo $std->age;6unset($std->name);7echo $std->name;8echo $std->age;9Related Posts: PHP | get_object_vars() function10PHP | get_class_vars() function11PHP | get_declared_classes() function12PHP | get_class_methods() function13PHP | get_class() function14PHP | gettype() function15PHP | get_resource_type() function16PHP | get_parent_class() function17PHP | get_object_vars() function18PHP | get_class_vars() function19PHP | get_declared_classes() function20PHP | get_class_methods() function21PHP | get_class() function22PHP | gettype() function23PHP | get_resource_type() function24PHP | get_parent_class() function25PHP | get_object_vars() function26PHP | get_class_vars() function27PHP | get_declared_classes() function28PHP | get_class_methods() function29PHP | get_class() function30PHP | gettype() function31PHP | get_resource_type() function32PHP | get_parent_class() function33PHP | get_object_vars() function34PHP | get_class_vars() function35PHP | get_declared_classes() function36PHP | get_class_methods() function37PHP | get_class() function38PHP | gettype() function39PHP | get_resource_type() function40PHP | get_parent_class() function41PHP | get_object_vars() function42PHP | get_class_vars() function43PHP | get_declared_classes() function44PHP | get_class_methods() function45PHP | get_class() function46PHP | gettype() function47PHP | get_resource_type() function48PHP | get_parent_class() function49PHP | get_object_vars() function50PHP | get_class_vars() function51PHP | get_declared_classes() function52PHP | get_class_methods() function53PHP | get_class() function54PHP | gettype() function55PHP | get_resource_type() function56PHP | get_parent_class() function57PHP | get_object_vars() function58PHP | get_class_vars() function59PHP | get_declared_classes() function60PHP | get_class_methods() function

Full Screen

Full Screen

clear

Using AI Code Generation

copy

Full Screen

1$std = new stdClass();2$std->name = 'Nirav';3$std->age = 25;4$std->city = 'Ahmedabad';5$std->country = 'India';6$std->job = 'Software Developer';7$std->company = 'XYZ';8$std->address = 'Ahmedabad, India';9$std->phone = '1234567890';

Full Screen

Full Screen

clear

Using AI Code Generation

copy

Full Screen

1$std = new stdClass();2$std->name = 'John';3$std->age = 20;4$std->city = 'New York';5print_r($std);6echo "Clearing the object";7$std->clear();8print_r($std);9Related posts: PHP | ReflectionClass::getMethods() PHP | ReflectionClass::getConstructor() PHP | ReflectionClass::getProperties() PHP | ReflectionClass::getInterfaces() PHP | ReflectionClass::getFileName()

Full Screen

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run Atoum automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Trigger clear code on LambdaTest Cloud Grid

Execute automation tests with clear on a cloud-based Grid of 3000+ real browsers and operating systems for both web and mobile applications.

Test now for Free

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful