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


PHP CAdminTabControl::Buttons方法代码示例

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


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

示例1: GetMessage

<?
	if ($TRANS_RIGHT >= "W" && $boolShowDeleteFromCur)
	{
?>
	<tr>
		<td valign="top" align="right" nowrap colspan="2"><b><label for="del_current"><? echo GetMessage('TRANS_DELETE_CURRENT'); ?></label></b> <input type="checkbox" name="del_current" id="del_current" onclick="SelectDeleteCurrent(this);"></td>
	</tr>
<?
	}

	if ($TRANS_RIGHT >= "W" && $boolShowDeleteAll)
	{
?>
	<tr>
		<td valign="top" align="right" nowrap colspan="2"><b><label for="all"><?php 
echo GetMessage("TRANS_DELETE_ALL");
?>
</label></b> <input type="checkbox" name="all" id="all" value="" onclick="SelectAllDelete('<?php 
echo $key_del;
?>
');"<?if ($TRANS_RIGHT<"W") echo " disabled";?>></td>
	</tr>
<?
	}
?>
	</table>
</td></tr>
<?$tabControl->Buttons(array("disabled" => ($TRANS_RIGHT<"W"), "back_url"=>"translate_list.php?lang=".LANGUAGE_ID."&path=".urlencode($path_back)."&".bitrix_sessid_get()));
$tabControl->End();
?></form>
<?require_once ($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog_admin.php");?>
开发者ID:ASDAFF,项目名称:entask.ru,代码行数:31,代码来源:translate_edit.php

示例2:

		endif;
?>
</script>
<?
	endif;
?>
	</td>
</tr>
<?
}

$tabControl->EndTab();
if(!$bReadOnly)
{
	$tabControl->Buttons(array(
		"back_url" => $back_url ? $back_url : "seo_search_yandex_direct_banner.php?lang=".LANGUAGE_ID,
	));
}
$tabControl->End();

if(!$bReadOnly):
?>
<?=bitrix_sessid_post();?>
<?
	if($back_url!=''):
?>
	<input type="hidden" name="back_url" value="<?echo Converter::getHtmlConverter()->encode($back_url)?>">
<?
	endif;
?>
开发者ID:nycmic,项目名称:bittest,代码行数:30,代码来源:seo_search_yandex_direct_banner_edit.php

示例3: GetMessage

					<td><span class="sender-mailing-group-block-sel"><?php 
echo GetMessage("sender_mailing_edit_grp_sel");
?>
</td>
				</tr>
				<tr>
					<?php 
ShowGroupControl('GROUP_EXCLUDE', $GROUP_EXIST, $GROUP_EXCLUDE);
?>
				</tr>
			</table>
		</td>
	</tr>

<?php 
$tabControl->Buttons(array("disabled" => $POST_RIGHT < "W", "back_url" => "sender_mailing_admin.php?lang=" . LANG, "btnSave" => true));
echo bitrix_sessid_post();
?>
<input type="hidden" name="lang" value="<?php 
echo LANG;
?>
">
<?php 
if ($ID > 0 && !$bCopy) {
    ?>
	<input type="hidden" name="ID" value="<?php 
    echo $ID;
    ?>
">
<?php 
}
开发者ID:mrdeadmouse,项目名称:u136006,代码行数:31,代码来源:mailing_edit.php

示例4: GetFilterParams

		<tr>
			<td valign="top" align="right" colspan="2">
				<script language="JavaScript">
				<!--
				ActionFileChange(<?php 
    echo $arPersonType["ID"];
    ?>
);
				//-->
				</script>
				<input type="hidden" name="PS_ACTION_FIELDS_LIST_<?php 
    echo $arPersonType["ID"];
    ?>
" value="">
			</td>
		</tr>
		</table>
		<?php 
}
$tabControl1->End();
?>
	</td></tr>
	<?php 
$tabControl->EndTab();
$tabControl->Buttons(array("disabled" => $saleModulePermissions < "W", "back_url" => "/bitrix/admin/sale_pay_system.php?lang=" . LANG . GetFilterParams("filter_")));
$tabControl->End();
?>
</form>
<?php 
require $DOCUMENT_ROOT . "/bitrix/modules/main/include/epilog_admin.php";
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:30,代码来源:pay_system_edit.php

示例5: GetMessage

        </tr>
        <tr>
            <td><?echo GetMessage("STALL_EDIT_ORDER_PHONE")?></td>
            <td><input type="text" name="PHONE" value="<?echo $row['PHONE'];?>" size="30"></td>
        </tr>
        <tr>
            <td valign="top"><?echo GetMessage("STALL_ORDER_EDIT_COMMENT")?></td>
            <td><textarea class="typearea" name="COMMENT" cols="45" rows="5" wrap="VIRTUAL"><?echo $row['COMMENT']; ?></textarea></td>
        </tr>

        <?
        // завершение формы - вывод кнопок сохранения изменений
        $tabControl->Buttons(
            array(
                "disabled"=>($STALL_ORDER_EDIT<"W"),
                "back_url"=>"anmaslov.stall_orders.php?lang=".LANG,

            )
        );
        ?>
        <input type="hidden" name="lang" value="<?php 
