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


PHP CAdminFilter::Buttons方法代码示例

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


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

示例1: GetMessage

echo GetMessage("IBLOCK_VALUE_ANY");
?>
</option><?php 
while ($arr = $res->Fetch()) {
    echo "<option value='" . $arr["ID"] . "'" . ($find_modified_by == $arr["ID"] ? " selected" : "") . ">(" . htmlspecialcharsbx($arr["LOGIN"] . ") " . $arr["NAME"] . " " . $arr["LAST_NAME"]) . "</option>";
}
?>
</select>
	</td>
</tr>
<tr>
	<td><?php 
echo GetMessage("IBLOCK_FIELD_STATUS");
?>
:</td>
	<td><input type="text" name="find_status_id" value="<?php 
echo htmlspecialcharsbx($find_status_id);
?>
" size="3">&nbsp;<?php 
echo SelectBox("find_status", CWorkflowStatus::GetDropDownList("Y"), GetMessage("IBLOCK_ALL"), htmlspecialcharsbx($find_status));
?>
</td>
</tr>
<?php 
$oFilter->Buttons(array("table_id" => $sTableID, "url" => $APPLICATION->GetCurPage() . "?type=" . htmlspecialcharsbx($type) . "&IBLOCK_ID=" . intval($IBLOCK_ID) . "&ELEMENT_ID=" . $ELEMENT_ID, "form" => "find_form"));
$oFilter->End();
?>
</form>
<?php 
$lAdmin->DisplayList();
require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php";
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:iblock_history_list.php

示例2: GetMessage

	jsSelectUtils.sortSelect('find_events[]');
	jsSelectUtils.selectAllOptions('find_events[]');
	</script>
	<br>
	<input type="button" OnClick="selectEventType('find_form','find_events[]')" value="<?php 
echo GetMessage("STAT_ADD");
?>
...">
	<input type="button" OnClick="jsSelectUtils.deleteSelectedOptions('find_events[]');" value="<?php 
echo GetMessage("STAT_DELETE");
?>
">
	</td>
</tr>
<?php 
$oFilter->Buttons();
?>
<span class="adm-btn-wrap"><input type="submit" class="adm-btn" name="set_filter" value="<?php 
echo GetMessage("STAT_F_FIND");
?>
" title="<?php 
echo GetMessage("STAT_F_FIND_TITLE");
?>
" onClick="<?php 
echo htmlspecialcharsbx("jsSelectUtils.selectAllOptions('find_events[]');" . $oFilter->id . ".OnSet('" . CUtil::JSEscape($sTableID) . "', '" . CUtil::JSEscape($APPLICATION->GetCurPage() . "?lang=" . LANG . "&") . "'); return false;");
?>
"></span>
<span class="adm-btn-wrap"><input type="submit" class="adm-btn" name="del_filter" value="<?php 
echo GetMessage("STAT_F_CLEAR");
?>
" title="<?php 
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:event_graph_list.php

示例3: elseif

</option>
										<?php 
                    }
                    ?>
</select>
								<?php 
                } elseif ($arProp["PROPERTY_TYPE"] == 'G') {
                    echo _ShowGroupPropertyFieldList('filter_sub_el_property_' . $arProp["ID"], $arProp, $_REQUEST['filter_sub_el_property_' . $arProp["ID"]]);
                }
                ?>
							</td>
						</tr>
					<?php 
            }
        }
        $oFilter->Buttons(array("table_id" => $arResult['TABLE_ID'], "url" => $APPLICATION->GetCurPage(), "form" => $tableId . "_find_form"));
        $oFilter->End();
        ?>
			</form>
			<div class="adm-navchain" style="vertical-align: middle; margin-left: 0;" id="<?php 
        echo $tableId;
        ?>
_breadcrumbs">

			</div>
			<?php 
        $lAdmin->DisplayList();
        ?>
		</div>
	</div>
	<?php 
开发者ID:Satariall,项目名称:izurit,代码行数:31,代码来源:template.php

示例4: GetMessage

echo GetMessage('FM_NEW_TOPIC_ONLY');
?>
</option>
			<option value="all_message"<?php 
