1<?php 2// ================================================ 3// SPAW PHP WYSIWYG editor control 4// ================================================ 5// Default toolbar data file 6// ================================================ 7// Developed: Alan Mendelevich, alan@solmetra.lt 8// Copyright: Solmetra (c)2003 All rights reserved. 9// ------------------------------------------------ 10// www.solmetra.com 11// ================================================ 12// v.1.0, 2003-03-22 13// ================================================ 14 15// array to hold toolbar definitions 16// first dimension - toolbar location (top, left, right, bottom) 17// second dimension - toolbar row/column 18// third dimension - settings/data 19// fourth dimension - setting/toolbar item 20// toolbar item: name - item name, type - item type (button, dropdown, separator, etc.) 21 22$spaw_toolbar_data = array( 23 'top_design' => array( 24 array( 25 'settings' => array( 26 'align' => 'left', 27 'valign' => 'top' 28 ), 29 'data' => array ( 30 array( 31 'name' => 'cut', 32 'type' => SPAW_TBI_BUTTON 33 ), 34 array( 35 'name' => 'copy', 36 'type' => SPAW_TBI_BUTTON 37 ), 38 array( 39 'name' => 'paste', 40 'type' => SPAW_TBI_BUTTON 41 ), 42 array( 43 'name' => 'vertical_separator', 44 'type' => SPAW_TBI_IMAGE 45 ), 46 array( 47 'name' => 'undo', 48 'type' => SPAW_TBI_BUTTON 49 ), 50 array( 51 'name' => 'redo', 52 'type' => SPAW_TBI_BUTTON 53 ), 54 array( 55 'name' => 'vertical_separator', 56 'type' => SPAW_TBI_IMAGE 57 ), 58 array( 59 'name' => 'bold', 60 'type' => SPAW_TBI_BUTTON 61 ), 62 array( 63 'name' => 'italic', 64 'type' => SPAW_TBI_BUTTON 65 ), 66 array( 67 'name' => 'underline', 68 'type' => SPAW_TBI_BUTTON 69 ), 70 array( 71 'name' => 'vertical_separator', 72 'type' => SPAW_TBI_IMAGE 73 ), 74 array( 75 'name' => 'cleanup', 76 'type' => SPAW_TBI_BUTTON 77 ), 78 ) // data 79 ), 80 ), 81 82 83); 84?> 85