From e3a63eb491af1b6eeb00b65d7ab29f37a043a7c7 Mon Sep 17 00:00:00 2001 From: Paolo Date: Wed, 30 Nov 2022 17:27:28 +0100 Subject: [PATCH] - Dropped the Vorlage editor from Vilesci - Removed brutusin/json-forms and kingsquare/json-schema-form - Updated composer.lock - Removed not anymore used files and widgets --- .../system/vorlage/templateLinkDocuments.php | 67 -- .../views/system/vorlage/templates.php | 20 - .../views/system/vorlage/templatesEdit.php | 32 - .../views/system/vorlage/templatesList.php | 38 - .../views/system/vorlage/templatetextEdit.php | 65 -- .../views/system/vorlage/templatetextList.php | 50 -- .../system/vorlage/templatetextPreview.php | 3 - application/views/templates/header.php | 6 - application/views/widgets/jsonforms.php | 10 - application/widgets/jsonforms_widget.php | 47 -- composer.json | 15 - composer.lock | 778 ++++++++++-------- include/tw/vilesci_menu_main.inc.php | 1 - 13 files changed, 423 insertions(+), 709 deletions(-) delete mode 100644 application/views/system/vorlage/templateLinkDocuments.php delete mode 100644 application/views/system/vorlage/templates.php delete mode 100644 application/views/system/vorlage/templatesEdit.php delete mode 100644 application/views/system/vorlage/templatesList.php delete mode 100644 application/views/system/vorlage/templatetextEdit.php delete mode 100644 application/views/system/vorlage/templatetextList.php delete mode 100644 application/views/system/vorlage/templatetextPreview.php delete mode 100644 application/views/widgets/jsonforms.php delete mode 100644 application/widgets/jsonforms_widget.php diff --git a/application/views/system/vorlage/templateLinkDocuments.php b/application/views/system/vorlage/templateLinkDocuments.php deleted file mode 100644 index b9133a874..000000000 --- a/application/views/system/vorlage/templateLinkDocuments.php +++ /dev/null @@ -1,67 +0,0 @@ -load->view('templates/header', array('title' => 'TemplateLinkDocuments', 'tablesort' => true, 'tableid' => 't1', 'sortList' => '2,1', 'headers' => '3:{sorter:false},4:{sorter:false}')); -?> - - - - -

- - - - - - - - - - - - - - - - - - - - - -
IDBezeichnungSortierung
vorlagedokument_id?>bezeichnung?> sort?> löschen
- - - - - - diff --git a/application/views/system/vorlage/templates.php b/application/views/system/vorlage/templates.php deleted file mode 100644 index 7767962ce..000000000 --- a/application/views/system/vorlage/templates.php +++ /dev/null @@ -1,20 +0,0 @@ - - - - - VileSci - Vorlage - - - - - - - - <body bgcolor="#FFFFFF"> - This application works only with a frames-enabled browser.<br /> - <a href="VorlageList">Use without frames</a> - </body> - - - - diff --git a/application/views/system/vorlage/templatesEdit.php b/application/views/system/vorlage/templatesEdit.php deleted file mode 100644 index 8634b34ab..000000000 --- a/application/views/system/vorlage/templatesEdit.php +++ /dev/null @@ -1,32 +0,0 @@ -load->view('templates/header', array('title' => 'VorlageEdit', 'jsoneditor' => true)); -?> -
-
-

Vorlage: vorlage_kurzbz; ?>

-
- Bezeichnung: - Anmerkung:
- - MimeType:widgetlib->widget("mimetype_widget", array('mimetype' => $vorlage->mimetype)); ?> - - Attribute: widgetlib->widget("jsoneditor_widget", array('json' => $vorlage->attribute)); ?> - - - - -
- -
-
- - - - diff --git a/application/views/system/vorlage/templatesList.php b/application/views/system/vorlage/templatesList.php deleted file mode 100644 index 3d517e02d..000000000 --- a/application/views/system/vorlage/templatesList.php +++ /dev/null @@ -1,38 +0,0 @@ -load->view('templates/header', array('title' => 'VorlageList', 'tablesort' => true, 'tableid' => 't1', 'headers' => '4:{sorter:false}')); -?> -
-
-

Vorlagen

-
-MimeType -widgetlib->widget("mimetype_widget", array('mimetype' => $mimetype)); -?> - -
- - - - - - - - - - - - - - - - - - - -
VorlageBezeichnungAnmerkungMimeType
vorlage_kurzbz; ?>bezeichnung; ?>anmerkung; ?>mimetype; ?>Vorlagenexte bearbeiten
-
-
- - diff --git a/application/views/system/vorlage/templatetextEdit.php b/application/views/system/vorlage/templatetextEdit.php deleted file mode 100644 index 42efc1519..000000000 --- a/application/views/system/vorlage/templatetextEdit.php +++ /dev/null @@ -1,65 +0,0 @@ -load->view('templates/header', array('title' => 'VorlageEdit', 'tinymce4' => true, 'jsonforms' => true)); -?> - -
-
-

Vorlagetext:

- -
- - OE: widgetlib->widget( - 'Organisationseinheit_widget', - array( - DropdownWidget::SELECTED_ELEMENT => $oe_kurzbz, - 'typ' => array('Erhalter', 'Studienzentrum', 'Studiengang', 'Lehrgang') - ), - array('name' => 'organisationseinheit', 'id' => 'organisationseinheitDnD') - ); - ?> - Sprache: widgetlib->widget( - 'Sprache_widget', - array(DropdownWidget::SELECTED_ELEMENT => $sprache), - array('name' => 'sprache', 'id' => 'spracheDnD') - ); - ?> - OrgForm: widgetlib->widget( - 'Orgform_widget', - array(DropdownWidget::SELECTED_ELEMENT => $orgform_kurzbz), - array('name' => 'orgform', 'id' => 'orgformDnD') - ); - ?> - Version: - Aktiv: - - - widgetlib->widget("tinymce_widget", array('name' => 'text', 'text' => $text)); - ?> - -
-

Preview-Data

-
- widgetlib->widget("jsonforms_widget", array('id' => 'dataform', 'schema' => $schema)); ?> - - -
-
-
- - - -