C:\$Recycle.Bin\S-1-5-21-3967099092-2644009230-141905953-500\$RJRNN8D\editor\editor.wysiwygpro.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?php
/**
* @version $Id: editor.wysiwygpro.php,v 1.4 2005/01/06 01:13:28 eddieajau Exp $
* @package Mambo
* @copyright (C) 2000 - 2005 Miro International Pty Ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* Mambo is Free Software
*/

/** ensure this file is being included by a parent file */
defined'_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
?>
<script type="text/javascript"> 
<!--
/** Wrapper around the editor specific update function in JavaScript
*/
function updateEditorContents( editorName, newValue ) {
    wp_send_to_html( 'editorName' );
}
//-->
</script>
<?php
function initEditor() {
    global 
$mosConfig_live_site;
}

function 
editorArea$name$content$hiddenField$width$height$col$row ) {
    global 
$mosConfig_absolute_path;

    
$content str_replace("&lt;""<"$content);
    
$content str_replace("&gt;"">"$content);
    
$content str_replace("&amp;""&"$content);
    
$content str_replace("&nbsp;"" "$content);
    
$content str_replace("&quot;""\""$content);


    
// include the config file and editor class:
    
include_once ($mosConfig_absolute_path.'/editor/wysiwygpro/config.php');
    include_once (
$mosConfig_absolute_path.'/editor/wysiwygpro/editor_class.php');

    
// create a new instance of the wysiwygPro class:
    
$name = new wysiwygPro();

    
$name->set_name($hiddenField);

    if (
$hiddenField=='fulltext') {
        
$name->subsequent(true);
    }

    
$name->usep(true);

    
// insert some HTML
    
$name->set_code($content);

    
// print the editor to the browser:
    
$name->print_editor('100%'intval($height));

}

function 
getEditorContents$editorArea$hiddenField ) {
?>

submit_form();

<?php
}
?>