registerButton('save', 'Save',
'do_save();', '##buttonURL##save.gif', 22, 22,
'savehandler');
$editor->addRegisteredButton('save', 'before:print' );
$editor->addJSButtonStateHandler ('savehandler', 'function (EDITOR,srcElement,cid,inTable,inA,range){
return "wproReady";
}');
$editor->registerButton('cancel', 'Cancel',
'do_abort();', '##buttonURL##close.gif', 22, 22,
'cancelhandler');
$editor->addRegisteredButton('cancel', 'before:print' );
$editor->addJSButtonStateHandler ('cancelhandler', 'function (EDITOR,srcElement,cid,inTable,inA,range){
return "wproReady";
}');
$editor->theme = 'blue';
$editor->addJSEditorEvent('load', 'function(editor){editor.fullWindow();setHtmlFilters(editor);}');
$body = '
----Index----
|
|
|
|
Wool Product Retailers:
|

We love to have visitors to the farm, but please call first to arrange a tour.
Cedarview Farms
3028 Kimball Road
Courtright, Ontario
Telephone: (519) 864-4470
FAX: (519) 892-3053
E-mail: kvanewyk@xcelco.on.ca |

|
|
|
|
|
|
|
|
';
$editor->baseURL = "http://cedarviewfarms.org/";
$editor->set_code($body);
$editor->registerSeparator('savecan');
// add a spacer:
$editor->addRegisteredButton('savecan', 'after:cancel');
//$editor->set_charset('iso-8859-1');
$editor->mediaDir = '/home/cedarvie/public_html/';
$editor->mediaURL = 'http://cedarviewfarms.org/';
$editor->imageDir = '/home/cedarvie/public_html/';
$editor->imageURL = 'http://cedarviewfarms.org/';
$editor->documentDir = '/home/cedarvie/public_html/';
$editor->documentURL = 'http://cedarviewfarms.org/';
$editor->emoticonDir = '/home/cedarvie/public_html/.smileys/';
$editor->emoticonURL = 'http://cedarviewfarms.org/.smileys/';
$editor->loadPlugin('serverPreview');
$editor->plugins['serverPreview']->URL = 'http://cedarviewfarms.org/.wysiwygPro_preview_index-4_html.php?randomId=eYmyIt6iUbKtestzLf_eVwk2tYNQd8oXuhXUXVuh9YbLP41wTlrCjFbvOX6WqgOQvrKwGMwV26V8kdk_Y3KuiMKx1_LJb3PLmo2BRUuc9npgmmMKebnwiVIL6Huk4dJlmVM3RVRI8mdSQUWE7fKGo9j4FYd6PGNjs1fBtZ65bbN6ihqYI5fJaajoczdVLN6377DGcLA78fUPXF4aDUH5sKaBjyD_CU7B_ehqv8gGQ8XErUmjVnEEBgaP0UysTKCM';
// print the editor to the browser:
$editor->htmlCharset = 'iso-8859-1';
$editor->display('100%','450');
?>