<?php
/*
+-----------------------------------------------------------------------------+
| $Id: setting.php 2010-05-24 12:37:44Z Bleakwind $
| Site setting
| Copyright (c) 2003-2010 Bleakwind (www.weaverdream.com)
| http://www.weaverdream.com/
| Release under the GNU Lesser General Public License Version 3 (LGPLv3):
|   http://www.gnu.org/licenses/lgpl.html
+-----------------------------------------------------------------------------+
*/

// Template variable
$public_var = array(
    'dir_language'                          => "language/".$LANGLIST[$CONFIG['language']]['dir'],
    'dir_template'                          => "template/".$TEMPLATE[$CONFIG['template']]['dir'],
    'dir_images'                            => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_images}",
    'dir_css'                               => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_css}",
    'dir_js'                                => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_js}",
    'dir_flash'                             => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_flash}",

    'dir_language_admin'                    => "admin/language/".$LANGLIST[$CONFIG['language_admin']]['dir'],
    'dir_template_admin'                    => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir'],
    'dir_images_admin'                      => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_images_admin}",
    'dir_css_admin'                         => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_css_admin}",
    'dir_js_admin'                          => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_js_admin}",
    'dir_flash_admin'                       => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_flash_admin}",

    'dir_upload'                            => "upload",
    'dir_channel_cover'                     => "upload/channel_cover",
    'dir_content_cover'                     => "upload/content_cover",
    'dir_content_attach'                    => "upload/content_attach",
    'dir_article_cover'                     => "upload/article_cover",
    'dir_article_attach'                    => "upload/article_attach",
    'dir_datum_cover'                       => "upload/datum_cover",
    'dir_datum_attach'                      => "upload/datum_attach",
    'dir_upload_tmp'                        => "upload/upload_tmp",
    'dir_member_avatar'                     => "upload/member_avatar",
    'dir_userfiles'                         => "upload/userfiles",

    'dir_build'                             => "build",
    'dir_build_channel_cover'               => "build/channel_cover",
    'dir_build_content_cover'               => "build/content_cover",
    'dir_build_content_attach'              => "build/content_attach",
    'dir_build_article_cover'               => "build/article_cover",
    'dir_build_article_attach'              => "build/article_attach",
    'dir_build_datum_cover'                 => "build/datum_cover",
    'dir_build_datum_attach'                => "build/datum_attach",
    'dir_build_upload_tmp'                  => "build/upload_tmp",
    'dir_build_member_avatar'               => "build/member_avatar",
    'dir_build_userfiles'                   => "build/userfiles",

    'dir_avatar_select'                     => "images/avatar",
    'config_db_prefix'                      => CONFIG_DB_PREFIX,
    "config_rootdir"                        => CONFIG_ROOTDIR,
    'chmod_mode_dir'                        => '0755',
    'chmod_mode_file'                       => '0755',

    "var_sysname"                           => "Firmkernel",
    "var_sysver"                            => "1.1",
    "var_sysurl"                            => "http://www.weaverdream.com",
);

