当前位置: 首页>>代码示例>>PHP>>正文


PHP CComponentUtil::GetDefaultNameTemplates方法代码示例

本文整理汇总了PHP中CComponentUtil::GetDefaultNameTemplates方法的典型用法代码示例。如果您正苦于以下问题:PHP CComponentUtil::GetDefaultNameTemplates方法的具体用法?PHP CComponentUtil::GetDefaultNameTemplates怎么用?PHP CComponentUtil::GetDefaultNameTemplates使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在CComponentUtil的用法示例。


在下文中一共展示了CComponentUtil::GetDefaultNameTemplates方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: array

<?php

if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) {
    die;
}
$arTemplateParameters = array("STRUCTURE_FILTER" => array("TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "structure", "NAME" => GetMessage("TP_BSP_STRUCTURE_FILTER"), "PARENT" => "BASE"), "USE_SUGGEST" => array("NAME" => GetMessage("TP_BSP_USE_SUGGEST"), "TYPE" => "CHECKBOX", "DEFAULT" => "N"), "NAME_TEMPLATE" => array("TYPE" => "LIST", "NAME" => GetMessage("TP_BSP_NAME_TEMPLATE"), "VALUES" => CComponentUtil::GetDefaultNameTemplates(), "MULTIPLE" => "N", "ADDITIONAL_VALUES" => "Y", "DEFAULT" => GetMessage("TP_BSP_NAME_TEMPLATE_DEFAULT"), "PARENT" => "ADDITIONAL_SETTINGS"), "SHOW_LOGIN" => array("NAME" => GetMessage("TP_BSP_SHOW_LOGIN"), "TYPE" => "CHECKBOX", "MULTIPLE" => "N", "VALUE" => "Y", "DEFAULT" => "Y", "PARENT" => "ADDITIONAL_SETTINGS"));
if (IsModuleInstalled('socialnetwork')) {
    $arTemplateParameters["PATH_TO_SONET_MESSAGES_CHAT"] = array("TYPE" => "STRING", "DEFAULT" => "/company/personal/messages/chat/#USER_ID#/", "NAME" => GetMessage("TP_BSP_PATH_TO_SONET_MESSAGES_CHAT"), "PARENT" => "ADDITIONAL_SETTINGS");
    if (IsModuleInstalled('intranet')) {
        $arTemplateParameters["PATH_TO_CONPANY_DEPARTMENT"] = array("TYPE" => "STRING", "DEFAULT" => "/company/structure.php?set_filter_structure=Y&structure_UF_DEPARTMENT=#ID#", "NAME" => GetMessage("TP_BSP_PATH_TO_CONPANY_DEPARTMENT"), "PARENT" => "ADDITIONAL_SETTINGS");
    }
    if (IsModuleInstalled("video")) {
        $arTemplateParameters["PATH_TO_VIDEO_CALL"] = array("NAME" => GetMessage("TP_BSP_PATH_TO_VIDEO_CALL"), "TYPE" => "STRING", "DEFAULT" => "/company/personal/video/#USER_ID#/", "PARENT" => "ADDITIONAL_SETTINGS");
    }
}
if (COption::GetOptionString("search", "use_social_rating") == "Y") {
    $arTemplateParameters["SHOW_RATING"] = array("NAME" => GetMessage("TP_BSP_SHOW_RATING"), "TYPE" => "LIST", "VALUES" => array("" => GetMessage("TP_BSP_SHOW_RATING_CONFIG"), "Y" => GetMessage("MAIN_YES"), "N" => GetMessage("MAIN_NO")), "MULTIPLE" => "N", "DEFAULT" => "");
    $arTemplateParameters["RATING_TYPE"] = array("NAME" => GetMessage("TP_BSP_RATING_TYPE"), "TYPE" => "LIST", "VALUES" => array("" => GetMessage("TP_BSP_RATING_TYPE_CONFIG"), "like" => GetMessage("TP_BSP_RATING_TYPE_LIKE_TEXT"), "like_graphic" => GetMessage("TP_BSP_RATING_TYPE_LIKE_GRAPHIC"), "standart_text" => GetMessage("TP_BSP_RATING_TYPE_STANDART_TEXT"), "standart" => GetMessage("TP_BSP_RATING_TYPE_STANDART_GRAPHIC")), "MULTIPLE" => "N", "DEFAULT" => "");
    $arTemplateParameters["PATH_TO_USER_PROFILE"] = array("NAME" => GetMessage("TP_BSP_PATH_TO_USER_PROFILE"), "TYPE" => "STRING", "DEFAULT" => "");
}
开发者ID:webgksupport,项目名称:alpina,代码行数:20,代码来源:.parameters.php

示例2: Array

				"HIDDEN" => $hidden
			);
			$arComponentParameters["PARAMETERS"]["POST_FIRST_MESSAGE"] = Array(
				"PARENT" => "REVIEW_SETTINGS",
				"NAME" => GetMessage("F_POST_FIRST_MESSAGE"),
				"TYPE" => "CHECKBOX",
				"DEFAULT" => "N",
				"HIDDEN" => $hidden
			);
		}

		$arComponentParameters["PARAMETERS"]["NAME_TEMPLATE"] = array(
			"PARENT" => "REVIEW_SETTINGS",
			"TYPE" => "LIST",
			"NAME" => GetMessage("P_SONET_NAME_TEMPLATE"),
			"VALUES" => CComponentUtil::GetDefaultNameTemplates(),
			"MULTIPLE" => "N",
			"ADDITIONAL_VALUES" => "Y",
			"DEFAULT" => ""
		);
	}
}

