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


PHP CAdminFilter类代码示例

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


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

示例1: array

if (!in_array($by, $lAdmin->GetVisibleHeaderColumns(), true)) {
    $by = 'ID';
}
// add filter
$filter = null;
$filterFields = array('find_id');
$filterValues = array();
$filterTitles = array('ID');
$USER_FIELD_MANAGER->AdminListAddFilterFields($ufEntityId, $filterFields);
$filter = $lAdmin->InitFilter($filterFields);
if (!empty($find_id)) {
    $filterValues['ID'] = $find_id;
}
$USER_FIELD_MANAGER->AdminListAddFilter($ufEntityId, $filterValues);
$USER_FIELD_MANAGER->AddFindFields($ufEntityId, $filterTitles);
$filter = new CAdminFilter($sTableID . "_filter_id", $filterTitles);
// group actions
if ($lAdmin->EditAction()) {
    foreach ($FIELDS as $ID => $arFields) {
        $ID = (int) $ID;
        if ($ID <= 0) {
            continue;
        }
        if (!$lAdmin->IsUpdated($ID)) {
            continue;
        }
        $entity_data_class::update($ID, $arFields);
    }
}
if ($arID = $lAdmin->GroupAction()) {
    if ($_REQUEST['action_target'] == 'selected') {
开发者ID:mrdeadmouse,项目名称:u136006,代码行数:31,代码来源:highloadblock_rows_list.php

示例2: array

 $arFields = array();
 while ($arProperty = $dbProperty->GetNext()) {
     $arFields["find_el_property_" . $arProperty["ID"]] = "";
 }
 $dbProperty = CIBlockProperty::GetList(array(), array("IBLOCK_ID" => $IBLOCK_CATALOG_ID, "CODE" => "NEWPRODUCT"));
 while ($arProperty = $dbProperty->GetNext()) {
     $arFields["find_el_property_" . $arProperty["ID"]] = "";
 }
 $dbProperty = CIBlockProperty::GetList(array(), array("IBLOCK_ID" => $IBLOCK_CATALOG_ID, "CODE" => "SPECIALOFFER"));
 while ($arProperty = $dbProperty->GetNext()) {
     $arFields["find_el_property_" . $arProperty["ID"]] = "";
 }
 require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/interface/admin_lib.php";
 CAdminFilter::AddPresetToBase(array("NAME" => GetMessage("WIZ_PRECET"), "FILTER_ID" => "tbl_product_admin_" . md5($iblockType . "." . $IBLOCK_CATALOG_ID) . "_filter", "LANGUAGE_ID" => $lang, "FIELDS" => $arFields));
 CUserOptions::SetOption("filter", "tbl_product_admin_" . md5($iblockType . "." . $IBLOCK_CATALOG_ID) . "_filter", array("rows" => "find_el_name, find_el_active, find_el_timestamp_from, find_el_timestamp_to"), true);
 CAdminFilter::SetDefaultRowsOption("tbl_product_admin_" . md5($iblockType . "." . $IBLOCK_CATALOG_ID) . "_filter", array("miss-0", "IBEL_A_F_PARENT"));
 //delete 1c props
 $arPropsToDelete = array("CML2_TAXES", "CML2_BASE_UNIT", "CML2_TRAITS", "CML2_ATTRIBUTES", "CML2_ARTICLE", "CML2_BAR_CODE", "CML2_FILES", "CML2_MANUFACTURER", "CML2_PICTURES");
 foreach ($arPropsToDelete as $code) {
     $dbProperty = CIBlockProperty::GetList(array(), array("IBLOCK_ID" => $IBLOCK_CATALOG_ID, "XML_ID" => $code));
     if ($arProperty = $dbProperty->GetNext()) {
         CIBlockProperty::Delete($arProperty["ID"]);
     }
     if ($IBLOCK_OFFERS_ID) {
         $dbProperty = CIBlockProperty::GetList(array(), array("IBLOCK_ID" => $IBLOCK_OFFERS_ID, "XML_ID" => $code));
         if ($arProperty = $dbProperty->GetNext()) {
             CIBlockProperty::Delete($arProperty["ID"]);
         }
     }
 }
 CWizardUtil::ReplaceMacros(WIZARD_SITE_PATH . "/catalog/index.php", array("CATALOG_IBLOCK_ID" => $IBLOCK_CATALOG_ID));
开发者ID:Satariall,项目名称:izurit,代码行数:31,代码来源:catalog3.php

示例3: array

/***********  MAIN PAGE  ****************************************************/
/****************************************************************************/
$APPLICATION->SetTitle(GetMessage("BPATL_TITLE"));
require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/prolog_admin_after.php";
?>
<form name="find_form" method="GET" action="<?php 
echo $APPLICATION->GetCurPage();
?>
?">

<?php 
$ar = array(GetMessage("BPATL_F_MODIFIED"), GetMessage("BPATL_F_NAME"), GetMessage("BPATL_DESCR"), GetMessage("BPATL_FILTER_STATUS"), GetMessage("BPATL_WORKFLOW_NAME"));
if ($allowAdminAccess) {
    $ar[] = GetMessage("BPATL_USER_ID");
}
$oFilter = new CAdminFilter($sTableID . "_filter", $ar);
$oFilter->SetDefaultRows(array("filter_modified_1", 'filter_name'));
$oFilter->AddPreset(array("ID" => "filter_running", "NAME" => GetMessage("BPATL_FILTER_STATUS_RUNNING"), "FIELDS" => array("filter_status" => 0)));
$oFilter->AddPreset(array("ID" => "filter_complete", "NAME" => GetMessage("BPATL_FILTER_STATUS_COMPLETE"), "FIELDS" => array("filter_status" => 1)));
$oFilter->AddPreset(array("ID" => "filter_all", "NAME" => GetMessage("BPATL_FILTER_STATUS_ALL"), "FIELDS" => array("filter_status" => 2)));
$oFilter->Begin();
?>
	<tr>
		<td><?php 
echo GetMessage("BPATL_F_MODIFIED");
?>
:</td>
		<td><?php 
echo CalendarPeriod("filter_modified_1", htmlspecialcharsbx($filter_modified_1), "filter_modified_2", htmlspecialcharsbx($filter_modified_2), "find_form", "Y");
?>
</td>
开发者ID:Satariall,项目名称:izurit,代码行数:31,代码来源:task_list.php

示例4: array

        }
    } else {
        CAdminMessage::ShowMessage(GetMessage("STAT_GD_NOT_INSTALLED"));
    }
}
$lAdmin->EndCustomContent();
$aContext = array();
$aContext[] = array("TEXT" => $summa == "Y" ? GetMessage("STAT_SUMMARIZED_GRAPH") : GetMessage("STAT_MULTI_GRAPH"), "MENU" => array(array("TEXT" => GetMessage("STAT_SUMMARIZED_GRAPH"), "ACTION" => $lAdmin->ActionDoGroup(0, "", "summa=Y"), "ICON" => $summa == "Y" ? "checked" : ""), array("TEXT" => GetMessage("STAT_MULTI_GRAPH"), "ACTION" => $lAdmin->ActionDoGroup(0, "", "summa=N"), "ICON" => $summa != "Y" ? "checked" : "")));
if ($STAT_RIGHT > "M") {
    $aContext[] = array("TEXT" => $show_money == "Y" ? GetMessage("STAT_SHOW_MONEY") : GetMessage("STAT_SHOW_COUNT"), "MENU" => array(array("TEXT" => GetMessage("STAT_MONEY"), "ACTION" => $lAdmin->ActionDoGroup(0, "", "show_money=Y"), "ICON" => $show_money == "Y" ? "checked" : ""), array("TEXT" => GetMessage("STAT_COUNT"), "ACTION" => $lAdmin->ActionDoGroup(0, "", "show_money=N"), "ICON" => $show_money != "Y" ? "checked" : "")));
}
$lAdmin->AddAdminContextMenu($aContext, false, false);
$lAdmin->CheckListMode();
$APPLICATION->SetTitle(GetMessage("STAT_RECORDS_LIST"));
require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/prolog_admin_after.php";
$oFilter = new CAdminFilter($sTableID . "_filter", array(GetMessage("STAT_F_EVENTS")));
?>

