View of /mambo/branches/4.5.3h/editor/editor.xstandard.php
Parent Directory
|
Revision Log
Revision 22 -
(download)
(annotate)
Fri Dec 16 19:02:17 2005 UTC (7 years, 5 months ago) by mambo
File size: 1321 byte(s)
Fri Dec 16 19:02:17 2005 UTC (7 years, 5 months ago) by mambo
File size: 1321 byte(s)
made a copy
<?php /** * @version $Id: editor.xstandard.php,v 1.1 2005/07/22 01:55:01 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 ) { //TODO: correct call } //--> </script> <?php function initEditor() { } function editorArea( $name, $content, $hiddenField, $width, $height, $col, $row ) { ?> <object classid="clsid:0EED7206-1661-11D7-84A3-00606744831D" id="<?php echo $name; ?>" width="<?php echo $width; ?>" height="<?php echo $height; ?>"> <param name="Value" value="<?php echo $content; ?>" /> </object> <input type="hidden" name="<?php echo $hiddenField; ?>" id="<?php echo $hiddenField; ?>" value="" /> <?php } function getEditorContents( $editorArea, $hiddenfield ) { ?> document.getElementById('<?php echo $editorArea ; ?>').EscapeUNICODE = true; document.getElementById('<?php echo $hiddenfield ; ?>').value = document.getElementById('<?php echo $editorArea ; ?>').value; <?php } ?>
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

