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


PHP CSite::SelectBox方法代码示例

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


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

示例1: CAdminFilter

<form name="find_form" method="GET" action="<?php 
echo $APPLICATION->GetCurPage();
?>
?">
<?php 
$oFilter = new CAdminFilter($sTableID . "_filter", array(GetMessage("FFAN_ACTIVE"), GetMessage("FFAN_GROUP_ID")));
$oFilter->Begin();
?>
	<tr>
		<td><b><?php 
echo GetMessage("FFAN_SITE_ID");
?>
:</b></td>
		<td>
			<?php 
echo CSite::SelectBox("filter_site_id", $filter_site_id, "(" . GetMessage("FFAN_ALL") . ")");
?>
		</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("FFAN_ACTIVE");
?>
:</td>
		<td>
			<select name="filter_active">
				<option value=""><?php 
echo htmlspecialcharsex("(" . GetMessage("FFAN_ALL") . ")");
?>
</option>
				<option value="Y"<?php 
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:forum_admin.php

示例2: GetMessage

		</tr>
<?
		$tabControl->EndCustomField("EXTERNAL_AUTH_ID", '<input type="hidden" name="EXTERNAL_AUTH_ID" value="'.$str_EXTERNAL_AUTH_ID.'">');

	endif;
endif;
?>
<?
if($USER->CanDoOperation('view_subordinate_users') || $USER->CanDoOperation('view_all_users')):
	$tabControl->BeginCustomField("LID", GetMessage("MAIN_DEFAULT_SITE"));
?>
	<tr>
		<td><?echo $tabControl->GetCustomLabelHTML()?></td>
		<?if(!$canSelfEdit) $dis = " disabled"?>
		<td><?php 
echo CSite::SelectBox("LID", $str_LID, "", "", $dis);
?>
</td>
	</tr>
<?
	$tabControl->EndCustomField("LID", '<input type="hidden" name="LID" value="'.$str_LID.'">');

	$tabControl->AddCheckBoxField("user_info_event", GetMessage('INFO_FOR_USER'), false, "Y", ($user_info_event=="Y"), (!$canSelfEdit? array("disabled"):array()));
endif;

if(CTimeZone::Enabled())
{
	$tabControl->AddSection("USER_TIME_ZONE", GetMessage("user_edit_time_zones"));
	$tabControl->AddDropDownField("AUTO_TIME_ZONE", GetMessage("user_edit_time_zones_auto"), false, array(""=>GetMessage("user_edit_time_zones_auto_def"), "Y"=>GetMessage("user_edit_time_zones_auto_yes"), "N"=>GetMessage("user_edit_time_zones_auto_no")), $str_AUTO_TIME_ZONE, array('onchange="this.form.TIME_ZONE.disabled=(this.value != \'N\')"'));
	$tabControl->AddDropDownField("TIME_ZONE", GetMessage("user_edit_time_zones_zones"), false, CTimeZone::GetZones(), $str_TIME_ZONE, ($str_AUTO_TIME_ZONE<>"N"? array('disabled') : array()));
}
开发者ID:nProfessor,项目名称:Mytb,代码行数:31,代码来源:user_edit.php

示例3: GetMessage

    }
    ?>
	<?php 
}
?>

	<?php 
if (CSite::IsDistinctDocRoots()) {
    ?>
	<tr class="adm-detail-required-field">
		<td><?php 
    echo GetMessage("FLOW_EDIT_SITE");
    ?>
</td>
		<td><?php 
    echo CSite::SelectBox("SITE_ID", $str_SITE_ID);
    ?>
</td>
	</tr>
	<?php 
}
?>
	<tr class="adm-detail-required-field">
		<td><?php 
echo GetMessage("FLOW_FULL_FILENAME");
?>
</td>
		<td>
			<input type="text" id="FILENAME" name="FILENAME" size="30"  maxlength="255" value="<?php 
echo $str_FILENAME;
?>
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:workflow_edit.php

示例4: GetMessage

?>
</td>
	</tr>
	<tr valign="top" class="heading">
		<td colspan="2"><?php 
echo GetMessage("STAT_CONDITIONS");
?>
</td>
	</tr>
	<tr valign="top">
		<td align="right"><?php 
echo GetMessage("STAT_SITE");
?>
:</td>
		<td><?php 
echo CSite::SelectBox("SITE_ID", $str_SITE_ID, GetMessage("MAIN_ALL"));
?>
</td>
	</tr>
	<tr valign="top">
		<td align="right"><?php 
echo GetMessage("STAT_MASK");
?>
</td>
		<td><input  type="text" name="MASK_1" size="3" maxlength="3" value="<?php 
