* */ /** * Spell Checker Popup for the WYSIWYG * * @author Marc McIntyre <*****@*****.**> * @version $Revision: 1.15 $ * @package MySource_Matrix */ require_once dirname(__FILE__) . '/../../../../core/include/init.inc'; if (empty($GLOBALS['SQ_SYSTEM']->user) || !($GLOBALS['SQ_SYSTEM']->user->canAccessBackend() || $GLOBALS['SQ_SYSTEM']->user->type() == 'simple_edit_user' || method_exists($GLOBALS['SQ_SYSTEM']->user, 'isShadowSimpleEditUser') && $GLOBALS['SQ_SYSTEM']->user->isShadowSimpleEditUser())) { exit; } require_once dirname(__FILE__) . '/../../wysiwyg_plugin.inc'; $wysiwyg = null; $plugin = new wysiwyg_plugin($wysiwyg); ?> <!-- htmlArea v3.0 - Copyright (c) 2003 interactivetools.com, inc. This notice MUST stay intact for use (see license.txt). A free WYSIWYG editor replacement for <textarea> fields. For full source code and docs, visit http://www.interactivetools.com/ Version 3.0 developed by Mihai Bazon for InteractiveTools. http://students.infoiasi.ro/~mishoo Modifications for PHP Plugin Based System developed by Greg Sherwood for Squiz.Net. http://www.squiz.net/
* */ /** * Cell Edit Popup for the WYSIWYG * * @author Greg Sherwood <*****@*****.**> * @version $Revision: 1.14 $ * @package MySource_Matrix */ require_once dirname(__FILE__) . '/../../../../core/include/init.inc'; require_once dirname(__FILE__) . '/../../wysiwyg_plugin.inc'; if (empty($GLOBALS['SQ_SYSTEM']->user) || !($GLOBALS['SQ_SYSTEM']->user->canAccessBackend() || $GLOBALS['SQ_SYSTEM']->user->type() == 'simple_edit_user' || method_exists($GLOBALS['SQ_SYSTEM']->user, 'isShadowSimpleEditUser') && $GLOBALS['SQ_SYSTEM']->user->isShadowSimpleEditUser())) { exit; } $wysiwyg = null; $plugin = new wysiwyg_plugin($wysiwyg); $_GET['f_bgcolor'] = preg_replace('/[^a-zA-Z_0-9 ]+/', '', $_GET['f_bgcolor']); $_GET['f_color'] = preg_replace('/[^a-zA-Z_0-9 ]+/', '', $_GET['f_color']); $_GET['f_borderColor'] = preg_replace('/[^a-zA-Z_0-9 ]+/', '', $_GET['f_borderColor']); ?> <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);