<form name="find_form" method="GET" action="<?php 
echo $APPLICATION->GetCurPage();
?>
?">
<?php 
$oFilter->Begin();
?>
<tr>
	<td><?php 
echo GetMessage("STAT_F_PERIOD") . " (" . FORMAT_DATE . "):";
?>
</td>
	<td><?php 
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:event_graph_list.php

示例5: array

    }
    $arActions[] = array("SEPARATOR" => true);
    if (is_set($arActions[count($arActions) - 1], "SEPARATOR")) {
        unset($arActions[count($arActions) - 1]);
    }
    $row->AddActions($arActions);
}
$lAdmin->AddFooter(array(array("title" => GetMessage("MAIN_ADMIN_LIST_SELECTED"), "value" => $rsData->SelectedRowsCount()), array("counter" => true, "title" => GetMessage("MAIN_ADMIN_LIST_CHECKED"), "value" => "0")));
$lAdmin->AddGroupActionTable(array("delete" => GetMessage("MAIN_ADMIN_LIST_DELETE")));
$aContext = array(array("TEXT" => GetMessage("SENDER_CONTACT_LIST_BUTTON_ADD"), "TITLE" => GetMessage("POST_ADD_TITLE"), "ICON" => "btn_new", "MENU" => array(array("TEXT" => GetMessage("SENDER_CONTACT_LIST_BUTTON_ADD_FORM"), "ACTION" => $lAdmin->ActionRedirect("sender_contact_edit.php?lang=" . LANGUAGE_ID)), array("TEXT" => GetMessage("SENDER_CONTACT_LIST_BUTTON_ADD_LIST"), "ACTION" => $lAdmin->ActionRedirect("sender_contact_import.php?lang=" . LANGUAGE_ID)), array("TEXT" => GetMessage("SENDER_CONTACT_LIST_BUTTON_ADD_FILE"), "ACTION" => $lAdmin->ActionRedirect("sender_contact_import.php?lang=" . LANGUAGE_ID)), $POST_RIGHT >= "W" ? array("TEXT" => GetMessage("SENDER_CONTACT_LIST_BUTTON_ADD_PULL1"), "ACTION" => $lAdmin->ActionRedirect("sender_contact_admin.php?action=pull&lang=" . LANGUAGE_ID)) : null)));
$aContext[] = array("TEXT" => GetMessage("SENDER_CONTACT_LIST_EDIT"), "LINK" => "/bitrix/admin/sender_list_admin.php?lang=" . LANG, "TITLE" => GetMessage("SENDER_CONTACT_LIST_EDIT_TITLE"), "ICON" => "");
$lAdmin->AddAdminContextMenu($aContext);
$lAdmin->CheckListMode();
$APPLICATION->SetTitle(GetMessage("rub_title"));
require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/prolog_admin_after.php";
$oFilter = new CAdminFilter($sTableID . "_filter", array(GetMessage("rub_f_name"), GetMessage("rub_f_email"), GetMessage("rub_f_subscribed"), GetMessage("rub_f_unsubscribed"), GetMessage("rub_f_list")));
$oFilter->SetDefaultRows(array("find_email", "find_list"));
$oFilter->AddPreset(array("ID" => "subscribed_list", "NAME" => GetMessage('SENDER_CONTACT_LIST_PRESET_SUB'), "FIELDS" => array("find_email" => "", "find_subscribed" => "ALL")));
$oFilter->AddPreset(array("ID" => "unsubscribed_list", "NAME" => GetMessage('SENDER_CONTACT_LIST_PRESET_UN_SUB'), "FIELDS" => array("find_email" => "", "find_unsubscribed" => "ALL")));
$filterMailingSubList = array('reference' => array(GetMessage('rub_f_yes')), 'reference_id' => array('ALL'));
$filterMailingUnSubList = array('reference' => array(GetMessage('rub_f_yes')), 'reference_id' => array('ALL'));
$mailingDb = \Bitrix\Sender\MailingTable::getList(array('select' => array('IS_TRIGGER', 'REFERENCE' => 'NAME', 'REFERENCE_ID' => 'ID')));
while ($arMailing = $mailingDb->fetch()) {
    if ($arMailing['IS_TRIGGER'] != 'Y') {
        $filterMailingSubList['reference'][] = $arMailing['REFERENCE'];
        $filterMailingSubList['reference_id'][] = $arMailing['REFERENCE_ID'];
    }
    $filterMailingUnSubList['reference'][] = $arMailing['REFERENCE'];
    $filterMailingUnSubList['reference_id'][] = $arMailing['REFERENCE_ID'];
}
?>
开发者ID:Hawkart,项目名称:megatv,代码行数:31,代码来源:contact_admin.php