if ($SUBSCR_TYPE_S == "all_message") {
    echo " selected";
}
?>
><?php 
echo GetMessage('FM_ALL_MESSAGE');
?>
</option>
			<option value="typical"<?php 
if ($SUBSCR_TYPE_S == "typical") {
    echo " selected";
}
?>
><?php 
echo GetMessage('FM_TYPICAL');
?>
</option>
		</select>
		</td>
	</tr>
	<?php 
$oFilter->Buttons(array("table_id" => $sTableID, "url" => $APPLICATION->GetCurPage() . "?USER_ID=" . $USER_ID . "&lang=" . LANG, "form" => "find_form"));
$oFilter->End();
?>
</form><?php 
$lAdmin->DisplayList();
require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php";
开发者ID:Satariall,项目名称:izurit,代码行数:31,代码来源:forum_subscribe_edit.php

示例5: GetMessage

?>
</td>
</tr>
<tr>
	<td><?php 
echo GetMessage("FORM_F_DESCRIPTION");
?>
</td>
	<td><input type="text" name="find_description" size="47" value="<?php 
echo htmlspecialcharsbx($find_description);
?>
"><?php 
echo InputType("checkbox", "find_description_exact_match", "Y", $find_description_exact_match, false, "", "title='" . GetMessage("FORM_EXACT_MATCH") . "'");
?>
&nbsp;<?php 
echo ShowFilterLogicHelp();
?>
</td>
</tr>


<?php 
$oFilter->Buttons(array("table_id" => $sTableID, "url" => $APPLICATION->GetCurPage()));
$oFilter->End();
#############################################################
?>
</form>

<?php 
$lAdmin->DisplayList();
require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php";
开发者ID:spas-viktor,项目名称:books,代码行数:31,代码来源:form_list.php

示例6: GetMessage

echo GetMessage('GEM_TYPE_functional');
?>
</option>
				<option value="component"<?if($filter_by_type == 'component'):?> selected="selected"<?endif;?>><?php 
echo GetMessage('GEM_TYPE_component');
?>
</option>
				<option value="pack"<?if($filter_by_type == 'pack'):?> selected="selected"<?endif;?>><?php 
echo GetMessage('GEM_TYPE_pack');
?>
</option>
			</select>
	</td>
</tr>
<?php 
$oFilter->Buttons(array("table_id" => $sTableID, "url" => $APPLICATION->GetCurPage() . "?lang=" . LANGUAGE_ID));
$oFilter->End();
?>
</form>

<?php 
$tabControl->Begin();
foreach ($aTabs as $aTab) {
    $tabControl->BeginNextTab();
    echo '<tr><td class="ignore_edit_table">';
    $aTables[$aTab['DIV']]->DisplayList();
    echo '</td></tr>';
}
$tabControl->End();
?>
</div>
开发者ID:ASDAFF,项目名称:BitrixGems,代码行数:31,代码来源:bitrixgems_manager.php

示例7: GetMessage

</tr>
<tr>
	<td><?php 
echo GetMessage("sender_mailing_chain_adm_field_status");
?>
:</td>
	<td>
		<?php 
$arStatus = \Bitrix\Sender\MailingChainTable::getStatusList();
$arr = array("reference" => array_values($arStatus), "reference_id" => array_keys($arStatus));
echo SelectBoxFromArray("find_status", $arr, $find_status, GetMessage("MAIN_ALL"), "");
?>
	</td>
</tr>
<?php 
$oFilter->Buttons(array("table_id" => $sTableID, "url" => $APPLICATION->GetCurPage() . "?MAILING_ID=" . $MAILING_ID, "form" => "find_form"));
$oFilter->End();
?>
</form>

