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


PHP CJSPopup::StartDescription方法代码示例

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


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

示例1: GetMessage

foreach ($arFilemanProperties as $propertyCode => $propertyDesc) {
    if (array_key_exists($propertyCode, $arDirProperties)) {
        $arGlobalProperties[$propertyCode] = $arDirProperties[$propertyCode];
    } else {
        $arGlobalProperties[$propertyCode] = "";
    }
    unset($arDirProperties[$propertyCode]);
    unset($arInheritProperties[strtoupper($propertyCode)]);
}
foreach ($arDirProperties as $propertyCode => $propertyValue) {
    unset($arInheritProperties[strtoupper($propertyCode)]);
}
$bPropertyExists = !empty($arGlobalProperties) || !empty($arDirProperties) || !empty($arInheritProperties);
//HTML Output
$popupWindow->ShowTitlebar(GetMessage("PAGE_NEW_WINDOW_TITLE"));
$popupWindow->StartDescription($createNewFolder ? "bx-create-new-folder" : "bx-create-new-page");
if (isset($strWarning) && $strWarning != "") {
    $popupWindow->ShowValidationError($strWarning);
}
?>

<p><?php 
echo GetMessage("PAGE_NEW_SUB_TITLE");
?>
 <b><?php 
echo htmlspecialcharsbx($path);
?>
</b></p>

<?php 
if (IsModuleInstalled("fileman")) {
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:file_new.php

示例2: GetMessage

$DESCRIPTION = GetMessage('PLAYLIST_TITLE_DESCRIPTION');
$back_url = $_GET["back_url"];

// Clear all pathes which not begining from '/'
if ($back_url != '' && (substr($back_url, 0, 1) != '/' || strpos($back_url, ':') !== false))
	$back_url = '';

$obJSPopup = new CJSPopup('',
	array(
		'TITLE' => $TITLE,
		'ARGS' => "lang=".urlencode($_GET["lang"])."&site=".urlencode($_GET["site"])."&back_url=".urlencode($back_url)."&path=".urlencode($_GET["path"])."&name=".urlencode($_GET["name"])
	)
);
$obJSPopup->ShowTitlebar();
?>
<?$obJSPopup->StartDescription('bx-edit-menu');?>
<p><b><?php 
echo $DESCRIPTION;
?>
</b></p>
</p>
<?
if($strWarning != "")
	$obJSPopup->ShowValidationError($strWarning);

$obJSPopup->StartContent();
if(!is_array($arTracks))
	$arTracks = Array();
?>
	<input type="hidden" name="save" value="Y" />
	<table border="0" cellpadding="2" cellspacing="0" class="bx-width100 internal">
开发者ID:ASDAFF,项目名称:open_bx,代码行数:31,代码来源:player_playlist_edit.php

示例3: GetMessage

                $obJSPopup->Close();
            } else {
                $strWarning .= GetMessage("comp_prop_err_save") . "<br>";
            }
        }
    }
}
$componentPath = CComponentEngine::MakeComponentPath($_GET["component_name"]);
$arComponentDescription["ICON"] = ltrim($arComponentDescription["ICON"], "/");
$localPath = getLocalPath("components" . $componentPath);
if ($localPath !== false && $arComponentDescription["ICON"] != "" && $io->FileExists($io->RelativeToAbsolutePath($localPath . "/" . $arComponentDescription["ICON"]))) {
    $sIcon = $localPath . "/" . $arComponentDescription["ICON"];
} else {
    $sIcon = "/bitrix/images/fileman/htmledit2/component.gif";
}
$obJSPopup->StartDescription($sIcon);
if ($arComponentDescription["NAME"] != "") {
    ?>
<p title="<?php 
    echo GetMessage("comp_prop_name");
    ?>
" class="title"><?php 
    echo htmlspecialcharsbx($arComponentDescription["NAME"]);
    ?>
</p>
<?php 
}
if ($arComponentDescription["DESCRIPTION"] != "") {
    ?>
<p title="<?php 
    echo GetMessage("comp_prop_desc");
开发者ID:spas-viktor,项目名称:books,代码行数:31,代码来源:component_props2.php

示例4: htmlspecialcharsbx

if(!$bVarsFromForm)
{
	if(!$bEdit && strlen($filename)<=0)
		$filename = "untitled.php";

	$filesrc = $filesrc_tmp;
}
else
	$filesrc = $_POST['filesrc'];


/*************************************************/

$obJSPopup->ShowTitlebar(($bEdit ? GetMessage("FILEMAN_FILEEDIT_PAGE_TITLE") : GetMessage("FILEMAN_NEWFILEEDIT_TITLE")).": ".htmlspecialcharsbx($path));

$obJSPopup->StartDescription();

echo '<a href="/freetrix/admin/fileman_file_edit.php?path='.urlencode($path).'&amp;full_src=Y&amp;site='.$site.'&amp;lang='.LANGUAGE_ID.'&amp;back_url='.urlencode($_GET["back_url"]).(!$bEdit? '&amp;new=Y&amp;filename='.urlencode($filename).'&amp;template='.urlencode($template):'').($_REQUEST["templateID"]<>''? '&amp;templateID='.urlencode($_REQUEST["templateID"]):'').'" title="'.htmlspecialcharsbx($path).'">'.GetMessage("public_file_edit_edit_cp").'</a>';

$obJSPopup->StartContent();
if (CAutoSave::Allowed())
{
	echo CJSCore::Init(array('autosave'), true);
	$AUTOSAVE->Init();
?><script type="text/javascript">BX.WindowManager.Get().setAutosave();</script><?
}
?>

<input type="hidden" name="site" value="<?php 
echo htmlspecialcharsbx($site);
?>
开发者ID:ASDAFF,项目名称:open_bx,代码行数:31,代码来源:file_edit_src.php

示例5: GetMessage

        }
        if (!isset($arLibrary["~UF_USE_EXT_SERVICES"])) {
            CWebDavIblock::checkUfUseExtServices((int) $arParams["IBLOCK_ID"]);
        }
        $arFields = array("IBLOCK_ID" => $arParams["IBLOCK_ID"], "UF_USE_BP" => $_REQUEST["UF_USE_BP"], "UF_USE_EXT_SERVICES" => $_REQUEST["UF_USE_EXT_SERVICES"]);
        $GLOBALS["UF_USE_BP"] = $arFields["UF_USE_BP"];
        $GLOBALS["USER_FIELD_MANAGER"]->EditFormAddFields("IBLOCK_" . $arParams["IBLOCK_ID"] . "_SECTION", $arFields);
        $bs = new CIBlockSection();
        $res = $bs->Update($arLibrary["ID"], $arFields);
    }
    $popupWindow->Close($bReload = true, $_REQUEST["back_url"]);
    die;
}
//HTML output
$popupWindow->ShowTitlebar(GetMessage("SN_TITLE"));
$popupWindow->StartDescription("bx-access-folder");
if (isset($strWarning) && $strWarning != "") {
    $popupWindow->ShowValidationError($strWarning);
}
?>