if (IsModuleInstalled("search"))
{
	$arComponentParameters["PARAMETERS"]["SEF_MODE"]["search"] = array(
		"NAME" => GetMessage("SEARCH_PAGE"),
		"DEFAULT" => "search/",
		"VARIABLES" => array());

	if($arCurrentValues["SHOW_TAGS"]=="Y")
开发者ID:ASDAFF,项目名称:bitrix-5,代码行数:31,代码来源:.parameters.php

示例3: array

$arRes = $GLOBALS["USER_FIELD_MANAGER"]->GetUserFields("USER", 0, LANGUAGE_ID);
$userProp = array();
if (!empty($arRes)) {
    foreach ($arRes as $key => $val) {
        $userProp[$val["FIELD_NAME"]] = empty($val["EDIT_FORM_LABEL"]) ? $val["FIELD_NAME"] : $val["EDIT_FORM_LABEL"];
    }
}
$hidden = !is_set($arCurrentValues, "USE_LIGHT_VIEW") || $arCurrentValues["USE_LIGHT_VIEW"] == "Y" ? "Y" : "N";
$arRes = $GLOBALS["USER_FIELD_MANAGER"]->GetUserFields("FORUM_MESSAGE", 0, LANGUAGE_ID);
$F_USER_FIELDS = array();
if (!empty($arRes)) {
    foreach ($arRes as $key => $val) {
        $F_USER_FIELDS[$val["FIELD_NAME"]] = empty($val["EDIT_FORM_LABEL"]) ? $val["FIELD_NAME"] : $val["EDIT_FORM_LABEL"];
    }
}
$arComponentParameters = array("GROUPS" => array("TEMPLATE_TEMPLATES_SETTINGS" => array("NAME" => GetMessage("F_TEMPLATE_SETTINGS"), "SORT" => 1), "ADMIN_SETTINGS" => array("NAME" => GetMessage("F_ADMIN_SETTINGS")), "RSS_SETTINGS" => array("NAME" => GetMessage("F_RSS"))), "PARAMETERS" => array("USE_LIGHT_VIEW" => array("PARENT" => "BASE", "NAME" => GetMessage("P_USE_LIGHT_VIEW"), "TYPE" => "CHECKBOX", "DEFAULT" => "Y", "REFRESH" => "Y"), "VARIABLE_ALIASES" => array("FID" => array("NAME" => GetMessage("F_FORUM_ID"), "DEFAULT" => "FID"), "TID" => array("NAME" => GetMessage("F_TOPIC_ID"), "DEFAULT" => "TID"), "MID" => array("NAME" => GetMessage("F_MESSAGE_ID"), "DEFAULT" => "MID"), "UID" => array("NAME" => GetMessage("F_USER_ID"), "DEFAULT" => "UID")), "SEF_MODE" => array_merge(array("index" => array("NAME" => GetMessage("F_INDEX"), "DEFAULT" => "index.php", "VARIABLES" => array()), "list" => array("NAME" => GetMessage("F_LIST"), "DEFAULT" => "forum#FID#/", "VARIABLES" => array("FID")), "read" => array("NAME" => GetMessage("F_READ"), "DEFAULT" => "forum#FID#/topic#TID#/", "VARIABLES" => array("FID", "TID")), "message" => array("NAME" => GetMessage("F_MESSAGE"), "DEFAULT" => "messages/forum#FID#/topic#TID#/message#MID#/", "VARIABLES" => array("FID", "TID", "MID")), "help" => array("NAME" => GetMessage("F_HELP"), "DEFAULT" => "help/", "VARIABLES" => array()), "rules" => array("NAME" => GetMessage("F_RULES"), "DEFAULT" => "rules/", "VARIABLES" => array()), "message_appr" => array("NAME" => GetMessage("F_MESSAGE_APPR"), "DEFAULT" => "messages/approve/forum#FID#/topic#TID#/", "VARIABLES" => array("FID", "TID")), "message_move" => array("NAME" => GetMessage("F_MESSAGE_MOVE"), "DEFAULT" => "messages/move/forum#FID#/topic#TID#/message#MID#/", "VARIABLES" => array("FID", "TID", "MID")), "rss" => array("NAME" => GetMessage("F_RSS_PAGE"), "DEFAULT" => "rss/#TYPE#/#MODE#/#IID#/", "VARIABLES" => array()), "search" => array("NAME" => GetMessage("F_SEARCH"), "DEFAULT" => "search/", "VARIABLES" => array()), "subscr_list" => array("NAME" => GetMessage("F_SUBSCR_LIST"), "DEFAULT" => "subscribe/", "VARIABLES" => array()), "active" => array("NAME" => GetMessage("F_ACTIVE"), "DEFAULT" => "topic/new/", "VARIABLES" => array()), "topic_move" => array("NAME" => GetMessage("F_TOPIC_MOVE"), "DEFAULT" => "topic/move/forum#FID#/topic#TID#/", "VARIABLES" => array("FID", "TID")), "topic_new" => array("NAME" => GetMessage("F_TOPIC_NEW"), "DEFAULT" => "topic/add/forum#FID#/", "VARIABLES" => array("FID")), "topic_search" => array("NAME" => GetMessage("F_TOPIC_SEARCH"), "DEFAULT" => "topic/search/", "VARIABLES" => array()), "user_list" => array("NAME" => GetMessage("F_USER_LIST"), "DEFAULT" => "users/", "VARIABLES" => array()), "profile" => array("NAME" => GetMessage("F_PROFILE"), "DEFAULT" => "user/#UID#/edit/", "VARIABLES" => array("UID")), "profile_view" => array("NAME" => GetMessage("F_PROFILE_VIEW"), "DEFAULT" => "user/#UID#/", "VARIABLES" => array("UID")), "user_post" => array("NAME" => GetMessage("F_USER_POST"), "DEFAULT" => "user/#UID#/post/#mode#/", "VARIABLES" => array("UID", "mode")), "message_send" => array("NAME" => GetMessage("F_MESSAGE_SEND"), "DEFAULT" => "user/#UID#/send/#TYPE#/", "VARIABLES" => array("TYPE", "UID"))), intval(COption::GetOptionString("forum", "UsePMVersion", "2")) > 0 ? array("pm_list" => array("NAME" => GetMessage("F_PM_LIST"), "DEFAULT" => "pm/folder#FID#/", "VARIABLES" => array("FID")), "pm_edit" => array("NAME" => GetMessage("F_PM_EDIT"), "DEFAULT" => "pm/folder#FID#/message#MID#/user#UID#/#mode#/", "VARIABLES" => array("FID", "MID", "UID", "mode")), "pm_read" => array("NAME" => GetMessage("F_PM_READ"), "DEFAULT" => "pm/folder#FID#/message#MID#/", "VARIABLES" => array("FID", "MID")), "pm_search" => array("NAME" => GetMessage("F_PM_SEARCH"), "DEFAULT" => "pm/search/", "VARIABLES" => array()), "pm_folder" => array("NAME" => GetMessage("F_PM_FOLDER"), "DEFAULT" => "pm/folders/", "VARIABLES" => array())) : array()), "CHECK_CORRECT_TEMPLATES" => array("PARENT" => "SEF_MODE", "NAME" => GetMessage("F_CHECK_CORRECT_PATH_TEMPLATES"), "TYPE" => "CHECKBOX", "DEFAULT" => "Y", "HIDDEN" => $hidden), "FID" => CForumParameters::GetForumsMultiSelect(GetMessage("F_FID"), "BASE"), "USER_PROPERTY" => array("PARENT" => "BASE", "NAME" => GetMessage("USER_PROPERTY"), "TYPE" => "LIST", "VALUES" => $userProp, "MULTIPLE" => "Y", "DEFAULT" => array(), "HIDDEN" => $hidden), "USER_FIELDS" => array("PARENT" => "BASE", "NAME" => GetMessage("F_USER_FIELDS"), "TYPE" => "LIST", "VALUES" => $F_USER_FIELDS, "MULTIPLE" => "Y", "DEFAULT" => array_keys($F_USER_FIELDS), "HIDDEN" => $hidden), "HELP_CONTENT" => array("PARENT" => "BASE", "NAME" => GetMessage("F_HELP_CONTENT"), "TYPE" => "STRING", "DEFAULT" => "", "HIDDEN" => $GLOBALS["USER"]->IsAdmin() ? $hidden : "Y"), "RULES_CONTENT" => array("PARENT" => "BASE", "NAME" => GetMessage("F_RULES_CONTENT"), "TYPE" => "STRING", "DEFAULT" => "", "HIDDEN" => $GLOBALS["USER"]->IsAdmin() ? $hidden : "Y"), "FORUMS_PER_PAGE" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("F_FORUMS_PER_PAGE"), "TYPE" => "STRING", "DEFAULT" => intVal(COption::GetOptionString("forum", "FORUMS_PER_PAGE", "10"))), "TOPICS_PER_PAGE" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("F_TOPICS_PER_PAGE"), "TYPE" => "STRING", "DEFAULT" => intVal(COption::GetOptionString("forum", "TOPICS_PER_PAGE", "10"))), "MESSAGES_PER_PAGE" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("F_MESSAGES_PER_PAGE"), "TYPE" => "STRING", "DEFAULT" => COption::GetOptionString("forum", "MESSAGES_PER_PAGE", "10")), "PATH_TO_AUTH_FORM" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("F_PATH_TO_AUTH_FORM"), "TYPE" => "STRING", "DEFAULT" => "", "HIDDEN" => $hidden), "TIME_INTERVAL_FOR_USER_STAT" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("F_TIME_INTERVAL_FOR_USER_STAT"), "TYPE" => "STRING", "DEFAULT" => "10", "HIDDEN" => $hidden), "DATE_FORMAT" => CComponentUtil::GetDateFormatField(GetMessage("F_DATE_FORMAT"), "ADDITIONAL_SETTINGS"), "DATE_TIME_FORMAT" => CComponentUtil::GetDateTimeFormatField(GetMessage("F_DATE_TIME_FORMAT"), "ADDITIONAL_SETTINGS"), "USE_NAME_TEMPLATE" => array("NAME" => GetMessage("F_USE_NAME_TEMPLATE"), "TYPE" => "CHECKBOX", "DEFAULT" => "N", "PARENT" => "ADDITIONAL_SETTINGS", "HIDDEN" => $hidden), "NAME_TEMPLATE" => array("PARENT" => "ADDITIONAL_SETTINGS", "TYPE" => "LIST", "NAME" => GetMessage("F_NAME_TEMPLATE"), "VALUES" => CComponentUtil::GetDefaultNameTemplates(), "MULTIPLE" => "N", "ADDITIONAL_VALUES" => "Y", "DEFAULT" => "", "HIDDEN" => $hidden), "IMAGE_SIZE" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("F_IMAGE_SIZE"), "TYPE" => "STRING", "DEFAULT" => "500"), "ATTACH_MODE" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("F_ATTACH_MODE"), "TYPE" => "LIST", "VALUES" => array("THUMB" => GetMessage("F_ATTACH_MODE_THUMB"), "NAME" => GetMessage("F_ATTACH_MODE_NAME")), "MULTIPLE" => "Y", "DEFAULT" => array("NAME"), "REFRESH" => "Y"), "ATTACH_SIZE" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("F_ATTACH_SIZE"), "TYPE" => "STRING", "DEFAULT" => "90", "HIDDEN" => "Y"), "EDITOR_CODE_DEFAULT" => array("NAME" => GetMessage("F_EDITOR_CODE_DEFAULT"), "TYPE" => "CHECKBOX", "DEFAULT" => "N", "PARENT" => "ADDITIONAL_SETTINGS", "HIDDEN" => $hidden), "SEND_MAIL" => CForumParameters::GetSendMessageRights(GetMessage("F_SEND_MAIL"), "ADDITIONAL_SETTINGS", "E") + array("HIDDEN" => $hidden), "SEND_ICQ" => CForumParameters::GetSendMessageRights(GetMessage("F_SEND_ICQ"), "ADDITIONAL_SETTINGS", "E", "ICQ") + array("HIDDEN" => "Y"), "SET_NAVIGATION" => CForumParameters::GetSetNavigation(GetMessage("F_SET_NAVIGATION"), "ADDITIONAL_SETTINGS"), "SET_TITLE" => array(), "SET_DESCRIPTION" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("F_SET_DESCRIPTION"), "TYPE" => "CHECKBOX", "DEFAULT" => "Y", "HIDDEN" => $hidden), "SET_PAGE_PROPERTY" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("F_SET_PAGE_PROPERTY"), "TYPE" => "CHECKBOX", "DEFAULT" => "Y", "HIDDEN" => $hidden), "USE_RSS" => array("PARENT" => "RSS_SETTINGS", "NAME" => GetMessage("F_RSS_USE"), "TYPE" => "CHECKBOX", "DEFAULT" => "Y", "REFRESH" => "Y"), "SHOW_FORUM_ANOTHER_SITE" => array("PARENT" => "ADMIN_SETTINGS", "NAME" => GetMessage("F_SHOW_FORUM_ANOTHER_SITE"), "TYPE" => "CHECKBOX", "DEFAULT" => "Y", "HIDDEN" => $hidden), "CACHE_TIME" => array("DEFAULT" => 3600), "CACHE_TIME_USER_STAT" => array("PARENT" => "CACHE_SETTINGS", "NAME" => GetMessage("F_CACHE_TIME_USER_STAT"), "TYPE" => "STRING", "DEFAULT" => "60"), "CACHE_TIME_FOR_FORUM_STAT" => array("PARENT" => "CACHE_SETTINGS", "NAME" => GetMessage("F_CACHE_TIME_FOR_FORUM_STAT"), "TYPE" => "STRING", "DEFAULT" => "3600")));
$arComponentParameters["PARAMETERS"]["DATE_FORMAT"]["HIDDEN"] = $hidden;
$arComponentParameters["PARAMETERS"]["DATE_TIME_FORMAT"]["HIDDEN"] = $hidden;
$arComponentParameters["PARAMETERS"]["SEND_MAIL"]["HIDDEN"] = $hidden;
$arComponentParameters["PARAMETERS"]["SEND_ICQ"]["HIDDEN"] = "Y";
$arComponentParameters["PARAMETERS"]["SET_NAVIGATION"]["HIDDEN"] = $hidden;
if ($arCurrentValues["USE_RSS"] == "Y") {
    $arComponentParameters["PARAMETERS"]["RSS_TYPE_RANGE"] = array("PARENT" => "RSS_SETTINGS", "NAME" => GetMessage("F_RSS_TYPE"), "TYPE" => "LIST", "VALUES" => array("RSS1" => "RSS 0.92", "RSS2" => "RSS 2.0", "ATOM" => "Atom 0.3"), "MULTIPLE" => "Y", "DEFAULT" => array("RSS1", "RSS2", "ATOM"), "HIDDEN" => $hidden);
    //	$arComponentParameters["PARAMETERS"]["RSS_FID_RANGE"] = CForumParameters::GetForumsMultiSelect(GetMessage("F_RSS_FORUM_RANGE"), "RSS_SETTINGS");
    $arComponentParameters["PARAMETERS"]["RSS_CACHE"] = array("PARENT" => "CACHE_SETTINGS", "NAME" => GetMessage("F_RSS_CACHE"), "TYPE" => "STRING", "DEFAULT" => "1800", "HIDDEN" => $hidden);
    $arComponentParameters["PARAMETERS"]["RSS_COUNT"] = array("PARENT" => "RSS_SETTINGS", "NAME" => GetMessage("F_RSS_COUNT"), "TYPE" => "STRING", "DEFAULT" => '30');
    $arComponentParameters["PARAMETERS"]["RSS_TN_TITLE"] = array("PARENT" => "RSS_SETTINGS", "NAME" => GetMessage("RSS_TITLE"), "TYPE" => "STRING", "DEFAULT" => "", "HIDDEN" => $hidden);
    $arComponentParameters["PARAMETERS"]["RSS_TN_DESCRIPTION"] = array("PARENT" => "RSS_SETTINGS", "NAME" => GetMessage("RSS_DESCRIPTION"), "TYPE" => "STRING", "COLS" => "25", "ROWS" => "10", "DEFAULT" => "", "HIDDEN" => $hidden);
}
if (IsModuleInstalled("vote")) {
    $right = $GLOBALS["APPLICATION"]->GetGroupRight("vote");
开发者ID:spas-viktor,项目名称:books,代码行数:31,代码来源:.parameters.php

示例4: array

    die;
}
if (!CModule::IncludeModule("blog")) {
    return false;
}
$arThemesMessages = array("blue" => GetMessage("BLG_THEME_BLUE"), "green" => GetMessage("BLG_THEME_GREEN"), "red" => GetMessage("BLG_THEME_RED"), "red2" => GetMessage("BLG_THEME_RED2"), "orange" => GetMessage("BLG_THEME_ORANGE"));
$arThemes = array();
$dir = trim(preg_replace("'[\\\\/]+'", "/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/components/bitrix/blog/templates/.default/themes/"));
if (is_dir($dir) && ($directory = opendir($dir))) {
    while (($file = readdir($directory)) !== false) {
        if ($file != "." && $file != ".." && is_dir($dir . $file)) {
            $arThemes[$file] = !empty($arThemesMessages[$file]) ? $arThemesMessages[$file] : strtoupper(substr($file, 0, 1)) . strtolower(substr($file, 1));
        }
    }
    closedir($directory);
}
$arTemplateParameters = array("THEME" => array("PARENT" => "TEMPLATE_TEMPLATES_SETTINGS", "NAME" => GetMessage("BLG_THEME"), "TYPE" => "LIST", "VALUES" => $arThemes, "MULTIPLE" => "N", "DEFAULT" => "blue"), "USER_PROPERTY_NAME" => array("NAME" => GetMessage("USER_PROPERTY_NAME"), "TYPE" => "STRING", "DEFAULT" => ""), "BLOG_URL" => array("NAME" => GetMessage("ONE_BLOG_BLOG_URL"), "TYPE" => "STRING", "DEFAULT" => "", "PARENT" => "BASE"), "NAME_TEMPLATE" => array("TYPE" => "LIST", "NAME" => GetMessage("BC_NAME_TEMPLATE"), "VALUES" => CComponentUtil::GetDefaultNameTemplates(), "MULTIPLE" => "N", "ADDITIONAL_VALUES" => "Y", "DEFAULT" => GetMessage("BC_NAME_TEMPLATE_DEFAULT")), "SHOW_LOGIN" => array("NAME" => GetMessage("BC_SHOW_LOGIN"), "TYPE" => "CHECKBOX", "MULTIPLE" => "N", "VALUE" => "Y", "DEFAULT" => "Y"), "DO_NOT_SHOW_SIDEBAR" => array("NAME" => GetMessage("BC_DO_NOT_SHOW_SIDEBAR"), "TYPE" => "CHECKBOX", "MULTIPLE" => "N", "VALUE" => "Y", "DEFAULT" => "N"), "DO_NOT_SHOW_MENU" => array("NAME" => GetMessage("BC_DO_NOT_SHOW_MENU"), "TYPE" => "CHECKBOX", "MULTIPLE" => "N", "VALUE" => "Y", "DEFAULT" => "N"), "USE_SHARE" => array("NAME" => GetMessage("BC_USE_SHARE"), "TYPE" => "CHECKBOX", "MULTIPLE" => "N", "VALUE" => "Y", "DEFAULT" => "N", "REFRESH" => "Y"));
if ($arCurrentValues["USE_SHARE"] == "Y") {
    $arTemplateParameters["SHARE_HIDE"] = array("NAME" => GetMessage("BC_SHARE_HIDE"), "TYPE" => "CHECKBOX", "VALUE" => "Y", "DEFAULT" => "N");
    $arTemplateParameters["SHARE_TEMPLATE"] = array("NAME" => GetMessage("BC_SHARE_TEMPLATE"), "DEFAULT" => "", "TYPE" => "STRING", "MULTIPLE" => "N", "COLS" => 25, "REFRESH" => "Y");
    if (strlen(trim($arCurrentValues["SHARE_TEMPLATE"])) <= 0) {
        $shareComponentTemlate = false;
    } else {
        $shareComponentTemlate = trim($arCurrentValues["SHARE_TEMPLATE"]);
    }
    include_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/components/bitrix/main.share/util.php";
    $arHandlers = __bx_share_get_handlers($shareComponentTemlate);
    $arTemplateParameters["SHARE_HANDLERS"] = array("NAME" => GetMessage("BC_SHARE_SYSTEM"), "TYPE" => "LIST", "MULTIPLE" => "Y", "VALUES" => $arHandlers["HANDLERS"], "DEFAULT" => $arHandlers["HANDLERS_DEFAULT"]);
    $arTemplateParameters["SHARE_SHORTEN_URL_LOGIN"] = array("NAME" => GetMessage("BC_SHARE_SHORTEN_URL_LOGIN"), "TYPE" => "STRING", "DEFAULT" => "");
    $arTemplateParameters["SHARE_SHORTEN_URL_KEY"] = array("NAME" => GetMessage("BC_SHARE_SHORTEN_URL_KEY"), "TYPE" => "STRING", "DEFAULT" => "");
}
开发者ID:webgksupport,项目名称:alpina,代码行数:31,代码来源:.parameters.php