// Setting variable
$SETTING = array(
    'dir_language'                          => "language/".$LANGLIST[$CONFIG['language']]['dir'],
    'dir_template'                          => "template/".$TEMPLATE[$CONFIG['template']]['dir'],
    'dir_images'                            => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_images}",
    'dir_css'                               => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_css}",
    'dir_js'                                => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_js}",
    'dir_flash'                             => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_flash}",

    'dir_language_admin'                    => "admin/language/".$LANGLIST[$CONFIG['language_admin']]['dir'],
    'dir_template_admin'                    => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir'],
    'dir_images_admin'                      => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_images_admin}",
    'dir_css_admin'                         => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_css_admin}",
    'dir_js_admin'                          => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_js_admin}",
    'dir_flash_admin'                       => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_flash_admin}",

    'dir_upload'                            => "upload",
    'dir_channel_cover'                     => "upload/channel_cover",
    'dir_content_cover'                     => "upload/content_cover",
    'dir_content_attach'                    => "upload/content_attach",
    'dir_article_cover'                     => "upload/article_cover",
    'dir_article_attach'                    => "upload/article_attach",
    'dir_datum_cover'                       => "upload/datum_cover",
    'dir_datum_attach'                      => "upload/datum_attach",
    'dir_upload_tmp'                        => "upload/upload_tmp",
    'dir_member_avatar'                     => "upload/member_avatar",
    'dir_userfiles'                         => "upload/userfiles",

    'dir_build'                             => "build",
    'dir_build_channel_cover'               => "build/channel_cover",
    'dir_build_content_cover'               => "build/content_cover",
    'dir_build_content_attach'              => "build/content_attach",
    'dir_build_article_cover'               => "build/article_cover",
    'dir_build_article_attach'              => "build/article_attach",
    'dir_build_datum_cover'                 => "build/datum_cover",
    'dir_build_datum_attach'                => "build/datum_attach",
    'dir_build_upload_tmp'                  => "build/upload_tmp",
    'dir_build_member_avatar'               => "build/member_avatar",
    'dir_build_userfiles'                   => "build/userfiles",

    'dir_avatar_select'                     => "images/avatar",
    'config_db_prefix'                      => CONFIG_DB_PREFIX,
    "config_rootdir"                        => CONFIG_ROOTDIR,
    'chmod_mode_dir'                        => '0755',
    'chmod_mode_file'                       => '0755',

    "var_sysname"                           => "Firmkernel",
    "var_sysver"                            => "1.1",
    "var_sysurl"                            => "http://www.weaverdream.com",
);

$VERIFYCODE = array(
    'vc_login',
    'vc_register',
    'vc_forgetpass',
);

$SELECTSORT = array(
    'quicklaunch_color'                     => "快速启动颜色",
    'content_prefix'                        => "发布内容标题前缀",
    'content_color'                         => "发布内容标题颜色",
    'content_fontstyle'                     => "发布内容标题样式",
    'content_decoration'                    => "发布内容标题装饰",
    'article_prefix'                        => "内部公告标题前缀",
    'article_color'                         => "内部公告标题颜色",
    'article_fontstyle'                     => "内部公告标题样式",
    'article_decoration'                    => "内部公告标题装饰",
    'datum_prefix'                          => "资料仓库标题前缀",
    'datum_color'                           => "资料仓库标题颜色",
    'datum_fontstyle'                       => "资料仓库标题样式",
    'datum_decoration'                      => "资料仓库标题装饰",
    'question'                              => "密码提示问题",
);

