openrat-cms

OpenRat Content Management System
git clone http://git.code.weiherhei.de/openrat-cms.git
Log | Files | Refs

commit cfdce39dcf221afa8d044a5906d0f3e8925a15bb
parent f016f168aba0a3401b213fef66cce4abd25f4b2f
Author: Jan Dankert <develop@jandankert.de>
Date:   Thu, 27 Aug 2020 00:32:27 +0200

Cleanup: Remove unused template components page,tree; remove unused action method 'structure'.

Diffstat:
modules/cms/action/FileAction.class.php | 56--------------------------------------------------------
modules/cms/action/FolderAction.class.php | 64----------------------------------------------------------------
modules/cms/action/LanguageAction.class.php | 30------------------------------
modules/cms/action/LinkAction.class.php | 58----------------------------------------------------------
modules/cms/action/PageAction.class.php | 65-----------------------------------------------------------------
modules/cms/action/PageelementAction.class.php | 24------------------------
modules/cms/action/UrlAction.class.php | 61-------------------------------------------------------------
modules/cms/ui/themes/default/html/views/file/structure.php | 7-------
modules/cms/ui/themes/default/html/views/file/structure.tpl.src.xml | 8--------
modules/cms/ui/themes/default/html/views/folder/structure.php | 7-------
modules/cms/ui/themes/default/html/views/folder/structure.tpl.src.xml | 8--------
modules/cms/ui/themes/default/html/views/image/structure.php | 7-------
modules/cms/ui/themes/default/html/views/image/structure.tpl.src.xml | 8--------
modules/cms/ui/themes/default/html/views/language/structure.php | 7-------
modules/cms/ui/themes/default/html/views/language/structure.tpl.src.xml | 8--------
modules/cms/ui/themes/default/html/views/link/structure.php | 7-------
modules/cms/ui/themes/default/html/views/link/structure.tpl.src.xml | 8--------
modules/cms/ui/themes/default/html/views/model/structure.php | 7-------
modules/cms/ui/themes/default/html/views/model/structure.tpl.src.xml | 8--------
modules/cms/ui/themes/default/html/views/page/structure.php | 7-------
modules/cms/ui/themes/default/html/views/page/structure.tpl.src.xml | 8--------
modules/cms/ui/themes/default/html/views/pageelement/structure.php | 8--------
modules/cms/ui/themes/default/html/views/pageelement/structure.tpl.src.xml | 9---------
modules/cms/ui/themes/default/html/views/text/structure.php | 7-------
modules/cms/ui/themes/default/html/views/text/structure.tpl.src.xml | 8--------
modules/cms/ui/themes/default/html/views/tree/content.php | 4----
modules/cms/ui/themes/default/html/views/tree/content.tpl.src.xml | 5-----
modules/cms/ui/themes/default/html/views/url/structure.php | 7-------
modules/cms/ui/themes/default/html/views/url/structure.tpl.src.xml | 8--------
modules/template_engine/components/components.ini | 2--
modules/template_engine/components/html/page/Page.class.php | 16----------------
modules/template_engine/components/html/tree/Tree.class.php | 23-----------------------
modules/template_engine/components/html/tree/component-tree.php | 34----------------------------------
modules/template_engine/components/html/tree/tree.js | 8--------
modules/template_engine/components/template.xsd | 153-------------------------------------------------------------------------------
35 files changed, 0 insertions(+), 755 deletions(-)