<p><b><?php 
echo GetMessage("SN_TITLE_TITLE");
?>
</b></p>

<?php 
$popupWindow->EndDescription();
$popupWindow->StartContent();
?>
开发者ID:Satariall,项目名称:izurit,代码行数:30,代码来源:webdav_settings.php

示例6: array

            $ar = array();
            foreach ($item as $k => $v) {
                $ar[$GLOBALS["APPLICATION"]->ConvertCharset($k, "UTF-8", LANG_CHARSET)] = BPasDecodeArrayKeys($v);
            }
            return $ar;
        } else {
            return $item;
        }
    }
    $_POST = BPasDecodeArrayKeys($_POST);
}
$activityName = $_REQUEST['id'];
$activityType = $_REQUEST['activity'];
$document_type = $_POST['document_type'];
$currentSiteId = $_REQUEST['current_site_id'];
$popupWindow->StartDescription("bx-edit-settings");
$canWrite = CBPDocument::CanUserOperateDocumentType(CBPCanUserOperateOperation::CreateWorkflow, $GLOBALS["USER"]->GetID(), array(MODULE_ID, ENTITY, $document_type));
if (!$canWrite) {
    $popupWindow->ShowError(GetMessage("ACCESS_DENIED"));
    die;
}
$runtime = CBPRuntime::GetRuntime();
$runtime->StartRuntime();
$arActivityDescription = $runtime->GetActivityDescription($activityType);
if ($arActivityDescription == null) {
    die("Bad activity type!" . htmlspecialcharsbx($activityType));
}
if ($arActivityDescription["DESCRIPTION"]) {
    echo htmlspecialcharsbx($arActivityDescription["DESCRIPTION"]);
} else {
    echo GetMessage("BIZPROC_AS_DESC");
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:bizproc_activity_settings.php

示例7: htmlspecialcharsbx

	if ($strWarning == "")
	{
		$popupWindow->Close($bReload=($_GET['subdialog'] <> 'Y'), $back_url);
		die();
	}
}

