本文整理汇总了PHP中CJSPopup::StartContent方法的典型用法代码示例。如果您正苦于以下问题:PHP CJSPopup::StartContent方法的具体用法?PHP CJSPopup::StartContent怎么用?PHP CJSPopup::StartContent使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CJSPopup
的用法示例。
在下文中一共展示了CJSPopup::StartContent方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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;
}
}
示例2: GetMessage
?>
&new=Y&back_url=<?php
echo urlencode($back_url);
?>
"><?php
echo GetMessage("PAGE_NEW_EDIT_IN_ADMIN");
?>
</a></p>
<?php
}
}
?>
<?php
$popupWindow->EndDescription();
$popupWindow->StartContent();
?>
<table class="bx-width100" id="bx_new_page_common">
<tr>
<td class="bx-popup-label bx-width30"><?php
echo GetMessage("PAGE_NEW_PAGE_NAME");
?>
:</td>
<td><input type="text" style="width:90%;" id="bx_page_title" name="pageTitle" value="<?php
echo htmlspecialcharsEx($pageTitle);
?>
"></td>
</tr>
<tr>
<td class="bx-popup-label bx-width30"><?php
示例3: urlencode
?>
&path=<?php
echo urlencode($localPath);
?>
"><?php
echo htmlspecialcharsbx($_GET["component_name"]);
?>
</a></p>
<?php
if ($strWarning != "") {
//ShowError($strWarning);
$obJSPopup->ShowValidationError($strWarning);
//echo '<script>jsPopup.AdjustShadow()</script>';
}
if (!empty($arComponentTemplates) || !empty($arComponentParameters["PARAMETERS"]) || !empty($arTemplateParameters)) {
$obJSPopup->StartContent();
$sSectArr = "";
$aClosedSections = array();
if (isset($_POST["__closed_sections"]) && $_POST["__closed_sections"] != "") {
$sections = preg_replace("/[^a-z0-9_,]/i", "", $_POST["__closed_sections"]);
$aClosedSections = explode(",", $sections);
$sSectArr = "'" . implode("','", $aClosedSections) . "'";
}
?>
<script>
window.__closed_sections = [<?php
echo $sSectArr;
?>
];
window.ShowSection = function(el)
{
示例4: strpos
}
}
$bEditProps = (strpos($res["PROLOG"], "prolog_before")>0 || strpos($res["PROLOG"], "header.php")>0);
$title = $res["TITLE"];
if((CFileman::IsPHP($filesrc) || $isScriptExt) && !($USER->CanDoOperation('edit_php') || $limit_php_access))
$strWarning = GetMessage("FILEMAN_FILEEDIT_CHANGE_ACCESS");
}
$obJSPopup->ShowTitlebar(GetMessage('PUBLIC_EDIT_TITLE'.($bFromComponent ? '_COMP' : '')).': '.htmlspecialcharsex($_GET['path']));
$obJSPopup->StartContent(
array(
'style' => "0px; height: 500px; overflow: hidden;",
'class' => "bx-content-editor"
)
);
?>
</form>
<iframe src="javascript:void(0)" name="file_edit_form_target" height="0" width="0" style="display: none;"></iframe>
<form action="/freetrix/admin/public_file_edit.php" name="editor_form" method="post" enctype="multipart/form-data" target="file_edit_form_target" style="margin: 0px; padding: 0px; ">
<?
if (CAutoSave::Allowed())
{
echo CJSCore::Init(array('autosave'), true);
$AUTOSAVE->Init();
?><script type="text/javascript">BX.WindowManager.Get().setAutosave();</script><?
}
?>
<?php