echo $str_MASK_1;
?>
">&nbsp;<input  type="text" name="MASK_2" size="3" maxlength="3" value="<?php 
echo $str_MASK_2;
?>
">&nbsp;<input  type="text" name="MASK_3" size="3" maxlength="3" value="<?php 
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:stoplist_edit.php

示例5: GetMessage

    echo CSite::SelectBox("FILTER_MASKS[{$i}][SITE_ID]", $arMask["SITE_ID"], GetMessage("MAIN_ALL"), "");
    ?>
<br>
			</td></tr>
		<?php 
}
?>
		<?php 
if (!$bVarsFromForm) {
    ?>
			<tr class="security-addable-row"><td nowrap style="padding-bottom: 3px;">
				<input type="text" size="45" name="FILTER_MASKS[n0][MASK]" value="">&nbsp;<?php 
    echo GetMessage("SEC_FILTER_SITE");
    ?>
&nbsp;<?php 
    echo CSite::SelectBox("FILTER_MASKS[n0][SITE_ID]", "", GetMessage("MAIN_ALL"), "");
    ?>
<br>
			</td></tr>
		<?php 
}
?>
			<tr><td>
				<br><input type="button" id="add-button" value="<?php 
echo GetMessage("SEC_FILTER_ADD");
?>
">
			</td></tr>
		</table>
	</td>
</tr>
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:security_filter.php

示例6: CAdminFilter

?>
<form name="find_form" method="GET" action="<?php 
echo $APPLICATION->GetCurPage();
?>
?">
<?php 
$oFilter = new CAdminFilter($sTableID . "_filter", array(GetMessage("SONET_FILTER_SUBJECT_ID"), GetMessage("SONET_GROUP_NAME"), GetMessage("SONET_OWNER_USER"), GetMessage("SONET_OWNER_ID")));
$oFilter->Begin();
?>
	<tr>
		<td><?php 
echo GetMessage("SONET_FILTER_SITE_ID");
?>
</td>
		<td><?php 
echo CSite::SelectBox("filter_site_id", $filter_site_id, GetMessage("SONET_SPT_ALL"));
?>
</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("SONET_FILTER_SUBJECT_ID");
?>
:</td>
		<td>
			<select name="filter_subject_id">
				<option value="NOT_REF"><?php 
echo htmlspecialcharsex(GetMessage("SONET_SPT_ALL"));
?>
</option>
				<?php 
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:group.php

示例7: GetMessage

</label><br>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php 
    echo CSite::SelectBox("SITE_MESSAGE_LINK_E_SITE", $SITE_MESSAGE_LINK_E_SITE, "", "", $SITE_MESSAGE_LINK != "E" ? 'disabled' : '');
    ?>
<br>
			<input type="radio"<?php 
    if ($SITE_MESSAGE_LINK == "C") {
        echo " checked";
    }
    ?>
 name="SITE_MESSAGE_LINK" id="SITE_MESSAGE_LINK_c" value="C" onClick="if(this.checked){document.bform.SITE_MESSAGE_LINK_E_SITE.disabled=true; document.bform.SITE_MESSAGE_LINK_C_SITE.disabled=false}"><label for="SITE_MESSAGE_LINK_c"> <?php 
    echo GetMessage("MAIN_SITE_CREATE_MESS_TEPL_COPY");
    ?>
</label><br>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php 
    echo CSite::SelectBox("SITE_MESSAGE_LINK_C_SITE", $SITE_MESSAGE_LINK_C_SITE, "", "", $SITE_MESSAGE_LINK != "C" ? 'disabled' : '');
    ?>
<br />

		</td>
	</tr>
	<?php 
}
?>
	<?php 
ConditionJS();
?>
	<tr class="heading">
		<td colspan="2"><?php 
echo GetMessage("MAIN_SITE_EDIT_TEMPLATE");
?>
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:site_edit.php

示例8: CAdminFilter

?>
<form name="find_form" method="GET" action="<?php 
echo $APPLICATION->GetCurPage();
?>
?">
<?php 
$oFilter = new CAdminFilter($sTableID . "_filter", array(GetMessage("SAP1_ACTIVE")));
$oFilter->Begin();
?>
	<tr>
		<td><?php 
echo GetMessage("SAP1_SITE1");
?>
</td>
		<td><?php 
echo CSite::SelectBox("filter_site_id", $filter_site_id, GetMessage("SAP1_ALL"));
?>
</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("SAP1_ACTIVE1");
?>
</td>
		<td>
			<select name="filter_active">
				<option value=""><?php 
echo htmlspecialcharsex(GetMessage("SAP1_ALL"));
?>
</option>
				<option value="Y"<?php 
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:affiliate_plan.php

示例9: BeginNote

echo BeginNote();
if(defined("FX_UTF"))
	echo GetMessage("MAIN_TEMPLATE_LOAD_WARN_UTF");