diff --git a/modules/cms/action/FileAction.class.php b/modules/cms/action/FileAction.class.php @@ -596,62 +596,6 @@ class FileAction extends ObjectAction - /** - * Liefert die Struktur zu diesem Ordner: - * - Mit den übergeordneten Ordnern und - * - den in diesem Ordner enthaltenen Objekten - * - * Beispiel: - * <pre> - * - A - * - B - * - C (dieser Ordner) - * - Unterordner - * - Seite - * - Seite - * - Datei - * </pre> - */ - public function structureView() - { - - $structure = array(); - $tmp = &$structure; - $nr = 0; - - $folder = new Folder( $this->file->parentid ); - $parents = $folder->parentObjectNames(false,true); - - foreach( $parents as $id=>$name) - { - unset($children); - unset($o); - $children = array(); - $o = array('id'=>$id,'name'=>$name,'type'=>'folder','level'=>++$nr,'children'=>&$children); - - $tmp[$id] = &$o;; - - unset($tmp); - - $tmp = &$children; - } - - - - unset($children); - unset($id); - unset($name); - - $elementChildren = array(); - - $tmp[ $this->file->objectid ] = array('id'=>$this->file->objectid,'name'=>$this->file->name,'type'=>'file','self'=>true,'children'=>&$elementChildren); - - - //Html::debug($structure); - - $this->setTemplateVar('outline',$structure); - } - public function removeView() { diff --git a/modules/cms/action/FolderAction.class.php b/modules/cms/action/FolderAction.class.php @@ -1257,70 +1257,6 @@ class FolderAction extends ObjectAction - /** - * Liefert die Struktur zu diesem Ordner: - * - Mit den übergeordneten Ordnern und - * - den in diesem Ordner enthaltenen Objekten - * - * Beispiel: - * <pre> - * - A - * - B - * - C (dieser Ordner) - * - Unterordner - * - Seite - * - Seite - * - Datei - * </pre> - */ - public function structureView() - { - - $structure = array(); - $tmp = &$structure; - $nr = 0; - - $parents = $this->folder->parentObjectNames(false,true); - - foreach( $parents as $id=>$name) - { - //Html::debug($name,"Name"); - - unset($children); - unset($o); - $children = array(); - $o = array('id'=>$id,'name'=>$name,'type'=>'folder','level'=>++$nr,'children'=>&$children); - - if ( $id == $this->folder->objectid) - $o['self'] = true; - - $tmp[$id] = &$o;; - - unset($tmp); - - $tmp = &$children; - } - - - $contents = $this->folder->getObjects(); - - unset($children); - unset($o); - - $children = array(); - foreach( $contents as $o ) - { - /* @var $o BaseObject */ - $children[$o->objectid] = array('id'=>$o->objectid,'name'=>$o->name,'type'=>$o->getType()); - } - $tmp+= $children; - - //Html::debug($structure); - - $this->setTemplateVar('outline',$structure); - } - - public function pubView() { // Schalter nur anzeigen, wenn sinnvoll diff --git a/modules/cms/action/LanguageAction.class.php b/modules/cms/action/LanguageAction.class.php @@ -135,34 +135,4 @@ class LanguageAction extends BaseAction - /** - * Liefert die Struktur zu diesem Ordner: - * - Mit den übergeordneten Ordnern und - * - den in diesem Ordner enthaltenen Objekten - * - * Beispiel: - * <pre> - * - A - * - B - * - C (dieser Ordner) - * - Unterordner - * - Seite - * - Seite - * - Datei - * </pre> - */ - public function structureView() - { - $structure = array(); - $languagelistChildren = array(); - - $structure[0] = array('id'=>'0','name'=>lang('LANGUAGES'),'type'=>'languagelist','level'=>1,'children'=>&$languagelistChildren); - - $languagelistChildren[ $this->language->languageid ] = array('id'=>$this->language->languageid,'name'=>$this->language->name,'type'=>'language','self'=>true); - - - //Html::debug($structure); - - $this->setTemplateVar('outline',$structure); - } } \ No newline at end of file diff --git a/modules/cms/action/LinkAction.class.php b/modules/cms/action/LinkAction.class.php @@ -98,64 +98,6 @@ class LinkAction extends ObjectAction - /** - * Liefert die Struktur zu diesem Ordner: - * - Mit den übergeordneten Ordnern und - * - den in diesem Ordner enthaltenen Objekten - * - * Beispiel: - * <pre> - * - A - * - B - * - C (dieser Ordner) - * - Unterordner - * - Seite - * - Seite - * - Datei - * </pre> - */ - public function structureView() - { - - $structure = array(); - $tmp = &$structure; - $nr = 0; - - $folder = new Folder( $this->link->parentid ); - $parents = $folder->parentObjectNames(false,true); - - foreach( $parents as $id=>$name) - { - unset($children); - unset($o); - $children = array(); - $o = array('id'=>$id,'name'=>$name,'type'=>'folder','level'=>++$nr,'children'=>&$children); - - $tmp[$id] = &$o;; - - unset($tmp); - - $tmp = &$children; - } - - - - unset($children); - unset($id); - unset($name); - - $elementChildren = array(); - - $tmp[ $this->link->objectid ] = array('id'=>$this->link->objectid,'name'=>$this->link->name,'type'=>'link','self'=>true,'children'=>&$elementChildren); - - // - //$elementChildren[$id] = array('id'=>$this->page->objectid.'_'.$id,'name'=>$name,'type'=>'pageelement','children'=>array() ); - - //Html::debug($structure); - - $this->setTemplateVar('outline',$structure); - } - public function removeView() { $this->setTemplateVar( 'name',$this->link->filename ); diff --git a/modules/cms/action/PageAction.class.php b/modules/cms/action/PageAction.class.php @@ -809,71 +809,6 @@ class PageAction extends ObjectAction } - /** - * Liefert die Struktur zu diesem Ordner: - * - Mit den übergeordneten Ordnern und - * - den in diesem Ordner enthaltenen Objekten - * - * Beispiel: - * <pre> - * - A - * - B - * - C (dieser Ordner) - * - Unterordner - * - Seite - * - Seite - * - Datei - * </pre> - */ - public function structureView() - { - - $structure = array(); - $tmp = &$structure; - $nr = 0; - - $folder = new Folder( $this->page->parentid ); - $parents = $folder->parentObjectNames(false,true); - - foreach( $parents as $id=>$name) - { - unset($children); - unset($o); - $children = array(); - $o = array('id'=>$id,'name'=>$name,'type'=>'folder','level'=>++$nr,'children'=>&$children); - - $tmp[$id] = &$o;; - - unset($tmp); - - $tmp = &$children; - } - - - - unset($children); - unset($id); - unset($name); - - $elementChildren = array(); - - $tmp[ $this->page->objectid ] = array('id'=>$this->page->objectid,'name'=>$this->page->name,'type'=>'page','self'=>true,'children'=>&$elementChildren); - - $template = new Template( $this->page->templateid ); - $elements = $template->getElementNames(); - - foreach( $elements as $id=>$name ) - { - $elementChildren[$id] = array('id'=>$this->page->objectid.'_'.$id,'name'=>$name,'type'=>'pageelement','children'=>array() ); - } - - //Html::debug($structure); - - $this->setTemplateVar('outline',$structure); - } - - - public function removeView() { diff --git a/modules/cms/action/PageelementAction.class.php b/modules/cms/action/PageelementAction.class.php @@ -198,30 +198,6 @@ class PageelementAction extends BaseAction } - - /** - * Anzeigen des Element-Inhaltes. - */ - public function structureView() - { - $this->value->languageid = $this->page->languageid; - $this->value->objectid = $this->page->objectid; - $this->value->pageid = $this->page->pageid; - $this->value->page = $this->page; - $this->value->simple = false; - $this->value->element = &$this->element; - $this->value->element->load(); - $this->value->load(); - - if ( $this->value->element->type == 'longtext' && $this->value->element->wiki ) - { - $this->setTemplateVar('text',$this->value->text); - } - - } - - - /** * Normaler Editiermodus. * diff --git a/modules/cms/action/UrlAction.class.php b/modules/cms/action/UrlAction.class.php @@ -131,67 +131,6 @@ class UrlAction extends ObjectAction } - - - /** - * Liefert die Struktur zu diesem Ordner: - * - Mit den übergeordneten Ordnern und - * - den in diesem Ordner enthaltenen Objekten - * - * Beispiel: - * <pre> - * - A - * - B - * - C (dieser Ordner) - * - Unterordner - * - Seite - * - Seite - * - Datei - * </pre> - */ - public function structureView() - { - - $structure = array(); - $tmp = &$structure; - $nr = 0; - - $folder = new Folder( $this->url->parentid ); - $parents = $folder->parentObjectNames(false,true); - - foreach( $parents as $id=>$name) - { - unset($children); - unset($o); - $children = array(); - $o = array('id'=>$id,'name'=>$name,'type'=>'folder','level'=>++$nr,'children'=>&$children); - - $tmp[$id] = &$o;; - - unset($tmp); - - $tmp = &$children; - } - - - - unset($children); - unset($id); - unset($name); - - $elementChildren = array(); - - $tmp[ $this->url->objectid ] = array('id'=>$this->url->objectid,'name'=>$this->url->name,'type'=>'url','self'=>true,'children'=>&$elementChildren); - - // - //$elementChildren[$id] = array('id'=>$this->page->objectid.'_'.$id,'name'=>$name,'type'=>'pageelement','children'=>array() ); - - //Html::debug($structure); - - $this->setTemplateVar('outline',$structure); - } - - public function showView() { // Angabe Content-Type diff --git a/modules/cms/ui/themes/default/html/views/file/structure.php b/modules/cms/ui/themes/default/html/views/file/structure.php @@ -1,6 +0,0 @@ -<?php if (defined('OR_TITLE')) { ?> - - <div class="<?php echo escapeHtml('structure tree') ?>"><?php echo escapeHtml('') ?> - <?php echo escapeHtml('') ?> - </div> - <?php } ?>- \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/file/structure.tpl.src.xml b/modules/cms/ui/themes/default/html/views/file/structure.tpl.src.xml @@ -1,7 +0,0 @@ -<output xmlns="http://www.openrat.de/template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.openrat.de/template ../../../../../../../template_engine/components/template.xsd"> - <part class="structure tree"> - <tree tree="${outline}"></tree> - </part> - -</output>- \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/folder/structure.php b/modules/cms/ui/themes/default/html/views/folder/structure.php @@ -1,6 +0,0 @@ -<?php if (defined('OR_TITLE')) { ?> - - <div class="<?php echo escapeHtml('structure tree') ?>"><?php echo escapeHtml('') ?> - <?php echo escapeHtml('') ?> - </div> - <?php } ?>- \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/folder/structure.tpl.src.xml b/modules/cms/ui/themes/default/html/views/folder/structure.tpl.src.xml @@ -1,7 +0,0 @@ -<output xmlns="http://www.openrat.de/template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.openrat.de/template ../../../../../../../template_engine/components/template.xsd"> - <part class="structure tree"> - <tree tree="${outline}"></tree> - </part> - -</output>- \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/image/structure.php b/modules/cms/ui/themes/default/html/views/image/structure.php @@ -1,6 +0,0 @@ -<?php if (defined('OR_TITLE')) { ?> - - <div class="<?php echo escapeHtml('structure tree') ?>"><?php echo escapeHtml('') ?> - <?php echo escapeHtml('') ?> - </div> - <?php } ?>- \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/image/structure.tpl.src.xml b/modules/cms/ui/themes/default/html/views/image/structure.tpl.src.xml @@ -1,7 +0,0 @@ -<output xmlns="http://www.openrat.de/template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.openrat.de/template ../../../../../../../template_engine/components/template.xsd"> - <part class="structure tree"> - <tree tree="${outline}"></tree> - </part> - -</output>- \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/language/structure.php b/modules/cms/ui/themes/default/html/views/language/structure.php @@ -1,6 +0,0 @@ -<?php if (defined('OR_TITLE')) { ?> - - <div class="<?php echo escapeHtml('structure tree') ?>"><?php echo escapeHtml('') ?> - <?php echo escapeHtml('') ?> - </div> - <?php } ?>- \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/language/structure.tpl.src.xml b/modules/cms/ui/themes/default/html/views/language/structure.tpl.src.xml @@ -1,7 +0,0 @@ -<output xmlns="http://www.openrat.de/template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.openrat.de/template ../../../../../../../template_engine/components/template.xsd"> - <part class="structure tree"> - <tree tree="${outline}"></tree> - </part> - -</output>- \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/link/structure.php b/modules/cms/ui/themes/default/html/views/link/structure.php @@ -1,6 +0,0 @@ -<?php if (defined('OR_TITLE')) { ?> - - <div class="<?php echo escapeHtml('structure tree') ?>"><?php echo escapeHtml('') ?> - <?php echo escapeHtml('') ?> - </div> - <?php } ?>- \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/link/structure.tpl.src.xml b/modules/cms/ui/themes/default/html/views/link/structure.tpl.src.xml @@ -1,7 +0,0 @@ -<output xmlns="http://www.openrat.de/template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.openrat.de/template ../../../../../../../template_engine/components/template.xsd"> - <part class="structure tree"> - <tree tree="${outline}"></tree> - </part> - -</output>- \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/model/structure.php b/modules/cms/ui/themes/default/html/views/model/structure.php @@ -1,6 +0,0 @@ -<?php if (defined('OR_TITLE')) { ?> - - <div class="<?php echo escapeHtml('structure tree') ?>"><?php echo escapeHtml('') ?> - <?php echo escapeHtml('') ?> - </div> - <?php } ?>- \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/model/structure.tpl.src.xml b/modules/cms/ui/themes/default/html/views/model/structure.tpl.src.xml @@ -1,7 +0,0 @@ -<output xmlns="http://www.openrat.de/template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.openrat.de/template ../../../../../../../template_engine/components/template.xsd"> - <part class="structure tree"> - <tree tree="${outline}"></tree> - </part> - -</output>- \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/page/structure.php b/modules/cms/ui/themes/default/html/views/page/structure.php @@ -1,6 +0,0 @@ -<?php if (defined('OR_TITLE')) { ?> - - <div class="<?php echo escapeHtml('structure tree') ?>"><?php echo escapeHtml('') ?> - <?php echo escapeHtml('') ?> - </div> - <?php } ?>- \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/page/structure.tpl.src.xml b/modules/cms/ui/themes/default/html/views/page/structure.tpl.src.xml @@ -1,7 +0,0 @@ -<output xmlns="http://www.openrat.de/template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.openrat.de/template ../../../../../../../template_engine/components/template.xsd"> - <part class="structure tree"> - <tree tree="${outline}"></tree> - </part> - -</output>- \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/pageelement/structure.php b/modules/cms/ui/themes/default/html/views/pageelement/structure.php @@ -1,7 +0,0 @@ -<?php if (defined('OR_TITLE')) { ?> - - <?php $if1=(isset($text)); if($if1) { ?> - <div class="<?php echo escapeHtml('structure') ?>"><?php echo escapeHtml('') ?> - </div> - <?php } ?> - <?php } ?>- \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/pageelement/structure.tpl.src.xml b/modules/cms/ui/themes/default/html/views/pageelement/structure.tpl.src.xml @@ -1,8 +0,0 @@ -<output xmlns="http://www.openrat.de/template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.openrat.de/template ../../../../../../../template_engine/components/template.xsd"> - <if present="text"> - <part class="structure"> - <!--<editor type="dom" name="text"></editor>--> - </part> - </if> -</output>- \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/text/structure.php b/modules/cms/ui/themes/default/html/views/text/structure.php @@ -1,6 +0,0 @@ -<?php if (defined('OR_TITLE')) { ?> - - <div class="<?php echo escapeHtml('structure tree') ?>"><?php echo escapeHtml('') ?> - <?php echo escapeHtml('') ?> - </div> - <?php } ?>- \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/text/structure.tpl.src.xml b/modules/cms/ui/themes/default/html/views/text/structure.tpl.src.xml @@ -1,7 +0,0 @@ -<output xmlns="http://www.openrat.de/template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.openrat.de/template ../../../../../../../template_engine/components/template.xsd"> - <part class="structure tree"> - <tree tree="${outline}"></tree> - </part> - -</output>- \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/tree/content.php b/modules/cms/ui/themes/default/html/views/tree/content.php @@ -1,3 +0,0 @@ -<?php if (defined('OR_TITLE')) { ?> - - <?php } ?>- \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/tree/content.tpl.src.xml b/modules/cms/ui/themes/default/html/views/tree/content.tpl.src.xml @@ -1,4 +0,0 @@ -<output xmlns="http://www.openrat.de/template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.openrat.de/template ../../../../../../../template_engine/components/template.xsd"> - -</output>- \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/url/structure.php b/modules/cms/ui/themes/default/html/views/url/structure.php @@ -1,6 +0,0 @@ -<?php if (defined('OR_TITLE')) { ?> - - <div class="<?php echo escapeHtml('structure tree') ?>"><?php echo escapeHtml('') ?> - <?php echo escapeHtml('') ?> - </div> - <?php } ?>- \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/url/structure.tpl.src.xml b/modules/cms/ui/themes/default/html/views/url/structure.tpl.src.xml @@ -1,7 +0,0 @@ -<output xmlns="http://www.openrat.de/template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.openrat.de/template ../../../../../../../template_engine/components/template.xsd"> - <part class="structure tree"> - <tree tree="${outline}"></tree> - </part> - -</output>- \ No newline at end of file diff --git a/modules/template_engine/components/components.ini b/modules/template_engine/components/components.ini @@ -13,7 +13,6 @@ set = checkbox = input = insert = -page = date = if = qrcode = @@ -34,4 +33,3 @@ password = form = upload = output = -tree = diff --git a/modules/template_engine/components/html/page/Page.class.php b/modules/template_engine/components/html/page/Page.class.php @@ -1,16 +0,0 @@ -<?php - -namespace template_engine\components; - -use template_engine\components\html\Component; -use template_engine\element\Element; - -class PageComponent extends Component -{ - public function createElement() - { - // No content. - return new Element(null ); - } -} - diff --git a/modules/template_engine/components/html/tree/Tree.class.php b/modules/template_engine/components/html/tree/Tree.class.php @@ -1,22 +0,0 @@ -<?php - -namespace template_engine\components; - -use template_engine\components\html\Component; -use template_engine\element\CMSElement; - -class TreeComponent extends Component -{ - public $tree; - - public function createElement() - { - return new CMSElement(null); - } - - public function unsed__begin() - { - parent::includeResource('tree/component-tree.php'); - echo '<?php component_tree('.$this->value($this->tree).') ?>'; - } -}- \ No newline at end of file diff --git a/modules/template_engine/components/html/tree/component-tree.php b/modules/template_engine/components/html/tree/component-tree.php @@ -1,33 +0,0 @@ -<?php - -function component_tree( $contents ) -{ - echo '<ul class="tree">'; - foreach( $contents as $key=>$el) { - - $selected = isset($el['self']); - if ($selected ) - echo '<li class="">'; - else - echo '<li>'; - - echo '<div class="tree" />'; - echo '<div class="entry clickable'.($selected?' selected':'').'"'; - echo ' data-name="'.$el['name'].'"'; - echo ' data-action="'.$el['type'].'"'; - echo ' data-id="'.$el['id'].'"'; - echo '>'; - echo '<img src="'.OR_THEMES_DIR.'default/images/icon_'.$el['type'].'.png" />'; - echo $el['name']; - echo '</div>'; - - if ( isset($el['children']) ) - { - component_tree($el['children'] ); - } - - echo '</li>'; - } - echo '</ul>'; -} -?>- \ No newline at end of file diff --git a/modules/template_engine/components/html/tree/tree.js b/modules/template_engine/components/html/tree/tree.js @@ -1,7 +0,0 @@ -// View loaded... -Openrat.Workbench.afterViewLoadedHandler.add( function(element ) { - - - // Clickable. - // done by link.js -});- \ No newline at end of file diff --git a/modules/template_engine/components/template.xsd b/modules/template_engine/components/template.xsd @@ -20,7 +20,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -41,7 +40,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="types" type="xsd:string"/> <xsd:attribute name="name" type="xsd:string"/> @@ -67,7 +65,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -88,7 +85,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="title" type="xsd:string"/> <xsd:attribute name="type" type="xsd:string"/> @@ -115,7 +111,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -136,7 +131,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="name" type="xsd:string"/> <xsd:attribute name="request" type="xsd:string"/> @@ -158,7 +152,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -179,7 +172,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="file" type="xsd:string"/> <xsd:attribute name="request" type="xsd:string"/> @@ -201,7 +193,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -222,7 +213,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="request" type="xsd:string"/> </xsd:complexType> @@ -243,7 +233,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -264,7 +253,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="for" type="xsd:string"/> <xsd:attribute name="value" type="xsd:string"/> @@ -289,7 +277,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -310,7 +297,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="type" type="xsd:string"/> <xsd:attribute name="name" type="xsd:string"/> @@ -339,7 +325,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -360,7 +345,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="request" type="xsd:string"/> </xsd:complexType> @@ -381,7 +365,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -402,7 +385,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="var1" type="xsd:string"/> <xsd:attribute name="var2" type="xsd:string"/> @@ -448,7 +430,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -469,7 +450,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="readonly" type="xsd:boolean"/> <xsd:attribute name="value" type="xsd:string"/> @@ -500,7 +480,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -521,7 +500,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="var" type="xsd:string"/> <xsd:attribute name="value" type="xsd:string"/> @@ -545,7 +523,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -566,7 +543,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="default" type="xsd:boolean"/> <xsd:attribute name="name" type="xsd:string"/> @@ -592,7 +568,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -613,7 +588,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="default" type="xsd:string"/> <xsd:attribute name="type" type="xsd:string"/> @@ -651,7 +625,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -672,55 +645,12 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="name" type="xsd:string"/> <xsd:attribute name="url" type="xsd:string"/> <xsd:attribute name="function" type="xsd:string"/> <xsd:attribute name="request" type="xsd:string"/> </xsd:complexType> - <xsd:element name="page" type="pageType"/> - <xsd:complexType name="pageType"> - <xsd:choice maxOccurs="unbounded" minOccurs="0"> - <xsd:element ref="selector" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="text" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="logo" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="include" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="else" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="label" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="editor" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="newline" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="link" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="radio" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="set" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="list" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="table" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="inputarea" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="part" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="user" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="selectbox" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="column" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="radiobox" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="image" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="hidden" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="row" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="group" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="button" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="password" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> - </xsd:choice> - <xsd:attribute name="request" type="xsd:string"/> - </xsd:complexType> <xsd:element name="date" type="dateType"/> <xsd:complexType name="dateType"> <xsd:choice maxOccurs="unbounded" minOccurs="0"> @@ -738,7 +668,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -759,7 +688,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="date" type="xsd:string"/> <xsd:attribute name="request" type="xsd:string"/> @@ -781,7 +709,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -802,7 +729,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="true" type="xsd:string"/> <xsd:attribute name="false" type="xsd:string"/> @@ -833,7 +759,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -854,7 +779,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="value" type="xsd:string"/> <xsd:attribute name="request" type="xsd:string"/> @@ -876,7 +800,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -897,7 +820,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="list" type="xsd:string"/> <xsd:attribute name="extract" type="xsd:boolean"/> @@ -922,7 +844,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -943,7 +864,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="filter" type="xsd:boolean"/> <xsd:attribute name="width" type="xsd:string"/> @@ -967,7 +887,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -988,7 +907,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="rows" type="xsd:int"/> <xsd:attribute name="cols" type="xsd:int"/> @@ -1022,7 +940,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -1043,7 +960,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="class" type="xsd:string"/> <xsd:attribute name="id" type="xsd:string"/> @@ -1066,7 +982,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -1087,7 +1002,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="user" type="xsd:string"/> <xsd:attribute name="id" type="xsd:string"/> @@ -1110,7 +1024,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -1131,7 +1044,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="list" type="xsd:string"/> <xsd:attribute name="name" type="xsd:string"/> @@ -1162,7 +1074,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -1183,7 +1094,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="width" type="xsd:string"/> <xsd:attribute name="style" type="xsd:string"/> @@ -1215,7 +1125,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -1236,7 +1145,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="list" type="xsd:string"/> <xsd:attribute name="name" type="xsd:string"/> @@ -1263,7 +1171,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -1284,7 +1191,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="class" type="xsd:string"/> <xsd:attribute name="menu" type="xsd:string"/> @@ -1320,7 +1226,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -1341,7 +1246,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="default" type="xsd:string"/> <xsd:attribute name="prefix" type="xsd:string"/> @@ -1367,7 +1271,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -1388,7 +1291,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="class" type="xsd:string"/> <xsd:attribute name="id" type="xsd:string"/> @@ -1411,7 +1313,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -1432,7 +1333,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="open" type="xsd:boolean"/> <xsd:attribute name="show" type="xsd:boolean"/> @@ -1457,7 +1357,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -1478,7 +1377,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="type" type="xsd:string"/> <xsd:attribute name="class" type="xsd:string"/> @@ -1504,7 +1402,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -1525,7 +1422,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="default" type="xsd:string"/> <xsd:attribute name="size" type="xsd:int"/> @@ -1553,7 +1449,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -1574,7 +1469,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="method" type="xsd:string"/> <xsd:attribute name="name" type="xsd:string"/> @@ -1612,7 +1506,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -1633,7 +1526,6 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="size" type="xsd:int"/> <xsd:attribute name="name" type="xsd:string"/> @@ -1659,7 +1551,6 @@ <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> @@ -1680,51 +1571,7 @@ <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> </xsd:choice> <xsd:attribute name="request" type="xsd:string"/> </xsd:complexType> - <xsd:element name="tree" type="treeType"/> - <xsd:complexType name="treeType"> - <xsd:choice maxOccurs="unbounded" minOccurs="0"> - <xsd:element ref="selector" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="text" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="logo" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="include" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="else" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="label" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="editor" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="newline" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="link" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="radio" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="set" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="checkbox" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="input" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="insert" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="page" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="date" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="qrcode" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="list" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="table" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="inputarea" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="part" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="user" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="selectbox" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="column" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="radiobox" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="image" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="hidden" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="row" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="group" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="button" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="password" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="form" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="upload" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="output" maxOccurs="unbounded" minOccurs="0"/> - <xsd:element ref="tree" maxOccurs="unbounded" minOccurs="0"/> - </xsd:choice> - <xsd:attribute name="tree" type="xsd:string"/> - <xsd:attribute name="request" type="xsd:string"/> - </xsd:complexType> </xsd:schema> \ No newline at end of file