示例6: array

">

	<?
	$arFilterFieldsTmp = array(
		"filter_user" => GetMessage("SOA_ROW_BUYER"),
		"filter_date_history" => GetMessage("SALE_F_DATE"),
		"filter_status_id" => GetMessage("SALE_F_DATE_UPDATE"),
		"filter_payed" => GetMessage("SALE_F_ID"),
		"filter_allow_delivery" => GetMessage("SALE_F_LANG_CUR"),
		"filter_canceled" => GetMessage("SOA_F_PRICE"),
		"filter_deducted" => GetMessage("SOA_F_PRICE"),
		"filter_marked" => GetMessage("SOA_F_PRICE")
	);

	$oFilter = new CAdminFilter(
		$sTableID_tab5."_filters",
		$arFilterFieldsTmp
	);

	$oFilter->SetDefaultRows(array("filter_user"));

	$oFilter->Begin();
	?>
	<tr>
		<td><?php 
echo GetMessage('SOD_HIST_H_USER');
?>
:</td>
		<td>
			<?echo FindUserID("filter_user", $filter_user, "", "find_form5");?>
		</td>
	</tr>
开发者ID:akniyev,项目名称:arteva.ru,代码行数:32,代码来源:order_detail.php

示例7: unset

}
unset($property);
$lAdmin->AddFooter(array(array("title" => GetMessage("MAIN_ADMIN_LIST_SELECTED"), "value" => $propertyIterator->SelectedRowsCount()), array("counter" => true, "title" => GetMessage("MAIN_ADMIN_LIST_CHECKED"), "value" => "0")));
$aContext = array(array("ICON" => "btn_new", "TEXT" => GetMessage("IBP_ADM_TO_ADD"), "LINK" => "iblock_edit_property.php?lang=" . LANGUAGE_ID . "&IBLOCK_ID=" . urlencode($arIBlock["ID"]) . "&ID=n0" . ($_REQUEST["admin"] == "Y" ? "&admin=Y" : "&admin=N"), "TITLE" => GetMessage("IBP_ADM_TO_ADD_TITLE")));
$lAdmin->AddAdminContextMenu($aContext);
$lAdmin->AddGroupActionTable(array("delete" => GetMessage("MAIN_ADMIN_LIST_DELETE"), "activate" => GetMessage("MAIN_ADMIN_LIST_ACTIVATE"), "deactivate" => GetMessage("MAIN_ADMIN_LIST_DEACTIVATE")));
$lAdmin->CheckListMode();
$APPLICATION->SetTitle(GetMessage("IBP_ADM_TITLE", array("#IBLOCK_NAME#" => htmlspecialcharsex($arIBlock["NAME"]))));
require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/prolog_admin_after.php";
?>
<form method="GET" action="iblock_admin.php?type=<?php 
echo urlencode($type);
?>
" name="find_form">
<?php 
$oFilter = new CAdminFilter($sTableID . "_filter", array("find_code" => GetMessage("IBP_ADM_CODE"), "find_active" => GetMessage("IBP_ADM_ACTIVE"), "find_searchable" => GetMessage("IBP_ADM_SEARCHABLE"), "find_filtrable" => GetMessage("IBP_ADM_FILTRABLE"), "find_is_required" => GetMessage("IBP_ADM_IS_REQUIRED"), "find_multiple" => GetMessage("IBP_ADM_MULTIPLE"), "find_xml_id" => GetMessage("IBP_ADM_XML_ID"), "find_property_type" => GetMessage("IBP_ADM_PROPERTY_TYPE")));
$oFilter->Begin();
$arr = array("reference" => array(GetMessage("IBLOCK_YES"), GetMessage("IBLOCK_NO")), "reference_id" => array("Y", "N"));
?>
	<tr>
		<td><b><?php 