示例5: array

<?php

if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) {
    die;
}
if (!CModule::IncludeModule("iblock")) {
    return;
}
$arIBlockType = array();
$rsIBlockType = CIBlockType::GetList(array("sort" => "asc"), array("ACTIVE" => "Y"));
while ($arr = $rsIBlockType->Fetch()) {
    if ($ar = CIBlockType::GetByIDLang($arr["ID"], LANGUAGE_ID)) {
        $arIBlockType[$arr["ID"]] = "[" . $arr["ID"] . "] " . $ar["NAME"];
    }
}
$arIBlock = array();
$rsIBlock = CIBlock::GetList(array("sort" => "asc"), array("TYPE" => $arCurrentValues["IBLOCK_TYPE"], "ACTIVE" => "Y"));
while ($arr = $rsIBlock->Fetch()) {
    $arIBlock[$arr["ID"]] = "[" . $arr["ID"] . "] " . $arr["NAME"];
}
$arTasksFields = array("ID" => "[ID] " . GetMessage("INTL_TF_ID"), "NAME" => "[NAME] " . GetMessage("INTL_TF_NAME"), "CODE" => "[CODE] " . GetMessage("INTL_TF_CODE"), "XML_ID" => "[XML_ID] " . GetMessage("INTL_TF_XML_ID"), "MODIFIED_BY" => "[MODIFIED_BY] " . GetMessage("INTL_TF_MODIFIED_BY"), "DATE_CREATE" => "[DATE_CREATE] " . GetMessage("INTL_TF_DATE_CREATE"), "CREATED_BY" => "[CREATED_BY] " . GetMessage("INTL_TF_CREATED_BY"), "DATE_ACTIVE_FROM" => "[DATE_ACTIVE_FROM] " . GetMessage("INTL_TF_DATE_ACTIVE_FROM"), "DATE_ACTIVE_TO" => "[DATE_ACTIVE_TO] " . GetMessage("INTL_TF_DATE_ACTIVE_TO"), "IBLOCK_SECTION" => "[IBLOCK_SECTION] " . GetMessage("INTL_TF_IBLOCK_SECTION"), "DETAIL_TEXT" => "[DETAIL_TEXT] " . GetMessage("INTL_TF_DETAIL_TEXT"));
$dbTasksCustomProps = CIBlockProperty::GetList(array("sort" => "asc", "name" => "asc"), array("ACTIVE" => "Y", "IBLOCK_ID" => $arCurrentValues["IBLOCK_ID"]));
while ($arTasksCustomProp = $dbTasksCustomProps->Fetch()) {
    $ind = StrLen($arTasksCustomProp["CODE"]) > 0 ? $arTasksCustomProp["CODE"] : $arTasksCustomProp["ID"];
    $arTasksFields[StrToUpper($ind)] = "[" . $ind . "] " . $arTasksCustomProp["NAME"];
}
$arComponentParameters = array("GROUPS" => array("VARIABLE_ALIASES" => array("NAME" => GetMessage("INTL_VARIABLE_ALIASES"))), "PARAMETERS" => array("IBLOCK_TYPE" => array("PARENT" => "BASE", "NAME" => GetMessage("INTL_IBLOCK_TYPE"), "TYPE" => "LIST", "VALUES" => $arIBlockType, "REFRESH" => "Y"), "IBLOCK_ID" => array("PARENT" => "BASE", "NAME" => GetMessage("INTL_IBLOCK"), "TYPE" => "LIST", "VALUES" => $arIBlock, "REFRESH" => "Y"), "TASKS_FIELDS_SHOW" => array("PARENT" => "BASE", "NAME" => GetMessage("INTL_TASKS_FIELDS_SHOW"), "MULTIPLE" => "Y", "TYPE" => "LIST", "VALUES" => $arTasksFields), "TASK_TYPE" => array("PARENT" => "BASE", "NAME" => GetMessage("INTL_TASK_TYPE"), "TYPE" => "LIST", "VALUES" => array("group" => GetMessage("INTL_TASK_TYPE_GROUP"), "user" => GetMessage("INTL_TASK_TYPE_USER"))), "OWNER_ID" => array("NAME" => GetMessage("INTL_OWNER_ID"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "", "COLS" => 25, "PARENT" => "BASE"), "TASK_VAR" => array("NAME" => GetMessage("INTL_TASK_VAR"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "", "COLS" => 25, "PARENT" => "VARIABLE_ALIASES"), "USER_VAR" => array("NAME" => GetMessage("INTL_USER_VAR"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "", "COLS" => 25, "PARENT" => "VARIABLE_ALIASES"), "GROUP_VAR" => array("NAME" => GetMessage("INTL_GROUP_VAR"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "", "COLS" => 25, "PARENT" => "VARIABLE_ALIASES"), "VIEW_VAR" => array("NAME" => GetMessage("INTL_VIEW_VAR"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "", "COLS" => 25, "PARENT" => "VARIABLE_ALIASES"), "ACTION_VAR" => array("NAME" => GetMessage("INTL_ACTION_VAR"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "", "COLS" => 25, "PARENT" => "VARIABLE_ALIASES"), "PAGE_VAR" => array("NAME" => GetMessage("INTL_PAGE_VAR"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "", "COLS" => 25, "PARENT" => "VARIABLE_ALIASES"), "PATH_TO_GROUP_TASKS" => array("NAME" => GetMessage("INTL_PATH_TO_GROUP_TASKS"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "", "COLS" => 25, "PARENT" => "URL_TEMPLATES"), "PATH_TO_GROUP_TASKS_TASK" => array("NAME" => GetMessage("INTL_PATH_TO_GROUP_TASKS_TASK"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "", "COLS" => 25, "PARENT" => "URL_TEMPLATES"), "PATH_TO_GROUP_TASKS_VIEW" => array("NAME" => GetMessage("INTL_PATH_TO_GROUP_TASKS_VIEW"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "", "COLS" => 25, "PARENT" => "URL_TEMPLATES"), "SET_NAVCHAIN" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("INTL_SET_NAVCHAIN"), "TYPE" => "CHECKBOX", "DEFAULT" => "Y"), "SET_TITLE" => array(), "ITEMS_COUNT" => array("NAME" => GetMessage("INTL_ITEM_COUNT"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "20", "COLS" => 3, "PARENT" => "ADDITIONAL_SETTINGS"), "NAME_TEMPLATE" => array("TYPE" => "LIST", "NAME" => GetMessage("INTL_NAME_TEMPLATE"), "VALUES" => CComponentUtil::GetDefaultNameTemplates(), "MULTIPLE" => "N", "ADDITIONAL_VALUES" => "Y", "DEFAULT" => "", "PARENT" => "ADDITIONAL_SETTINGS")));
开发者ID:mrdeadmouse,项目名称:u136006,代码行数:27,代码来源:.parameters.php

示例6: array

<?php

if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) {
    die;
}
if (!CModule::IncludeModule('crm')) {
    return false;
}
$arComponentParameters = array('PARAMETERS' => array('ENTITY_TYPE' => array('PARENT' => 'BASE', 'NAME' => GetMessage('CRM_ENTITY_TYPE'), 'TYPE' => 'LIST', 'MULTIPLE' => 'N', 'DEFAULT' => '', 'VALUES' => array('' => '', 'INVOICE' => GetMessage('CRM_ENTITY_TYPE_INVOICE'))), 'ENTITY_ID' => array('PARENT' => 'BASE', 'NAME' => GetMessage('CRM_ENTITY_ID'), 'TYPE' => 'STRING', 'DEFAULT' => ''), 'EVENT_COUNT' => array('PARENT' => 'BASE', 'NAME' => GetMessage('CRM_EVENT_COUNT'), 'TYPE' => 'STRING', 'DEFAULT' => '20'), "NAME_TEMPLATE" => array("TYPE" => "LIST", "NAME" => GetMessage("CRM_NAME_TEMPLATE"), "VALUES" => CComponentUtil::GetDefaultNameTemplates(), "MULTIPLE" => "N", "ADDITIONAL_VALUES" => "Y", "DEFAULT" => "", "PARENT" => "ADDITIONAL_SETTINGS")));
开发者ID:mrdeadmouse,项目名称:u136006,代码行数:9,代码来源:.parameters.php

示例7: while

$dbGroup = CBlogGroup::GetList(array("SITE_ID" => "ASC", "NAME" => "ASC"));
while ($arGroup = $dbGroup->Fetch()) {
    $arGroupList[$arGroup["ID"]] = "(" . $arGroup["SITE_ID"] . ") [" . $arGroup["ID"] . "] " . $arGroup["NAME"];
}
$arThemesMessages = array("blue" => GetMessage("BLG_THEME_BLUE"), "green" => GetMessage("BLG_THEME_GREEN"), "red" => GetMessage("BLG_THEME_RED"), "red2" => GetMessage("BLG_THEME_RED2"), "orange" => GetMessage("BLG_THEME_ORANGE"));
$arThemes = array();
$dir = trim(preg_replace("'[\\\\/]+'", "/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/components/bitrix/blog/templates/.default/themes/"));
if (is_dir($dir) && ($directory = opendir($dir))) {
    while (($file = readdir($directory)) !== false) {
        if ($file != "." && $file != ".." && is_dir($dir . $file)) {
            $arThemes[$file] = !empty($arThemesMessages[$file]) ? $arThemesMessages[$file] : strtoupper(substr($file, 0, 1)) . strtolower(substr($file, 1));
        }
    }
    closedir($directory);
}
$arTemplateParameters = array("THEME" => array("PARENT" => "TEMPLATE_TEMPLATES_SETTINGS", "NAME" => GetMessage("BLG_THEME"), "TYPE" => "LIST", "VALUES" => $arThemes, "MULTIPLE" => "N", "DEFAULT" => "blue"), "GROUP_ID" => array("NAME" => GetMessage("GENERAL_PAGE_GROUP_ID"), "TYPE" => "LIST", "VALUES" => $arGroupList, "MULTIPLE" => "Y", "DEFAULT" => "", "ADDITIONAL_VALUES" => "Y"), "USE_SOCNET" => array("NAME" => GetMessage("GENERAL_PAGE_USE_SOCNET"), "TYPE" => "CHECKBOX", "MULTIPLE" => "N", "VALUE" => "Y", "DEFAULT" => "N"), "PATH_TO_BLOG" => array("NAME" => GetMessage("GENERAL_PAGE_PATH_TO_BLOG"), "TYPE" => "STRING", "DEFAULT" => "/club/user/#user_id#/blog/"), "PATH_TO_POST" => array("NAME" => GetMessage("GENERAL_PAGE_PATH_TO_POST"), "TYPE" => "STRING", "DEFAULT" => "/club/user/#user_id#/blog/#post_id#/"), "PATH_TO_GROUP_BLOG" => array("NAME" => GetMessage("GENERAL_PAGE_PATH_TO_GROUP_BLOG"), "TYPE" => "STRING", "DEFAULT" => "/club/group/#group_id#/blog/"), "PATH_TO_GROUP_BLOG_POST" => array("NAME" => GetMessage("GENERAL_PAGE_PATH_TO_GROUP_BLOG_POST"), "TYPE" => "STRING", "DEFAULT" => "/club/group/#group_id#/blog/#post_id#/"), "PATH_TO_USER" => array("NAME" => GetMessage("GENERAL_PAGE_PATH_TO_USER"), "TYPE" => "STRING", "DEFAULT" => "/club/user/#user_id#/"), "PATH_TO_BLOG_CATEGORY" => array("NAME" => GetMessage("GENERAL_PAGE_PATH_TO_BLOG_CATEGORY"), "TYPE" => "STRING", "DEFAULT" => "/club/user/#user_id#/blog/?category=#category_id#"), "PATH_TO_GROUP_BLOG_CATEGORY" => array("NAME" => GetMessage("GENERAL_PAGE_PATH_TO_GROUP_BLOG_CATEGORY"), "TYPE" => "STRING", "DEFAULT" => "/club/group/#group_id#/blog/?category=#category_id#"), "SEO_USER" => array("PARENT" => "TEMPLATE_TEMPLATES_SETTINGS", "NAME" => GetMessage("B_SEO_USER"), "TYPE" => "CHECKBOX", "DEFAULT" => "N"), "NAME_TEMPLATE" => array("TYPE" => "LIST", "NAME" => GetMessage("BC_NAME_TEMPLATE"), "VALUES" => CComponentUtil::GetDefaultNameTemplates(), "MULTIPLE" => "N", "ADDITIONAL_VALUES" => "Y", "DEFAULT" => GetMessage("BC_NAME_TEMPLATE_DEFAULT")), "SHOW_LOGIN" => array("NAME" => GetMessage("BC_SHOW_LOGIN"), "TYPE" => "CHECKBOX", "MULTIPLE" => "N", "VALUE" => "Y", "DEFAULT" => "Y"), "USE_SHARE" => array("NAME" => GetMessage("BC_USE_SHARE"), "TYPE" => "CHECKBOX", "MULTIPLE" => "N", "VALUE" => "Y", "DEFAULT" => "N", "REFRESH" => "Y"));
if ($arCurrentValues["USE_SHARE"] == "Y") {
    $arTemplateParameters["SHARE_HIDE"] = array("NAME" => GetMessage("BC_SHARE_HIDE"), "TYPE" => "CHECKBOX", "VALUE" => "Y", "DEFAULT" => "N");
    $arTemplateParameters["SHARE_TEMPLATE"] = array("NAME" => GetMessage("BC_SHARE_TEMPLATE"), "DEFAULT" => "", "TYPE" => "STRING", "MULTIPLE" => "N", "COLS" => 25, "REFRESH" => "Y");
    if (strlen(trim($arCurrentValues["SHARE_TEMPLATE"])) <= 0) {
        $shareComponentTemlate = false;
    } else {
        $shareComponentTemlate = trim($arCurrentValues["SHARE_TEMPLATE"]);
    }
    include_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/components/bitrix/main.share/util.php";
    $arHandlers = __bx_share_get_handlers($shareComponentTemlate);
    $arTemplateParameters["SHARE_HANDLERS"] = array("NAME" => GetMessage("BC_SHARE_SYSTEM"), "TYPE" => "LIST", "MULTIPLE" => "Y", "VALUES" => $arHandlers["HANDLERS"], "DEFAULT" => $arHandlers["HANDLERS_DEFAULT"]);
    $arTemplateParameters["SHARE_SHORTEN_URL_LOGIN"] = array("NAME" => GetMessage("BC_SHARE_SHORTEN_URL_LOGIN"), "TYPE" => "STRING", "DEFAULT" => "");
    $arTemplateParameters["SHARE_SHORTEN_URL_KEY"] = array("NAME" => GetMessage("BC_SHARE_SHORTEN_URL_KEY"), "TYPE" => "STRING", "DEFAULT" => "");
}
if (CModule::IncludeModule("socialnetwork")) {
开发者ID:rasuldev,项目名称:torino,代码行数:31,代码来源:.parameters.php

示例8: array

<?php

if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) {
    die;
}
if (!CModule::IncludeModule("forum")) {
    return;
}
$arComponentParameters = array("GROUPS" => array("URL_TEMPLATES" => array("NAME" => GetMessage("F_URL_TEMPLATES"))), "PARAMETERS" => array("FID" => array("PARENT" => "BASE", "NAME" => GetMessage("PM_DEFAULT_FID"), "TYPE" => "STRING", "DEFAULT" => 1), "URL_TEMPLATES_PM_LIST" => array("PARENT" => "URL_TEMPLATES", "NAME" => GetMessage("PM_LIST_TEMPLATE"), "TYPE" => "STRING", "DEFAULT" => "pm_list.php?FID=#FID#"), "URL_TEMPLATES_PM_READ" => array("PARENT" => "URL_TEMPLATES", "NAME" => GetMessage("PM_READ_TEMPLATE"), "TYPE" => "STRING", "DEFAULT" => "pm_read.php?MID=#MID#"), "URL_TEMPLATES_PM_EDIT" => array("PARENT" => "URL_TEMPLATES", "NAME" => GetMessage("PM_EDIT_TEMPLATE"), "TYPE" => "STRING", "DEFAULT" => "pm_edit.php?MID=#MID#&mode=#mode#"), "URL_TEMPLATES_PM_FOLDER" => array("PARENT" => "URL_TEMPLATES", "NAME" => GetMessage("F_PM_FOLDER"), "TYPE" => "STRING", "DEFAULT" => "pm_folder.php"), "URL_TEMPLATES_PROFILE_VIEW" => array("PARENT" => "URL_TEMPLATES", "NAME" => GetMessage("F_PROFILE_VIEW_TEMPLATE"), "TYPE" => "STRING", "DEFAULT" => "profile_view.php?UID=#UID#"), "PAGE_NAVIGATION_TEMPLATE" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("F_PAGE_NAVIGATION_TEMPLATE"), "TYPE" => "STRING", "DEFAULT" => ""), "PM_PER_PAGE" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("PM_PER_PAGE"), "TYPE" => "STRING", "DEFAULT" => 20), "DATE_FORMAT" => CComponentUtil::GetDateFormatField(GetMessage("F_DATE_FORMAT"), "ADDITIONAL_SETTINGS"), "DATE_TIME_FORMAT" => CComponentUtil::GetDateTimeFormatField(GetMessage("F_DATE_TIME_FORMAT"), "ADDITIONAL_SETTINGS"), "NAME_TEMPLATE" => array("TYPE" => "LIST", "NAME" => GetMessage("F_NAME_TEMPLATE"), "VALUES" => CComponentUtil::GetDefaultNameTemplates(), "MULTIPLE" => "N", "ADDITIONAL_VALUES" => "Y", "DEFAULT" => "", "PARENT" => "ADDITIONAL_SETTINGS"), "SET_NAVIGATION" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("F_SET_NAVIGATION"), "TYPE" => "CHECKBOX", "DEFAULT" => "Y"), "CACHE_TIME" => array(), "SET_TITLE" => array()));
开发者ID:rasuldev,项目名称:torino,代码行数:9,代码来源:.parameters.php

示例9: array

$F_USER_FIELDS = array();
if (!empty($arRes)) {
    foreach ($arRes as $key => $val) {
        $F_USER_FIELDS[$val["FIELD_NAME"]] = empty($val["EDIT_FORM_LABEL"]) ? $val["FIELD_NAME"] : $val["EDIT_FORM_LABEL"];
    }
}
if ($db_res && ($res = $db_res->GetNext())) {
    do {
        $iForumDefault = intVal($res["ID"]);
        $arForum[intVal($res["ID"])] = $res["NAME"];
        if ($selectedForum !== null && $selectedForum === intval($res['ID'])) {
            $selectedForumProps = $res;
        }
    } while ($res = $db_res->GetNext());
}
$arComponentParameters = array("GROUPS" => array("EDITOR_SETTINGS" => array("NAME" => GetMessage("F_EDITOR_SETTINGS"))), "PARAMETERS" => array("ENTITY_TYPE" => array("PARENT" => "BASE", "NAME" => GetMessage("F_ENTITY_TYPE"), "TYPE" => "STRING", "COLS" => 2, "DEFAULT" => ""), "ENTITY_ID" => array("PARENT" => "BASE", "NAME" => GetMessage("F_ENTITY_ID"), "TYPE" => "STRING", "DEFAULT" => ""), "ENTITY_XML_ID" => array("PARENT" => "BASE", "NAME" => GetMessage("F_ENTITY_XML_ID"), "TYPE" => "STRING", "DEFAULT" => ""), "FORUM_ID" => array("PARENT" => "BASE", "NAME" => GetMessage("F_FORUM_ID"), "TYPE" => "LIST", "DEFAULT" => $iForumDefault, "REFRESH" => "Y", "VALUES" => $arForum), "PERMISSION" => array("PARENT" => "BASE", "NAME" => GetMessage("F_PERMISSION"), "TYPE" => "STRING", "COLS" => 1, "DEFAULT" => ""), "USER_FIELDS" => array("PARENT" => "BASE", "NAME" => GetMessage("F_USER_FIELDS"), "TYPE" => "LIST", "VALUES" => $F_USER_FIELDS, "MULTIPLE" => "Y", "DEFAULT" => array_keys($F_USER_FIELDS), "HIDDEN" => $hidden), "URL_TEMPLATES_READ" => array("PARENT" => "URL_TEMPLATES", "NAME" => GetMessage("F_READ_TEMPLATE"), "TYPE" => "STRING", "DEFAULT" => ""), "URL_TEMPLATES_PROFILE_VIEW" => array("PARENT" => "URL_TEMPLATES", "NAME" => GetMessage("F_PROFILE_VIEW_TEMPLATE"), "TYPE" => "STRING", "DEFAULT" => ""), "MESSAGES_PER_PAGE" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("F_MESSAGES_PER_PAGE"), "TYPE" => "STRING", "DEFAULT" => intVal(COption::GetOptionString("forum", "MESSAGES_PER_PAGE", "10"))), "PAGE_NAVIGATION_TEMPLATE" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("F_PAGE_NAVIGATION_TEMPLATE"), "TYPE" => "STRING", "DEFAULT" => ""), "DATE_TIME_FORMAT" => CComponentUtil::GetDateTimeFormatField(GetMessage("F_DATE_TIME_FORMAT"), "ADDITIONAL_SETTINGS"), "NAME_TEMPLATE" => array("TYPE" => "LIST", "NAME" => GetMessage("F_NAME_TEMPLATE"), "VALUES" => CComponentUtil::GetDefaultNameTemplates(), "MULTIPLE" => "N", "ADDITIONAL_VALUES" => "Y", "DEFAULT" => "", "PARENT" => "ADDITIONAL_SETTINGS"), "IMAGE_SIZE" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("F_IMAGE_SIZE"), "TYPE" => "STRING", "DEFAULT" => "600"), "IMAGE_HTML_SIZE" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("F_IMAGE_HTML_SIZE"), "TYPE" => "STRING", "DEFAULT" => "0"), "EDITOR_CODE_DEFAULT" => array("NAME" => GetMessage("F_EDITOR_CODE_DEFAULT"), "TYPE" => "CHECKBOX", "DEFAULT" => "N", "PARENT" => "ADDITIONAL_SETTINGS"), "SUBSCRIBE_AUTHOR_ELEMENT" => array("NAME" => GetMessage("F_SUBSCRIBE_AUTHOR_ELEMENT"), "TYPE" => "CHECKBOX", "DEFAULT" => "N", "PARENT" => "ADDITIONAL_SETTINGS"), "SHOW_RATING" => array("NAME" => GetMessage("F_SHOW_RATING"), "TYPE" => "CHECKBOX", "DEFAULT" => "Y", "PARENT" => "ADDITIONAL_SETTINGS"), "SHOW_MINIMIZED" => array("NAME" => GetMessage("F_SHOW_MINIMIZED"), "TYPE" => "CHECKBOX", "DEFAULT" => "N", "PARENT" => "ADDITIONAL_SETTINGS"), "USE_CAPTCHA" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("F_USE_CAPTCHA"), "TYPE" => "CHECKBOX", "DEFAULT" => "Y"), "PREORDER" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("F_PREORDER"), "TYPE" => "CHECKBOX", "DEFAULT" => "Y"), "CACHE_TIME" => array()));
$arEditorSettings = array("ALLOW_HTML", "ALLOW_ANCHOR", "ALLOW_BIU", "ALLOW_IMG", "ALLOW_VIDEO", "ALLOW_LIST", "ALLOW_QUOTE", "ALLOW_CODE", "ALLOW_TABLE", "ALLOW_FONT", "ALLOW_SMILES", "ALLOW_NL2BR", "ALLOW_ALIGN");
foreach ($arEditorSettings as $settingName) {
    $hidden = "N";
    if ($selectedForumProps !== null) {
        $hidden = $selectedForumProps[$settingName] === "N";
    }
    $arComponentParameters['PARAMETERS'][$settingName] = array("PARENT" => "EDITOR_SETTINGS", "NAME" => GetMessage($settingName . "_TITLE"), "TYPE" => "CHECKBOX", "DEFAULT" => "Y", "HIDDEN" => $hidden);
}
/*
GetMessage("ALLOW_HTML_TITLE");
GetMessage("ALLOW_ANCHOR_TITLE");
GetMessage("ALLOW_BIU_TITLE");
GetMessage("ALLOW_IMG_TITLE");
GetMessage("ALLOW_VIDEO_TITLE");
GetMessage("ALLOW_LIST_TITLE");
开发者ID:Satariall,项目名称:izurit,代码行数:31,代码来源:.parameters.php

示例10: array

<?php

if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) {
    die;
}
$arComponentParameters = array("PARAMETERS" => array("TRANSCRIPT_ID" => array("NAME" => GetMessage("LEARNING_TRANSCRIPT_ID_NAME"), "TYPE" => "STRING", "DEFAULT" => '={$_REQUEST["TRANSCRIPT_ID"]}', "PARENT" => "BASE", "COLS" => 45), "SET_TITLE" => array(), "NAME_TEMPLATE" => array("TYPE" => "LIST", "NAME" => GetMessage("LEARNING_NAME_TEMPLATE"), "VALUES" => CComponentUtil::GetDefaultNameTemplates(), "MULTIPLE" => "N", "ADDITIONAL_VALUES" => "Y", "DEFAULT" => "", "PARENT" => "ADDITIONAL_SETTINGS")));
开发者ID:Satariall,项目名称:izurit,代码行数:6,代码来源:.parameters.php

示例11: array

<?php

if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) {
    die;
}
if (!CModule::IncludeModule("forum")) {
    return;
}
$arComponentParameters = array("GROUPS" => array("URL_TEMPLATES" => array("NAME" => GetMessage("F_URL_TEMPLATES"))), "PARAMETERS" => array("UID" => array("PARENT" => "BASE", "NAME" => GetMessage("F_DEFAULT_UID"), "TYPE" => "STRING", "DEFAULT" => '={$_REQUEST["UID"]}'), "mode" => array("PARENT" => "BASE", "NAME" => GetMessage("F_DEFAULT_MODE"), "TYPE" => "LIST", "VALUES" => array("all" => GetMessage("F_MESSAGE_ALL"), "lt" => GetMessage("F_MESSAGE_LT"), "lta" => GetMessage("F_MESSAGE_LTA")), "ADDITIONAL_VALUES" => "N", "DEFAULT" => "all"), "URL_TEMPLATES_LIST" => array("PARENT" => "URL_TEMPLATES", "NAME" => GetMessage("F_LIST_TEMPLATE"), "TYPE" => "STRING", "DEFAULT" => "list.php?FID=#FID#"), "URL_TEMPLATES_READ" => array("PARENT" => "URL_TEMPLATES", "NAME" => GetMessage("F_READ_TEMPLATE"), "TYPE" => "STRING", "DEFAULT" => "read.php?FID=#FID#&TID=#TID#"), "URL_TEMPLATES_MESSAGE" => array("PARENT" => "URL_TEMPLATES", "NAME" => GetMessage("F_MESSAGE_TEMPLATE"), "TYPE" => "STRING", "DEFAULT" => "message.php?FID=#FID#&TID=#TID#&MID=#MID#"), "URL_TEMPLATES_PROFILE_VIEW" => array("PARENT" => "URL_TEMPLATES", "NAME" => GetMessage("F_PROFILE_VIEW_TEMPLATE"), "TYPE" => "STRING", "DEFAULT" => "profile_view.php?UID=#UID#"), "URL_TEMPLATES_USER_LIST" => array("PARENT" => "URL_TEMPLATES", "NAME" => GetMessage("F_USER_LIST_TEMPLATE"), "TYPE" => "STRING", "DEFAULT" => "user_list.php"), "FID_RANGE" => CForumParameters::GetForumsMultiSelect(GetMessage("F_DEFAULT_FID"), "ADDITIONAL_SETTINGS"), "MESSAGES_PER_PAGE" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("F_MESSAGES_PER_PAGE"), "TYPE" => "STRING", "DEFAULT" => COption::GetOptionString("forum", "MESSAGES_PER_PAGE", "10")), "DATE_FORMAT" => CComponentUtil::GetDateFormatField(GetMessage("F_DATE_FORMAT"), "ADDITIONAL_SETTINGS"), "DATE_TIME_FORMAT" => CComponentUtil::GetDateTimeFormatField(GetMessage("F_DATE_TIME_FORMAT"), "ADDITIONAL_SETTINGS"), "NAME_TEMPLATE" => array("TYPE" => "LIST", "NAME" => GetMessage("F_NAME_TEMPLATE"), "VALUES" => CComponentUtil::GetDefaultNameTemplates(), "MULTIPLE" => "N", "ADDITIONAL_VALUES" => "Y", "DEFAULT" => "", "PARENT" => "ADDITIONAL_SETTINGS"), "PAGE_NAVIGATION_TEMPLATE" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("F_PAGE_NAVIGATION_TEMPLATE"), "TYPE" => "STRING", "DEFAULT" => ""), "PAGE_NAVIGATION_WINDOW" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("F_PAGE_NAVIGATION_WINDOW"), "TYPE" => "STRING", "DEFAULT" => "11"), "PATH_TO_SMILE" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("F_DEFAULT_PATH_TO_SMILE"), "TYPE" => "STRING", "DEFAULT" => "/bitrix/images/forum/smile/"), "WORD_LENGTH" => CForumParameters::GetWordLength(), "SET_NAVIGATION" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("F_SET_NAVIGATION"), "TYPE" => "CHECKBOX", "DEFAULT" => "Y"), "SET_TITLE" => array(), "CACHE_TIME" => array()));
开发者ID:mrdeadmouse,项目名称:u136006,代码行数:9,代码来源:.parameters.php

示例12: array

 * @copyright 2001-2013 Bitrix
 */
