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


PHP CFileman::GetEditorToolbarConfig方法代码示例

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


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

示例1: is_array

        ?>
;">
<?php 
        $site = is_array($arSITE) ? $arSITE[0] : LANG;
        $arTplList = CSite::GetTemplateList($site);
        $tpl = "";
        while ($ar = $arTplList->Fetch()) {
            if (strlen($tpl) == 0) {
                $tpl = $ar["TEMPLATE"];
            }
            if (strlen(trim($ar["CONDITION"])) == 0) {
                $tpl = $ar["TEMPLATE"];
                break;
            }
        }
        CFileMan::ShowHTMLEditControl("FORM_TEMPLATE", htmlspecialcharsback($str_FORM_TEMPLATE), array("site" => $arSITE[0], "templateID" => $tpl, "bUseOnlyDefinedStyles" => COption::GetOptionString("fileman", "show_untitled_styles", "N") != "Y", "bWithoutPHP" => false, "arToolbars" => array("standart", "style", "formating", "source", "template", "table"), "arTaskbars" => array("BXFormElementsTaskbar", "BXPropertiesTaskbar"), "toolbarConfig" => CFileman::GetEditorToolbarConfig("form_edit" . (defined('BX_PUBLIC_MODE') && BX_PUBLIC_MODE == 1 ? "_public" : "")), "sBackUrl" => "", "fullscreen" => false, 'width' => '100%', 'height' => '500', 'use_editor_3' => 'N'));
        ?>
