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


PHP CJSPopup::ShowStandardButtons方法代码示例

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


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

示例1: CJSPopup

 function __WDShowError($sError)
 {
     if (isset($_REQUEST["use_light_view"]) || isset($_REQUEST["use_hidden_view"])) {
         $GLOBALS['APPLICATION']->RestartBuffer();
         require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/prolog_admin_before.php";
         $popupWindow = new CJSPopup('', '');
         $popupWindow->ShowTitlebar(GetMessage("WD_UPLOAD_ERROR_TITLE"));
         $popupWindow->StartContent();
     }
     if (strpos($sError, "<") > 0) {
         echo "<p><font class=\"errortext\">" . $sError . "</font></p>\n";
     } else {
         ShowError($sError);
     }
     if (isset($_REQUEST["use_light_view"]) || isset($_REQUEST["use_hidden_view"])) {
         $popupWindow->ShowStandardButtons(array("close"));
         die;
     }
 }
开发者ID:mrdeadmouse,项目名称:u136006,代码行数:19,代码来源:component.php

示例2: str_replace

<?php

$inDialog = isset($_REQUEST["dialog"]) && strtoupper($_REQUEST["dialog"]) == "Y";
if ($inDialog) {
    require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/prolog_before.php";
    $GLOBALS['APPLICATION']->RestartBuffer();
    require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/prolog_admin_before.php";
} else {
    require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/header.php";
}
IncludeModuleLangFile(__FILE__);
if ($inDialog) {
    $popupWindow = new CJSPopup('', '');
    $popupWindow->ShowTitlebar(GetMessage("DAV_HELP_NAME"));
    $popupWindow->StartContent();
} else {
    $APPLICATION->SetTitle(GetMessage("DAV_HELP_NAME"));
}
echo str_replace("#SERVER#", $_SERVER["SERVER_NAME"], GetMessage('DAV_HELP_TEXT'));
if ($inDialog) {
    $popupWindow->StartButtons();
    $popupWindow->ShowStandardButtons(array('close'));
    $popupWindow->EndButtons();
} else {
    require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/footer.php";
}
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:26,代码来源:help.php

示例3: count

		{
			if (window.style_2 && window.style_2.parentNode)
				window.style_2.parentNode.removeChild(window.style_2);
			player_wind.style.visibility = 'visible';
			oPlaylistDialog._CloseDialog();
		};
	}
<?for($i = 1, $l = count($arTracks); $i <= $l; $i++):?>
	jsDD.registerDest(BX('bx_item_placement_<?php 
echo $i;
?>
'));
	var obEl = BX('bx_item_row_<?php 
echo $i;
?>
');
	obEl.onbxdragstart = BXDD_DragStart;
	obEl.onbxdragstop = BXDD_DragStop;
	obEl.onbxdraghover = BXDD_DragHover;
	jsDD.registerObject(obEl);
<?endfor;?>
	l = BX('bx_playlist_layout');
	l.ondrag = l.onselectstart = jsUtils.False;
	l.style.MozUserSelect = 'none';
	l.className = l.className; // hack for ie

	menuCheckIcons();
}
</script>
<?$obJSPopup->ShowStandardButtons(); ?>
<?require($_SERVER["DOCUMENT_ROOT"]."/freetrix/modules/main/include/epilog_admin_js.php");?>
开发者ID:ASDAFF,项目名称:open_bx,代码行数:31,代码来源:player_playlist_edit.php

示例4: wdNoteShow

    }
    ?>
</table>
<script>
	function wdNoteShow(e)
	{
		var expand = (this.style.height == '3em');
		this.style.height = (expand ? 'auto' : '3em');
	}
	BX(function() {
		BX.bind(BX('wd_bp_notes'),'click', wdNoteShow);
	});
</script>
<div id='wd_bp_notes' style="background-color:#FEFDEA; margin-bottom:16px; margin-top:16px; border:1px solid #D7D6BA; width:679px; position: relative; display:block; padding: 0 4px; height:3em; cursor: pointer; overflow: hidden;">
<table class='notes' style='display:block;'>
<tr><td class='content'>
<?php 
    echo GetMessage("SN_BP_NOTE");
    ?>
</td></tr></table>
</div>
<?php 
}
$arWDRights = array("IBLOCK_ID" => $arParams["IBLOCK_ID"], "ENTITY_TYPE" => "SECTION", "ENTITY_ID" => $arLibrary['ID'], "TAB_ID" => 'tab_permissions', "SOCNET_TYPE" => $object, "SOCNET_ID" => $object_id, "SET_TITLE" => "N", "SET_NAV_CHAIN" => "N", "POPUP_DIALOG" => true);
if ($object == "group") {
    $arWDRights["SOCNET_GROUP_ID"] = $object_id;
}
$APPLICATION->IncludeComponent("bitrix:webdav.iblock.rights", ".default", $arWDRights, null, array("HIDE_ICONS" => "Y"));
$popupWindow->EndContent();
$popupWindow->ShowStandardButtons();
require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin_js.php";
开发者ID:Satariall,项目名称:izurit,代码行数:31,代码来源:webdav_settings.php

示例5: BX

	if (null == ta)
		ta = BX('bx-filesrc');
	if (null == border)
		border = parseInt(BX.style(ta, 'border-left-width')) + parseInt(BX.style(ta, 'border-right-width'));
	if (isNaN(border))
		border = 0;

	var add = BX('bx_additional_params');

	if (data.height)
		ta.style.height = (data.height - border - wnd.PARTS.HEAD.offsetHeight - (add ? add.offsetHeight : 0) - 35) + 'px';
	if (data.width)
		ta.style.width = (data.width - border - 10) + 'px';
}

