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


PHP CAdminCalendar::CalendarDate方法代码示例

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


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

示例1: ___WDBPStartWorkflowParametersShow

function ___WDBPStartWorkflowParametersShow($templateId, $arWorkflowParameters, $bVarsFromForm, &$arFields)
{
    $templateId = intval($templateId);
    if ($templateId <= 0) {
        return;
    }
    if (!isset($arWorkflowParameters) || !is_array($arWorkflowParameters)) {
        $arWorkflowParameters = array();
    }
    $arParametersValues = array();
    $keys = array_keys($arWorkflowParameters);
    foreach ($keys as $key) {
        $v = $bVarsFromForm ? $_REQUEST["bizproc" . $templateId . "_" . $key] : $arWorkflowParameters[$key]["Default"];
        if (!is_array($v)) {
            $arParametersValues[$key] = htmlspecialcharsbx($v);
        } else {
            $keys1 = array_keys($v);
            foreach ($keys1 as $key1) {
                $arParametersValues[$key][$key1] = htmlspecialcharsbx($v[$key1]);
            }
        }
    }
    foreach ($arWorkflowParameters as $parameterKey => $arParameter) {
        $parameterKeyExt = "bizproc" . $templateId . "_" . $parameterKey;
        $sData = GetMessage("BPCGDOC_INVALID_TYPE");
        switch ($arParameter["Type"]) {
            case "int":
            case "double":
                $sData = '<input type="text" name="' . $parameterKeyExt . '" size="10" value="' . $arParametersValues[$parameterKey] . '" />';
                break;
            case "string":
                $sData = '<input type="text" name="' . $parameterKeyExt . '" size="50" value="' . $arParametersValues[$parameterKey] . '" />';
                break;
            case "text":
                $sData = '<textarea name="' . $parameterKeyExt . '" rows="5" cols="40">' . $arParametersValues[$parameterKey] . '</textarea>';
                break;
            case "select":
                $sData = '<select name="' . $parameterKeyExt . ($arParameter["Multiple"] ? '[]" size="5" multiple="multiple"' : '"') . '>';
                if (is_array($arParameter["Options"]) && count($arParameter["Options"]) > 0) {
                    foreach ($arParameter["Options"] as $key => $value) {
                        $sData .= '<option value="' . $key . '"' . (!$arParameter["Multiple"] && $key == $arParametersValues[$parameterKey] || $arParameter["Multiple"] && is_array($arParametersValues[$parameterKey]) && in_array($key, $arParametersValues[$parameterKey]) ? ' selected="selected"' : '') . '>' . $value . '</option>';
                    }
                }
                $sData .= '</select>';
                break;
            case "bool":
                $sData = '<select name="' . $parameterKeyExt . '">' . '<option value="Y"' . ($arParametersValues[$parameterKey] == "Y" ? ' selected="selected"' : '') . '>' . GetMessage("WD_Y") . '</option>' . '<option value="N"' . ($arParametersValues[$parameterKey] == "N" ? ' selected="selected"' : '') . '>' . GetMessage("WD_N") . '</option>' . '</select>';
                break;
            case "date":
            case "datetime":
                $sData = CAdminCalendar::CalendarDate($parameterKeyExt, $arParametersValues[$parameterKey], 19, $arParameter["Type"] == "date");
                break;
            case "user":
                $sData = '<textarea name="' . $parameterKeyExt . '" id="id_' . $parameterKeyExt . '" rows="3" cols="40">' . $arParametersValues[$parameterKey] . '</textarea><input type="button" value="..." onclick="BPAShowSelector(\'id_' . $parameterKeyExt . '\', \'user\');" />';
                break;
        }
        $arFields[] = array("id" => $parameterKeyExt, "required" => $arParameter["Required"], "name" => $arParameter["Name"], "tooltip" => trim($arParameter["Description"]), "type" => "custom", "value" => $sData);
    }
}
开发者ID:mrdeadmouse,项目名称:u136006,代码行数:59,代码来源:template.php