<script>
oBXEditorUtils.addPHPParser(oForm.PHPParser);
oBXEditorUtils.addTaskBar('BXFormElementsTaskbar', 2, "<?php 
        echo GetMessageJS('FORM_TASKBARSET_TITLE');
        ?>
", []);
if (window.arButtons['Optimize'])
	arButtons['Optimize'][1].hideCondition = function(pMainObj){return pMainObj.name == "FORM_TEMPLATE";}
</script>
		</div></td>
	</tr>
	<?php 
    } else {
        ?>
开发者ID:Satariall,项目名称:izurit,代码行数:31,代码来源:form_edit.php

示例2: GetMessage

	</tr>
<?php 
    $tabControl->EndCustomField("ANSWERS");
    ?>

<?php 
    $tabControl->BeginNextFormTab();
    $tabControl->BeginCustomField("DESCRIPTION", GetMessage("LEARNING_DESCRIPTION"), false);
    ?>
	<?php 
    if (COption::GetOptionString("learning", "use_htmledit", "Y") == "Y" && CModule::IncludeModule("fileman")) {
        ?>
	<tr>
		<td colspan="2" align="center">
			<?php 
        CFileMan::AddHTMLEditorFrame("DESCRIPTION", $str_DESCRIPTION, "DESCRIPTION_TYPE", $str_DESCRIPTION_TYPE, array('width' => '100%', 'height' => '500'), "N", 0, "", "", false, true, false, array('toolbarConfig' => CFileman::GetEditorToolbarConfig("learning_" . (defined('BX_PUBLIC_MODE') && BX_PUBLIC_MODE == 1 ? 'public' : 'admin'))));
        ?>
		</td>
	</tr>
	<?php 
    } else {
        ?>
	<tr>
		<td align="center"><?php 
        echo GetMessage("LEARNING_DESC_TYPE");
        ?>
:</td>
		<td>
			<input type="radio" name="DESCRIPTION_TYPE" value="text"<?php 
        if ($str_DESCRIPTION_TYPE != "html") {
            echo " checked";
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:learn_question_edit.php

示例3: GetMessage

				"DETAIL_TEXT",
				$str_DETAIL_TEXT,
				"DETAIL_TEXT_TYPE",
				$str_DETAIL_TEXT_TYPE,
				array(
					'height' => 450,
					'width' => '100%'
				),
				"N",
				0,
				"",
				"",
				$arIBlock["LID"],
				true,
				false,
				array('toolbarConfig' => CFileman::GetEditorToolbarConfig("iblock_".(defined('BX_PUBLIC_MODE') && BX_PUBLIC_MODE == 1 ? 'public' : 'admin')), 'saveEditorKey' => $IBLOCK_ID)
			);
		?></td>
	</tr>
	<?else:?>
	<tr id="tr_DETAIL_TEXT_TYPE">
		<td><?echo GetMessage("IBLOCK_DESC_TYPE")?></td>
		<td><input type="radio" name="DETAIL_TEXT_TYPE" id="DETAIL_TEXT_TYPE_text" value="text"<?if($str_DETAIL_TEXT_TYPE!="html")echo " checked"?>> <label for="DETAIL_TEXT_TYPE_text"><?echo GetMessage("IBLOCK_DESC_TYPE_TEXT")?></label> / <input type="radio" name="DETAIL_TEXT_TYPE" id="DETAIL_TEXT_TYPE_html" value="html"<?if($str_DETAIL_TEXT_TYPE=="html")echo " checked"?>> <label for="DETAIL_TEXT_TYPE_html"><?echo GetMessage("IBLOCK_DESC_TYPE_HTML")?></label></td>
	</tr>
	<tr id="tr_DETAIL_TEXT">
		<td colspan="2" align="center">
			<textarea cols="60" rows="20" name="DETAIL_TEXT" style="width:100%"><?echo $str_DETAIL_TEXT?></textarea>
		</td>
	</tr>
	<?endif?>
<?
开发者ID:ASDAFF,项目名称:entask.ru,代码行数:31,代码来源:iblock_element_edit.php

示例4: GetMessage

";
		FE_MESS.FILEMAN_HTMLED_MANAGE_TB = "<?php 
    echo GetMessage("FILEMAN_HTMLED_MANAGE_TB");
    ?>
";
		window.bEditProps = <?php 
    echo $bEditProps ? 'true' : 'false';
    ?>
;

		var _bEdit = <?php 
    echo $bEdit ? 'true' : 'false';
    ?>
		</script>
		<?php 
    CFileman::ShowHTMLEditControl("filesrc", $filesrc, array("site" => $site, "templateID" => $templateID, "bUseOnlyDefinedStyles" => COption::GetOptionString("fileman", "show_untitled_styles", "N") != "Y", "bWithoutPHP" => !$USER->CanDoOperation('edit_php'), "toolbarConfig" => CFileman::GetEditorToolbarConfig("filesrc"), "arToolbars" => array("manage", "standart", "style", "formating", "source", "template"), "arTaskbars" => array("BXComponentsTaskbar", "BXComponents2Taskbar", "BXPropertiesTaskbar", "BXSnippetsTaskbar"), "sBackUrl" => $url, "fullscreen" => $bFullScreen == 'Y', "path" => $path, 'width' => '100%', 'height' => '650px', "limit_php_access" => $limit_php_access));
    ?>
	</td></tr>
	<?php 
    if ($bEditProps) {
        ?>
	<?php 
        $tabControl->BeginNextTab();
        ?>
	<tr>
		<td>
			<input type="hidden" name="prop_edit" value="Y">
			<!-- FILE PROPS -->
			<script>
				function _MoreRProps(code, value)
				{
开发者ID:,项目名称:,代码行数:31,代码来源:

示例5: getDiff

	<tr id="tr_SUB_DETAIL_TEXT_DIFF">
		<td colspan="2">
			<div style="width:95%;background-color:white;border:1px solid black;padding:5px">
				<?php 
        echo getDiff($prev_arElement["DETAIL_TEXT"], $arElement["DETAIL_TEXT"]);
        ?>
			</div>
		</td>
	</tr>
	<?php 
    } elseif (COption::GetOptionString("iblock", "use_htmledit", "Y") == "Y" && $bFileman) {
        ?>
	<tr id="tr_SUB_DETAIL_TEXT_EDITOR">
		<td colspan="2" align="center">
			<?php 
        CFileMan::AddHTMLEditorFrame("SUB_DETAIL_TEXT", $str_DETAIL_TEXT, "SUB_DETAIL_TEXT_TYPE", $str_DETAIL_TEXT_TYPE, array('height' => 450, 'width' => '100%'), "N", 0, "", "", $arIBlock["LID"], true, false, array('toolbarConfig' => CFileman::GetEditorToolbarConfig("iblock_" . (defined('BX_SUB_SETTINGS') && BX_SUB_SETTINGS == true ? 'admin' : 'public')), 'saveEditorKey' => $IBLOCK_ID, 'hideTypeSelector' => $arIBlock["FIELDS"]["DETAIL_TEXT_TYPE_ALLOW_CHANGE"]["DEFAULT_VALUE"] === "N"));
        ?>
</td>
	</tr>
	<?php 
    } else {
        ?>
	<tr id="tr_SUB_DETAIL_TEXT_TYPE">
		<td><?php 
        echo GetMessage("IBLOCK_DESC_TYPE");
        ?>
</td>
		<td><input type="radio" name="SUB_DETAIL_TEXT_TYPE" id="SUB_DETAIL_TEXT_TYPE_text" value="text"<?php 
        if ($str_DETAIL_TEXT_TYPE != "html") {
            echo " checked";
        }
开发者ID:vim84,项目名称:b-markt,代码行数:31,代码来源:iblock_subelement_edit.php

示例6: Array

					editor.Destroy();
				}
			})();
		</script>
		<?
		/* ************* END |HTML EDITOR 3.0| END ************* */
	}
	else
	{
		/* ************* OLD HTML EDITOR ************* */
		CFileman::ShowHTMLEditControl($editor_name, $filesrc, Array(
			"site" => $site,
			"templateID" => $_REQUEST['templateID'],
			"bUseOnlyDefinedStyles" => COption::GetOptionString("fileman", "show_untitled_styles", "N")!="Y",
			"bWithoutPHP" => (!$USER->CanDoOperation('edit_php')),
			"toolbarConfig" => CFileman::GetEditorToolbarConfig($editor_name),
			"arTaskbars" => Array("BXComponentsTaskbar", "BXComponents2Taskbar", "BXPropertiesTaskbar", "BXSnippetsTaskbar"),
			"sBackUrl" => $back_url,
			"path" => $path,
			"limit_php_access" => $limit_php_access,
			'height' => '490',
			'width' => '100%',
			'light_mode' => true,
		));

	?>
	<script>
		var _bEdit = true;
		arEditorFastDialogs['asksave'] = function(pObj)
		{
			return {
开发者ID:ASDAFF,项目名称:open_bx,代码行数:31,代码来源:file_edit.php

示例7: Array

				'name' => 'filesrc',
				'id' => 'filesrc',
				'width' => '100%',
				'height' => '650',
				'content' => $filesrc,
				'bAllowPhp' => $USER->CanDoOperation('edit_php'),
				"limitPhpAccess" => $limit_php_access
			));
			?>
		<?else:?>
			<? CFileman::ShowHTMLEditControl("filesrc", $filesrc, Array(
				"site"=>$site,
				"templateID"=>$templateID,
				"bUseOnlyDefinedStyles"=>COption::GetOptionString("fileman", "show_untitled_styles", "N")!="Y",
				"bWithoutPHP"=>(!$USER->CanDoOperation('edit_php')),
				"toolbarConfig" => CFileman::GetEditorToolbarConfig("filesrc"),
				"arToolbars"=>Array("manage", "standart", "style", "formating", "source", "template"),
				"arTaskbars"=>Array("BXComponentsTaskbar", "BXComponents2Taskbar", "BXPropertiesTaskbar", "BXSnippetsTaskbar"),
				"sBackUrl"=>$url,
				"fullscreen"=>($bFullScreen=='Y'),
				"path" => $path,
				'width' => '100%',
				'height' => '650px',
				"limit_php_access" => $limit_php_access
				)
			);?>
		<?endif;?>
	</td></tr>
	<?if($bEditProps):?>
	<?$tabControl->BeginNextTab();?>
	<tr>
开发者ID:ASDAFF,项目名称:open_bx,代码行数:31,代码来源:fileman_html_edit.php

示例8: GetMessage

				$str_DETAIL_TEXT,
				"DETAIL_TEXT_TYPE",
				$str_DETAIL_TEXT_TYPE,
				array(
					'height' => 450,
					'width' => '100%'
				),
				"N",
				0,
				"",
				"",
				$arIBlock["LID"],
				true,
				false,
				array(
					'toolbarConfig' => CFileman::GetEditorToolbarConfig("iblock_".(defined('BX_PUBLIC_MODE') && BX_PUBLIC_MODE == 1 ? 'public' : 'admin')),
					'saveEditorKey' => $IBLOCK_ID,
					'hideTypeSelector' => $arIBlock["FIELDS"]["DETAIL_TEXT_TYPE_ALLOW_CHANGE"]["DEFAULT_VALUE"] === "N",
				)
			);
		?></td>
	</tr>
	<?else:?>
	<tr id="tr_DETAIL_TEXT_TYPE">
		<td><?echo GetMessage("IBLOCK_DESC_TYPE")?></td>
		<td><input type="radio" name="DETAIL_TEXT_TYPE" id="DETAIL_TEXT_TYPE_text" value="text"<?if($str_DETAIL_TEXT_TYPE!="html")echo " checked"?>> <label for="DETAIL_TEXT_TYPE_text"><?echo GetMessage("IBLOCK_DESC_TYPE_TEXT")?></label> / <input type="radio" name="DETAIL_TEXT_TYPE" id="DETAIL_TEXT_TYPE_html" value="html"<?if($str_DETAIL_TEXT_TYPE=="html")echo " checked"?>> <label for="DETAIL_TEXT_TYPE_html"><?echo GetMessage("IBLOCK_DESC_TYPE_HTML")?></label></td>
	</tr>
	<tr id="tr_DETAIL_TEXT">
		<td colspan="2" align="center">
			<textarea cols="60" rows="20" name="DETAIL_TEXT" style="width:100%"><?echo $str_DETAIL_TEXT?></textarea>
		</td>