else
	echo GetMessage("MAIN_TEMPLATE_LOAD_WARN_NON_UTF");
echo EndNote();
?></td>
	</tr>
	<tr>
		<td><?echo GetMessage("MAIN_TEMPLATE_LOAD_ID")?></td>
		<td><input type="text" name="ID" Id="ID" size="20" maxlength="255" value="<? echo $str_ID?>"></td>
	</tr>
	<tr>
		<td><?echo GetMessage("MAIN_TEMPLATE_LOAD_SITE_ID")?></td>
		<td><?php 
echo CSite::SelectBox("SITE_ID", $str_SITE_ID, GetMessage("MAIN_TEMPLATE_LOAD_SITE_ID_N"));
?>
</td>
	</tr>
	<tr>
		<td><?echo GetMessage("MAIN_TEMPLATE_LOAD_GOTO_EDIT")?></td>
		<td><input type="checkbox" name="goto_edit" value="Y"></td>
	</tr>
<?
$tabControl->Buttons();
?>
	<input type="hidden" name="action" value="import">
	<input <?if(!$isAdmin) echo "disabled" ?> type="submit" name="import" value="<?echo GetMessage("MAIN_TEMPLATE_LOAD_SUBMIT")?>" class="adm-btn-save">
<?
$tabControl->End();
?>
开发者ID:ASDAFF,项目名称:open_bx,代码行数:31,代码来源:template_load.php

示例10: array

?">
		<?php 
$arFindFields = array(GetMessage("STORE_SITE_ID"));
$entityId = "CAT_STORE";
$USER_FIELD_MANAGER->AddFindFields($entityId, $arFindFields);
$oFilter = new CAdminFilter($sTableID . "_filter", $arFindFields);
$oFilter->Begin();
?>
		<tr>
			<td><?php 
echo GetMessage("STORE_SITE_ID");
?>
:</td>
			<td>
				<?php 
echo CSite::SelectBox("filter_site_id", $filter_site_id, "(" . GetMessage("STORE_SITE_ID") . ")");
?>
			</td>
		</tr>
		<?php 
$USER_FIELD_MANAGER->AdminListShowFilter($entityId);
?>
		<?php 
$oFilter->Buttons(array("table_id" => $sTableID, "url" => $APPLICATION->GetCurPage(), "form" => "find_form"));
$oFilter->End();
?>
	</form>


<?php 
$lAdmin->DisplayList();
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:cat_store_list.php

示例11: GetMessage

				for (var i = 0; i < arSitesArray.length; i++)
				{
					if (arSitesArray[i] == val)
					{
						currency = arCurrenciesArray[i];
						break;
					}
				}

				document.getElementById('DIV_PAID_SUM_CURRENCY').innerHTML = currency;
				document.getElementById('DIV_PENDING_SUM_CURRENCY').innerHTML = currency;
			}
			//-->
			</script>
			<?php 
echo CSite::SelectBox("SITE_ID", $str_SITE_ID, "", "OnChangeSite(this[this.selectedIndex].value)");
?>
		</td>
	</tr>
	<tr class="adm-detail-required-field">
		<td><?php 
echo GetMessage("SAE_USER");
?>
</td>
		<td>
			<?php 
$userName = "";
if ($str_USER_ID > 0) {
    $dbUser = CUser::GetByID($str_USER_ID);
    if ($arUser = $dbUser->Fetch()) {
        $userName = "[<a class=\"tablebodylink\" title=\"" . GetMessage("SAE_PROFILE") . "\" href=\"/bitrix/admin/user_edit.php?lang=" . LANGUAGE_ID . "&ID=" . $str_USER_ID . "\">" . $str_USER_ID . "</a>] (" . htmlspecialcharsex($arUser["LOGIN"]) . ") " . htmlspecialcharsex($arUser["NAME"]) . " " . htmlspecialcharsex($arUser["LAST_NAME"]);
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:affiliate_edit.php

示例12: GetMessage

		</tr>
<?
		$tabControl->EndCustomField("EXTERNAL_AUTH_ID", '<input type="hidden" name="EXTERNAL_AUTH_ID" value="'.$str_EXTERNAL_AUTH_ID.'">');

	endif;
endif;
?>
<?
if($USER->CanDoOperation('view_subordinate_users') || $USER->CanDoOperation('view_all_users')):
	$tabControl->BeginCustomField("LID", GetMessage("MAIN_DEFAULT_SITE"));
?>
	<tr>
		<td><?echo $tabControl->GetCustomLabelHTML()?></td>
		<?if(!$canSelfEdit) $dis = " disabled"?>
		<td><?php 
echo CSite::SelectBox("LID", $str_LID, "", "", "style=\"width:220px\"" . $dis);
?>
</td>
	</tr>
<?
	$tabControl->EndCustomField("LID", '<input type="hidden" name="LID" value="'.$str_LID.'">');

	$params = array('id="bx_user_info_event"');
	if(!$canSelfEdit || $str_EXTERNAL_AUTH_ID <> '')
	{
		$params[] = "disabled";
	}
	$tabControl->AddCheckBoxField("user_info_event", GetMessage('INFO_FOR_USER'), false, "Y", ($_REQUEST["user_info_event"]=="Y"), $params);
endif;

if(CTimeZone::Enabled())
开发者ID:ASDAFF,项目名称:bitrix-5,代码行数:31,代码来源:user_edit.php

示例13: GetMessage

				GetMessage("CAT_DOC_TYPE"),
				GetMessage("CAT_DOC_DATE"),
				GetMessage("CAT_DOC_CONTRACTOR"),
				GetMessage("CAT_DOC_STATUS"),
			)
		);

		$oFilter->Begin();
		?>
		<tr>
			<td><?php 