// Verify variable
$SYSCHECK = array(
    'list_privilege_admin'    => array(
                                "amend"                     => "修改自己资料",

                                "channel"                   => "频道设定权限",
                                "content"                   => "内容管理权限",

                                "article"                   => "内部公告发布权限",
                                "datum"                     => "资料仓库管理权限",

                                "member_view"               => "会员查看权限",
                                "member_amend"              => "会员修改权限",
                                "admin_view"                => "管理员查看权限",
                                "admin_amend"               => "管理员修改权限",
                                "member_group_view"         => "会员群组查看权限",
                                "member_group_amend"        => "会员群组修改权限",
                                "admin_group_view"          => "管理员群组查看权限",
                                "admin_group_amend"         => "管理员群组修改权限",
                           ),

    'list_fileallow_admin'    => array(
                                "index"                     => "管理首页",
                                "article_list"              => "公告列表",
                                "article_show"              => "内部公告",
                                "quicklaunch"               => "快速启动",
                                "pm_in"                     => "收件箱",
                                "pm_out"                    => "发件箱",
                                "pm_send"                   => "写短信",
                                "amend"                     => "我的资料",

                                "index_channel"             => "频道模型首页",
                                "channel"                   => "频道管理",
                                "setmodel"                  => "模型管理",
                                "trans"                     => "横向分类管理",
                                "trans_group"               => "横向分类分组管理",
                                "manage"                    => "频道管理员设定",

                                "index_content"             => "内容管理首页",
                                "content"                   => "内容管理",

                                "index_member"              => "会员管理首页",
                                "member"                    => "会员管理",
                                "member_group"              => "会员群组设定",
                                "admin"                     => "管理员管理",
                                "admin_group"               => "管理员群组管理",
                                "forbid_ip"                 => "禁止IP",

                                "index_config"              => "基本设置首页",
                                "set_config"                => "系统设置",
                                "set_select"                => "系统选项",

                                "index_tool"                => "系统工具首页",
                                "article"                   => "内部公告管理",
                                "datum"                     => "资料仓库管理",
                                "template"                  => "前台模板管理",
                                "admin_template"            => "后台模板管理",
                                "language"                  => "前台语言管理",
                                "admin_language"            => "后台语言管理",
                                "clean_compile"             => "清空模板缓存",
                                "clean_cache"               => "清空页面缓存",
                                "clean_db"                  => "清空数据库缓存",
                                "clean_content_cover"       => "清空发布内容封面缓存",
                                "clean_content_attach"      => "清空发布内容附件缓存",
                                "clean_article_cover"       => "清空内部公告封面缓存",
                                "clean_article_attach"      => "清空内部公告附件缓存",
                                "clean_datum_cover"         => "清空资料仓库封面缓存",
                                "clean_datum_attach"        => "清空资料仓库附件缓存",

                                "index_datum_show"          => "资料仓库首页",
                                "datum_show"                => "资料仓库",

                                "index_help"                => "帮助支持首页",
                                "help_system"               => "系统介绍",
                                "help_frame"                => "系统架构",
                                "help_template"             => "模板标签",
                                "help_skill"                => "使用技巧",

                                "prompt"                    => "提示信息",
                           ),

    'list_login_admin'        => array(
                                "index",
                                "article_list",
                                "article_show",
                                "quicklaunch",
                                "pm_in",
                                "pm_out",
                                "pm_send",
                                "amend",

                                "index_channel",
                                "channel",
                                "setmodel",
                                "trans",
                                "trans_group",
                                "manage",

                                "index_content",
                                "content",

                                "index_member",
                                "member",
                                "member_group",
                                "admin",
                                "admin_group",
                                "forbid_ip",

                                "index_config",
                                "set_config",
                                "set_select",

                                "index_tool",
                                "article",
                                "datum",
                                "template",
                                "admin_template",
                                "language",
                                "admin_language",
                                "clean_compile",
                                "clean_cache",
                                "clean_db",
                                "clean_content_cover",
                                "clean_content_attach",
                                "clean_article_cover",
                                "clean_article_attach",
                                "clean_datum_cover",
                                "clean_datum_attach",

                                "index_datum_show",
                                "datum_show",

                                "index_help",
                                "help_system",
                                "help_frame",
                                "help_template",
                                "help_skill",

                                "prompt",
                           ),

    'list_except_admin'       => array(
                                "curve",
                                "verifycode",
                           ),

    'list_privilege_member'    => array(
                                'if_forbidvisit'            => $LANGUAGE['s']['_public']['list_privilege_member']['if_forbidvisit'],
                           ),

    'list_fileallow_member'    => array(
                                'index'                     => $LANGUAGE['s']['_public']['list_fileallow_member']['index'],

                                'register'                  => $LANGUAGE['s']['_public']['list_fileallow_member']['register'],
                                'login'                     => $LANGUAGE['s']['_public']['list_fileallow_member']['login'],
                                'forgetpass'                => $LANGUAGE['s']['_public']['list_fileallow_member']['forgetpass'],
    
                                'channel'                   => $LANGUAGE['s']['_public']['list_fileallow_member']['channel'],
                                'content'                   => $LANGUAGE['s']['_public']['list_fileallow_member']['content'],
                                'search'                    => $LANGUAGE['s']['_public']['list_fileallow_member']['search'],
                                'attach'                    => $LANGUAGE['s']['_public']['list_fileallow_member']['attach'],

                                'cp'                        => $LANGUAGE['s']['_public']['list_fileallow_member']['cp'],
                                'cp_password'               => $LANGUAGE['s']['_public']['list_fileallow_member']['cp_password'],
                                'cp_profile'                => $LANGUAGE['s']['_public']['list_fileallow_member']['cp_profile'],
                                'cp_prompt'                 => $LANGUAGE['s']['_public']['list_fileallow_member']['cp_prompt'],

                                'prompt'                    => $LANGUAGE['s']['_public']['list_fileallow_member']['prompt'],
                           ),

    'list_login_member'        => array(
                                'cp',
                                'cp_password',
                                'cp_profile',
                                'cp_prompt',
                           ),

    'list_except_member'       => array(
                                'curve',
                                'verifycode',
                           ),
);
?>