开发者ID:nycmic,项目名称:bittest,代码行数:31,代码来源:iblock_element_edit.php

示例9: Array

		Array("height"=>600, "width"=>'100%'),
		"N", //CONVERT_FOR_WORKFLOW
		0, //WORKFLOW_DOCUMENT_ID
		"", //NEW_DOCUMENT_PATH
		"", //textarea_field
		false, //site
		false, //bWithoutPHP
		Array("BXPropertiesTaskbar","BXComponentsTaskbar", "BXComponents2Taskbar","BXSnippetsTaskbar"), //arTaskbars
		Array //arAdditionalParams
		(
			"additionalCSS" => Array($template_styles_path),
			"saveEditorState" => false,
			//"dontusecookie" => true,
			"limit_php_access" => ($lpa || $lpa_view),
			"dontshowta" => true,
			'toolbarConfig' => CFileman::GetEditorToolbarConfig("template_edit")
		)
	);
else:?>
	<textarea rows="28" cols="60" style="width:100%" id="bxed_CONTENT" name="CONTENT" wrap="off"><?echo htmlspecialcharsbx(htmlspecialcharsback($str_CONTENT))?></textarea>
<?endif;?>
		</td>
	</tr>

<script type="text/javascript" src="/bitrix/js/main/template_edit.js?v=<?php 
echo @filemtime($_SERVER['DOCUMENT_ROOT'] . '/bitrix/js/main/template_edit.js');
?>
"></script>