BX.addCustomEvent(wnd, 'onWindowResizeExt', TAResize);
TAResize(wnd.GetInnerPos());

<?if ($ceid):?>
BX.addCustomEvent(window, 'OnCodeEditorReady', function(){TAResize(wnd.GetInnerPos());});
<?endif;?>
</script>

<?
$obJSPopup->StartButtons();
$obJSPopup->ShowStandardButtons(array('save', 'cancel'));
$obJSPopup->EndButtons();

require($_SERVER["DOCUMENT_ROOT"]."/freetrix/modules/main/include/epilog_admin_js.php");
?>
开发者ID:ASDAFF,项目名称:open_bx,代码行数:30,代码来源:file_edit_src.php

示例6: GetMessage

try{
document.getElementById('BPSId5I').focus();
}catch(e)
{}
<?php 
} else {
    ?>
BPSHideShow('BPSId2');
try{
document.getElementById('BPSId2S').focus();
}catch(e)
{}
<?php 
}
?>
</script>
<?php 
$popupWindow->EndContent();
$popupWindow->StartButtons();
?>
<input type="button" value="<?php 
echo GetMessage("BIZPROC_SEL_INSERT");
?>
" onclick="BPSVInsert();" />
<?php 
$popupWindow->ShowStandardButtons(array('cancel'));
$popupWindow->EndButtons();
?>
</body>
<?php 
require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin_js.php";
开发者ID:mrdeadmouse,项目名称:u136006,代码行数:31,代码来源:bizproc_selector.php

示例7: htmlspecialcharsbx

                    $res .= '\'">';
                } else {
                    if ($prop['ROWS'] > 1) {
                        $res .= '<textarea name="' . $ID . '" cols=' . $prop["COLS"] . '>' . htmlspecialcharsbx($val) . '</textarea>';
                    } else {
                        $res .= '<input name="' . $ID . '" size=' . $prop["COLS"] . ' value="' . htmlspecialcharsbx($val) . '" type="text">';
                    }
                }
                break;
        }
        if ($prop["REFRESH"] == "Y") {
            $res .= '<input type="button" value="OK" onclick="' . $obJSPopup->jsPopup . '.PostParameters(\'' . 'path=' . urlencode(CUtil::addslashes($_GET["path"])) . '&amp;template_id=' . urlencode(CUtil::addslashes($_GET["template_id"])) . '&amp;lang=' . LANGUAGE_ID . '&amp;src_path=' . urlencode(CUtil::addslashes($_GET["src_path"])) . '&amp;src_line=' . intval($_GET["src_line"]) . '&amp;action=refresh\');">';
        }
        echo $res;
        ?>
		</td>
	</tr>
<?php 
    }
    ?>
</table>
<?php 
    $obJSPopup->StartButtons();
    echo '<input id="btn_popup_save" name="btn_popup_save" type="button" value="' . GetMessage("JSPOPUP_SAVE_CAPTION") . '" onclick="' . $obJSPopup->jsPopup . '.PostParameters(\'action=save\');" title="' . GetMessage("JSPOPUP_SAVE_CAPTION") . '" />' . "\r\n";
    $obJSPopup->ShowStandardButtons(array('close'));
} else {
    //!empty($arTemplate["PARAMS"])
    $obJSPopup->ShowStandardButtons(array('close'));
}
//!empty($arTemplate["PARAMS"])
require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin_js.php";
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:component_props.php

示例8: __struct_show_files

jsDD.Reset();
//jsDD.registerContainer(BX.findParent(window.structPopup.GetContent(), {tag: 'DIV'}));
jsDD.registerContainer(BX.WindowManager.Get().GetContent());

</script>

<?
$obJSPopup->ShowTitlebar();
$obJSPopup->StartDescription('bx-structure');
?>
<p><b><?echo GetMessage("pub_struct_desc_title")?></b></p>
<div class="bx-struct-settings" onclick="structShowSettingsMenu(this)" onmouseover="this.className+=' bx-struct-settings-over'" onmouseout="this.className=this.className.replace(/\s*bx-struct-settings-over/ig, '')" title="<?echo GetMessage("pub_struct_settings_title")?>"><?echo GetMessage("pub_struct_settings")?></div>
<div class="bx-struct-settings bx-struct-button" onclick="structOpenDirs(this)" onmouseover="this.className+=' bx-struct-settings-over'" onmouseout="this.className=this.className.replace(/\s*bx-struct-settings-over/ig, '')" title="<?echo GetMessage("pub_struct_folders_title")?>"><?echo GetMessage("pub_struct_folders_button")?></div>
<br />
<br style="clear:both;" />
<?
$obJSPopup->StartContent();
?>
<div id="structure_content">
<?
//display first level tree
$arRoot = __struct_get_file_info($DOC_ROOT, "/");
echo __struct_show_files(array($arRoot), $DOC_ROOT, "", _normalizePath($_GET["path"]));
?>
</div>
<?
$obJSPopup->ShowStandardButtons(array("close"));
?>
<?
require($_SERVER["DOCUMENT_ROOT"]."/freetrix/modules/main/include/epilog_admin_js.php");
?>
开发者ID:ASDAFF,项目名称:open_bx,代码行数:31,代码来源:structure.php


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