<?php 
//******************************
// Send mailing and show progress
//******************************
if ($_REQUEST['action'] == "send") {
    $canSend = \Bitrix\Sender\MailingChainTable::isReadyToSend($ID);
    if (!$canSend) {
        $canSend = \Bitrix\Sender\MailingChainTable::isManualSentPartly($ID);
    }
    if ($canSend) {
        ?>
开发者ID:mrdeadmouse,项目名称:u136006,代码行数:31,代码来源:mailing_chain_admin.php

示例8: htmlspecialcharsex

echo htmlspecialcharsex(GetMessage("LEARNING_YES"));
?>
</option>
				<option value="N"<?php 
if ($filter_active == "N") {
    echo " selected";
}
?>
><?php 
echo htmlspecialcharsex(GetMessage("LEARNING_NO"));
?>
</option>
			</select>
		</td>
	</tr>


<?php 
$filter->Buttons(array("table_id" => $sTableID, "url" => "learn_test_admin.php?lang=" . LANG . '&PARENT_LESSON_ID=' . ($_GET['PARENT_LESSON_ID'] + 0) . '&LESSON_PATH=' . htmlspecialcharsbx($_GET['LESSON_PATH']) . "&COURSE_ID=" . $COURSE_ID, "form" => "find_form"));
$filter->End();
?>
</form>


<?php 
$lAdmin->DisplayList();
?>


<?php 
require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php";
开发者ID:Satariall,项目名称:izurit,代码行数:31,代码来源:learn_test_admin.php

示例9: GetMessage

    ?>
</td>
</tr>
<tr>
	<td nowrap><?php 
    echo GetMessage("MAIN_F_TYPE");
    ?>
:</td>
	<td nowrap><?php 
    $arr = array("reference" => array(GetMessage("FILEMAN_FILE"), GetMessage("FILEMAN_FOLDER")), "reference_id" => array("F", "D"));
    echo SelectBoxFromArray("find_type", $arr, htmlspecialcharsbx($find_type), GetMessage("MAIN_ALL"));
    ?>
</td>
</tr>
<?php 
    $oFilter->Buttons(array("table_id" => $sTableID, "url" => $APPLICATION->GetCurPage() . '?' . $addUrl_s . "&site=" . urlencode($site) . "&path=" . urlencode($path . "/" . $Elem["NAME"]), "form" => "find_form"));
    $oFilter->End();
    ?>
</form>
<?php 
}
?>

<?php 
if (empty($arGrActionAr)) {
    $lAdmin->bCanBeEdited = false;
}
$lAdmin->DisplayList();
?>

<?php 
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:fileman_admin.php

示例10: GetMessage

		</td>
</tr>
<tr>
	<td nowrap><?php 
echo GetMessage("MAIL_FILT_ADM_FILT_ACT");
?>
:</td>
	<td nowrap><?php 
$arr = array("reference" => array(GetMessage("MAIN_YES"), GetMessage("MAIN_NO")), "reference_id" => array("Y", "N"));
echo SelectBoxFromArray("find_active", $arr, htmlspecialcharsbx($find_active), GetMessage("MAIN_ALL"));
?>
</td>
</tr>

<?php 
$filter->Buttons(array("table_id" => $sTableID, "url" => "mail_filter_admin.php", "form" => "form1"));
$filter->End();
?>
</form>






<?php 
$lAdmin->DisplayList();
?>


开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:28,代码来源:mail_filter_admin.php

示例11: InputType

echo InputType("checkbox", "find_responsible_exact_match", "Y", $find_responsible_exact_match, false, "", "title='" . GetMessage("SUP_EXACT_MATCH") . "'");
?>
&nbsp;<?php 
echo ShowFilterLogicHelp();
?>
</td>
</tr>
<tr valign="center">
	<td nowrap><?php 
echo GetMessage("SUP_F_DEFAULT");
?>
:</td>
	<td nowrap><?php 
$arr = array("reference" => array(GetMessage("SUP_YES"), GetMessage("SUP_NO")), "reference_id" => array("Y", "N"));
echo SelectBoxFromArray("find_default", $arr, htmlspecialcharsbx($find_default), GetMessage("SUP_ALL"));
?>
</td>
</tr>
<?php 
$oFilter->Buttons(array("table_id" => $sTableID, "url" => $APPLICATION->GetCurPage() . "?find_type=" . $find_type, "form" => "form1"));
$oFilter->End();
?>
</form>


<?php 
$lAdmin->DisplayList();
?>

<?php 
require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php";
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:ticket_dict_list.php

示例12: CalendarPeriod

	<td nowrap><?php 
echo CalendarPeriod("find_date_1", $find_date_1, "find_date_2", $find_date_2, "form1", "Y");
?>
</td>
</tr>
<tr valign="top">
	<td nowrap><?php 
echo GetMessage("VOTE_F_VALID_TITLE");
?>
</td>
	<td nowrap><input type="checkbox" name="find_valid" id="find_valid" value="Y" <?php 
echo $find_valid == "Y" ? "checked='checked'" : "";
?>
 />
		<label for="find_valid"><?php 
echo GetMessage("VOTE_F_VALID");
?>
</label><?php 
?>
</td>
</tr>
<?php 
$oFilter->Buttons(array("table_id" => $sTableID, "url" => $APPLICATION->GetCurPageParam(), "form" => "form1"));
$oFilter->End();
#############################################################
?>
</form>
<?php 
/************** Initial list - Display list ************************/
$lAdmin->DisplayList();
require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php";
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:vote_user_votes_table.php

示例13: htmlspecialcharsbx

</option>
			<?php 
foreach ($arOperations as $type => $name) {
    ?>
				<option value="<?php 
    echo $type;
    ?>
"<?php 
    if ($filter_type == $type) {
        echo " selected";
    }
    ?>
><?php 
    echo htmlspecialcharsbx($name);
    ?>
</option>
			<?php 
}
?>
		</select>
	</td>
</tr>
<?php 
$oFilter->Buttons(array("table_id" => $sTableHistory, "url" => $APPLICATION->GetCurPageParam(), "form" => "find_form_history"));
$oFilter->End();
?>
</form>
<?php 
$lAdminHistory->DisplayList(array("FIX_HEADER" => false, "FIX_FOOTER" => false));
?>
</div>
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:order_history.php

示例14: htmlspecialcharsEx

echo $USER->GetID();
?>
"><?php 
echo $USER->GetID();
?>
</a>] (<?php 
echo htmlspecialcharsEx($USER->GetLogin());
?>
) <?php 
echo htmlspecialcharsEx($USER->GetFullName());
?>
<?
		endif;
		?></td>
