function onOK() {
				var param = new Object();
				param["html"] = makeCleanDoc(false);
				__dlg_close("spellChecker", param);
				return false;
			};

			function onCancel() {
				__dlg_close("spellChecker", null);
				return false;
			};
		</script>

		<script type="text/javascript" src="<?php 
echo '../' . $plugin->get_popup_href('spell_checker.js', 'spell_checker');
?>
"></script>

	
	</head>

	<body onLoad="Init(); initDocument(); if (opener) opener.blockEvents('spellChecker')" onUnload="if (opener) opener.unblockEvents(); parent_object._tmp['disable_toolbar'] = false; parent_object.updateToolbar();">
		<form style="display: none;" action="spell_checker.php" method="post" target="framecontent" accept-charset="utf-8">
			<input type="hidden" name="content" id="f_content"/>
			<input type="hidden" name="dictionary" id="f_dictionary"/>
			<input type="hidden" name="init" id="f_init" value="1"/>
			<input type="hidden" name="token" id="f_token" value="<?php 
echo get_unique_token();
?>
"/>
예제 #2
0
<html style="width:380px; height:270px;">

	<head>
		<title>Edit Cell Properties</title>
		<script type="text/javascript" src="../../core/popup.js"></script>
		<script type="text/javascript" src="../../core/dialog.js"></script>

		<script type="text/javascript">
			function colorPopup(id) {
				var field = document.getElementById(id);
				var span = document.getElementById(id + "_chooser");
				var color = field.value;

				var strPage = "<?php 
echo $_SERVER['PHP_SELF'] . '/../../' . $plugin->get_popup_href('select_color.html', 'select_color');
?>
";

				openModalDialog("selectColor", strPage, 238, 163, function(color) {
					if (color) {
						span.style.backgroundColor = "#" + color;
						field.value = color;
					}
				}, color);
			};

			function nullColor(id) {
				var field = document.getElementById(id);
				var span = document.getElementById(id + "_chooser");
				span.style.backgroundColor = "";