echo LANG;
?>
">
        <?if($ID>0 && !$bCopy):?>
            <input type="hidden" name="ID" value="<?php 
echo $ID;
?>
">
        <?endif;?>
        <?
开发者ID:anmaslov,项目名称:stall,代码行数:31,代码来源:order_edit.php

示例6:

</option>
				<option value="N"<?php 
if ($culture["DIRECTION"] == "N") {
    echo " selected";
}
?>
><?php 
echo Loc::getMessage('DIRECTION_RTL');
?>
</option>
			</select>
		</td>
	</tr>
	<tr>
		<td><?php 
echo Loc::getMessage('culture_code');
?>
</td>
		<td><input type="text" name="CODE" size="30" maxlength="255" value="<?php 
echo $cultureField["CODE"];
?>
"></td>
	</tr>
<?php 
$tabControl->Buttons(array("disabled" => !$isAdmin, "back_url" => "culture_admin.php?lang=" . LANGUAGE_ID));
$tabControl->End();
?>
</form>

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

示例7: GetMessage

    ?>
">
					<?php 
    echo htmlspecialcharsbx($value);
    ?>
&nbsp;<a href="javascript:void(0);" data-role="delete-access" data-code="<?php 
    echo htmlspecialcharsbx($code);
    ?>
" class="access-delete"></a>
				</div>
				<?php 
}
?>
			</div>
			<a href="javascript:void(0)" class="bx-action-href" id="add_access" data-role="add-access"><?php 
echo GetMessage("SEC_OTP_MANDATORY_RIGHTS_SELECT");
?>
</a>
		</td>
	</tr>
<?php 
$tabControl->Buttons(array("disabled" => !$canWrite, "back_url" => $_GET["return_url"] ? $_GET["return_url"] : "security_otp.php?lang=" . LANG));
$tabControl->End();
?>
</form>
	<script id="settings" type="application/json"><?php 
echo CSecurityJsonHelper::encode(array('rights' => array_flip($targetRights)));
?>
</script>
<?php 
require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php";
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:security_otp.php

示例8: GetMessage

echo CLanguage::SelectBox("MESSAGE_LID", $str_MESSAGE_LID);
?>
</td>
	</tr>
	<tr valign="top">
		<td align="right"><?php 
echo GetMessage("STAT_SAVE_STATISTIC");
?>
</td>
		<td><?php 
echo InputType("checkbox", "SAVE_STATISTIC", "Y", $str_SAVE_STATISTIC, false);
?>
</td>
	</tr>
<?php 
$tabControl->BeginNextTab();
?>
	<tr valign="top">
		<td colspan="2" align="center"><textarea style="width:100%" name="COMMENTS" rows="5" wrap="VIRTUAL"><?php 
echo $str_COMMENTS;
?>
</textarea></td>
	</tr>
<?php 
$tabControl->Buttons(array("disabled" => $STAT_RIGHT < "W", "back_url" => "/bitrix/admin/stoplist_list.php?lang=" . LANG . "&set_filter=Y"));
$tabControl->End();
?>
</form>
<?php 
$tabControl->ShowWarnings("form1", $message);
require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php";
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:stoplist_edit.php

示例9: strlen

">
		<input type="hidden" name="extended" value="Y">
		</table>
	<?php 
        }
        ?>

	</td>
	</tr>

	<?php 
        $tabControl->EndTab();
        ?>

	<?php 
        $tabControl->Buttons(array("disabled" => false, "back_url" => strlen($back_url) > 0 && strpos($back_url, "/bitrix/admin/fileman_menu_edit.php") !== 0 ? htmlspecialcharsex($back_url) : "/bitrix/admin/fileman_admin.php?" . $addUrl . "&site=" . Urlencode($site) . "&path=" . UrlEncode($arParsedPath["FULL"])));
        ?>

	<?php 
        $tabControl->End();
        ?>

</form>

<?php 
    }
    echo BeginNote();
    ?>
<span class="required"><sup>1</sup></span> - <?php 
    echo GetMessage("MAIN_PERIOD_NOTE");
    echo EndNote();
开发者ID:Satariall,项目名称:izurit,代码行数:31,代码来源:fileman_menu_edit.php

示例10: each

} else {
    $arrSelect = $arr;
}
reset($arGroups);
while (list(, $group) = each($arGroups)) {
    ?>
	<tr>
		<td width="40%"><?php 
    echo $group["NAME"] . ":";
    ?>
</td>
		<td width="60%"><?php 
    $perm = CForm::GetPermission($ID, array($group["ID"]), "Y");
    // for simple method: change 20 (work with other results) access mode to 15
    /*
    if ($bSimple)
    	$perm = $perm==20 ? 15 : $perm;
    */
    echo SelectBoxFromArray("PERMISSION_" . $group["ID"], $arrSelect, $perm, "", 'style="width: 80%;"');
    ?>
</td>
	</tr>
	<?php 
}
$tabControl->EndTab();
$tabControl->Buttons(array("disabled" => !($ID > 0 && $F_RIGHT >= 30 || CForm::IsAdmin()), "back_url" => strlen($back_url) > 0 ? $back_url : "form_list.php?lang=" . LANGUAGE_ID));
$tabControl->End();
?>
</form>
<?php 
require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php";
开发者ID:Satariall,项目名称:izurit,代码行数:31,代码来源:form_edit.php