示例2: bitrix_sessid_post

    <form method="POST" Action="<?echo $APPLICATION->GetCurPage()?>">
        <?// проверка идентификатора сессии ?>
        <?echo bitrix_sessid_post();?>
        <?
        // отобразим заголовки закладок
        $tabControl->Begin();
        ?>
        <?
        //********************
        // первая закладка - форма редактирования
        //********************
        $tabControl->BeginNextTab();
        ?>
        <tr>
            <td><span class="required">*</span><?echo GetMessage("STALL_ORDER_EDIT_DATE_CREATE")?></td>
            <td><?echo CAdminCalendar::CalendarDate("DATE_CREATE", $row['DATE_CREATE'], 19, true)?></td>
            <td rowspan="3" valign="top" style="text-align: right; width: 60%;">

                <table class="internal" style="width: 100%;">
                    <tr class="heading">
                        <td>Name</td>
                        <td width="100">Price</td>
                        <td width="100">Count</td>
                        <td width="120">Summ</td>
                        <td width="50">Del</td>
                    </tr>
                    <?
                    //TODO add css
                    ?>
                    <?foreach($arElement as $arItem):?>
                        <tr id="order_item_<?php 
开发者ID:anmaslov,项目名称:stall,代码行数:31,代码来源:order_edit.php

示例3: GetFieldInputControl


//.........这里部分代码省略.........
								<option value="N"<?php 
                            echo in_array("N", $fieldValue) ? ' selected' : '';
                            ?>
><?php 
                            echo GetMessage("BPCGHLP_NO");
                            ?>
</option>
							</select>
							<?php 
                            break;
                        case "text":
                            unset($fieldValueTmp[$key]);
                            ?>
<textarea rows="5" cols="40" id="<?php 
                            echo $fieldNameId;
                            ?>
" name="<?php 
                            echo $fieldNameName;
                            ?>
"><?php 
                            echo htmlspecialcharsbx($value);
                            ?>
</textarea><?php 
                            break;
                        case "date":
                        case "datetime":
                            if (defined("ADMIN_SECTION") && ADMIN_SECTION) {
                                $v = "";
                                if (!preg_match("#^\\{=[a-z0-9_]+:[a-z0-9_]+\\}\$#i", trim($value)) && substr(trim($value), 0, 1) != "=") {
                                    $v = $value;
                                    unset($fieldValueTmp[$key]);
                                }
                                require_once $_SERVER["DOCUMENT_ROOT"] . BX_ROOT . "/modules/main/interface/init_admin.php";
                                echo CAdminCalendar::CalendarDate($fieldNameName, $v, 19, $arFieldType["Type"] != "date");
                            } else {
                                $value1 = $value;
                                if ($bAllowSelection && (preg_match("#^\\{=[a-z0-9_]+:[a-z0-9_]+\\}\$#i", trim($value1)) || substr(trim($value1), 0, 1) == "=")) {
                                    $value1 = null;
                                } else {
                                    unset($fieldValueTmp[$key]);
                                }
                                $ar = CIBlockProperty::GetUserType("DateTime");
                                echo call_user_func_array($ar["GetPublicEditHTML"], array(array("LINK_IBLOCK_ID" => $arFieldType["Options"]), array("VALUE" => $value1), array("FORM_NAME" => $arFieldName["Form"], "VALUE" => $fieldNameName), true));
                            }
                            break;
                        default:
                            unset($fieldValueTmp[$key]);
                            ?>
<input type="text" size="40" id="<?php 
                            echo $fieldNameId;
                            ?>
" name="<?php 
                            echo $fieldNameName;
                            ?>
" value="<?php 
                            echo htmlspecialcharsbx($value);
                            ?>
