//---------------------------------------------------------------------------------------- // pinEdit global settings //---------------------------------------------------------------------------------------- // select design var design = "Office2003"; // "" Standard like Office 2000 // "Office" Like Visual Studio // "Office2003" Like Office 2003 // "Office2003S" Like Office 2003 silver // This string corresponds with the last characters of the // stylesheet rules in editor/design/style/pinEdit.css // design of the tabs var globalTabDesign = "1"; // 1 = Windows XP // set language var language = "DE"; // supported // EN = english // DE = german // ES = spanish // FR = french // PT = Portugese // GR = greek // NL = dutch // select technology for dialog functions like open/save dialog var globalTechnology = "php"; // supported // asp - use server side asp technology // jsp - use server side jsp technology // php - use server side PHP technology //-------------------------------------------------------------------------------------------------------- // COMPATIBILITY 3.5 //-------------------------------------------------------------------------------------------------------- var globalCompatibilityMode = false; //-------------------------------------------------------------------------------------------------------- // COMMON URL //-------------------------------------------------------------------------------------------------------- // URL of root (context). Can be http://www.mydomain.com/ // Must end with / var globalRootUrl = ""; // physical path of root (context) var globalRootPath = ""; // URL of editor folder: Must be in the same domain as the files that are opened per URL // Must end with / // If not specified the editor folder must be in web application root var globalEditorUrl = ""; //-------------------------------------------------------------------------------------------------------- // VIEWS //-------------------------------------------------------------------------------------------------------- // menu var globalMenuVisible = false; // hierarchy bar parameter var globalHierarchyBarVisible = false; var globalHierarchyBarSelectionColor = "#FFFFA0"; var globalHierarchyBarHighlight = true; // attribute area var globalAttributeAreaVisible = false; var globalAttributeAreaUrl = "dialogs/attribute.html"; var globalAttributeAreaWidth = "230px"; // document view var globalDocumentView = false; //-------------------------------------------------------------------------------------------------------- // ABSOLUTE URL/PATH //-------------------------------------------------------------------------------------------------------- // specifies the location of the image folder anywhere on the server // the folder must be accessable by a valid URL // these settings are also used for image upload var globalImageUrlAbsolute = ""; var globalImagePathAbsolute = ""; // specifies the location of the document folder anywhere on the server // the folder must be accessable by a valid URL // these settings are also used for doc upload var globalDocumentUrlAbsolute = ""; var globalDocumentPathAbsolute = ""; // specifies the location of the template folder anywhere on the server // the folder must be accessable by a valid URL var globalTemplateUrlAbsolute = ""; var globalTemplatePathAbsolute = ""; //-------------------------------------------------------------------------------------------------------- // RELATIVE IMAGES/LINKS //-------------------------------------------------------------------------------------------------------- // if set, the function editGetHtmlRel()/editGetHtmlBodyRel() returns content with all images/href path relative to given path // ie. http://www.myweb.com/mysite/ // needed for globalSaveMode=2 or 3 var globalImagePathRelative = ""; var globalLinkPathRelative = ""; // set the document directory within the web root(this directory is displayed when you open documents via dialog) // don't use a / at the begining or end var globalDocDir = "media"; // set the image directory within the web root(this directory is displayed when you open images via dialog) // don't use a / at the begining or end var globalImageDir = "images"; //-------------------------------------------------------------------------------------------------------- // ADAPTERS //-------------------------------------------------------------------------------------------------------- // set target file, where html content is posted // enter here your file with absolute or relative path // in relativ mode, the location must be relativ to 'editor' directory // Java: if you want to use the servlet and the java adapter //var target = "../servlet/Edit"; // if you want to use a jsp file var target = "adapter/saveadapter.php"; // set target file, that is called to load or save text modules // enter here your file with absolute or relative path // in relativ mode, the location must be relativ to 'editor' directory // implemented only for Java and .Net var targetTextModule = "adapter/textmoduleadapter.php"; // set target file, that is called to get intellisense data // enter here your file with absolute or relative path // in relativ mode, the location must be relativ to 'editor' directory // implemented only for Java and .Net var targetIntellisense = "adapter/intellisenseadapter.php"; //-------------------------------------------------------------------------------------------------------- // SAVE //-------------------------------------------------------------------------------------------------------- // defines the save mode // 0 = Absolute All HTML // 1 = Absolute Body HTML // 2 = Relative All HTML // 3 = Relative Body HTML // 4 = XHTML // 5 = XHtml Body var globalSaveMode = 4; // this content is passed in variable "custom" to the save adapter var globalSaveValue = ""; //-------------------------------------------------------------------------------------------------------- // MISC //-------------------------------------------------------------------------------------------------------- // defines, what is visible in HTML mode var globalHTMLMode = "1"; // 1 = Standard ( editing the html body ) // 2 = Extended ( editing the entire document -> head and body) // defines if after a RETURN a
or a paragraph is inserted var globalIsBR = true; // enter

// Needed for XP SP2 to increase height of dialogs // For SP2 set this parameter to 15 var globalDialogOffset = 0; // if set to true, Control-V is disabled and an event occurs in config_event.js var globalControlVDisabled = false; // key code for intellisense ("" if disabled) var globalISKey = ""; // these values are set dynamically during startup dependant of design // global toolbar background color for all toolbars var globalToolbarColor = "ButtonFace"; // global toolbar border var globalToolbarBorder = true; // defines the popup width // please increase this value when the context menu strings are too large var globalPopupWidth = 200; // colors for syntax highlighting var globalTagColor = "#0000ff"; var globalTagNameColor = "#800000"; var globalAttributeColor = "red"; var globalStyleColor = "#0000ff"; // if true, the language is automatically detected var globalLanguageDetect = false; // the extended mode has syntax coloring var globalHTMLModeExtended = true;