<script>
var messErrorWA = '<?echo CUtil::JSEscape(GetMessage("templ_edit_error_wa"))?>';
开发者ID:nProfessor,项目名称:Mytb,代码行数:31,代码来源:template_edit.php

示例10: getDiff

	<tr id="tr_DETAIL_TEXT_DIFF">
		<td colspan="2">
			<div style="width:95%;background-color:white;border:1px solid black;padding:5px">
				<?php 
            echo getDiff($prev_arElement["DETAIL_TEXT"], $arElement["DETAIL_TEXT"]);
            ?>
			</div>
		</td>
	</tr>
	<?php 
        } elseif (COption::GetOptionString("iblock", "use_htmledit", "Y") == "Y" && $bFileman) {
            ?>
	<tr id="tr_DETAIL_TEXT_EDITOR">
		<td colspan="2" align="center">
			<?php 
            CFileMan::AddHTMLEditorFrame("DETAIL_TEXT", $str_DETAIL_TEXT, "DETAIL_TEXT_TYPE", $str_DETAIL_TEXT_TYPE, array('height' => 450, 'width' => '100%'), "N", 0, "", "", $arIBlock["LID"], true, false, array('toolbarConfig' => CFileman::GetEditorToolbarConfig("iblock_" . (defined('BX_PUBLIC_MODE') && BX_PUBLIC_MODE == 1 ? 'public' : 'admin')), 'saveEditorKey' => $IBLOCK_ID));
            ?>
</td>
	</tr>
	<?php 
        } else {
            ?>
	<tr id="tr_DETAIL_TEXT_TYPE">
		<td><?php 
            echo GetMessage("IBLOCK_DESC_TYPE");
            ?>
</td>
		<td><input type="radio" name="DETAIL_TEXT_TYPE" id="DETAIL_TEXT_TYPE_text" value="text"<?php 
            if ($str_DETAIL_TEXT_TYPE != "html") {
                echo " checked";
            }
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:iblock_element_edit.php

示例11: onEditorUnregister

						editorDialog.DenyClose();
						editor.GetDialog('ConfirmExit').Show();
					}
				}

				function onEditorUnregister()
				{
					editor.Destroy();
				}
			})();
		</script>
		<?php 
        /* ************* END |HTML EDITOR 3.0| END ************* */
    } else {
        /* ************* OLD HTML EDITOR ************* */
        CFileman::ShowHTMLEditControl($editor_name, $filesrc, array("site" => $site, "templateID" => $_REQUEST['templateID'], "bUseOnlyDefinedStyles" => COption::GetOptionString("fileman", "show_untitled_styles", "N") != "Y", "bWithoutPHP" => !$USER->CanDoOperation('edit_php'), "toolbarConfig" => CFileman::GetEditorToolbarConfig($editor_name), "arTaskbars" => array("BXComponentsTaskbar", "BXComponents2Taskbar", "BXPropertiesTaskbar", "BXSnippetsTaskbar"), "sBackUrl" => $back_url, "path" => $path, "limit_php_access" => $limit_php_access, 'height' => '490', 'width' => '100%', 'light_mode' => true));
        ?>
	<script>
		var _bEdit = true;
		arEditorFastDialogs['asksave'] = function(pObj)
		{
			return {
				title: BX_MESS.EDITOR,
				innerHTML : "<div style='margin-bottom: 20px; padding: 5px;'>" + BX_MESS.DIALOG_EXIT_ACHTUNG + "</div>",
				width: 700,
				height: 130,
				OnLoad: function()
				{
					window.oBXEditorDialog.SetButtons([
						new BX.CWindowButton(
							{
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:file_edit.php

示例12: GetMessage

				"SUB_DETAIL_TEXT",
				$str_DETAIL_TEXT,
				"SUB_DETAIL_TEXT_TYPE",
				$str_DETAIL_TEXT_TYPE,
				array(
						'height' => 450,
						'width' => '100%'
					),
					"N",
					0,
					"",
					"",
					$arIBlock["LID"],
					true,
					false,
					array('toolbarConfig' => CFileman::GetEditorToolbarConfig("iblock_".(defined('BX_SUB_SETTINGS') && BX_SUB_SETTINGS == true ? 'admin' : 'public')), 'saveEditorKey' => $IBLOCK_ID)
				);
		?></td>
	</tr>
	<?else:?>
	<tr id="tr_SUB_DETAIL_TEXT_TYPE">
		<td><?echo GetMessage("IBLOCK_DESC_TYPE")?></td>
		<td><input type="radio" name="SUB_DETAIL_TEXT_TYPE" id="SUB_DETAIL_TEXT_TYPE_text" value="text"<?if($str_DETAIL_TEXT_TYPE!="html")echo " checked"?>> <label for="SUB_DETAIL_TEXT_TYPE_text"><?echo GetMessage("IBLOCK_DESC_TYPE_TEXT")?></label> / <input type="radio" name="SUB_DETAIL_TEXT_TYPE" id="SUB_DETAIL_TEXT_TYPE_html" value="html"<?if($str_DETAIL_TEXT_TYPE=="html")echo " checked"?>> <label for="SUB_DETAIL_TEXT_TYPE_html"><?echo GetMessage("IBLOCK_DESC_TYPE_HTML")?></label></td>
	</tr>
	<tr id="tr_SUB_DETAIL_TEXT">
		<td colspan="2" align="center">
			<textarea cols="60" rows="20" name="SUB_DETAIL_TEXT" style="width:100%"><?echo $str_DETAIL_TEXT?></textarea>
		</td>
	</tr>
	<?endif?>
<?
开发者ID:akniyev,项目名称:arteva.ru,代码行数:31,代码来源:iblock_subelement_edit.php

示例13: GetMessageJS

				$tpl = $ar["TEMPLATE"];
				break;
			}
		}

		CFileMan::ShowHTMLEditControl(
			"FORM_TEMPLATE",
			htmlspecialcharsback($str_FORM_TEMPLATE),
			array(
				"site" => $arSITE[0],
				"templateID" => $tpl,
				"bUseOnlyDefinedStyles"=>COption::GetOptionString("fileman", "show_untitled_styles", "N")!="Y",
				"bWithoutPHP"=>false,
				"arToolbars"=>Array("standart", "style", "formating", "source", "template", "table"),
				"arTaskbars"=>Array("BXFormElementsTaskbar", "BXPropertiesTaskbar"),
				"toolbarConfig" => CFileman::GetEditorToolbarConfig("form_edit".(defined('BX_PUBLIC_MODE') && BX_PUBLIC_MODE == 1 ? "_public" : "")),
				"sBackUrl" => "",
				"fullscreen" => false,
				'width' => '100%',
				'height' => '500',
				'use_editor_3' => 'N'
			)
		);

		?>
<script>
oBXEditorUtils.addPHPParser(oForm.PHPParser);
oBXEditorUtils.addTaskBar('BXFormElementsTaskbar', 2, "<?php 
echo GetMessageJS('FORM_TASKBARSET_TITLE');
?>
", []);
开发者ID:ASDAFF,项目名称:entask.ru,代码行数:31,代码来源:form_edit.php

示例14: GetMessage

		TE_MESS.FILEMAN_PREVIEW_TEMPLATE_TITLE = "<?php 
    echo GetMessage("FILEMAN_PREVIEW_TEMPLATE_TITLE");
    ?>
";
		__ID = '<?php 
    echo CUtil::JSEscape($ID);
    ?>
';
		var SITE_TEMPLATE_PATH = '<?php 
    echo BX_PERSONAL_ROOT . '/templates/' . CUtil::JSEscape($ID);
    ?>
';
	</script>
	<?php 
    $template_styles_path = $_SERVER["DOCUMENT_ROOT"] . BX_PERSONAL_ROOT . "/templates/" . $ID . "/template_styles.css";
    CFileMan::AddHTMLEditorFrame("CONTENT", $str_CONTENT, false, false, array("height" => 600, "width" => '100%'), "N", 0, "", "", false, false, array("BXPropertiesTaskbar", "BXComponentsTaskbar", "BXComponents2Taskbar", "BXSnippetsTaskbar"), array("additionalCSS" => array($template_styles_path), "saveEditorState" => false, "limit_php_access" => $lpa || $lpa_view, "dontshowta" => true, 'toolbarConfig' => CFileman::GetEditorToolbarConfig("template_edit")));
} else {
    ?>
	<textarea rows="28" cols="60" style="width:100%" id="bxed_CONTENT" name="CONTENT" wrap="off"><?php 
    echo htmlspecialcharsbx(htmlspecialcharsback($str_CONTENT));
    ?>
</textarea>
<?php 
}
?>
		</td>
	</tr>

<script type="text/javascript" src="/bitrix/js/main/template_edit.js?v=<?php 
echo @filemtime($_SERVER['DOCUMENT_ROOT'] . '/bitrix/js/main/template_edit.js');
?>
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:template_edit.php

示例15: GetMessage

				$str_DETAIL_TEXT,
				"SUB_DETAIL_TEXT_TYPE",
				$str_DETAIL_TEXT_TYPE,
				array(
						'height' => 450,
						'width' => '100%',
				),
				"N",
				0,
				"",
				"",
				$arIBlock["LID"],
				true,
				false,
				array(
					'toolbarConfig' => CFileman::GetEditorToolbarConfig("iblock_".(defined('BX_SUB_SETTINGS') && BX_SUB_SETTINGS == true ? 'admin' : 'public')),
					'saveEditorKey' => $IBLOCK_ID,
					'hideTypeSelector' => $arIBlock["FIELDS"]["DETAIL_TEXT_TYPE_ALLOW_CHANGE"]["DEFAULT_VALUE"] === "N",
				)
			);
		?></td>
	</tr>
	<?else:?>
	<tr id="tr_SUB_DETAIL_TEXT_TYPE">
		<td><?echo GetMessage("IBLOCK_DESC_TYPE")?></td>
		<td><input type="radio" name="SUB_DETAIL_TEXT_TYPE" id="SUB_DETAIL_TEXT_TYPE_text" value="text"<?if($str_DETAIL_TEXT_TYPE!="html")echo " checked"?>> <label for="SUB_DETAIL_TEXT_TYPE_text"><?echo GetMessage("IBLOCK_DESC_TYPE_TEXT")?></label> / <input type="radio" name="SUB_DETAIL_TEXT_TYPE" id="SUB_DETAIL_TEXT_TYPE_html" value="html"<?if($str_DETAIL_TEXT_TYPE=="html")echo " checked"?>> <label for="SUB_DETAIL_TEXT_TYPE_html"><?echo GetMessage("IBLOCK_DESC_TYPE_HTML")?></label></td>
	</tr>
	<tr id="tr_SUB_DETAIL_TEXT">
		<td colspan="2" align="center">
			<textarea cols="60" rows="20" name="SUB_DETAIL_TEXT" style="width:100%"><?echo $str_DETAIL_TEXT?></textarea>
		</td>
开发者ID:nycmic,项目名称:bittest,代码行数:31,代码来源:iblock_subelement_edit.php


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