echo CJSCore::Init(array('access'), true);

//HTML output
if ($isFolder)
	$popupWindow->ShowTitlebar(GetMessage("EDIT_ACCESS_TO_FOLDER"));
else
	$popupWindow->ShowTitlebar(GetMessage("EDIT_ACCESS_TO_FILE"));

$popupWindow->StartDescription($isFolder ? "bx-access-folder" : "bx-access-page");

if ($strWarning != "")
	$popupWindow->ShowValidationError($strWarning);
?>

<p><b><?php 
echo $isFolder ? GetMessage("EDIT_ACCESS_TO_FOLDER") : GetMessage("EDIT_ACCESS_TO_FILE");
?>
</b> <?php 
echo htmlspecialcharsbx($path);
?>
</p>

<?
$popupWindow->EndDescription();
开发者ID:nProfessor,项目名称:Mytb,代码行数:31,代码来源:access_edit.php

示例8: GetMessage

$obJSPopup = new CJSPopup('',
	array(
		'TITLE' => GetMessage('MENU_EDIT_TITLE'),
		'ARGS' => "lang=".urlencode($_GET["lang"])."&site=".urlencode($_GET["site"])."&back_url=".urlencode($_GET["back_url"])."&path=".urlencode($_GET["path"])."&name=".urlencode($_GET["name"])
	)
);

// ======================== Show titlebar ============================= //
$obJSPopup->ShowTitlebar();
?>
<script src="/freetrix/js/main/dd.js" type="text/javascript"></script>

<?
// ======================== Show description ============================= //
$obJSPopup->StartDescription('bx-core-edit-menu');
?>
<p class="title"><?php 
echo $TITLE;
?>
</p>
<p class="note"><?php 
echo $DESCRIPTION;
?>
</p><p>
<a href="/freetrix/admin/fileman_menu_edit.php?<?php 
echo "lang=" . urlencode($_GET["lang"]) . "&site=" . urlencode($_GET["site"]) . "&back_url=" . urlencode($_GET["back_url"]) . "&path=" . urlencode($_GET["path"]) . "&name=" . urlencode($_GET["name"]);
?>
"><?php 
echo GetMessage('MENU_EDIT_OLD_STYLE');
?>
开发者ID:ASDAFF,项目名称:open_bx,代码行数:30,代码来源:menu_edit.php

示例9: str_replace

		CUndo::ShowUndoMessage($ID);

		//CUndo::Escape($ID);

		$popupWindow->Close($bReload=($_GET['subdialog'] <> 'Y'), $back_url);
	}
	else
	{
		$strWarning = GetMessage("PAGE_DELETE_ERROR_OCCURED");
	}
}

//HTML Output
$popupWindow->ShowTitlebar(GetMessage("PAGE_DELETE_WINDOW_TITLE"));
$popupWindow->StartDescription("bx-delete-page");
?>
<p><?php 
echo str_replace("#FILENAME#", htmlspecialcharsbx($path), GetMessage("PAGE_DELETE_CONFIRM_TEXT"));
?>
</p>
<?
$popupWindow->EndDescription("bx-delete-page");
$popupWindow->StartContent();
if (isset($strWarning) && $strWarning != "")
	$popupWindow->ShowValidationError($strWarning);
?>
<?if (IsModuleInstalled("fileman")):?>
	<input type="checkbox" name="delete_from_menu" value="Y" id="bx_delete_from_menu" <?php 
echo $deleteFromMenu ? "checked" : "";
?>
开发者ID:ASDAFF,项目名称:open_bx,代码行数:30,代码来源:file_delete.php

示例10: GetMessage

    default:
        $arFilter = false;
}
?>
<body class="dialogcontent">