echo GetMessage("CAT_DOC_SITE_ID");
?>
:</td>
			<td>
				<?echo CSite::SelectBox("filter_site_id", $filter_site_id, "(".GetMessage("CAT_DOC_SITE_ID").")"); ?>
			</td>
		</tr>
		<tr>
			<td><?php 
echo GetMessage("CAT_DOC_TYPE");
?>
:</td>
			<td>
				<select name="filter_doc_type">
					<option value=""><?php 
echo htmlspecialcharsex("(" . GetMessage("CAT_DOC_TYPE") . ")");
?>
</option>

					<?
开发者ID:ASDAFF,项目名称:entask.ru,代码行数:31,代码来源:cat_store_document_list.php

示例14: htmlspecialcharsbx

			"FRAME_MASK" => htmlspecialcharsbx($ar["FRAME_MASK"]),
		);
}
?>
<tr>
	<td class="adm-detail-valign-top" width="40%"><?echo GetMessage("SEC_FRAME_MASKS")?></td>
	<td width="60%">
	<table cellpadding="0" cellspacing="0" border="0" class="nopadding" width="100%" id="tbFRAME_MASKS">
		<?foreach($arMasks as $i => $arMask):?>
			<tr><td nowrap style="padding-bottom: 3px;">
				<input type="text" size="45" name="FRAME_MASKS[<?echo $i?>][MASK]" value="<?echo $arMask["FRAME_MASK"]?>">&nbsp;<?echo GetMessage("SEC_FRAME_SITE")?>&nbsp;<?echo CSite::SelectBox("FRAME_MASKS[$i][SITE_ID]", $arMask["SITE_ID"], GetMessage("MAIN_ALL"), "");?><br>
			</td></tr>
		<?endforeach;?>
		<?if(!$bVarsFromForm):?>
			<tr><td nowrap style="padding-bottom: 3px;">
				<input type="text" size="45" name="FRAME_MASKS[n0][MASK]" value="">&nbsp;<?echo GetMessage("SEC_FRAME_SITE")?>&nbsp;<?echo CSite::SelectBox("FRAME_MASKS[n0][SITE_ID]", "", GetMessage("MAIN_ALL"), "");?><br>
			</td></tr>
		<?endif;?>
			<tr><td>
				<br><input type="button" value="<?echo GetMessage("SEC_FRAME_ADD")?>" onClick="addNewRow('tbFRAME_MASKS')">
			</td></tr>
		</table>
	</td>
</tr>
<?
$tabControl->Buttons(
	array(
		"disabled"=>(!$canWrite),
		"back_url"=>$_GET["return_url"]? $_GET["return_url"]: "security_iprule_list.php?lang=".LANG,
	)
);
开发者ID:ASDAFF,项目名称:bitrix-5,代码行数:31,代码来源:security_frame.php

示例15: ShowExactMatchCheckbox

?>
" size="47"><?php 
echo ShowExactMatchCheckbox("find_modified_user_id");
?>
&nbsp;<?php 
echo ShowFilterLogicHelp();
?>
</td>
</tr>
<tr>
	<td><?php 
echo GetMessage("FLOW_LIST_SITE");
?>
:</td>
	<td><?php 
echo CSite::SelectBox("find_site_id", $find_site_id, GetMessage("FLOW_LIST_SITE_ALL"));
?>
</td>
</tr>
<tr>
	<td><?php 
echo GetMessage("FLOW_F_FILENAME");
?>
:</td>
	<td><input type="text" name="find_filename" value="<?php 
echo htmlspecialcharsbx($find_filename);
?>
" size="47"><?php 
echo ShowExactMatchCheckbox("find_filename");
?>
&nbsp;<?php 
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:workflow_list.php


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