"><?php 
                    }
                }
                if ($bAllowSelection) {
                    if (!in_array($arFieldType["Type"], array("file", "bool", "date", "datetime")) && (is_array($customMethodName) && count($customMethodName) <= 0 || !is_array($customMethodName) && strlen($customMethodName) <= 0)) {
                        ?>
<input type="button" value="..." onclick="BPAShowSelector('<?php 
                        echo $fieldNameId;
                        ?>
开发者ID:spas-viktor,项目名称:books,代码行数:67,代码来源:iblockdocument.php

示例4: genEditHTML

 /**
  * Генерирует HTML для редактирования поля
  * @see AdminEditHelper::showField();
  * @return mixed
  */
 protected function genEditHTML()
 {
     return \CAdminCalendar::CalendarDate($this->getEditInputName(), ConvertTimeStamp(strtotime($this->getValue()), "FULL"), 10, true);
 }
开发者ID:Reprezo,项目名称:digitalwand.admin_helper,代码行数:9,代码来源:DateTimeWidget.php

示例5: CalendarDate

function CalendarDate($sFromName, $sFromVal, $sFormName="skform", $size="10", $param="class=\"typeinput\"")
{
	if(class_exists("CAdminCalendar"))
		return CAdminCalendar::CalendarDate($sFromName, $sFromVal, $size, ($size > 10));

	return '<input type="text" name="'.$sFromName.'" id="'.$sFromName.'" size="'.$size.'" value="'.htmlspecialcharsbx($sFromVal).'" '.$param.' /> '."\n".Calendar($sFromName, $sFormName)."\n";
}
开发者ID:nProfessor,项目名称:Mytb,代码行数:7,代码来源:tools.php

示例6: GetAdminListEditHTML

 function GetAdminListEditHTML($arUserField, $arHtmlControl)
 {
     if ($arUserField["EDIT_IN_LIST"] == "Y") {
         return CAdminCalendar::CalendarDate($arHtmlControl["NAME"], $arHtmlControl["VALUE"]);
     } elseif (strlen($arHtmlControl["VALUE"]) > 0) {
         return $arHtmlControl["VALUE"];
     } else {
         return '&nbsp;';
     }
 }
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:10,代码来源:usertypedate.php

示例7: GetFieldInputControl


//.........这里部分代码省略.........
</option>
							<option value="N"<?php 
                        echo in_array("N", $fieldValue) ? ' selected' : '';
                        ?>
><?php 
                        echo GetMessage("BPCGHLP_NO");
                        ?>
</option>
						</select>
						<?php 
                        break;
                    case "text":
                        unset($fieldValueTmp[$key]);
                        ?>
<textarea rows="5" cols="40" id="<?php 
                        echo $fieldNameId;
                        ?>
" name="<?php 
                        echo $fieldNameName;
                        ?>
"><?php 
                        echo htmlspecialcharsbx($value);
                        ?>
</textarea><?php 
                        break;
                    case "date":
                    case "datetime":
                        $v = "";
                        if (!preg_match("#^\\{=[a-z0-9_]+:[a-z0-9_]+\\}\$#i", trim($value)) && substr(trim($value), 0, 1) != "=") {
                            $v = $value;
                            unset($fieldValueTmp[$key]);
                        }
                        require_once $_SERVER["DOCUMENT_ROOT"] . BX_ROOT . "/modules/main/interface/init_admin.php";
                        echo CAdminCalendar::CalendarDate($fieldNameName, $v, 19, $arFieldType["Type"] == "date");
                        break;
                    default:
                        unset($fieldValueTmp[$key]);
                        ?>
<input type="text" size="40" id="<?php 
                        echo $fieldNameId;
                        ?>
" name="<?php 
                        echo $fieldNameName;
                        ?>
" value="<?php 
                        echo htmlspecialcharsbx($value);
                        ?>
"><?php 
                }
                if ($bAllowSelection) {
                    if (!in_array($arFieldType["Type"], array("file", "bool", "date", "datetime"))) {
                        ?>
<input type="button" value="..." onclick="BPAShowSelector('<?php 
                        echo $fieldNameId;
                        ?>
', '<?php 
                        echo $arFieldType["BaseType"];
                        ?>
');"><?php 
                    }
                }
                if ($arFieldType["Multiple"]) {
                    echo '</td></tr>';
                }
            }
            if ($arFieldType["Multiple"]) {
开发者ID:rasuldev,项目名称:torino,代码行数:67,代码来源:helper.php

示例8: array

		$pr = array();
	}