</tr>
<?$filter->Buttons(array("table_id"=>$sTableID, "url"=>$APPLICATION->GetCurPage(), "form"=>"form1"));$filter->End();?>
</form>




<?$lAdmin->DisplayList();?>

<?echo BeginNote();?>
<table border="0" cellspacing="6" cellpadding="0">
	<tr>
		<td valign="center" nowrap><div class="lamp-red"></div></td>
		<td valign="center" nowrap><?echo GetMessage("SUP_RED_ALT")?></td>
	</tr>
	<tr>
		<td valign="center" nowrap><div class="lamp-green"></div></td>
开发者ID:ASDAFF,项目名称:bitrix-5,代码行数:31,代码来源:ticket_desktop.php

示例15: SelectBoxFromArray

:</td>
	<td nowrap>
		<?php 
$bindings = COperation::GetBindingList();
$arRef = array(GetMessage("TASK_FILTER_ANY"));
$arRefId = array('');
for ($i = 0, $l = count($bindings); $i < $l; $i++) {
    $b = $bindings[$i];
    $text = GetMessage('TASK_BINDING_' . strtoupper($b));
    if (!$text) {
        $text = strtoupper($b);
    }
    $arRef[] = $text;
    $arRefId[] = $b;
}
$arr = array("reference" => $arRef, "reference_id" => $arRefId);
echo SelectBoxFromArray("find_binding", array("reference" => $arRef, "reference_id" => $arRefId), htmlspecialcharsbx($find_binding));
?>
	</td>
</tr>
<?php 
$oFilter->Buttons(array("table_id" => htmlspecialcharsbx($sTableID), "url" => $APPLICATION->GetCurPage(), "form" => "find_form"));
$oFilter->End();
?>
</form>
<?php 
$lAdmin->DisplayList();
?>

<?php 
require $_SERVER["DOCUMENT_ROOT"] . BX_ROOT . "/modules/main/include/epilog_admin.php";
开发者ID:spas-viktor,项目名称:books,代码行数:31,代码来源:task_admin.php


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