echo GetMessage("IBP_ADM_NAME");
?>
:</b></td>
		<td><input type="text" name="find_name" value="<?php 
echo htmlspecialcharsbx($find_name);
?>
" size="40"></td>
	</tr>
	<tr>
		<td><?php 
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:iblock_property_admin.php

示例8: array

}
if ($obBucket->Init() && $_GET["file"] === "y") {
    echo "<script>SelFile('" . CUtil::JSEscape(urldecode($obBucket->GetFileSRC(rtrim($path, "/")))) . "');</script>";
}
$lAdmin->EndPrologContent();
$lAdmin->CheckListMode();
$APPLICATION->SetTitle(GetMessage("CLO_STORAGE_SEARCH_TITLE"));
require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/prolog_popup_admin.php";
?>
<form name="form1" method="GET" action="<?php 
echo $APPLICATION->GetCurPage();
?>
">
<?php 
$arFindFields = array("bucket" => GetMessage("CLO_STORAGE_SEARCH_BUCKET"), "path" => GetMessage("CLO_STORAGE_SEARCH_PATH"));
$oFilter = new CAdminFilter($sTableID . "_filter", $arFindFields);
$oFilter->Begin();
?>
<script language="JavaScript">
function SelFile(name)
{
	el = window.opener.document.getElementById('<?php 
echo CUtil::JSEscape($n);
?>
');
	if(el)
	{
		el.value = name;
		if (window.opener.BX)
			window.opener.BX.fireEvent(el, 'change');
	}
开发者ID:spas-viktor,项目名称:books,代码行数:31,代码来源:clouds_file_search.php

示例9: array

?>
<form name="form1" action="<?php 
echo $APPLICATION->GetCurPage();
?>
" method="POST">
<input type="hidden" name="lang" value="<?php 
echo LANG;
?>
">
<?php 
$arGroups = array();
$dbr_groups = CControllerGroup::GetList(array("SORT" => "ASC", "NAME" => "ASC", "ID" => "ASC"));
while ($ar_groups = $dbr_groups->GetNext()) {
    $arGroups[$ar_groups["ID"]] = $ar_groups["NAME"];
}
$filter = new CAdminFilter($sTableID . "_filter_id", array(GetMessage("CTRLR_UPLOAD_FILTER_GROUP")));
$filter->Begin();
?>
<tr>
	<td nowrap><?php 
echo GetMessage("CTRLR_UPLOAD_FILTER_SITE");
?>
:</td>
	<td nowrap>
		<?php 
$dbr_members = CControllerMember::GetList(array("SORT" => "ASC", "NAME" => "ASC", "ID" => "ASC"), array("DISCONNECTED" => "N"));
$arMembers = array();
$c = 0;
while ($ar_member = $dbr_members->Fetch()) {
    $arMembers[$ar_member["ID"]] = $ar_member["NAME"];
    $c++;
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:controller_upload_file.php

示例10: array

}
$arFooterArray = array(array("title" => GetMessage('MAIN_ADMIN_LIST_SELECTED'), "value" => $dbUsersList->SelectedRowsCount()));
$lAdmin->AddFooter($arFooterArray);
$aContext = array();
$lAdmin->AddAdminContextMenu($aContext);
$lAdmin->CheckListMode();
require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/sale/prolog.php";
require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/prolog_admin_after.php";
?>

<form name="find_form" method="GET" action="<?php 
echo $APPLICATION->GetCurPage();
?>
?">
<?php 
$oFilter = new CAdminFilter($sTableID . "_filters", array("filter_universal" => GetMessage("BUYER_ROW_BUYER"), "filter_ID" => GetMessage("BUYER_F_ID"), "filter_login" => GetMessage("BUYER_F_LOGIN"), "filter_mail" => GetMessage("BUYER_F_MAIL"), "filter_phone" => GetMessage("BUYER_F_PHONE"), "find_last_login_1" => GetMessage("BUYER_F_DATE_AUTH"), "filter_price_all" => GetMessage("BUYER_F_PRICE_ALL"), "filter_quantity_all" => GetMessage("BUYER_F_QUANTITY_ALL"), "find_last_order_date" => GetMessage("BUYER_F_LAST_ORDER_DATE"), "filter_register_date" => GetMessage("BUYER_ROW_DATE_REGISTER"), "filter_group" => GetMessage("BUYER_F_GROUP"), "filter_currency" => GetMessage("BUYER_F_CURRENCY"), "filter_lid" => GetMessage("BUYER_ORDERS_LID")));
$oFilter->AddPreset(array("ID" => "find_best", "NAME" => GetMessage("BUYER_F_BEST"), "FIELDS" => array("filter_universal" => ""), "SORT_FIELD" => array("ORDER_SUM" => "DESC")));
$oFilter->AddPreset(array("ID" => "find_throw", "NAME" => GetMessage("BUYER_F_BUYERS_NEW"), "FIELDS" => array("filter_register_date_1_FILTER_PERIOD" => "month", "filter_register_date_1_FILTER_DIRECTION" => "current"), "SORT_FIELD" => array("DATE_REGISTER" => "DESC")));
$oFilter->Begin();
?>
	<tr>
		<td><?php 
echo GetMessage('BUYER_ROW_BUYER');
?>
:</td>
		<td>
			<input type="text" name="filter_universal" value="<?php 
echo htmlspecialcharsbx($filter_universal);
?>
" size="40">
		</td>
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:buyers.php

示例11: GetMessage

if ($bADS)
{
	$arFilterHeads[] = GetMessage("SUP_F_SUPPORTTEAM_GROUP");
}
if ($bADS || $bSupportClient = 'Y')
{
	$arFilterHeads[] = GetMessage("SUP_F_CLIENT_GROUP");
}
if ($bADS)
{
	$arFilterHeads[] = GetMessage("SUP_F_COUPON");
}

$USER_FIELD_MANAGER->AddFindFields( $entity_id, $arFilterHeads );
$filter = new CAdminFilter(
	$sTableID."_filter_id",
	$arFilterHeads
);

if ($lAdmin->IsDefaultFilter())
{
	if ($bADS)
	{

		$find_lamp = Array("red","yellow");
		$by = "s_default";
		$find_hold_on="N";
		$sort = "asc";
	}
	else
	{
		$find_lamp = Array("red","green");
开发者ID:ASDAFF,项目名称:bitrix-5,代码行数:32,代码来源:ticket_list.php

示例12: GetMessage

if(CModule::IncludeModule("workflow"))
	$arFindFields["stat"] = GetMessage("IBLOCK_ELSEARCH_F_STATUS");

if(is_array($arIBTYPE) && ($arIBTYPE["SECTIONS"] == "Y"))
	$arFindFields["sec"] = GetMessage("IBLOCK_ELSEARCH_F_SECTION");

$arFindFields["act"] = GetMessage("IBLOCK_ELSEARCH_F_ACTIVE");
$arFindFields["ext_id"] = GetMessage("IBLOCK_FIELD_EXTERNAL_ID");
$arFindFields["tit"] = GetMessage("IBLOCK_ELSEARCH_F_TITLE");
$arFindFields["dsc"] = GetMessage("IBLOCK_ELSEARCH_F_DSC");

foreach($arProps as $prop)
	if($prop["FILTRABLE"]=="Y" && $prop["PROPERTY_TYPE"]!="F")
		$arFindFields["p".$prop["ID"]] = $prop["NAME"];

$oFilter = new CAdminFilter($sTableID."_filter", $arFindFields);

$oFilter->Begin();

?>
<script type="text/javascript">
function SelEl(id, name)
{
<?
	if ('' != $lookup)
	{
		if ('' != $m)
		{
			?>window.opener.<? echo $lookup; ?>.AddValue(id);<?
		}
		else
开发者ID:ASDAFF,项目名称:entask.ru,代码行数:31,代码来源:iblock_element_search.php

示例13: htmlspecialcharsbx

)&nbsp;<?php 
echo htmlspecialcharsbx($arForm["NAME"]);
echo EndNote();
if ($strError) {
    $lAdmin->AddFilterError($strError);
}
?>
<form name="form1" method="GET" action="<?php 
echo $APPLICATION->GetCurPage();
?>
?">
<?php 
if ($additional == "Y") {
    $oFilter = new CAdminFilter($sTableID . "_filter", array(GetMessage("FORM_FL_ID"), GetMessage("FORM_FL_ACTIVE"), GetMessage("FORM_FL_SID"), GetMessage("FORM_FL_COMMENT"), GetMessage("FORM_FL_HTML_INC"), GetMessage("FORM_FL_EXCEL_INC"), GetMessage("FORM_FL_FILTER_INC"), GetMessage("FORM_FL_LOGIC")));
} else {
    $oFilter = new CAdminFilter($sTableID . "_filter", array(GetMessage("FORM_FL_ID"), GetMessage("FORM_FL_ACTIVE"), GetMessage("FORM_FL_SID"), GetMessage("FORM_FL_COMMENT"), GetMessage("FORM_FL_REQUIRED"), GetMessage("FORM_FL_HTML_INC"), GetMessage("FORM_FL_EXCEL_INC"), GetMessage("FORM_FL_FILTER_INC"), GetMessage("FORM_FL_LOGIC")));
}
$oFilter->Begin();
?>

<tr>
	<td><b><?php 
echo $additional == "Y" ? GetMessage("FORM_ADDITIONAL_TITLE") : GetMessage("FORM_TITLE");
?>
:</b></td>
	<td><input type="text" name="find_title" size="47" value="<?php 
echo htmlspecialcharsbx($find_title);
?>
"><?php 
echo InputType("checkbox", "find_title_exact_match", "Y", $find_title_exact_match, false, "", "title='" . GetMessage("FORM_EXACT_MATCH") . "'");
?>
开发者ID:Satariall,项目名称:izurit,代码行数:31,代码来源:form_field_list.php

示例14: GetMessage

	"filter_sum_paid" => GetMessage("SO_SUM_PAID"),
);

foreach ($arOrderProps as $key => $value)
	if ($value["IS_FILTERED"] == "Y" && $value["TYPE"] != "MULTISELECT")
		$arFilterFieldsTmp[] = $value["NAME"];

foreach ($arOrderPropsCode as $key => $value)
	if ($value["IS_FILTERED"] == "Y" && $value["TYPE"] != "MULTISELECT")
		$arFilterFieldsTmp[] = $value["NAME"];

//"filter_delivery_request_sent" => GetMessage("SALE_F_DELIVERY_DATE_REQUEST")
$arFilterFieldsTmp[] = GetMessage("SALE_F_DELIVERY_REQUEST_SENT");

$oFilter = new CAdminFilter(
	$sTableID."_filter",
	$arFilterFieldsTmp
);

$oFilter->SetDefaultRows(array("filter_universal", "filter_status", "filter_canceled"));

$oFilter->AddPreset(array(
		"ID" => "find_prioritet",
		"NAME" => GetMessage("SOA_PRESET_PRIORITET"),
		"FIELDS" => array(
			"filter_status" => "N",
			"filter_price_from" => "10000",
			"filter_price_to" => ""
			),
		//"SORT_FIELD" => array("DATE_INSERT" => "DESC"),
	));
开发者ID:akniyev,项目名称:arteva.ru,代码行数:31,代码来源:order.php

示例15: array

                $arActions[] = array("ICON" => "", "DEFAULT" => false, "TEXT" => GetMessage("sender_mailing_chain_adm_action_send"), "ACTION" => $lAdmin->ActionRedirect("/bitrix/admin/sender_mailing_chain_admin.php?MAILING_ID=" . $MAILING_ID . "&ID=" . $f_ID . "&action=send&lang=" . LANGUAGE_ID));
            }
    }
    if (is_set($arActions[count($arActions) - 1], "SEPARATOR")) {
        unset($arActions[count($arActions) - 1]);
    }
    $row->AddActions($arActions);
}
$lAdmin->AddFooter(array(array("title" => GetMessage("MAIN_ADMIN_LIST_SELECTED"), "value" => $rsData->SelectedRowsCount()), array("counter" => true, "title" => GetMessage("MAIN_ADMIN_LIST_CHECKED"), "value" => "0")));
$lAdmin->AddGroupActionTable(array("delete" => GetMessage("MAIN_ADMIN_LIST_DELETE")));
$aContext = array(array("TEXT" => GetMessage("MAIN_ADD"), "LINK" => "/bitrix/admin/sender_mailing_chain_edit.php?MAILING_ID=" . $MAILING_ID . "&lang=" . LANGUAGE_ID, "TITLE" => GetMessage("POST_ADD_TITLE"), "ICON" => "btn_new"));
$lAdmin->AddAdminContextMenu($aContext);
$lAdmin->CheckListMode();
$APPLICATION->SetTitle(GetMessage("sender_mailing_chain_adm_title"));
require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/prolog_admin_after.php";
$oFilter = new CAdminFilter($sTableID . "_filter", array("ID", GetMessage("sender_mailing_chain_adm_field_name"), GetMessage("sender_mailing_chain_adm_field_status")));
?>
<form name="find_form" method="get" action="<?php 
echo $APPLICATION->GetCurPage();
?>
">
<?php 
$oFilter->Begin();
?>
<tr>
	<td><?php 
echo "ID";
?>
:</td>
	<td>
		<input type="text" name="find_id" size="47" value="<?php 
开发者ID:mrdeadmouse,项目名称:u136006,代码行数:31,代码来源:mailing_chain_admin.php


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