$tabControl->AddCheckBoxField("ACTIVE", GetMessage("IBLOCK_FIELD_ACTIVE").":", false, array("Y","N"), $str_ACTIVE=="Y");
$tabControl->BeginCustomField("ACTIVE_FROM", GetMessage("IBLOCK_FIELD_ACTIVE_PERIOD_FROM"), $arIBlock["FIELDS"]["ACTIVE_FROM"]["IS_REQUIRED"] === "Y");
?>
	<tr id="tr_ACTIVE_FROM">
		<td><?echo $tabControl->GetCustomLabelHTML()?>:</td>
		<td><?echo CAdminCalendar::CalendarDate("ACTIVE_FROM", $str_ACTIVE_FROM, 19, true)?></td>
	</tr>
<?
$tabControl->EndCustomField("ACTIVE_FROM", '<input type="hidden" id="ACTIVE_FROM" name="ACTIVE_FROM" value="'.$str_ACTIVE_FROM.'">');
$tabControl->BeginCustomField("ACTIVE_TO", GetMessage("IBLOCK_FIELD_ACTIVE_PERIOD_TO"), $arIBlock["FIELDS"]["ACTIVE_TO"]["IS_REQUIRED"] === "Y");
?>
	<tr id="tr_ACTIVE_TO">
		<td><?echo $tabControl->GetCustomLabelHTML()?>:</td>
		<td><?echo CAdminCalendar::CalendarDate("ACTIVE_TO", $str_ACTIVE_TO, 19, true)?></td>
	</tr>

<?
$tabControl->EndCustomField("ACTIVE_TO", '<input type="hidden" id="ACTIVE_TO" name="ACTIVE_TO" value="'.$str_ACTIVE_TO.'">');