/**
 * Bitrix vars
 * @param array $arCurrentValues
 */
include_once $_SERVER['DOCUMENT_ROOT'] . '/bitrix/components/bitrix/desktop/include.php';
$arComponentParameters = array("GROUPS" => array(), "PARAMETERS" => array("ID" => array("NAME" => GetMessage("CMDESKTOP_PARAMS_ID"), "TYPE" => "STRING", "DEFAULT" => "holder1" . (strlen($_REQUEST["src_site"]) > 0 ? $_REQUEST["src_site"] : ""), "PARENT" => "DATA_SOURCE"), "CAN_EDIT" => array("NAME" => GetMessage("CMDESKTOP_PARAMS_CAN_EDIT"), "TYPE" => "CHECKBOX", "DEFAULT" => "Y", "PARENT" => "DATA_SOURCE"), "COLUMNS" => array("NAME" => GetMessage("CMDESKTOP_PARAMS_COLUMNS"), "TYPE" => "STRING", "DEFAULT" => "3", "PARENT" => "DATA_SOURCE", "REFRESH" => "Y")));
if (IsModuleInstalled('intranet')) {
    CModule::IncludeModule('socialnetwork');
    $arComponentParameters["PARAMETERS"]["PM_URL"] = array('TYPE' => 'STRING', 'DEFAULT' => '/company/personal/messages/chat/#USER_ID#/', 'NAME' => GetMessage('CMDESKTOP_PARAMS_PM_URL'), 'PARENT' => 'ADDITIONAL_SETTINGS');
    $arComponentParameters["PARAMETERS"]["PATH_TO_CONPANY_DEPARTMENT"] = array('TYPE' => 'STRING', 'DEFAULT' => '/company/structure.php?set_filter_structure=Y&structure_UF_DEPARTMENT=#ID#', 'NAME' => GetMessage('CMDESKTOP_PARAMS_PATH_TO_CONPANY_DEPARTMENT'), 'PARENT' => 'ADDITIONAL_SETTINGS');
    if (IsModuleInstalled("video")) {
        $arComponentParameters["PARAMETERS"]["PATH_TO_VIDEO_CALL"] = array('TYPE' => 'STRING', 'DEFAULT' => '/company/personal/video/#USER_ID#/', 'NAME' => GetMessage('CMDESKTOP_PARAMS_PATH_TO_VIDEO_CALL'), 'PARENT' => 'ADDITIONAL_SETTINGS');
    }
    $arComponentParameters["PARAMETERS"]["NAME_TEMPLATE"] = array('TYPE' => 'LIST', 'NAME' => GetMessage('CMDESKTOP_PARAMS_NAME_TEMPLATE'), 'VALUES' => CComponentUtil::GetDefaultNameTemplates(), 'MULTIPLE' => 'N', 'ADDITIONAL_VALUES' => 'Y', 'DEFAULT' => '', 'PARENT' => 'ADDITIONAL_SETTINGS');
    $arComponentParameters["PARAMETERS"]["SHOW_LOGIN"] = array("NAME" => GetMessage("CMDESKTOP_PARAMS_SHOW_LOGIN"), "TYPE" => "CHECKBOX", "MULTIPLE" => "N", "VALUE" => "Y", "DEFAULT" => "Y", "PARENT" => "ADDITIONAL_SETTINGS");
    $arComponentParameters["PARAMETERS"]["DATE_TIME_FORMAT"] = CComponentUtil::GetDateTimeFormatField(GetMessage("CMDESKTOP_PARAMS_DATE_TIME_FORMAT"), 'ADDITIONAL_SETTINGS');
    $arComponentParameters["PARAMETERS"]["DATE_FORMAT"] = CComponentUtil::GetDateFormatField(GetMessage("CMDESKTOP_PARAMS_DATE_FORMAT"), 'ADDITIONAL_SETTINGS');
    $arComponentParameters["PARAMETERS"]["DATE_FORMAT_NO_YEAR"] = CComponentUtil::GetDateFormatField(GetMessage("CMDESKTOP_PARAMS_DATE_FORMAT_NO_YEAR"), 'ADDITIONAL_SETTINGS', true);
    $arComponentParameters["PARAMETERS"]["SHOW_YEAR"] = array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("CMDESKTOP_PARAMS_SHOW_YEAR"), "TYPE" => "LIST", "VALUES" => array("Y" => GetMessage("CMDESKTOP_PARAMS_SHOW_YEAR_VALUE_Y"), "M" => GetMessage("CMDESKTOP_PARAMS_SHOW_YEAR_VALUE_M"), "N" => GetMessage("CMDESKTOP_PARAMS_SHOW_YEAR_VALUE_N")), "MULTIPLE" => "N", "DEFAULT" => "M");
}
if ($arCurrentValues["COLUMNS"] > 0) {
    $d = intval(100 / $arCurrentValues["COLUMNS"]) . "%";
    for ($i = 0; $i < $arCurrentValues["COLUMNS"]; $i++) {
        $arComponentParameters["PARAMETERS"]["COLUMN_WIDTH_" . $i] = array("NAME" => GetMessage("CMDESKTOP_PARAMS_COLUMN_WITH") . " #" . ($i + 1), "PARENT" => "DATA_SOURCE", "TYPE" => "STRING", "DEFAULT" => $d);
    }
}
$arComponentParameters["PARAMETERS"]["GADGETS"] = array("NAME" => GetMessage("CMDESKTOP_PARAMS_GADGETS"), "TYPE" => "LIST", "DEFAULT" => "ALL", "PARENT" => "DATA_SOURCE", "MULTIPLE" => "Y", "SIZE" => "10", "REFRESH" => "Y", "VALUES" => array("ALL" => GetMessage("CMDESKTOP_PARAMS_GADGETS_ALL")));
$arGadgets = BXGadget::GetList(true, $arCurrentValues);
foreach ($arGadgets as $gd) {
开发者ID:ASDAFF,项目名称:bitrix-5,代码行数:31,代码来源:.parameters.php

示例13: array

}
$arRes = $GLOBALS["USER_FIELD_MANAGER"]->GetUserFields("USER", 0, LANGUAGE_ID);
$userProp = array();
if (!empty($arRes)) {
    foreach ($arRes as $key => $val) {
        $userProp[$val["FIELD_NAME"]] = strLen($val["EDIT_FORM_LABEL"]) > 0 ? $val["EDIT_FORM_LABEL"] : $val["FIELD_NAME"];
    }
}
$arRes = $GLOBALS["USER_FIELD_MANAGER"]->GetUserFields("SONET_GROUP", 0, LANGUAGE_ID);
$groupProp = array();
if (!empty($arRes)) {
    foreach ($arRes as $key => $val) {
        $groupProp[$val["FIELD_NAME"]] = strLen($val["EDIT_FORM_LABEL"]) > 0 ? $val["EDIT_FORM_LABEL"] : $val["FIELD_NAME"];
    }
}
$arComponentParameters = array("PARAMETERS" => array("VARIABLE_ALIASES" => array("user_id" => array("NAME" => GetMessage("SONET_USER_VAR"), "DEFAULT" => "user_id"), "page" => array("NAME" => GetMessage("SONET_PAGE_VAR"), "DEFAULT" => "page"), "group_id" => array("NAME" => GetMessage("SONET_GROUP_VAR"), "DEFAULT" => "group_id"), "message_id" => array("NAME" => GetMessage("SONET_MESSAGE_VAR"), "DEFAULT" => "message_id")), "SEF_MODE" => array("index" => array("NAME" => GetMessage("SONET_SEF_PATH_INDEX"), "DEFAULT" => "index.php", "VARIABLES" => array()), "search" => array("NAME" => GetMessage("SONET_SEF_PATH_SEARCH"), "DEFAULT" => "search.php", "VARIABLES" => array()), "group_reindex" => array("NAME" => GetMessage("SONET_SEF_GROUP_REINDEX"), "DEFAULT" => "group_reindex.php", "VARIABLES" => array()), "group_content_search" => array("NAME" => GetMessage("SONET_SEF_GROUP_CONTENT_SEARCH"), "DEFAULT" => "group/#group_id#/search/", "VARIABLES" => array()), "group_subscribe" => array("NAME" => GetMessage("SONET_SEF_GROUP_SUBSCRIBE"), "DEFAULT" => "group/#group_id#/subscribe/", "VARIABLES" => array()), "group" => array("NAME" => GetMessage("SONET_SEF_PATH_GROUP"), "DEFAULT" => "group/#group_id#/", "VARIABLES" => array("group_id")), "group_search" => array("NAME" => GetMessage("SONET_SEF_PATH_GROUP_SEARCH"), "DEFAULT" => "group/search/", "VARIABLES" => array()), "group_search_subject" => array("NAME" => GetMessage("SONET_SEF_PATH_GROUP_SEARCH_SUBJECT"), "DEFAULT" => "group/search/#subject_id#/", "VARIABLES" => array("subject_id")), "group_edit" => array("NAME" => GetMessage("SONET_SEF_PATH_GROUP_EDIT"), "DEFAULT" => "group/#group_id#/edit/", "VARIABLES" => array("group_id")), "group_delete" => array("NAME" => GetMessage("SONET_SEF_PATH_GROUP_DELETE"), "DEFAULT" => "group/#group_id#/delete/", "VARIABLES" => array("group_id")), "group_request_search" => array("NAME" => GetMessage("SONET_GROUP_REQUEST_SEARCH"), "DEFAULT" => "group/#group_id#/user_search/", "VARIABLES" => array("group_id")), "group_request_user" => array("NAME" => GetMessage("SONET_GROUP_REQUEST_USER"), "DEFAULT" => "group/#group_id#/user/#user_id#/request/", "VARIABLES" => array("user_id", "group_id")), "user_request_group" => array("NAME" => GetMessage("SONET_USER_REQUEST_GROUP"), "DEFAULT" => "group/#group_id#/user_request/", "VARIABLES" => array("group_id")), "group_requests" => array("NAME" => GetMessage("SONET_GROUP_REQUESTS"), "DEFAULT" => "group/#group_id#/requests/", "VARIABLES" => array("group_id")), "group_requests_out" => array("NAME" => GetMessage("SONET_GROUP_REQUESTS_OUT"), "DEFAULT" => "group/#group_id#/requests_out/", "VARIABLES" => array("group_id")), "group_mods" => array("NAME" => GetMessage("SONET_SEF_PATH_GROUP_MODS"), "DEFAULT" => "group/#group_id#/moderators/", "VARIABLES" => array("group_id")), "group_users" => array("NAME" => GetMessage("SONET_SEF_PATH_GROUP_USERS"), "DEFAULT" => "group/#group_id#/users/", "VARIABLES" => array("group_id")), "group_ban" => array("NAME" => GetMessage("SONET_SEF_PATH_GROUP_BAN"), "DEFAULT" => "group/#group_id#/ban/", "VARIABLES" => array("group_id")), "user_leave_group" => array("NAME" => GetMessage("SONET_USER_LEAVE_GROUP"), "DEFAULT" => "group/#group_id#/user_leave/", "VARIABLES" => array("group_id")), "group_features" => array("NAME" => GetMessage("SONET_SEF_GROUP_FEATURES"), "DEFAULT" => "group/#group_id#/features/", "VARIABLES" => array("group_id")), "group_log" => array("NAME" => GetMessage("SONET_SEF_GROUP_LOG"), "DEFAULT" => "group/#group_id#/log/", "VARIABLES" => array("group_id")), "group_photo" => array("NAME" => GetMessage("SONET_SEF_GROUP_PHOTO"), "DEFAULT" => "group/#group_id#/photo/", "VARIABLES" => array("group_id")), "group_calendar" => array("NAME" => GetMessage("SONET_SEF_GROUP_CALENDAR"), "DEFAULT" => "group/#group_id#/calendar/", "VARIABLES" => array("group_id")), "group_files" => array("NAME" => GetMessage("SONET_SEF_GROUP_FILES"), "DEFAULT" => "group/#group_id#/files/#path#", "VARIABLES" => array("group_id")), "group_blog" => array("NAME" => GetMessage("SONET_SEF_GROUP_BLOG"), "DEFAULT" => "group/#group_id#/blog/", "VARIABLES" => array("group_id")), "group_blog_post_edit" => array("NAME" => GetMessage("SONET_SEF_GROUP_BLOG_POST_EDIT"), "DEFAULT" => "group/#group_id#/blog/edit/#post_id#/", "VARIABLES" => array("group_id", "post_id")), "group_blog_rss" => array("NAME" => GetMessage("SONET_SEF_GROUP_BLOG_RSS"), "DEFAULT" => "group/#group_id#/blog/rss/#type#/", "VARIABLES" => array("group_id", "type")), "group_blog_draft" => array("NAME" => GetMessage("SONET_SEF_GROUP_BLOG_DRAFT"), "DEFAULT" => "group/#group_id#/blog/draft/", "VARIABLES" => array("group_id")), "group_blog_post" => array("NAME" => GetMessage("SONET_SEF_GROUP_BLOG_POST"), "DEFAULT" => "group/#group_id#/blog/#post_id#/", "VARIABLES" => array("group_id", "post_id")), "group_blog_moderation" => array("NAME" => GetMessage("SONET_SEF_GROUP_BLOG_MODERATION"), "DEFAULT" => "group/#group_id#/blog/moderation/", "VARIABLES" => array("group_id")), "group_forum" => array("NAME" => GetMessage("SONET_SEF_GROUP_FORUM"), "DEFAULT" => "group/#group_id#/forum/", "VARIABLES" => array("group_id")), "group_forum_topic_edit" => array("NAME" => GetMessage("SONET_SEF_GROUP_FORUM_TOPIC_EDIT"), "DEFAULT" => "group/#group_id#/forum/edit/#topic_id#/", "VARIABLES" => array("group_id", "topic_id")), "group_forum_topic" => array("NAME" => GetMessage("SONET_SEF_GROUP_FORUM_TOPIC"), "DEFAULT" => "group/#group_id#/forum/#topic_id#/", "VARIABLES" => array("group_id", "topic_id"))), "PATH_TO_SMILE" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("SONET_PATH_TO_SMILE"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "/bitrix/images/socialnetwork/smile/"), "PATH_TO_BLOG_SMILE" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("SONET_PATH_TO_BLOG_SMILE"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "/bitrix/images/blog/smile/"), "PATH_TO_FORUM_SMILE" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("SONET_PATH_TO_FORUM_SMILE"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "/bitrix/images/forum/smile/"), "SONET_PATH_TO_FORUM_ICON" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("SONET_PATH_TO_FORUM_ICON"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "/bitrix/images/forum/icon/"), "CACHE_TIME" => array("DEFAULT" => 3600), "SET_TITLE" => array(), "CACHE_TIME_LONG" => array("NAME" => GetMessage("SONET_CACHE_TIME_LONG"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "604800", "COLS" => 25, "PARENT" => "CACHE_SETTINGS"), "SET_NAV_CHAIN" => array("NAME" => GetMessage("SONET_SET_NAV_CHAIN"), "TYPE" => "CHECKBOX", "MULTIPLE" => "N", "VALUE" => "Y", "DEFAULT" => "Y", "PARENT" => "ADDITIONAL_SETTINGS"), "LOG_SUBSCRIBE_ONLY" => array("NAME" => GetMessage("SONET_GROUP_LOG_SUBSCRIBE_ONLY"), "TYPE" => "CHECKBOX", "MULTIPLE" => "N", "VALUE" => "Y", "DEFAULT" => "N", "PARENT" => "ADDITIONAL_SETTINGS"), "LOG_RSS_TTL" => array("NAME" => GetMessage("SONET_GROUP_LOG_RSS_TTL"), "TYPE" => "STRING", "DEFAULT" => "60", "PARENT" => "ADDITIONAL_SETTINGS"), "ITEM_DETAIL_COUNT" => array("NAME" => GetMessage("SONET_ITEM_DETAIL_COUNT"), "TYPE" => "STRING", "DEFAULT" => 32, "PARENT" => "VISUAL"), "ITEM_MAIN_COUNT" => array("NAME" => GetMessage("SONET_ITEM_MAIN_COUNT"), "TYPE" => "STRING", "DEFAULT" => "6", "PARENT" => "VISUAL"), "DATE_TIME_FORMAT" => CComponentUtil::GetDateTimeFormatField(GetMessage("SONET_DATE_TIME_FORMAT"), "VISUAL"), "SHOW_YEAR" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("SONET_SHOW_YEAR"), "TYPE" => "LIST", "VALUES" => array("Y" => GetMessage("SONET_SHOW_YEAR_VALUE_Y"), "M" => GetMessage("SONET_SHOW_YEAR_VALUE_M"), "N" => GetMessage("SONET_SHOW_YEAR_VALUE_N")), "MULTIPLE" => "N", "DEFAULT" => "Y"), "NAME_TEMPLATE" => array("TYPE" => "LIST", "NAME" => GetMessage("SONET_NAME_TEMPLATE"), "VALUES" => CComponentUtil::GetDefaultNameTemplates(), "MULTIPLE" => "N", "ADDITIONAL_VALUES" => "Y", "DEFAULT" => "", "PARENT" => "VISUAL"), "SHOW_LOGIN" => array("NAME" => GetMessage("SONET_SHOW_LOGIN"), "TYPE" => "CHECKBOX", "MULTIPLE" => "N", "VALUE" => "Y", "DEFAULT" => "Y", "PARENT" => "VISUAL"), "CAN_OWNER_EDIT_DESKTOP" => array("NAME" => GetMessage("SONET_CAN_OWNER_EDIT_DESKTOP"), "TYPE" => "CHECKBOX", "MULTIPLE" => "N", "VALUE" => "Y", "DEFAULT" => IsModuleInstalled("intranet") ? "N" : "Y", "PARENT" => "VISUAL"), "USER_PROPERTY_MAIN" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("SONET_USER_PROPERTY_MAIN"), "TYPE" => "LIST", "VALUES" => $userProp, "MULTIPLE" => "Y", "DEFAULT" => array()), "USER_PROPERTY_CONTACT" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("SONET_USER_PROPERTY_CONTACT"), "TYPE" => "LIST", "VALUES" => $userProp, "MULTIPLE" => "Y", "DEFAULT" => array()), "USER_PROPERTY_PERSONAL" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("SONET_USER_PROPERTY_PERSONAL"), "TYPE" => "LIST", "VALUES" => $userProp, "MULTIPLE" => "Y", "DEFAULT" => array()), "GROUP_PROPERTY" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("SONET_GROUP_PROPERTY"), "TYPE" => "LIST", "VALUES" => $groupProp, "MULTIPLE" => "Y", "DEFAULT" => array()), "GROUP_USE_BAN" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("SONET_GROUP_USE_BAN"), "TYPE" => "CHECKBOX", "MULTIPLE" => "N", "VALUE" => "Y", "DEFAULT" => "Y"), "PATH_TO_USER" => array("NAME" => GetMessage("SONET_PATH_TO_USER"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "", "COLS" => 25, "PARENT" => "URL_TEMPLATES"), "PATH_TO_SUBSCRIBE" => array("NAME" => GetMessage("SONET_PATH_TO_SUBSCRIBE"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "", "COLS" => 25, "PARENT" => "URL_TEMPLATES"), "PATH_TO_GROUP_CREATE" => array("NAME" => GetMessage("SONET_SEF_PATH_GROUP_CREATE"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "", "COLS" => 25, "PARENT" => "URL_TEMPLATES"), "PATH_TO_SEARCH_EXTERNAL" => array("NAME" => GetMessage("SONET_PATH_TO_SEARCH_EXTERNAL"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "", "COLS" => 25, "PARENT" => "URL_TEMPLATES"), "PATH_TO_MESSAGES_CHAT" => array("NAME" => GetMessage("SONET_PATH_TO_CHAT"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "/company/personal/messages/chat/#user_id#/", "COLS" => 25, "PARENT" => "URL_TEMPLATES"), "PATH_TO_USER_CALENDAR" => array("NAME" => GetMessage("SONET_PATH_TO_USER_CALENDAR"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "/company/personal/user/#user_id#/calendar/", "COLS" => 25, "PARENT" => "URL_TEMPLATES"), "PATH_TO_MESSAGE_FORM_MESS" => array("NAME" => GetMessage("SONET_PATH_TO_REPLY"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "/company/personal/messages/form/#user_id#/#message_id#/", "COLS" => 25, "PARENT" => "URL_TEMPLATES"), "PATH_TO_USER_LOG" => array("NAME" => GetMessage("SONET_PATH_TO_USER_LOG"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "/company/personal/log/", "COLS" => 25, "PARENT" => "URL_TEMPLATES"), "PATH_TO_USER_LOG_ENTRY" => array("NAME" => GetMessage("SONET_PATH_TO_USER_LOG_ENTRY"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "/company/personal/log/#log_id#/", "COLS" => 25, "PARENT" => "URL_TEMPLATES"), "PATH_TO_USER_TASKS_TEMPLATES" => array("NAME" => GetMessage("SONET_SEF_USER_TASKS_TEMPLATES"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "user/#user_id#/tasks/templates/", "COLS" => 25, "PARENT" => "URL_TEMPLATES"), "PATH_TO_USER_TEMPLATES_TEMPLATE" => array("NAME" => GetMessage("SONET_SEF_USER_TEMPLATES_TEMPLATE"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "user/#user_id#/tasks/templates/template/#action#/#template_id#/", "COLS" => 25, "PARENT" => "URL_TEMPLATES"), "PATH_TO_USER_BLOG_POST_IMPORTANT" => array("NAME" => GetMessage("SONET_SEF_PATH_TO_USER_BLOG_POST_IMPORTANT"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "user/#user_id#/blog/important/", "COLS" => 25, "PARENT" => "URL_TEMPLATES")));
if (IsModuleInstalled("video")) {
    $arComponentParameters["PARAMETERS"]["PATH_TO_VIDEO_CALL"] = array("NAME" => GetMessage("SONET_PATH_TO_VIDEO_CALL"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "/company/personal/video/#user_id#/", "COLS" => 25, "PARENT" => "URL_TEMPLATES");
}
if (IsModuleInstalled("bizproc")) {
    $arComponentParameters["PARAMETERS"]["PATH_TO_BIZPROC_TASK_LIST"] = array("NAME" => GetMessage("SONET_PATH_TO_BIZPROC_TASK_LIST"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "/company/personal/user/#user_id#/bizproc/", "COLS" => 25, "PARENT" => "URL_TEMPLATES");
    $arComponentParameters["PARAMETERS"]["PATH_TO_BIZPROC_TASK"] = array("NAME" => GetMessage("SONET_PATH_TO_BIZPROC_TASK"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "/company/personal/user/#user_id#/bizproc/#id#/", "COLS" => 25, "PARENT" => "URL_TEMPLATES");
}
if (CModule::IncludeModule("intranet")) {
    /* *** EVENT CALENDAR *** */
    $arComponentParameters["GROUPS"]["EVENT_CALENDAR_SETTINGS"] = array("NAME" => GetMessage("SONET_EVENT_CALENDAR_SETTINGS"));
    $calendar2 = (!IsModuleInstalled("intranet") || COption::GetOptionString("intranet", "calendar_2", "N") == "Y") && CModule::IncludeModule("calendar");
    if ($calendar2) {
        $arComponentParameters["PARAMETERS"]["CALENDAR_ALLOW_SUPERPOSE"] = array("PARENT" => "EVENT_CALENDAR_SETTINGS", "NAME" => GetMessage("SONET_CALENDAR_ALLOW_SUPERPOSE"), "TYPE" => "CHECKBOX", "DEFAULT" => "N");
        $arComponentParameters["PARAMETERS"]["CALENDAR_ALLOW_RES_MEETING"] = array("PARENT" => "EVENT_CALENDAR_SETTINGS", "NAME" => GetMessage("SONET_CALENDAR_ALLOW_RES_MEETING"), "TYPE" => "CHECKBOX", "DEFAULT" => "Y");
    } else {
开发者ID:vim84,项目名称:b-markt,代码行数:31,代码来源:.parameters.php

示例14: array

<?php

if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) {
    die;
}
if (!CModule::IncludeModule("socialnetwork")) {
    return false;
}
$arComponentParameters = array("GROUPS" => array("VARIABLE_ALIASES" => array("NAME" => GetMessage("SONET_VARIABLE_ALIASES"))), "PARAMETERS" => array("SET_NAV_CHAIN" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("SONET_SET_NAVCHAIN"), "TYPE" => "CHECKBOX", "DEFAULT" => "Y"), "ITEMS_COUNT" => array("NAME" => GetMessage("SONET_ITEMS_COUNT"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "20", "COLS" => 25, "PARENT" => "VISUAL"), "PATH_TO_USER" => array("NAME" => GetMessage("SONET_PATH_TO_USER"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "", "COLS" => 25, "PARENT" => "URL_TEMPLATES"), "PATH_TO_SEARCH" => array("NAME" => GetMessage("SONET_PATH_TO_SEARCH"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "", "COLS" => 25, "PARENT" => "URL_TEMPLATES"), "PAGE_VAR" => array("NAME" => GetMessage("SONET_PAGE_VAR"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "", "COLS" => 25, "PARENT" => "VARIABLE_ALIASES"), "USER_VAR" => array("NAME" => GetMessage("SONET_USER_VAR"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "", "COLS" => 25, "PARENT" => "VARIABLE_ALIASES"), "ID" => array("NAME" => GetMessage("SONET_ID"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "={\$id}", "COLS" => 25, "PARENT" => "DATA_SOURCE"), "SET_TITLE" => array(), "NAME_TEMPLATE" => array("TYPE" => "LIST", "NAME" => GetMessage("SONET_NAME_TEMPLATE"), "VALUES" => CComponentUtil::GetDefaultNameTemplates(), "MULTIPLE" => "N", "ADDITIONAL_VALUES" => "Y", "DEFAULT" => GetMessage("SONET_NAME_TEMPLATE_DEFAULT"), "PARENT" => "VISUAL"), "SHOW_LOGIN" => array("NAME" => GetMessage("SONET_SHOW_LOGIN"), "TYPE" => "CHECKBOX", "MULTIPLE" => "N", "VALUE" => "Y", "DEFAULT" => "Y", "PARENT" => "VISUAL"), "THUMBNAIL_LIST_SIZE" => array("NAME" => GetMessage("SONET_THUMBNAIL_LIST_SIZE"), "TYPE" => "STRING", "DEFAULT" => "42", "PARENT" => "VISUAL")));
开发者ID:webgksupport,项目名称:alpina,代码行数:9,代码来源:.parameters.php

示例15: array

<?php

if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) {
    die;
}
if (!CModule::IncludeModule("socialnetwork")) {
    return false;
}
$arRes = $GLOBALS["USER_FIELD_MANAGER"]->GetUserFields("USER", 0, LANGUAGE_ID);
$userProp = array();
if (!empty($arRes)) {
    foreach ($arRes as $key => $val) {
        $userProp[$val["FIELD_NAME"]] = strLen($val["EDIT_FORM_LABEL"]) > 0 ? $val["EDIT_FORM_LABEL"] : $val["FIELD_NAME"];
    }
}
$userProp1 = array("ID" => GetMessage("SONET_UP1_ID"), "LOGIN" => GetMessage("SONET_UP1_LOGIN"), "NAME" => GetMessage("SONET_UP1_NAME"), "SECOND_NAME" => GetMessage("SONET_UP1_SECOND_NAME"), "LAST_NAME" => GetMessage("SONET_UP1_LAST_NAME"), "EMAIL" => GetMessage("SONET_UP1_EMAIL"), "TIME_ZONE" => GetMessage("SONET_UP1_TIME_ZONE"), "LAST_LOGIN" => GetMessage("SONET_UP1_LAST_LOGIN"), "DATE_REGISTER" => GetMessage("SONET_UP1_DATE_REGISTER"), "LID" => GetMessage("SONET_UP1_LID"), "PERSONAL_BIRTHDAY" => GetMessage("SONET_UP1_PERSONAL_BIRTHDAY"), "PERSONAL_PROFESSION" => GetMessage("SONET_UP1_PERSONAL_PROFESSION"), "PERSONAL_WWW" => GetMessage("SONET_UP1_PERSONAL_WWW"), "PERSONAL_ICQ" => GetMessage("SONET_UP1_PERSONAL_ICQ"), "PERSONAL_GENDER" => GetMessage("SONET_UP1_PERSONAL_GENDER"), "PERSONAL_PHOTO" => GetMessage("SONET_UP1_PERSONAL_PHOTO"), "PERSONAL_NOTES" => GetMessage("SONET_UP1_PERSONAL_NOTES"), "PERSONAL_PHONE" => GetMessage("SONET_UP1_PERSONAL_PHONE"), "PERSONAL_FAX" => GetMessage("SONET_UP1_PERSONAL_FAX"), "PERSONAL_MOBILE" => GetMessage("SONET_UP1_PERSONAL_MOBILE"), "PERSONAL_PAGER" => GetMessage("SONET_UP1_PERSONAL_PAGER"), "PERSONAL_COUNTRY" => GetMessage("SONET_UP1_PERSONAL_COUNTRY"), "PERSONAL_STATE" => GetMessage("SONET_UP1_PERSONAL_STATE"), "PERSONAL_CITY" => GetMessage("SONET_UP1_PERSONAL_CITY"), "PERSONAL_ZIP" => GetMessage("SONET_UP1_PERSONAL_ZIP"), "PERSONAL_STREET" => GetMessage("SONET_UP1_PERSONAL_STREET"), "PERSONAL_MAILBOX" => GetMessage("SONET_UP1_PERSONAL_MAILBOX"), "WORK_COMPANY" => GetMessage("SONET_UP1_WORK_COMPANY"), "WORK_DEPARTMENT" => GetMessage("SONET_UP1_WORK_DEPARTMENT"), "WORK_POSITION" => GetMessage("SONET_UP1_WORK_POSITION"), "WORK_WWW" => GetMessage("SONET_UP1_WORK_WWW"), "WORK_PROFILE" => GetMessage("SONET_UP1_WORK_PROFILE"), "WORK_LOGO" => GetMessage("SONET_UP1_WORK_LOGO"), "WORK_NOTES" => GetMessage("SONET_UP1_WORK_NOTES"), "WORK_PHONE" => GetMessage("SONET_UP1_WORK_PHONE"), "WORK_FAX" => GetMessage("SONET_UP1_WORK_FAX"), "WORK_PAGER" => GetMessage("SONET_UP1_WORK_PAGER"), "WORK_COUNTRY" => GetMessage("SONET_UP1_WORK_COUNTRY"), "WORK_STATE" => GetMessage("SONET_UP1_WORK_STATE"), "WORK_CITY" => GetMessage("SONET_UP1_WORK_CITY"), "WORK_ZIP" => GetMessage("SONET_UP1_WORK_ZIP"), "WORK_STREET" => GetMessage("SONET_UP1_WORK_STREET"), "WORK_MAILBOX" => GetMessage("SONET_UP1_WORK_MAILBOX"));
if (IsModuleInstalled("forum")) {
    $userProp1 = array_merge($userProp1, array('FORUM_SHOW_NAME' => GetMessage('SONET_UP1_FORUM_PREFIX') . GetMessage('SONET_UP1_FORUM_SHOW_NAME'), 'FORUM_DESCRIPTION' => GetMessage('SONET_UP1_FORUM_PREFIX') . GetMessage('SONET_UP1_FORUM_DESCRIPTION'), 'FORUM_INTERESTS' => GetMessage('SONET_UP1_FORUM_PREFIX') . GetMessage('SONET_UP1_FORUM_INTERESTS'), 'FORUM_SIGNATURE' => GetMessage('SONET_UP1_FORUM_PREFIX') . GetMessage('SONET_UP1_FORUM_SIGNATURE'), 'FORUM_AVATAR' => GetMessage('SONET_UP1_FORUM_PREFIX') . GetMessage('SONET_UP1_FORUM_AVATAR'), 'FORUM_HIDE_FROM_ONLINE' => GetMessage('SONET_UP1_FORUM_PREFIX') . GetMessage('SONET_UP1_FORUM_HIDE_FROM_ONLINE'), 'FORUM_SUBSC_GET_MY_MESSAGE' => GetMessage('SONET_UP1_FORUM_PREFIX') . GetMessage('SONET_UP1_FORUM_SUBSC_GET_MY_MESSAGE')));
}
if (IsModuleInstalled("blog")) {
    $userProp1 = array_merge($userProp1, array('BLOG_ALIAS' => GetMessage('SONET_UP1_BLOG_PREFIX') . GetMessage('SONET_UP1_BLOG_ALIAS'), 'BLOG_DESCRIPTION' => GetMessage('SONET_UP1_BLOG_PREFIX') . GetMessage('SONET_UP1_BLOG_DESCRIPTION'), 'BLOG_INTERESTS' => GetMessage('SONET_UP1_BLOG_PREFIX') . GetMessage('SONET_UP1_BLOG_INTERESTS'), 'BLOG_AVATAR' => GetMessage('SONET_UP1_BLOG_PREFIX') . GetMessage('SONET_UP1_BLOG_AVATAR')));
}
$arComponentParameters = array("GROUPS" => array("VARIABLE_ALIASES" => array("NAME" => GetMessage("SONET_VARIABLE_ALIASES"))), "PARAMETERS" => array("PATH_TO_USER" => array("NAME" => GetMessage("SONET_PATH_TO_USER"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "", "COLS" => 25, "PARENT" => "URL_TEMPLATES"), "PATH_TO_USER_EDIT" => array("NAME" => GetMessage("SONET_PATH_TO_USER_EDIT"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "", "COLS" => 25, "PARENT" => "URL_TEMPLATES"), "PAGE_VAR" => array("NAME" => GetMessage("SONET_PAGE_VAR"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "", "COLS" => 25, "PARENT" => "VARIABLE_ALIASES"), "USER_VAR" => array("NAME" => GetMessage("SONET_USER_VAR"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "", "COLS" => 25, "PARENT" => "VARIABLE_ALIASES"), "ID" => array("NAME" => GetMessage("SONET_ID"), "TYPE" => "STRING", "MULTIPLE" => "N", "DEFAULT" => "={\$id}", "COLS" => 25, "PARENT" => "DATA_SOURCE"), "SET_TITLE" => array(), "EDITABLE_FIELDS" => array("PARENT" => "ADDITIONAL_SETTINGS", "NAME" => GetMessage("SONET_EDITABLE_FIELDS"), "TYPE" => "LIST", "VALUES" => array_merge($userProp, $userProp1), "MULTIPLE" => "Y", "DEFAULT" => array('LOGIN', 'NAME', 'SECOND_NAME', 'LAST_NAME', 'EMAIL', 'PERSONAL_BIRTHDAY', 'PERSONAL_CITY', 'PERSONAL_COUNTRY', 'PERSONAL_FAX', 'PERSONAL_GENDER', 'PERSONAL_ICQ', 'PERSONAL_MAILBOX', 'PERSONAL_MOBILE', 'PERSONAL_PAGER', 'PERSONAL_PHONE', 'PERSONAL_PHOTO', 'PERSONAL_STATE', 'PERSONAL_STREET', 'PERSONAL_WWW', 'PERSONAL_ZIP')), "DATE_TIME_FORMAT" => CComponentUtil::GetDateTimeFormatField(GetMessage("SONET_DATE_TIME_FORMAT"), "VISUAL"), "NAME_TEMPLATE" => array("TYPE" => "LIST", "NAME" => GetMessage("SONET_NAME_TEMPLATE"), "VALUES" => CComponentUtil::GetDefaultNameTemplates(), "MULTIPLE" => "N", "ADDITIONAL_VALUES" => "Y", "DEFAULT" => "", "PARENT" => "ADDITIONAL_SETTINGS"), "SHOW_LOGIN" => array("NAME" => GetMessage("SONET_SHOW_LOGIN"), "TYPE" => "CHECKBOX", "MULTIPLE" => "N", "VALUE" => "Y", "DEFAULT" => "Y", "PARENT" => "ADDITIONAL_SETTINGS")));
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:23,代码来源:.parameters.php


注:本文中的CComponentUtil::GetDefaultNameTemplates方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。