8 require($strRel . 'config.php');
10 // create the admin area page
11 if (!$member->isLoggedIn()) exit;
12 include($DIR_LIBS . 'PLUGINADMIN.php');
13 $oPluginAdmin = new PluginAdmin('MitasNom');
14 $p=&$oPluginAdmin->plugin;
16 if (!class_exists('NucleusFCKeditor')) include (dirname(__FILE__).'/fckclass.php');
18 $id=htmlspecialchars(requestVar('id'),ENT_QUOTES);
19 $blogid=(int)requestVar('blogid');
22 <script type="text/javascript">
24 <?php echo "return '$id';\n"; ?>
26 function event_onload(){
29 document.getElementById('inputbody').value=window.opener.WYSIWYGgettext(id);
31 function event_onsubmit(){
34 window.opener.focus();
35 window.opener.WYSIWYGsettext(id,document.getElementById('inputbody').value);
39 <body onload="event_onload();">
40 <form method="get" action="javascript:event_onsubmit();">
42 $FCKedit=new NucleusFCKEditor('inputbody',$p);
43 $FCKedit->Width='100%';
44 $FCKedit->Height='100%';