if($arTranslit["TRANSLITERATION"] == "Y")
{
	$tabControl->BeginCustomField("NAME", GetMessage("IBLOCK_FIELD_NAME").":", true);
	?>
		<tr id="tr_NAME">
			<td><?echo $tabControl->GetCustomLabelHTML()?></td>
			<td style="white-space: nowrap;">
				<input type="text" size="50" name="NAME" id="NAME" maxlength="255" value="<?echo $str_NAME?>"><image id="name_link" title="<?echo GetMessage("IBEL_E_LINK_TIP")?>" class="linked" src="/bitrix/themes/.default/icons/iblock/<?if($bLinked) echo 'link.gif'; else echo 'unlink.gif';?>" onclick="set_linked()" />
			</td>
		</tr>
开发者ID:ASDAFF,项目名称:entask.ru,代码行数:31,代码来源:iblock_element_edit.php

示例9: GetPropertyFieldHtml

 public static function GetPropertyFieldHtml($arProperty, $value, $strHTMLControlName)
 {
     return CAdminCalendar::CalendarDate($strHTMLControlName["VALUE"], $value["VALUE"], 20, false) . ($arProperty["WITH_DESCRIPTION"] == "Y" && '' != trim($strHTMLControlName["DESCRIPTION"]) ? '&nbsp;<input type="text" size="20" name="' . $strHTMLControlName["DESCRIPTION"] . '" value="' . htmlspecialcharsbx($value["DESCRIPTION"]) . '">' : '');
 }
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:4,代码来源:prop_date.php

示例10: htmlspecialcharsbx

        echo htmlspecialcharsbx($Field);
        ?>
:</td>
				<td width="60%"><?php 
        echo CAdminCalendar::CalendarDate($Field, $arRecord["FULL_" . $Field], 20, true);
        ?>
		<?php 
    } elseif ($arField["type"] === "date") {
        ?>
			<tr>
				<td width="40%"><?php 
        echo htmlspecialcharsbx($Field);
        ?>
:</td>
				<td width="60%"><?php 
        echo CAdminCalendar::CalendarDate($Field, $arRecord["SHORT_" . $Field], 10, false);
        ?>
		<?php 
    } elseif (isset($arField["SELECT"])) {
        ?>
			<tr>
				<td width="40%"><?php 
        echo htmlspecialcharsbx($Field);
        ?>
:</td>
				<td width="60%"><?php 
        echo SelectBoxFromArray($Field, $arField["SELECT"], $arRecord[$Field], $arField["nullable"] ? "(null)" : "");
        ?>
</td>
			</tr>
		<?php 
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:perfmon_row_edit.php

示例11: GetMessage

	<td><?php 
    echo CAdminCalendar::CalendarDate("SUB_ACTIVE_FROM", $str_ACTIVE_FROM, 19, true);
    ?>
</td>
</tr>
<?php 
    $tabControl->EndCustomField("SUB_ACTIVE_FROM", '<input type="hidden" id="SUB_ACTIVE_FROM" name="SUB_ACTIVE_FROM" value="' . $str_ACTIVE_FROM . '">');
    $tabControl->BeginCustomField("SUB_ACTIVE_TO", GetMessage("IBLOCK_FIELD_ACTIVE_PERIOD_TO"), $arIBlock["FIELDS"]["ACTIVE_TO"]["IS_REQUIRED"] === "Y");
    ?>
<tr id="tr_SUB_ACTIVE_TO">
	<td><?php 
    echo $tabControl->GetCustomLabelHTML();
    ?>
:</td>
	<td><?php 
    echo CAdminCalendar::CalendarDate("SUB_ACTIVE_TO", $str_ACTIVE_TO, 19, true);
    ?>
</td>
</tr>

<?php 
    $tabControl->EndCustomField("SUB_ACTIVE_TO", '<input type="hidden" id="SUB_ACTIVE_TO" name="SUB_ACTIVE_TO" value="' . $str_ACTIVE_TO . '">');
    if ($arTranslit["TRANSLITERATION"] == "Y") {
        $tabControl->BeginCustomField("SUB_NAME", GetMessage("IBLOCK_FIELD_NAME") . ":", true);
        ?>
<tr id="tr_SUB_NAME">
	<td><?php 
        echo $tabControl->GetCustomLabelHTML();
        ?>
</td>
	<td style="white-space: nowrap;">
开发者ID:vim84,项目名称:b-markt,代码行数:31,代码来源:iblock_subelement_edit.php

示例12: GetMessage

	</td>
</tr>
<tr id="tr_time_type_selector_time">
	<td align="right" width="40%"><?php 
echo GetMessage("CPAD_DP_TIME1");
?>
:</td>
	<td width="60%">
		<?php 
$v = "";
$v_x = trim($arCurrentValues["delay_date"]);
if (!preg_match("#^\\{=[a-z0-9_]+:[a-z0-9_]+\\}\$#i", $v_x) && substr($v_x, 0, 1) != "=") {
    $v = $v_x;
    $v_x = "";
}
require_once $_SERVER["DOCUMENT_ROOT"] . BX_ROOT . "/modules/main/interface/init_admin.php";
echo CAdminCalendar::CalendarDate("delay_date", $v, 19, true);
?>
		<input type="text" name="delay_date_x" id="id_delay_date_x" value="<?php 
echo htmlspecialcharsbx($v_x);
?>
" size="20" />
		<input type="button" value="..." onclick="BPAShowSelector('id_delay_date_x', 'datetime');" />
	</td>
</tr>
<script type="text/javascript">
	SetDelayMode(<?php 
echo !array_key_exists("delay_date", $arCurrentValues) ? "true" : "false";
?>
);
</script>
开发者ID:k-kalashnikov,项目名称:geekcon.local,代码行数:31,代码来源:properties_dialog.php

示例13: GetFieldInputControl


//.........这里部分代码省略.........
								<option value="N"<?php 
                            echo in_array("N", $fieldValue) ? ' selected' : '';
                            ?>
><?php 
                            echo GetMessage("BPCGHLP_NO");
                            ?>
</option>
							</select>
							<?php 
                            break;
                        case "text":
                            unset($fieldValueTmp[$key]);
                            ?>
<textarea rows="5" cols="40" id="<?php 
                            echo $fieldNameId;
                            ?>
" name="<?php 
                            echo $fieldNameName;
                            ?>
"><?php 
                            echo htmlspecialcharsbx($value);
                            ?>
</textarea><?php 
                            break;
                        case "date":
                        case "datetime":
                            if (defined("ADMIN_SECTION") && ADMIN_SECTION) {
                                $v = "";
                                if (!preg_match("#^\\{=[a-z0-9_]+:[a-z0-9_]+\\}\$#i", trim($value)) && substr(trim($value), 0, 1) != "=") {
                                    $v = $value;
                                    unset($fieldValueTmp[$key]);
                                }
                                require_once $_SERVER["DOCUMENT_ROOT"] . BX_ROOT . "/modules/main/interface/init_admin.php";
                                echo CAdminCalendar::CalendarDate($fieldNameName, $v, 19, $arFieldType["Type"] != "date");
                            } else {
                                $value1 = $value;
                                if ($bAllowSelection && (preg_match("#^\\{=[a-z0-9_]+:[a-z0-9_]+\\}\$#i", trim($value1)) || substr(trim($value1), 0, 1) == "=")) {
                                    $value1 = null;
                                } else {
                                    unset($fieldValueTmp[$key]);
                                }
                                if ($arFieldType["Type"] == "date") {
                                    $type = "Date";
                                } else {
                                    $type = "DateTime";
                                }
                                $ar = CIBlockProperty::GetUserType($type);
                                echo call_user_func_array($ar["GetPublicEditHTML"], array(array("LINK_IBLOCK_ID" => $arFieldType["Options"]), array("VALUE" => $value1), array("FORM_NAME" => $arFieldName["Form"], "VALUE" => $fieldNameName), true));
                            }
                            break;
                        default:
                            unset($fieldValueTmp[$key]);
                            ?>
<input type="text" size="40" id="<?php 
                            echo $fieldNameId;
                            ?>
" name="<?php 
                            echo $fieldNameName;
                            ?>
" value="<?php 
                            echo htmlspecialcharsbx($value);
                            ?>
"><?php 
                    }
                }
                if ($bAllowSelection) {
开发者ID:mrdeadmouse,项目名称:u136006,代码行数:67,代码来源:bizprocdocument.php

示例14: htmlspecialcharsbx

        echo htmlspecialcharsbx($Field);
        ?>
:</td>
			<td width="60%"><?php 
        echo CAdminCalendar::CalendarDate($Field, $value, 20, true);
        ?>
		<?php 
    } elseif ($arField["type"] === "date") {
        $value = $bVarsFromForm ? $_REQUEST[$Field] : $arRecord["SHORT_" . $Field];
        ?>
			<td width="40%"><?php 
        echo htmlspecialcharsbx($Field);
        ?>
:</td>
			<td width="60%"><?php 
        echo CAdminCalendar::CalendarDate($Field, $value, 10, false);
        ?>
		<?php 
    } elseif (isset($arField["SELECT"])) {
        $value = $bVarsFromForm ? $_REQUEST[$Field] : $arRecord[$Field];
        ?>
				<td width="40%"><?php 
        echo htmlspecialcharsbx($Field);
        ?>
:</td>
				<td width="60%"><?php 
        echo SelectBoxFromArray($Field, $arField["SELECT"], $value, $arField["nullable"] ? "(null)" : "");
        ?>
</td>
		<?php 
    } elseif ($arField["type"] === "string" && $arField["length"] == 1 && ($arField["default"] === "Y" || $arField["default"] === "N") && ($arRecord[$Field] === "Y" || $arRecord[$Field] === "N") && !$arField["nullable"]) {
开发者ID:akniyev,项目名称:itprom_dobrohost,代码行数:31,代码来源:perfmon_row_edit.php

示例15: GetAdminListEditHTML

	public static function GetAdminListEditHTML($arUserField, $arHtmlControl)
	{
		if($arUserField["EDIT_IN_LIST"]=="Y")
			return CAdminCalendar::CalendarDate($arHtmlControl["NAME"], $arHtmlControl["VALUE"], 20, true);
		elseif(strlen($arHtmlControl["VALUE"])>0)
			return $arHtmlControl["VALUE"];
		else
			return '&nbsp;';
	}
开发者ID:ASDAFF,项目名称:bxApiDocs,代码行数:9,代码来源:usertypetime.php


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