示例11: GetMessage

>
		<td>
			<?php 
echo GetMessage("SMILE_FILE");
?>
:<br><small><?php 
echo GetMessage("SMILE_FILE_NOTE");
?>
</small></td>
		<td>
			<input type="file" name="IMPORT" size="30" />
		</td>
	</tr>
<?php 
$tabControl->EndTab();
$tabControl->Buttons(array("btnApply" => false));
?>
</form>
<?php 
$tabControl->End();
$tabControl->ShowWarnings("smile_import", $message);
echo BeginNote();
?>
<div><?php 
echo GetMessage('IM_IMPORT_HELP_1', array('#LINK_START#' => '<a href="/bitrix/admin/fileman_admin.php?lang=' . LANG . '&path=%2Fbitrix%2Fmodules%2Fmain%2Finstall%2Fsmiles">', '#LINK_END#' => '</a>'));
?>
</div>
<div style="padding-top:5px"><?php 
echo GetMessage('IM_IMPORT_HELP_2');
?>
</div>
开发者ID:spas-viktor,项目名称:books,代码行数:31,代码来源:smile_import.php

示例12: htmlspecialcharsbx

			</select>
		<?php 
    } else {
        ?>
			<input type="text" size="<?php 
        echo $value[1];
        ?>
" id="<?php 
        echo $key;
        ?>
" name="<?php 
        echo $key;
        ?>
" value="<?php 
        echo htmlspecialcharsbx(COption::GetOptionString("main", "CAPTCHA_" . $key, $value[2]));
        ?>
">
		<?php 
    }
    ?>
	</td>
</tr>
<?php 
}
$tabControl->Buttons(array("disabled" => !$isAdmin));
$tabControl->End();
?>
</form>

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

示例13:

 selected<?php 
    }
    ?>
>
                    <?php 
    echo $arProperty['NAME'];
    ?>
                </option>
            <?php 
}
?>
        </select>
    </tr>
<?php 
// завершение формы - вывод кнопок сохранения изменений
$tabControl->Buttons(["back_url" => "seofilter_property.php"]);
?>

<?php 
if ($ID > 0 && !$bCopy) {
    ?>
    <input type="hidden" name="ID" value="<?php 
    echo $ID;
    ?>
">
<?php 
}
// завершаем интерфейс закладок
$tabControl->End();
?>
开发者ID:HannibalLecktor,项目名称:alfa74,代码行数:30,代码来源:seofilter_property_edit.php

示例14: GetMessage

		</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("MURL_RULE");
?>
:</td>
		<td>
			<input type="text" name="RULE" size="50" maxlength="250" value="<?php 
echo $str_RULE;
?>
">
		</td>
	</tr>

<?php 
$tabControl->EndTab();
?>

<?php 
$tabControl->Buttons(array("disabled" => !$isAdmin, "back_url" => "/bitrix/admin/urlrewrite_list.php?lang=" . LANG . "&filter_site_id=" . UrlEncode($site_id) . "&" . GetFilterParams("filter_", false)));
$tabControl->End();
?>
</form>
<?php 
$tabControl->ShowWarnings("form1", $message);
?>


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

示例15: array

        $data = array();
        if ($_SERVER["REQUEST_METHOD"] == "POST" && (isset($_POST["save"]) || isset($_POST["apply"]))) {
            CPBRFTemplates::setTemplates($_GET["slug"], $_POST);
            $data = $_POST;
        } else {
            $data = CPBRFTemplates::getTemplates($_GET["slug"]);
        }
        $test = iconv("windows-1251", "utf-8", "Печаль");
        $test2 = iconv("utf-8", "windows-1251", $test);
        //подключаем шаблон нужного бланка
        $GLOBALS["blank"] = $data;
        require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/pbrf/blanks/" . $_GET["slug"] . ".php";
        ?>
		
<?php 
        $tabControl->Buttons(array("back_url" => $_GET["return_url"] ? $_GET["return_url"] : "pbrf_templates.php?lang=" . LANGUAGE_ID));
        ?>

		<input type="hidden" name="debug" value="<?php 
        echo htmlspecialcharsbx($_REQUEST["debug"]);
        ?>
">
		<input type="hidden" name="lang" value="<?php 
        echo LANGUAGE_ID;
        ?>
">
<?php 
        $tabControl->End();
        ?>
		</form>
<?php 
开发者ID:ASDAFF,项目名称:bitrix-pbrf,代码行数:31,代码来源:pbrf_templates.php


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