<?php 
$popupWindow = new CJSPopup(GetMessage("BIZPROC_AS_TITLE"));
$popupWindow->ShowTitlebar(GetMessage("BIZPROC_AS_TITLE_TOOLBAR"));
?>
<style>
.dialogt {width:100% !important; }
.adm-workarea .dialogt option {padding: 0px;}
</style>
<?php 
$popupWindow->StartDescription("");
echo GetMessage("BIZPROC_SEL_TITLEBAR_DESC");
$popupWindow->EndDescription();
$popupWindow->StartContent();
?>
<script>
var BPSLastId = false;
function BPSHideShow(id)
{
	if(BPSLastId)
		document.getElementById(BPSLastId).style.display = 'none';

	if(BPSLastId==id)
		BPSLastId = false;
	else
	{
开发者ID:mrdeadmouse,项目名称:u136006,代码行数:31,代码来源:bizproc_selector.php

示例11: GetMessage

	else
		$arGlobalProperties[$propertyCode] = "";

	unset($arDirProperties[$propertyCode]);
	unset($arInheritProperties[strtoupper($propertyCode)]);
}

foreach ($arDirProperties as $propertyCode => $propertyValue)
	unset($arInheritProperties[strtoupper($propertyCode)]);
?>


<?
//HTML Output
$popupWindow->ShowTitlebar(GetMessage("PAGE_PROP_WINDOW_TITLE"));
$popupWindow->StartDescription("bx-property-page");

if ($strWarning != "")
	$popupWindow->ShowValidationError($strWarning);
?>

<p><?php 
echo GetMessage("PAGE_PROP_WINDOW_TITLE");
?>
 <b><?php 
echo htmlspecialcharsbx($path);
?>
</b></p>

<?if (IsModuleInstalled("fileman")):?>
	<p><a href="/freetrix/admin/fileman_html_edit.php?lang=<?php 
开发者ID:ASDAFF,项目名称:open_bx,代码行数:31,代码来源:file_property.php

示例12: substr

            } else {
                $code = "<" . "?" . ($arRes["VARIABLE"] ? $arRes["VARIABLE"] . "=" : "") . "\$APPLICATION->IncludeFile(\"" . $_GET["path"] . "\");?" . ">";
            }
            $filesrc_for_save = substr($filesrc, 0, $aComponent[0]) . $code . substr($filesrc, $aComponent[1]);
            if ($APPLICATION->SaveFileContent($abs_path, $filesrc_for_save)) {
                $obJSPopup->Close();
            } else {
                $strWarning .= GetMessage("comp_prop_err_save") . "<br />";
            }
        }
    }
}
if ($arTemplate["ICON"] == "" || !is_file($_SERVER["DOCUMENT_ROOT"] . $arTemplate["ICON"])) {
    $arTemplate["ICON"] = "/bitrix/images/fileman/htmledit2/component.gif";
}
$obJSPopup->StartDescription($arTemplate['ICON']);
if ($arTemplate["NAME"] != "") {
    ?>
<p title="<?php 
    echo GetMessage("comp_prop_name");
    ?>
"><b><?php 
    echo htmlspecialcharsbx($arTemplate["NAME"]);
    ?>
</b></p>
<?php 
}
if ($arTemplate["DESCRIPTION"] != "") {
    ?>
<p title="<?php 
    echo GetMessage("comp_prop_desc");
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:component_props.php

示例13: GetMessage

foreach ($arFilemanProperties as $propertyCode => $propertyDesc)
{
	if (array_key_exists($propertyCode, $arDirProperties))
		$arGlobalProperties[$propertyCode] = $arDirProperties[$propertyCode];
	else
		$arGlobalProperties[$propertyCode] = "";

	unset($arDirProperties[$propertyCode]);
	unset($arInheritProperties[strtoupper($propertyCode)]);
}

foreach ($arDirProperties as $propertyCode => $propertyValue)
	unset($arInheritProperties[strtoupper($propertyCode)]);

$popupWindow->ShowTitlebar(GetMessage('FOLDER_EDIT_WINDOW_TITLE'));
$popupWindow->StartDescription("bx-property-folder");

if($strWarning != "")
	$popupWindow->ShowValidationError($strWarning);
?>

	<p><b><?php 
echo GetMessage("FOLDER_EDIT_WINDOW_TITLE");
?>
 <?php 
echo htmlspecialcharsbx($path);
?>
</b></p>

	<?if (IsModuleInstalled("fileman")):?>
		<p><a href="/freetrix/admin/fileman_folder.php?lang=<?php 
开发者ID:ASDAFF,项目名称:open_bx,代码行数:31,代码来源:folder_edit.php

示例14: freetrix_sessid_get

echo freetrix_sessid_get();
?>
');

	return true;
};

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"]));
?>
开发者ID:ASDAFF,项目名称:open_bx,代码行数:31,代码来源:structure.php


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