source: branches/unified_backend/examples/full_example-menu.html @ 121

Last change on this file since 121 was 121, checked in by yermol, 14 years ago

htmlarea.js

. more debugging messages added.
. added HTMLArea.Config.linkReplacementMode which can be either

fullyqualified (the old default behavior) or absolute.


When set to fullyqualified all absolute links (e.g. /somepath) will be changed to fullyqualified URLS (e.g. http://yoursite/somepth).


When set to absolute, all fullyqualified urls back to the current site
will be changed to absolute (e.g. httpyoursite/somepath to /somepath)
making the Xinha generated content portable between sites.


( see HTMLArea.prototype.outwardHtml() )


. bugfix - if plugin .js file has a parse error htmlarea will only try to load

it a configurable number of times before popping up an error message.


backends/backend.php

. initial unified backend created. Requests to this backend are routed

to the corresponding plugin specific backend.php file.


backends/backend_conf.php

. a central server side configuration file has been created for the use

of plugin serverside code.

. all backends hooked into this scheme must include the central config file.

ImageManager?

. modified the config to allow overriding default values.
. default image directory is now xinha/examples/images
. added debugging trace messages which are tagged with the ImageManager? name.
. now uses unified backend.

Linker

. includes central config.
. default directory is now the xinha/examples directory (to avoid scan.php security

problem)

. added debugging trace messages which are tagged with the Linker name.
. links selected from the tree are now displayed in absolute instead of fully qualified

fashion.

. on edit the link that was previously selected is highlighted.
. on edit the selected link is scrolled to if it's outside the viewable area.
. if scan.php returns some kind of error or invalid javascript Linker now pops up

a nice descriptive error message.


. bugfix - same pattern as in loading plugins. If there is some error in loading the directory listing Linker will only attempt it a few times before giving up and

displaying a nice error.


dTree.js

. added clear_s() method to clear the selection
. added getNodeElement() method to return the <a ..> element for a given node.

  • Property svn:eol-style set to native
  • Property svn:keywords set to LastChangedDate LastChangedRevision LastChangedBy HeadURL Id
File size: 3.1 KB
Line 
1<html>
2<head>
3
4  <!--------------------------------------:noTabs=true:tabSize=2:indentSize=2:--
5    --  Xinha example menu.  This file is used by full_example.html within a
6    --  frame to provide a menu for generating example editors using
7    --  full_example-body.html, and full_example.js.
8    --
9    --  $HeadURL$
10    --  $LastChangedDate$
11    --  $LastChangedRevision$
12    --  $LastChangedBy$
13    --------------------------------------------------------------------------->
14
15  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
16  <title>Example of Xinha</title>
17  <link rel="stylesheet" href="full_example.css" />
18  <style type="text/css">
19    label { display:block; }
20  </style>
21</head>
22
23<body>
24  <h1>Xinha Examples</h1>
25
26  <br>
27
28  <a target="_top" href="../index.html">Back to Index</a>
29
30  <p>
31    Select from the options below and click the Show Example button to show working examples
32    on the right.
33  </p>
34
35  <form action="full_example-body.php" target="body">
36    <fieldset>
37      <legend>Plugins</legend>
38      <label>
39        <input type="checkbox" name="plugins" value="CSS"  /> CSS
40      </label>
41      <label>
42        <input type="checkbox" name="plugins" value="DynamicCSS"  /> DynamicCSS
43      </label>
44      <label>
45        <input type="checkbox" name="plugins" value="FullPage"  /> FullPage
46      </label>
47      <label>
48        <input type="checkbox" name="plugins" value="FullScreen" checked /> FullScreen
49      </label>
50      <label>
51        <input type="checkbox" name="plugins" value="CharacterMap" checked /> CharacterMap
52      </label>
53      <label>
54        <input type="checkbox" name="plugins" value="ContextMenu" checked /> ContextMenu
55      </label>
56      <label>
57        <input type="checkbox" name="plugins" value="ListType" checked /> ListType
58      </label>
59
60      <label>
61        <input type="checkbox" name="plugins" value="Stylist" checked /> Stylist
62      </label>
63
64      <label>
65        <input type="checkbox" name="plugins" value="TableOperations" checked /> TableOperations
66      </label>
67
68      <label>
69        <input type="checkbox" name="plugins" value="InsertAnchor" checked /> InsertAnchor
70      </label>
71    </fieldset>
72
73    <fieldset>
74      <legend>PHP Plugins</legend>
75      <p>
76        These plugins require PHP in order to run.  Some may have versions in other languages.
77      </p>
78      <label>
79        <input type="checkbox" name="plugins" value="SuperClean"  />  SuperClean <small>(PHP)</small>
80      </label>
81      <label>
82        <input type="checkbox" name="plugins" value="SpellChecker" /> SpellChecker <small>(PHP)</small>
83      </label>
84      <label>
85        <input type="checkbox" name="plugins" value="HtmlTidy"  />    HtmlTidy <small>(PHP)</small>
86      </label>
87      <label>
88        <input type="checkbox" name="plugins" value="Linker"  />       Linker <small>(PHP)</small>
89      </label>
90      <label>
91        <input type="checkbox" name="plugins" value="ImageManager"  />        ImageManager <small>(PHP)</small>
92      </label>
93    </fieldset>
94
95    <label>Number of Editors: <input type="text" name="num" value="1" /></label>
96
97    <input type="submit" value="Show Example" />
98  </form>
99
100</body>
101</html>
Note: See TracBrowser for help on using the repository browser.