openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 0ecbd81c039ad6c2b760dcbad9c1c14e3c175ba7
parent d36cb30b5403f1e1659686c716a834e05b2591d1
Author: Jan Dankert <devnull@localhost>
Date:   Wed, 14 Nov 2018 22:18:10 +0100

Die Templates sind schon seit längeren in den Ordner "views" gewandert.

Diffstat:
modules/cms-ui/themes/default/include/.htaccess | 11-----------
modules/cms-ui/themes/default/include/elements.ini.php | 43-------------------------------------------
modules/cms-ui/themes/default/templates/.htaccess | 3---
modules/cms-ui/themes/default/templates/configuration/show.tpl.out.php | 28----------------------------
modules/cms-ui/themes/default/templates/configuration/show.tpl.src.xml | 24------------------------
modules/cms-ui/themes/default/templates/element/advanced.tpl.out.php | 20--------------------
modules/cms-ui/themes/default/templates/element/advanced.tpl.src.xml | 18------------------
modules/cms-ui/themes/default/templates/element/edit.tpl.out.php | 28----------------------------
modules/cms-ui/themes/default/templates/element/edit.tpl.src.xml | 25-------------------------
modules/cms-ui/themes/default/templates/element/info.tpl.out.php | 0
modules/cms-ui/themes/default/templates/element/info.tpl.src.xml | 22----------------------
modules/cms-ui/themes/default/templates/element/name.tpl.out.php | 0
modules/cms-ui/themes/default/templates/element/name.tpl.src.xml | 32--------------------------------
modules/cms-ui/themes/default/templates/element/prop.tpl.out.php | 326-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/element/prop.tpl.src.xml | 244-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/element/properties.tpl.out.php | 0
modules/cms-ui/themes/default/templates/element/properties.tpl.src.xml | 235-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/element/remove.tpl.out.php | 70----------------------------------------------------------------------
modules/cms-ui/themes/default/templates/element/remove.tpl.src.xml | 49-------------------------------------------------
modules/cms-ui/themes/default/templates/file/compress.tpl.out.php | 36------------------------------------
modules/cms-ui/themes/default/templates/file/edit.tpl.out.php | 22----------------------
modules/cms-ui/themes/default/templates/file/extract.tpl.out.php | 18------------------
modules/cms-ui/themes/default/templates/file/info.tpl.out.php | 198-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/file/preview.tpl.out.php | 11-----------
modules/cms-ui/themes/default/templates/file/prop.tpl.out.php | 56--------------------------------------------------------
modules/cms-ui/themes/default/templates/file/pub.tpl.out.php | 0
modules/cms-ui/themes/default/templates/file/remove.tpl.out.php | 0
modules/cms-ui/themes/default/templates/file/show.tpl.out.php | 0
modules/cms-ui/themes/default/templates/file/structure.tpl.out.php | 8--------
modules/cms-ui/themes/default/templates/file/uncompress.tpl.out.php | 30------------------------------
modules/cms-ui/themes/default/templates/file/value.tpl.out.php | 36------------------------------------
modules/cms-ui/themes/default/templates/filebrowser/browse.tpl.out.php | 0
modules/cms-ui/themes/default/templates/filebrowser/browse.tpl.src.xml | 49-------------------------------------------------
modules/cms-ui/themes/default/templates/folder/content.tpl.out.php | 0
modules/cms-ui/themes/default/templates/folder/content.tpl.src.xml | 78------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/folder/create.tpl.out.php | 108-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/folder/create.tpl.src.xml | 101-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/folder/createfile.tpl.out.php | 72------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/folder/createfile.tpl.src.xml | 66------------------------------------------------------------------
modules/cms-ui/themes/default/templates/folder/createfolder.tpl.out.php | 28----------------------------
modules/cms-ui/themes/default/templates/folder/createfolder.tpl.src.xml | 24------------------------
modules/cms-ui/themes/default/templates/folder/createlink.tpl.out.php | 32--------------------------------
modules/cms-ui/themes/default/templates/folder/createlink.tpl.src.xml | 32--------------------------------
modules/cms-ui/themes/default/templates/folder/createpage.tpl.out.php | 38--------------------------------------
modules/cms-ui/themes/default/templates/folder/createpage.tpl.src.xml | 37-------------------------------------
modules/cms-ui/themes/default/templates/folder/createurl.tpl.out.php | 42------------------------------------------
modules/cms-ui/themes/default/templates/folder/createurl.tpl.src.xml | 41-----------------------------------------
modules/cms-ui/themes/default/templates/folder/edit.tpl.out.php | 210-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/folder/edit.tpl.src.xml | 137-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/folder/info.tpl.out.php | 98-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/folder/info.tpl.src.xml | 83-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/folder/inherit.tpl.out.php | 0
modules/cms-ui/themes/default/templates/folder/inherit.tpl.src.xml | 23-----------------------
modules/cms-ui/themes/default/templates/folder/order.tpl.out.php | 58----------------------------------------------------------
modules/cms-ui/themes/default/templates/folder/order.tpl.src.xml | 48------------------------------------------------
modules/cms-ui/themes/default/templates/folder/preview.tpl.out.php | 58----------------------------------------------------------
modules/cms-ui/themes/default/templates/folder/preview.tpl.src.xml | 48------------------------------------------------
modules/cms-ui/themes/default/templates/folder/prop.tpl.out.php | 38--------------------------------------
modules/cms-ui/themes/default/templates/folder/prop.tpl.src.xml | 33---------------------------------
modules/cms-ui/themes/default/templates/folder/pub.tpl.out.php | 130-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/folder/pub.tpl.src.xml | 78------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/folder/remove.tpl.out.php | 0
modules/cms-ui/themes/default/templates/folder/remove.tpl.src.xml | 4----
modules/cms-ui/themes/default/templates/folder/show.tpl.out.php | 0
modules/cms-ui/themes/default/templates/folder/show.tpl.src.xml | 78------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/folder/structure.tpl.out.php | 8--------
modules/cms-ui/themes/default/templates/folder/structure.tpl.src.xml | 8--------
modules/cms-ui/themes/default/templates/group/add.tpl.out.php | 0
modules/cms-ui/themes/default/templates/group/add.tpl.src.xml | 4----
modules/cms-ui/themes/default/templates/group/edit.tpl.out.php | 20--------------------
modules/cms-ui/themes/default/templates/group/edit.tpl.src.xml | 17-----------------
modules/cms-ui/themes/default/templates/group/listing.tpl.out.php | 0
modules/cms-ui/themes/default/templates/group/listing.tpl.src.xml | 27---------------------------
modules/cms-ui/themes/default/templates/group/memberships.tpl.out.php | 52----------------------------------------------------
modules/cms-ui/themes/default/templates/group/memberships.tpl.src.xml | 32--------------------------------
modules/cms-ui/themes/default/templates/group/remove.tpl.out.php | 0
modules/cms-ui/themes/default/templates/group/remove.tpl.src.xml | 4----
modules/cms-ui/themes/default/templates/group/rights.tpl.out.php | 103-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/group/rights.tpl.src.xml | 74--------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/grouplist/add.tpl.out.php | 0
modules/cms-ui/themes/default/templates/grouplist/add.tpl.src.xml | 14--------------
modules/cms-ui/themes/default/templates/grouplist/show.tpl.out.php | 35-----------------------------------
modules/cms-ui/themes/default/templates/grouplist/show.tpl.src.xml | 28----------------------------
modules/cms-ui/themes/default/templates/image/compress.tpl.out.php | 0
modules/cms-ui/themes/default/templates/image/compress.tpl.src.xml | 27---------------------------
modules/cms-ui/themes/default/templates/image/edit.tpl.out.php | 22----------------------
modules/cms-ui/themes/default/templates/image/edit.tpl.src.xml | 16----------------
modules/cms-ui/themes/default/templates/image/extract.tpl.out.php | 0
modules/cms-ui/themes/default/templates/image/extract.tpl.src.xml | 4----
modules/cms-ui/themes/default/templates/image/info.tpl.out.php | 190-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/image/info.tpl.src.xml | 150-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/image/preview.tpl.out.php | 6------
modules/cms-ui/themes/default/templates/image/preview.tpl.src.xml | 6------
modules/cms-ui/themes/default/templates/image/prop.tpl.out.php | 56--------------------------------------------------------
modules/cms-ui/themes/default/templates/image/prop.tpl.src.xml | 48------------------------------------------------
modules/cms-ui/themes/default/templates/image/pub.tpl.out.php | 0
modules/cms-ui/themes/default/templates/image/pub.tpl.src.xml | 26--------------------------
modules/cms-ui/themes/default/templates/image/remove.tpl.out.php | 0
modules/cms-ui/themes/default/templates/image/remove.tpl.src.xml | 4----
modules/cms-ui/themes/default/templates/image/show.tpl.out.php | 0
modules/cms-ui/themes/default/templates/image/show.tpl.src.xml | 4----
modules/cms-ui/themes/default/templates/image/size.tpl.out.php | 114-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/image/size.tpl.src.xml | 83-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/image/structure.tpl.out.php | 8--------
modules/cms-ui/themes/default/templates/image/structure.tpl.src.xml | 8--------
modules/cms-ui/themes/default/templates/image/uncompress.tpl.out.php | 0
modules/cms-ui/themes/default/templates/image/uncompress.tpl.src.xml | 23-----------------------
modules/cms-ui/themes/default/templates/image/value.tpl.out.php | 28----------------------------
modules/cms-ui/themes/default/templates/image/value.tpl.src.xml | 23-----------------------
modules/cms-ui/themes/default/templates/language/add.tpl.out.php | 0
modules/cms-ui/themes/default/templates/language/add.tpl.src.xml | 14--------------
modules/cms-ui/themes/default/templates/language/advanced.tpl.out.php | 28----------------------------
modules/cms-ui/themes/default/templates/language/advanced.tpl.src.xml | 26--------------------------
modules/cms-ui/themes/default/templates/language/edit.tpl.out.php | 18------------------
modules/cms-ui/themes/default/templates/language/edit.tpl.src.xml | 16----------------
modules/cms-ui/themes/default/templates/language/listing.tpl.out.php | 0
modules/cms-ui/themes/default/templates/language/listing.tpl.src.xml | 4----
modules/cms-ui/themes/default/templates/language/remove.tpl.out.php | 46----------------------------------------------
modules/cms-ui/themes/default/templates/language/remove.tpl.src.xml | 32--------------------------------
modules/cms-ui/themes/default/templates/language/structure.tpl.out.php | 8--------
modules/cms-ui/themes/default/templates/language/structure.tpl.src.xml | 8--------
modules/cms-ui/themes/default/templates/languagelist/add.tpl.out.php | 26--------------------------
modules/cms-ui/themes/default/templates/languagelist/add.tpl.src.xml | 14--------------
modules/cms-ui/themes/default/templates/languagelist/show.tpl.out.php | 86-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/languagelist/show.tpl.src.xml | 67-------------------------------------------------------------------
modules/cms-ui/themes/default/templates/link/edit.tpl.out.php | 33---------------------------------
modules/cms-ui/themes/default/templates/link/info.tpl.out.php | 0
modules/cms-ui/themes/default/templates/link/prop.tpl.out.php | 42------------------------------------------
modules/cms-ui/themes/default/templates/link/structure.tpl.out.php | 8--------
modules/cms-ui/themes/default/templates/login/license.tpl.out.php | 33---------------------------------
modules/cms-ui/themes/default/templates/login/license.tpl.src.xml | 27---------------------------
modules/cms-ui/themes/default/templates/login/login.tpl.out.php | 165-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/login/login.tpl.src.xml | 168-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/login/openid.tpl.out.php | 0
modules/cms-ui/themes/default/templates/login/openid.tpl.src.xml | 59-----------------------------------------------------------
modules/cms-ui/themes/default/templates/login/password.tpl.out.php | 0
modules/cms-ui/themes/default/templates/login/password.tpl.src.xml | 36------------------------------------
modules/cms-ui/themes/default/templates/login/passwordcode.tpl.out.php | 0
modules/cms-ui/themes/default/templates/login/passwordcode.tpl.src.xml | 4----
modules/cms-ui/themes/default/templates/login/register.tpl.out.php | 58----------------------------------------------------------
modules/cms-ui/themes/default/templates/login/register.tpl.src.xml | 34----------------------------------
modules/cms-ui/themes/default/templates/login/registercode.tpl.out.php | 0
modules/cms-ui/themes/default/templates/login/registercode.tpl.src.xml | 50--------------------------------------------------
modules/cms-ui/themes/default/templates/model/edit.tpl.out.php | 18------------------
modules/cms-ui/themes/default/templates/model/edit.tpl.src.xml | 15---------------
modules/cms-ui/themes/default/templates/model/listing.tpl.out.php | 0
modules/cms-ui/themes/default/templates/model/listing.tpl.src.xml | 4----
modules/cms-ui/themes/default/templates/model/remove.tpl.out.php | 46----------------------------------------------
modules/cms-ui/themes/default/templates/model/remove.tpl.src.xml | 30------------------------------
modules/cms-ui/themes/default/templates/model/structure.tpl.out.php | 8--------
modules/cms-ui/themes/default/templates/model/structure.tpl.src.xml | 8--------
modules/cms-ui/themes/default/templates/modellist/add.tpl.out.php | 28----------------------------
modules/cms-ui/themes/default/templates/modellist/add.tpl.src.xml | 15---------------
modules/cms-ui/themes/default/templates/modellist/show.tpl.out.php | 78------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/modellist/show.tpl.src.xml | 65-----------------------------------------------------------------
modules/cms-ui/themes/default/templates/object/aclform.tpl.out.php | 118-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/object/aclform.tpl.src.xml | 81-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/object/copy.tpl.out.php | 0
modules/cms-ui/themes/default/templates/object/copy.tpl.src.xml | 33---------------------------------
modules/cms-ui/themes/default/templates/object/inherit.tpl.out.php | 38--------------------------------------
modules/cms-ui/themes/default/templates/object/inherit.tpl.src.xml | 23-----------------------
modules/cms-ui/themes/default/templates/object/rights.tpl.out.php | 110-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/object/rights.tpl.src.xml | 80-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/page/changetemplate.tpl.out.php | 31-------------------------------
modules/cms-ui/themes/default/templates/page/changetemplateselectelements.tpl.out.php | 0
modules/cms-ui/themes/default/templates/page/changetemplateselectelements.tpl.src.xml | 17-----------------
modules/cms-ui/themes/default/templates/page/edit.tpl.out.php | 51---------------------------------------------------
modules/cms-ui/themes/default/templates/page/form.tpl.out.php | 0
modules/cms-ui/themes/default/templates/page/info.tpl.out.php | 0
modules/cms-ui/themes/default/templates/page/preview.tpl.out.php | 13-------------
modules/cms-ui/themes/default/templates/page/prop.tpl.out.php | 44--------------------------------------------
modules/cms-ui/themes/default/templates/page/pub.tpl.out.php | 38--------------------------------------
modules/cms-ui/themes/default/templates/page/src.tpl.out.php | 0
modules/cms-ui/themes/default/templates/page/structure.tpl.out.php | 8--------
modules/cms-ui/themes/default/templates/pageelement/diff.tpl.out.php | 76----------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/pageelement/diff.tpl.src.xml | 48------------------------------------------------
modules/cms-ui/themes/default/templates/pageelement/edit.tpl.out.php | 432-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/pageelement/edit.tpl.src.xml | 288-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/pageelement/export.tpl.out.php | 0
modules/cms-ui/themes/default/templates/pageelement/export.tpl.src.xml | 4----
modules/cms-ui/themes/default/templates/pageelement/history.tpl.out.php | 144-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/pageelement/history.tpl.src.xml | 115-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/pageelement/import.tpl.out.php | 0
modules/cms-ui/themes/default/templates/pageelement/import.tpl.src.xml | 4----
modules/cms-ui/themes/default/templates/pageelement/info.tpl.out.php | 80-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/pageelement/info.tpl.src.xml | 61-------------------------------------------------------------
modules/cms-ui/themes/default/templates/pageelement/link.tpl.out.php | 0
modules/cms-ui/themes/default/templates/pageelement/link.tpl.src.xml | 4----
modules/cms-ui/themes/default/templates/pageelement/preview.tpl.out.php | 0
modules/cms-ui/themes/default/templates/pageelement/preview.tpl.src.xml | 11-----------
modules/cms-ui/themes/default/templates/pageelement/prop.tpl.out.php | 0
modules/cms-ui/themes/default/templates/pageelement/prop.tpl.src.xml | 96-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/pageelement/pub.tpl.out.php | 46----------------------------------------------
modules/cms-ui/themes/default/templates/pageelement/pub.tpl.src.xml | 32--------------------------------
modules/cms-ui/themes/default/templates/pageelement/structure.tpl.out.php | 10----------
modules/cms-ui/themes/default/templates/pageelement/structure.tpl.src.xml | 9---------
modules/cms-ui/themes/default/templates/profile/confirmmail.tpl.out.php | 0
modules/cms-ui/themes/default/templates/profile/confirmmail.tpl.src.xml | 4----
modules/cms-ui/themes/default/templates/profile/edit.tpl.out.php | 169-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/profile/edit.tpl.src.html | 58----------------------------------------------------------
modules/cms-ui/themes/default/templates/profile/edit.tpl.src.xml | 116-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/profile/history.tpl.out.php | 39---------------------------------------
modules/cms-ui/themes/default/templates/profile/history.tpl.src.xml | 34----------------------------------
modules/cms-ui/themes/default/templates/profile/mail.tpl.out.php | 36------------------------------------
modules/cms-ui/themes/default/templates/profile/mail.tpl.src.xml | 20--------------------
modules/cms-ui/themes/default/templates/profile/memberships.tpl.out.php | 28----------------------------
modules/cms-ui/themes/default/templates/profile/memberships.tpl.src.xml | 7-------
modules/cms-ui/themes/default/templates/profile/pw.tpl.out.php | 70----------------------------------------------------------------------
modules/cms-ui/themes/default/templates/profile/pw.tpl.src.xml | 51---------------------------------------------------
modules/cms-ui/themes/default/templates/profile/settings.tpl.out.php | 0
modules/cms-ui/themes/default/templates/profile/settings.tpl.src.xml | 27---------------------------
modules/cms-ui/themes/default/templates/project/add.tpl.out.php | 0
modules/cms-ui/themes/default/templates/project/add.tpl.src.xml | 4----
modules/cms-ui/themes/default/templates/project/edit.tpl.out.php | 162-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/project/edit.tpl.src.xml | 80-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/project/export.tpl.out.php | 16----------------
modules/cms-ui/themes/default/templates/project/export.tpl.src.xml | 14--------------
modules/cms-ui/themes/default/templates/project/history.tpl.out.php | 67-------------------------------------------------------------------
modules/cms-ui/themes/default/templates/project/history.tpl.src.xml | 57---------------------------------------------------------
modules/cms-ui/themes/default/templates/project/info.tpl.out.php | 18------------------
modules/cms-ui/themes/default/templates/project/info.tpl.src.xml | 16----------------
modules/cms-ui/themes/default/templates/project/maintenance.tpl.out.php | 30------------------------------
modules/cms-ui/themes/default/templates/project/maintenance.tpl.src.xml | 23-----------------------
modules/cms-ui/themes/default/templates/project/remove.tpl.out.php | 44--------------------------------------------
modules/cms-ui/themes/default/templates/project/remove.tpl.src.xml | 30------------------------------
modules/cms-ui/themes/default/templates/projectlist/add.tpl.out.php | 0
modules/cms-ui/themes/default/templates/projectlist/add.tpl.src.xml | 33---------------------------------
modules/cms-ui/themes/default/templates/projectlist/history.tpl.out.php | 47-----------------------------------------------
modules/cms-ui/themes/default/templates/projectlist/history.tpl.src.xml | 40----------------------------------------
modules/cms-ui/themes/default/templates/projectlist/show.tpl.out.php | 38--------------------------------------
modules/cms-ui/themes/default/templates/projectlist/show.tpl.src.xml | 30------------------------------
modules/cms-ui/themes/default/templates/search/edit.tpl.out.php | 140-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/search/edit.tpl.src.xml | 52----------------------------------------------------
modules/cms-ui/themes/default/templates/search/result.tpl.out.php | 0
modules/cms-ui/themes/default/templates/search/result.tpl.src.xml | 27---------------------------
modules/cms-ui/themes/default/templates/start/applications.tpl.out.php | 30------------------------------
modules/cms-ui/themes/default/templates/start/applications.tpl.src.xml | 25-------------------------
modules/cms-ui/themes/default/templates/start/projectmenu.tpl.out.php | 73-------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/start/projectmenu.tpl.src.xml | 48------------------------------------------------
modules/cms-ui/themes/default/templates/start/userprojecttimeline.tpl.out.php | 55-------------------------------------------------------
modules/cms-ui/themes/default/templates/start/userprojecttimeline.tpl.src.xml | 49-------------------------------------------------
modules/cms-ui/themes/default/templates/template.xsd | 382-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/template/addel.tpl.out.php | 0
modules/cms-ui/themes/default/templates/template/addel.tpl.src.xml | 39---------------------------------------
modules/cms-ui/themes/default/templates/template/edit.tpl.out.php | 68--------------------------------------------------------------------
modules/cms-ui/themes/default/templates/template/edit.tpl.src.xml | 57---------------------------------------------------------
modules/cms-ui/themes/default/templates/template/extension.tpl.out.php | 32--------------------------------
modules/cms-ui/themes/default/templates/template/extension.tpl.src.xml | 28----------------------------
modules/cms-ui/themes/default/templates/template/info.tpl.out.php | 35-----------------------------------
modules/cms-ui/themes/default/templates/template/info.tpl.src.xml | 29-----------------------------
modules/cms-ui/themes/default/templates/template/listing.tpl.out.php | 0
modules/cms-ui/themes/default/templates/template/listing.tpl.src.xml | 29-----------------------------
modules/cms-ui/themes/default/templates/template/preview.tpl.out.php | 20--------------------
modules/cms-ui/themes/default/templates/template/preview.tpl.src.xml | 13-------------
modules/cms-ui/themes/default/templates/template/prop.tpl.out.php | 57---------------------------------------------------------
modules/cms-ui/themes/default/templates/template/prop.tpl.src.xml | 48------------------------------------------------
modules/cms-ui/themes/default/templates/template/pub.tpl.out.php | 38--------------------------------------
modules/cms-ui/themes/default/templates/template/pub.tpl.src.xml | 32--------------------------------
modules/cms-ui/themes/default/templates/template/remove.tpl.out.php | 46----------------------------------------------
modules/cms-ui/themes/default/templates/template/remove.tpl.src.xml | 31-------------------------------
modules/cms-ui/themes/default/templates/template/src.tpl.out.php | 10----------
modules/cms-ui/themes/default/templates/template/src.tpl.src.xml | 11-----------
modules/cms-ui/themes/default/templates/template/srcelement.tpl.out.php | 0
modules/cms-ui/themes/default/templates/template/srcelement.tpl.src.xml | 58----------------------------------------------------------
modules/cms-ui/themes/default/templates/templatelist/add.tpl.out.php | 66------------------------------------------------------------------
modules/cms-ui/themes/default/templates/templatelist/add.tpl.src.xml | 48------------------------------------------------
modules/cms-ui/themes/default/templates/templatelist/show.tpl.out.php | 37-------------------------------------
modules/cms-ui/themes/default/templates/templatelist/show.tpl.src.xml | 32--------------------------------
modules/cms-ui/themes/default/templates/text/compress.tpl.out.php | 0
modules/cms-ui/themes/default/templates/text/compress.tpl.src.xml | 27---------------------------
modules/cms-ui/themes/default/templates/text/edit.tpl.out.php | 22----------------------
modules/cms-ui/themes/default/templates/text/edit.tpl.src.xml | 16----------------
modules/cms-ui/themes/default/templates/text/extract.tpl.out.php | 0
modules/cms-ui/themes/default/templates/text/extract.tpl.src.xml | 4----
modules/cms-ui/themes/default/templates/text/info.tpl.out.php | 198-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/text/info.tpl.src.xml | 150-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/text/preview.tpl.out.php | 17-----------------
modules/cms-ui/themes/default/templates/text/preview.tpl.src.xml | 15---------------
modules/cms-ui/themes/default/templates/text/prop.tpl.out.php | 56--------------------------------------------------------
modules/cms-ui/themes/default/templates/text/prop.tpl.src.xml | 48------------------------------------------------
modules/cms-ui/themes/default/templates/text/pub.tpl.out.php | 0
modules/cms-ui/themes/default/templates/text/pub.tpl.src.xml | 26--------------------------
modules/cms-ui/themes/default/templates/text/remove.tpl.out.php | 0
modules/cms-ui/themes/default/templates/text/remove.tpl.src.xml | 4----
modules/cms-ui/themes/default/templates/text/show.tpl.out.php | 0
modules/cms-ui/themes/default/templates/text/show.tpl.src.xml | 4----
modules/cms-ui/themes/default/templates/text/size.tpl.out.php | 0
modules/cms-ui/themes/default/templates/text/size.tpl.src.xml | 83-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/text/structure.tpl.out.php | 8--------
modules/cms-ui/themes/default/templates/text/structure.tpl.src.xml | 8--------
modules/cms-ui/themes/default/templates/text/uncompress.tpl.out.php | 0
modules/cms-ui/themes/default/templates/text/uncompress.tpl.src.xml | 23-----------------------
modules/cms-ui/themes/default/templates/text/value.tpl.out.php | 26--------------------------
modules/cms-ui/themes/default/templates/text/value.tpl.src.xml | 21---------------------
modules/cms-ui/themes/default/templates/title/ping.tpl.out.php | 4----
modules/cms-ui/themes/default/templates/title/ping.tpl.src.xml | 6------
modules/cms-ui/themes/default/templates/title/show.tpl.out.php | 553-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/title/show.tpl.src.xml | 493-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/tpl.src.php.xml | 70----------------------------------------------------------------------
modules/cms-ui/themes/default/templates/tree/content.tpl.out.php | 0
modules/cms-ui/themes/default/templates/tree/content.tpl.src.xml | 5-----
modules/cms-ui/themes/default/templates/tree/settings.tpl.out.php | 30------------------------------
modules/cms-ui/themes/default/templates/tree/settings.tpl.src.xml | 26--------------------------
modules/cms-ui/themes/default/templates/tree/tree.tpl.out.php | 8--------
modules/cms-ui/themes/default/templates/tree/tree.tpl.src.xml | 5-----
modules/cms-ui/themes/default/templates/url/edit.tpl.out.php | 28----------------------------
modules/cms-ui/themes/default/templates/url/info.tpl.out.php | 0
modules/cms-ui/themes/default/templates/url/prop.tpl.out.php | 42------------------------------------------
modules/cms-ui/themes/default/templates/url/structure.tpl.out.php | 8--------
modules/cms-ui/themes/default/templates/user/add.tpl.out.php | 0
modules/cms-ui/themes/default/templates/user/add.tpl.src.xml | 4----
modules/cms-ui/themes/default/templates/user/edit.tpl.out.php | 220-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/user/edit.tpl.src.xml | 148-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/user/history.tpl.out.php | 39---------------------------------------
modules/cms-ui/themes/default/templates/user/history.tpl.src.xml | 34----------------------------------
modules/cms-ui/themes/default/templates/user/info.tpl.out.php | 47-----------------------------------------------
modules/cms-ui/themes/default/templates/user/info.tpl.src.xml | 41-----------------------------------------
modules/cms-ui/themes/default/templates/user/listing.tpl.out.php | 0
modules/cms-ui/themes/default/templates/user/listing.tpl.src.xml | 4----
modules/cms-ui/themes/default/templates/user/memberships.tpl.out.php | 50--------------------------------------------------
modules/cms-ui/themes/default/templates/user/memberships.tpl.src.xml | 31-------------------------------
modules/cms-ui/themes/default/templates/user/pw.tpl.out.php | 118-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/user/pw.tpl.src.xml | 72------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/user/remove.tpl.out.php | 0
modules/cms-ui/themes/default/templates/user/remove.tpl.src.xml | 4----
modules/cms-ui/themes/default/templates/user/rights.tpl.out.php | 107-------------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/user/rights.tpl.src.xml | 77-----------------------------------------------------------------------------
modules/cms-ui/themes/default/templates/userlist/add.tpl.out.php | 0
modules/cms-ui/themes/default/templates/userlist/add.tpl.src.xml | 14--------------
modules/cms-ui/themes/default/templates/userlist/show.tpl.out.php | 64----------------------------------------------------------------
modules/cms-ui/themes/default/templates/userlist/show.tpl.src.xml | 48------------------------------------------------
331 files changed, 0 insertions(+), 14616 deletions(-)

diff --git a/modules/cms-ui/themes/default/include/.htaccess b/modules/cms-ui/themes/default/include/.htaccess @@ -1,11 +0,0 @@ -<Files ~ "\.(gif|jpe?g|png)$"> -order allow,deny -allow from all -</Files> - -<Files ~ "\.(html|php)$"> -order deny,allow - -deny from all -</Files> - diff --git a/modules/cms-ui/themes/default/include/elements.ini.php b/modules/cms-ui/themes/default/include/elements.ini.php @@ -1,42 +0,0 @@ -; Control-file for template elements - -output = -button = -checkbox = -column = -date = -dummy = -focus = -form = -group = -hidden = -header = -editor = -else = -if = -image = -input = -inputarea= -insert = -label = -link = -list = -logo = -newline = -page = -part = -password = -radio = -raw = -row = -selectbox= -radiobox = -selector = -set = -table = -text = -tree = -upload = -user = -window = -qrcode = - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/.htaccess b/modules/cms-ui/themes/default/templates/.htaccess @@ -1,2 +0,0 @@ -order deny,allow -deny from all- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/configuration/show.tpl.out.php b/modules/cms-ui/themes/default/templates/configuration/show.tpl.out.php @@ -1,27 +0,0 @@ - - - <table width="100%"> - <tr class="headline"> - <td class="help"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_NAME'.'')))); ?></span> - - </td> - <td class="help"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_VALUE'.'')))); ?></span> - - </td> - </tr> - <?php foreach($config as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <tr class="data"> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($key))); ?></span> - - </td> - <td class="<?php echo $class ?>"> - <span class="<?php echo $class ?>"><?php echo nl2br(encodeHtml(htmlentities($value))); ?></span> - - </td> - </tr> - <?php } ?> - </table> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/configuration/show.tpl.src.xml b/modules/cms-ui/themes/default/templates/configuration/show.tpl.src.xml @@ -1,23 +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.xsd"> - <table> - <row class="headline"> - <column class="help"> - <text key="GLOBAL_NAME"></text> - </column> - <column class="help"> - <text key="GLOBAL_VALUE"></text> - </column> - </row> - <list list="config" extract="true"> - <row class="data"> - <column> - <text var="key"></text> - </column> - <column class="var:class"> - <text class="var:class" var="value"></text> - </column> - </row> - </list> - </table> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/element/advanced.tpl.out.php b/modules/cms-ui/themes/default/templates/element/advanced.tpl.out.php @@ -1,19 +0,0 @@ - - - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('ELEMENT_TYPE')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_type" name="type" title="" class=""<?php if (count($types)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($types,$type,0,1) ?><?php if (count($types)==0) { ?><input type="hidden" name="type" value="" /><?php } ?><?php if (count($types)==1) { ?><input type="hidden" name="type" value="<?php echo array_keys($types)[0] ?>" /><?php } ?> - </select></div> - </div> - </div> - </div></fieldset> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/element/advanced.tpl.src.xml b/modules/cms-ui/themes/default/templates/element/advanced.tpl.src.xml @@ -1,17 +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.xsd"> - <header back="true"></header> - <form> - <group> - <part class="line"> - <part class="label"> - <text text="ELEMENT_TYPE"></text> - </part> - <part class="input"> - <selectbox name="type" list="types" lang="true"></selectbox> - </part> - </part> - </group> - - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/element/edit.tpl.out.php b/modules/cms-ui/themes/default/templates/element/edit.tpl.out.php @@ -1,27 +0,0 @@ - - - <div class="headermenu"><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_ADVANCED') ?>" data-type="dialog" data-name="<?php echo lang('MENU_ADVANCED') ?>" data-method="advanced"><img src="./themes/default/images/icon/action/advanced.svg" title="<?php echo lang('MENU_advanced_DESC') ?>" /><?php echo lang('MENU_advanced') ?></a></div><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_REMOVE') ?>" data-type="dialog" data-name="<?php echo lang('MENU_REMOVE') ?>" data-method="remove"><img src="./themes/default/images/icon/action/remove.svg" title="<?php echo lang('MENU_remove_DESC') ?>" /><?php echo lang('MENU_remove') ?></a></div></div> - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('ELEMENT_NAME')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_name" name="name<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="focus" value="<?php echo Text::encodeHtml(@$name) ?>" /><?php if ('') { ?><input type="hidden" name="name" value="<?php $name ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_DESCRIPTION')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><textarea class="inputarea" name="description"><?php echo Text::encodeHtml($description) ?></textarea></div> - - </div> - </div> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/element/edit.tpl.src.xml b/modules/cms-ui/themes/default/templates/element/edit.tpl.src.xml @@ -1,24 +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.xsd"> - <header views="advanced,remove"></header> - <form> - <part class="line"> - <part class="label"> - <text text="ELEMENT_NAME"></text> - </part> - <part class="input"> - <input name="name" class="focus"></input> - </part> - </part> - - <part class="line"> - <part class="label"> - <text text="GLOBAL_DESCRIPTION"></text> - </part> - <part class="input"> - <inputarea name="description" rows="5"></inputarea> - </part> - </part> - - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/element/info.tpl.out.php b/modules/cms-ui/themes/default/templates/element/info.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/element/info.tpl.src.xml b/modules/cms-ui/themes/default/templates/element/info.tpl.src.xml @@ -1,21 +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.xsd"> - <table> - <row class="data"> - <column colspan="1"> - <text key="id" /> - </column> - <column> - <text var="id" /> - </column> - </row> - <row class="data"> - <column colspan="1"> - <text key="name" /> - </column> - <column> - <text var="name" /> - </column> - </row> - </table> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/element/name.tpl.out.php b/modules/cms-ui/themes/default/templates/element/name.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/element/name.tpl.src.xml b/modules/cms-ui/themes/default/templates/element/name.tpl.src.xml @@ -1,31 +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.xsd"> - <dummy> - <form> - <window name="GLOBAL_NAME"> - <row> - <column> - <text text="ELEMENT_NAME"></text> - </column> - <column> - <input name="name"></input> - </column> - </row> - <row> - <column> - <text text="GLOBAL_DESCRIPTION"></text> - </column> - <column> - <inputarea name="description" rows="5" cols="50"></inputarea> - </column> - </row> - <row> - <column colspan="2" class="act"> - <button type="ok"></button> - </column> - </row> - </window> - </form> - <focus field="name"></focus> - </dummy> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/element/prop.tpl.out.php b/modules/cms-ui/themes/default/templates/element/prop.tpl.out.php @@ -1,325 +0,0 @@ - - - - - <?php $if2=(@$conf['security']['disable_dynamic_code']); if($if2){?> - <?php $if3=(!'1'); if($if3){?> - <div class="message warn"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'NOTICE_CODE_DISABLED'.'')))); ?></span> - - </div> - <?php } ?> - <?php } ?> - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><div> - <?php $if4=(!empty($subtype)); if($if4){?> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('ELEMENT_SUBTYPE')))); ?></span> - - </div> - <div class="input"> - <?php $if7=(!empty($subtypes)); if($if7){?> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_subtype" name="subtype" title="" class=""<?php if (count($subtypes)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($subtypes,$subtype,1,0) ?><?php if (count($subtypes)==0) { ?><input type="hidden" name="subtype" value="" /><?php } ?><?php if (count($subtypes)==1) { ?><input type="hidden" name="subtype" value="<?php echo array_keys($subtypes)[0] ?>" /><?php } ?> - </select></div> - <?php } ?> - <?php $if7=!(!empty($subtypes)); if($if7){?> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_subtype" name="subtype<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="text" value="<?php echo Text::encodeHtml(@$subtype) ?>" /><?php if ('') { ?><input type="hidden" name="subtype" value="<?php $subtype ?>"/><?php } ?></div> - - <?php } ?> - </div> - </div> - <?php } ?> - <?php $if4=(!empty($with_icon)); if($if4){?> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <?php { $tmpname = 'with_icon';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_with_icon" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('EL_PROP_WITH_ICON')))); ?></span> - - </label> - </div> - </div> - <?php } ?> - <?php $if4=(!empty($all_languages)); if($if4){?> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <?php { $tmpname = 'all_languages';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_all_languages" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('EL_PROP_ALL_LANGUAGES')))); ?></span> - - </label> - </div> - </div> - <?php } ?> - <?php $if4=(!empty($writable)); if($if4){?> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <?php { $tmpname = 'writable';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_writable" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('EL_PROP_writable')))); ?></span> - - </label> - </div> - </div> - <?php } ?> - <?php $if4=(!empty($width)); if($if4){?> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('width')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_width" name="width<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="text" value="<?php echo Text::encodeHtml(@$width) ?>" /><?php if ('') { ?><input type="hidden" name="width" value="<?php $width ?>"/><?php } ?></div> - - </div> - </div> - <?php } ?> - <?php $if4=(!empty($height)); if($if4){?> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('height')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_height" name="height<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="text" value="<?php echo Text::encodeHtml(@$height) ?>" /><?php if ('') { ?><input type="hidden" name="height" value="<?php $height ?>"/><?php } ?></div> - - </div> - </div> - <?php } ?> - <?php $if4=(!empty($dateformat)); if($if4){?> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('EL_PROP_DATEFORMAT')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_dateformat" name="dateformat" title="" class=""<?php if (count($dateformats)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($dateformats,$dateformat,0,0) ?><?php if (count($dateformats)==0) { ?><input type="hidden" name="dateformat" value="" /><?php } ?><?php if (count($dateformats)==1) { ?><input type="hidden" name="dateformat" value="<?php echo array_keys($dateformats)[0] ?>" /><?php } ?> - </select></div> - </div> - </div> - <?php } ?> - <?php $if4=(!empty($format)); if($if4){?> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('EL_PROP_FORMAT')))); ?></span> - - </div> - <div class="input"> - <?php include_once( 'modules/template-engine/components/html/radiobox/component-radio-box.php') ?><?php component_radio_box('format',$formatlist,$format) ?> - - </div> - </div> - <?php } ?> - <?php $if4=(!empty($decimals)); if($if4){?> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('EL_PROP_DECIMALS')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_decimals" name="decimals<?php if ('') echo '_disabled' ?>" type="text" maxlength="2" class="text" value="<?php echo Text::encodeHtml(@$decimals) ?>" /><?php if ('') { ?><input type="hidden" name="decimals" value="<?php $decimals ?>"/><?php } ?></div> - - </div> - </div> - <?php } ?> - <?php $if4=(!empty($dec_point)); if($if4){?> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('EL_PROP_DEC_POINT')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_dec_point" name="dec_point<?php if ('') echo '_disabled' ?>" type="text" maxlength="5" class="text" value="<?php echo Text::encodeHtml(@$dec_point) ?>" /><?php if ('') { ?><input type="hidden" name="dec_point" value="<?php $dec_point ?>"/><?php } ?></div> - - </div> - </div> - <?php } ?> - <?php $if4=(!empty($thousand_sep)); if($if4){?> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('EL_PROP_thousand_sep')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_thousand_sep" name="thousand_sep<?php if ('') echo '_disabled' ?>" type="text" maxlength="1" class="text" value="<?php echo Text::encodeHtml(@$thousand_sep) ?>" /><?php if ('') { ?><input type="hidden" name="thousand_sep" value="<?php $thousand_sep ?>"/><?php } ?></div> - - </div> - </div> - <?php } ?> - <?php $if4=(!empty($default_text)); if($if4){?> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('EL_PROP_default_text')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_default_text" name="default_text<?php if ('') echo '_disabled' ?>" type="text" maxlength="255" class="text" value="<?php echo Text::encodeHtml(@$default_text) ?>" /><?php if ('') { ?><input type="hidden" name="default_text" value="<?php $default_text ?>"/><?php } ?></div> - - </div> - </div> - <?php } ?> - <?php $if4=(!empty($default_longtext)); if($if4){?> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('EL_PROP_default_longtext')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><textarea class="inputarea" name="default_longtext"><?php echo Text::encodeHtml($default_longtext) ?></textarea></div> - - </div> - </div> - <?php } ?> - <?php $if4=(!empty($parameters)); if($if4){?> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('EL_PROP_DYNAMIC_PARAMETERS')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><textarea class="inputarea" name="parameters"><?php echo Text::encodeHtml($parameters) ?></textarea></div> - - </div> - </div> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <?php foreach($dynamic_class_parameters as $paramName=>$defaultValue){ ?> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($paramName))); ?></span> - - <span class="text"><?php echo nl2br('&nbsp;('); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_DEFAULT')))); ?></span> - - <span class="text"><?php echo nl2br(')&nbsp;=&nbsp;'); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($defaultValue))); ?></span> - - <br/> - - <?php } ?> - </div> - </div> - <?php } ?> - <?php $if4=(!empty($select_items)); if($if4){?> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('EL_PROP_select_items')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><textarea class="inputarea" name="select_items"><?php echo Text::encodeHtml($select_items) ?></textarea></div> - - </div> - </div> - <?php } ?> - <?php $if4=(!empty($linkelement)); if($if4){?> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('EL_LINK')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_linkelement" name="linkelement" title="" class=""<?php if (count($linkelements)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($linkelements,$linkelement,0,0) ?><?php if (count($linkelements)==0) { ?><input type="hidden" name="linkelement" value="" /><?php } ?><?php if (count($linkelements)==1) { ?><input type="hidden" name="linkelement" value="<?php echo array_keys($linkelements)[0] ?>" /><?php } ?> - </select></div> - </div> - </div> - <?php } ?> - <?php $if4=(!empty($name)); if($if4){?> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('ELEMENT_NAME')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_name" name="name" title="" class=""<?php if (count($names)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($names,$name,0,0) ?><?php if (count($names)==0) { ?><input type="hidden" name="name" value="" /><?php } ?><?php if (count($names)==1) { ?><input type="hidden" name="name" value="<?php echo array_keys($names)[0] ?>" /><?php } ?> - </select></div> - </div> - </div> - <?php } ?> - <?php $if4=(!empty($folderobjectid)); if($if4){?> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('EL_PROP_DEFAULT_FOLDEROBJECT')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_folderobjectid" name="folderobjectid" title="" class=""<?php if (count($folders)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($folders,$folderobjectid,0,0) ?><?php if (count($folders)==0) { ?><input type="hidden" name="folderobjectid" value="" /><?php } ?><?php if (count($folders)==1) { ?><input type="hidden" name="folderobjectid" value="<?php echo array_keys($folders)[0] ?>" /><?php } ?> - </select></div> - </div> - </div> - <?php } ?> - <?php $if4=(!empty($default_objectid)); if($if4){?> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('EL_PROP_DEFAULT_OBJECT')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_default_objectid" name="default_objectid" title="" class=""<?php if (count($objects)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($objects,$default_objectid,1,0) ?><?php if (count($objects)==0) { ?><input type="hidden" name="default_objectid" value="" /><?php } ?><?php if (count($objects)==1) { ?><input type="hidden" name="default_objectid" value="<?php echo array_keys($objects)[0] ?>" /><?php } ?> - </select></div> - </div> - </div> - <?php } ?> - <?php $if4=(!empty($code)); if($if4){?> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('EL_PROP_code')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><textarea class="inputarea" name="code"><?php echo Text::encodeHtml($code) ?></textarea></div> - - </div> - </div> - <?php } ?> - </div></fieldset> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/element/prop.tpl.src.xml b/modules/cms-ui/themes/default/templates/element/prop.tpl.src.xml @@ -1,243 +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.xsd"> - <header></header> - - <if true="config:security/disable_dynamic_code"> - <if value="var:type" equals="code" false="true"> - <part class="message warn"> - <text key="NOTICE_CODE_DISABLED" /> - </part> - </if> - </if> - <form> - <group> - <if present="subtype"> - <part class="line"> - <part class="label"> - <text text="ELEMENT_SUBTYPE"></text> - </part> - <part class="input"> - <if present="subtypes"> - <selectbox name="subtype" list="subtypes" addempty="true"></selectbox> - </if> - <if not="true" present="subtypes"> - <input name="subtype"></input> - </if> - </part> - </part> - </if> - <if present="with_icon"> - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <checkbox name="with_icon"></checkbox> - <label for="with_icon"> - <text text="EL_PROP_WITH_ICON"></text> - </label> - </part> - </part> - </if> - <if present="all_languages"> - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <checkbox name="all_languages"></checkbox> - <label for="all_languages"> - <text text="EL_PROP_ALL_LANGUAGES"></text> - </label> - </part> - </part> - </if> - <if present="writable"> - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <checkbox name="writable"></checkbox> - <label for="writable"> - <text text="EL_PROP_writable"></text> - </label> - </part> - </part> - </if> - <if present="width"> - <part class="line"> - <part class="label"> - <text text="width"></text> - </part> - <part class="input"> - <input size="10" name="width"></input> - </part> - </part> - - </if> - <if present="height"> - <part class="line"> - <part class="label"> - <text text="height"></text> - </part> - <part class="input"> - <input size="10" name="height"></input> - </part> - </part> - </if> - <if present="dateformat"> - <part class="line"> - <part class="label"> - <text text="EL_PROP_DATEFORMAT"></text> - </part> - <part class="input"> - <selectbox name="dateformat" list="dateformats"></selectbox> - </part> - </part> - </if> - <if present="format"> - <part class="line"> - <part class="label"> - <text text="EL_PROP_FORMAT"></text> - </part> - <part class="input"> - <radiobox name="format" list="formatlist"></radiobox> - </part> - </part> - </if> - <if present="decimals"> - <part class="line"> - <part class="label"> - <text text="EL_PROP_DECIMALS"></text> - </part> - <part class="input"> - <input size="10" maxlength="2" name="decimals"></input> - </part> - </part> - </if> - <if present="dec_point"> - <part class="line"> - <part class="label"> - <text text="EL_PROP_DEC_POINT"></text> - </part> - <part class="input"> - <input size="10" maxlength="5" name="dec_point"></input> - </part> - </part> - </if> - <if present="thousand_sep"> - <part class="line"> - <part class="label"> - <text text="EL_PROP_thousand_sep"></text> - </part> - <part class="input"> - <input size="10" maxlength="1" name="thousand_sep"></input> - </part> - </part> - </if> - <if present="default_text"> - <part class="line"> - <part class="label"> - <text text="EL_PROP_default_text"></text> - </part> - <part class="input"> - <input size="40" maxlength="255" name="default_text"></input> - </part> - </part> - </if> - <if present="default_longtext"> - <part class="line"> - <part class="label"> - <text text="EL_PROP_default_longtext"></text> - </part> - <part class="input"> - <inputarea rows="10" name="default_longtext"></inputarea> - </part> - </part> - </if> - <if present="parameters"> - <part class="line"> - <part class="label"> - <text text="EL_PROP_DYNAMIC_PARAMETERS"></text> - </part> - <part class="input"> - <inputarea rows="15" name="parameters"></inputarea> - </part> - </part> - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <list list="dynamic_class_parameters" key="paramName" value="defaultValue"> - <text var="paramName"></text> - <text raw="_("></text> - <text text="GLOBAL_DEFAULT"></text> - <text raw=")_=_"></text> - <text var="defaultValue"></text> - <newline></newline> - </list> - </part> - </part> - </if> - <if present="select_items"> - <part class="line"> - <part class="label"> - <text text="EL_PROP_select_items"></text> - </part> - <part class="input"> - <inputarea rows="15" cols="40" name="select_items"></inputarea> - </part> - </part> - </if> - <if present="linkelement"> - <part class="line"> - <part class="label"> - <text text="EL_LINK"></text> - </part> - <part class="input"> - <selectbox name="linkelement" list="linkelements"></selectbox> - </part> - </part> - </if> - <if present="name"> - <part class="line"> - <part class="label"> - <text text="ELEMENT_NAME"></text> - </part> - <part class="input"> - <selectbox name="name" list="names"></selectbox> - </part> - </part> - </if> - <if present="folderobjectid"> - <part class="line"> - <part class="label"> - <text text="EL_PROP_DEFAULT_FOLDEROBJECT"></text> - </part> - <part class="input"> - <selectbox name="folderobjectid" list="folders"></selectbox> - </part> - </part> - </if> - <if present="default_objectid"> - <part class="line"> - <part class="label"> - <text text="EL_PROP_DEFAULT_OBJECT"></text> - </part> - <part class="input"> - <selectbox name="default_objectid" list="objects" - addempty="true"></selectbox> - </part> - </part> - </if> - <if present="code"> - <part class="line"> - <part class="label"> - <text text="EL_PROP_code"></text> - </part> - <part class="input"> - <inputarea name="code" rows="35"></inputarea> - </part> - </part> - </if> - </group> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/element/properties.tpl.out.php b/modules/cms-ui/themes/default/templates/element/properties.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/element/properties.tpl.src.xml b/modules/cms-ui/themes/default/templates/element/properties.tpl.src.xml @@ -1,234 +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.xsd"> - <dummy> - <form> - <window name="GLOBAL_PREFS" widths="30%,70%"> - <if present="subtype"> - <row> - <column> - <text text="ELEMENT_SUBTYPE"></text> - </column> - <column> - <if present="subtypes"> - <selectbox name="subtype" list="subtypes" addempty="true"></selectbox> - </if> - <if not="true" present="subtypes"> - <input name="subtype"></input> - </if> - </column> - </row> - </if> - <if present="with_icon"> - <row> - <column> - <text text="EL_PROP_WITH_ICON"></text> - </column> - <column> - <checkbox name="with_icon"></checkbox> - </column> - </row> - </if> - <if present="all_languages"> - <row> - <column> - <text text="EL_PROP_ALL_LANGUAGES"></text> - </column> - <column> - <checkbox name="all_languages"></checkbox> - </column> - </row> - </if> - <if present="writable"> - <row> - <column> - <text text="EL_PROP_writable"></text> - </column> - <column> - <checkbox name="writable"></checkbox> - </column> - </row> - </if> - <if present="width"> - <row> - <column> - <text text="width"></text> - </column> - <column> - <input size="10" name="width"></input> - </column> - </row> - </if> - <if present="height"> - <row> - <column> - <text text="height"></text> - </column> - <column> - <input size="10" name="height"></input> - </column> - </row> - </if> - <if present="dateformat"> - <row> - <column> - <text text="EL_PROP_DATEFORMAT"></text> - </column> - <column> - <selectbox name="dateformat" list="dateformats"></selectbox> - </column> - </row> - </if> - <if present="format"> - <row> - <column> - <text text="EL_PROP_FORMAT"></text> - </column> - <column> - <radiobox name="format" list="formatlist"></radiobox> - </column> - </row> - </if> - <if present="decimals"> - <row> - <column> - <text text="EL_PROP_DECIMALS"></text> - </column> - <column> - <input size="10" maxlength="2" name="decimals"></input> - </column> - </row> - </if> - <if present="dec_point"> - <row> - <column> - <text text="EL_PROP_DEC_POINT"></text> - </column> - <column> - <input size="10" maxlength="5" name="dec_point"></input> - </column> - </row> - </if> - <if present="thousand_sep"> - <row> - <column> - <text text="EL_PROP_thousand_sep"></text> - </column> - <column> - <input size="10" maxlength="1" name="thousand_sep"></input> - </column> - </row> - </if> - <if present="default_text"> - <row> - <column> - <text text="EL_PROP_default_text"></text> - </column> - <column> - <input size="40" maxlength="255" name="default_text"></input> - </column> - </row> - </if> - <if present="default_longtext"> - <row> - <column> - <text text="EL_PROP_default_longtext"></text> - </column> - <column> - <inputarea rows="10" cols="40" name="default_longtext"></inputarea> - </column> - </row> - </if> - <if present="parameters"> - <row> - <column> - <text text="EL_PROP_DYNAMIC_PARAMETERS"></text> - </column> - <column> - <inputarea rows="15" cols="40" name="parameters"></inputarea> - </column> - </row> - <row> - <column></column> - <column> - <list list="dynamic_class_parameters" key="paramName" value="defaultValue"> - <text var="paramName"></text> - <text raw="_("></text> - <text text="GLOBAL_DEFAULT"></text> - <text raw=")_=_"></text> - <text var="defaultValue"></text> - <newline></newline> - </list> - </column> - </row> - </if> - <if present="select_items"> - <row> - <column> - <text text="EL_PROP_select_items"></text> - </column> - <column> - <inputarea rows="15" cols="40" name="select_items"></inputarea> - </column> - </row> - </if> - <if present="linkelement"> - <row> - <column> - <text text="EL_LINK"></text> - </column> - <column> - <selectbox name="linkelement" list="linkelements"></selectbox> - </column> - </row> - </if> - <if present="name"> - <row> - <column> - <text text="ELEMENT_NAME"></text> - </column> - <column> - <selectbox name="name" list="names"></selectbox> - </column> - </row> - </if> - <if present="folderobjectid"> - <row> - <column> - <text text="EL_PROP_DEFAULT_FOLDEROBJECT"></text> - </column> - <column> - <selectbox name="folderobjectid" list="folders"></selectbox> - </column> - </row> - </if> - <if present="default_objectid"> - <row> - <column> - <text text="EL_PROP_DEFAULT_OBJECT"></text> - </column> - <column> - <selectbox name="default_objectid" list="objects" - addempty="true"></selectbox> - </column> - </row> - </if> - <if present="code"> - <row> - <column> - <text text="EL_PROP_code"></text> - </column> - <column> - <inputarea name="code" rows="35" cols="60"></inputarea> - </column> - </row> - </if> - <row> - <column colspan="2" class="act"> - <button type="ok"></button> - </column> - </row> - </window> - </form> - <focus field="name"></focus> - </dummy> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/element/remove.tpl.out.php b/modules/cms-ui/themes/default/templates/element/remove.tpl.out.php @@ -1,69 +0,0 @@ - - - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'ELEMENT_NAME'.'')))); ?></span> - - </div> - <div class="input"> - <span class="name"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </div> - </div> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('options') ?></legend><div> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <?php { $tmpname = 'confirm';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_confirm" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('CONFIRM_DELETE')))); ?></span> - - </label> - </div> - </div> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <span class="text"><?php echo nl2br('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'); ?></span> - - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_type_value" name="type" value="value"<?php if('value'==@$type)echo ' checked="checked"' ?> /> - - <label for="<?php echo REQUEST_ID ?>_type_value" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('ELEMENT_DELETE_VALUES')))); ?></span> - - </label> - <br/> - - <span class="text"><?php echo nl2br('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'); ?></span> - - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_type_all" name="type" value="all"<?php if('all'==@$type)echo ' checked="checked"' ?> /> - - <label for="<?php echo REQUEST_ID ?>_type_all" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('DELETE')))); ?></span> - - </label> - </div> - </div> - </div></fieldset> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/element/remove.tpl.src.xml b/modules/cms-ui/themes/default/templates/element/remove.tpl.src.xml @@ -1,48 +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.xsd"> - <header back="true"></header> - <form> - <group> - <part class="line"> - <part class="label"> - <text key="ELEMENT_NAME"></text> - </part> - <part class="input"> - <text var="name" class="name"></text> - </part> - </part> - </group> - <group title="message:options"> - - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <checkbox name="confirm"></checkbox> - <label for="confirm"> - <text text="CONFIRM_DELETE"></text> - </label> - </part> - </part> - - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <text raw="_____"></text> - <radio name="type" value="value"></radio> - <label for="type_value"> - <text text="ELEMENT_DELETE_VALUES"></text> - </label> - <newline></newline> - <text raw="_____"></text> - <radio name="type" value="all"></radio> - <label for="type_all"> - <text text="DELETE"></text> - </label> - </part> - </part> - </group> - - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/file/compress.tpl.out.php b/modules/cms-ui/themes/default/templates/file/compress.tpl.out.php @@ -1,35 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('OPTIONS') ?></legend><div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('type')))); ?></span> - - </div> - <div class="input"> - <?php $gz= 'gz'; ?> - - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_format" name="format" title="" class=""<?php if (count($formats)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($formats,'gz',0,0) ?><?php if (count($formats)==0) { ?><input type="hidden" name="format" value="" /><?php } ?><?php if (count($formats)==1) { ?><input type="hidden" name="format" value="<?php echo array_keys($formats)[0] ?>" /><?php } ?> - </select></div> - <?php $replace= '1'; ?> - - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_replace_1" name="replace" value="1"<?php if('1'==@$replace)echo ' checked="checked"' ?> /> - - <label for="<?php echo REQUEST_ID ?>_replace_1" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'replace'.'')))); ?></span> - - </label> - <br/> - - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_replace_0" name="replace" value="0"<?php if('0'==@$replace)echo ' checked="checked"' ?> /> - - <label for="<?php echo REQUEST_ID ?>_replace_0" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'new'.'')))); ?></span> - - </label> - </div> - </div> - </div></fieldset> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/file/edit.tpl.out.php b/modules/cms-ui/themes/default/templates/file/edit.tpl.out.php @@ -1,21 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="headermenu"><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_VALUE') ?>" data-type="dialog" data-name="<?php echo lang('MENU_VALUE') ?>" data-method="value"><img src="./themes/default/images/icon/action/value.svg" title="<?php echo lang('MENU_value_DESC') ?>" /><?php echo lang('MENU_value') ?></a></div></div> - - <div class="label"> - </div> - <div class="line"> - <div class="input"> - <br/> - - <input size="40" id="req1513815322935893268_file" type="file" name="file" class="upload" /> - - <br/> - - <br/> - - </div> - </div> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/file/extract.tpl.out.php b/modules/cms-ui/themes/default/templates/file/extract.tpl.out.php @@ -1,17 +0,0 @@ - - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - - <tr> - <td class="act" colspan="2"> - <div class="invisible"><input type="submit" name="ok" class="%class%" - title="Bestätigen" - value="&nbsp;&nbsp;&nbsp;&nbsp;OK&nbsp;&nbsp;&nbsp;&nbsp;" /> - </div> - </td> - </tr> - - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/file/info.tpl.out.php b/modules/cms-ui/themes/default/templates/file/info.tpl.out.php @@ -1,197 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_name')))); ?></span> - - </div> - <div class="input"> - <span class="name"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_filename')))); ?></span> - - </div> - <div class="input"> - <span class="filename"><?php echo nl2br(encodeHtml(htmlentities($filename))); ?></span> - - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('file_extension')))); ?></span> - - </div> - <div class="input"> - <span class="extension"><?php echo nl2br(encodeHtml(htmlentities($extension))); ?></span> - - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_description')))); ?></span> - - </div> - <div class="input"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($description))); ?></span> - - </div> - </div> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('additional_info') ?></legend><div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_full_filename" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_full_filename')))); ?></span> - - </label> - </div> - <div class="input"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($full_filename))); ?></span> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_size" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('FILE_SIZE')))); ?></span> - - </label> - </div> - <div class="input"> - </div> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($size))); ?></span> - - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_mimetype" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('FILE_mimetype')))); ?></span> - - </label> - </div> - <div class="input"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($mimetype))); ?></span> - - <br/> - - <a class="action" target="_self" data-action="file" data-method="size" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_file_size'.'')))); ?></span> - - </a> - - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(lang('id'))))); ?></span> - - </div> - <div class="input"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($objectid))); ?></span> - - </div> - </div> - <?php $if4=(!empty($cache_filename)); if($if4){?> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_cache_filename" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('CACHE_FILENAME')))); ?></span> - - </label> - </div> - <div class="input"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($cache_filename))); ?></span> - - <br/> - - <img class="" title="" src="./themes/default/images/icon/el_date.png" /> - - <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($cache_filemtime) ?> - - </div> - </div> - <?php } ?> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_pages" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('FILE_PAGES')))); ?></span> - - </label> - </div> - <div class="input"> - <table width="100%"> - <?php foreach($pages as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <tr> - <td> - <a target="_self" data-url="<?php echo $url ?>" data-action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="" title="" src="./themes/default/images/icon_page.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </a> - - </td> - </tr> - <?php } ?> - </table> - <?php $if6=(empty($pages)); if($if6){?> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_NOT_FOUND')))); ?></span> - - <?php } ?> - </div> - </div> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('prop_userinfo') ?></legend><div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_created')))); ?></span> - - </div> - <div class="input"> - <img class="" title="" src="./themes/default/images/icon/el_date.png" /> - - <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($create_date) ?> - - <br/> - - <img class="" title="" src="./themes/default/images/icon/user.png" /> - - <?php include_once( 'modules/template-engine/components/html/user/component-user.php') ?><?php component_user($create_user) ?> - - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_lastchange')))); ?></span> - - </div> - <div class="input"> - <img class="" title="" src="./themes/default/images/icon/el_date.png" /> - - <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($lastchange_date) ?> - - <br/> - - <img class="" title="" src="./themes/default/images/icon/user.png" /> - - <?php include_once( 'modules/template-engine/components/html/user/component-user.php') ?><?php component_user($lastchange_user) ?> - - </div> - </div> - </div></fieldset> - -<div class="bottom"> - <div class="command "> - - <input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /> - - <!-- Cancel-Button nicht anzeigen, wenn cancel==false. --> </div> -</div> -</form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/file/preview.tpl.out.php b/modules/cms-ui/themes/default/templates/file/preview.tpl.out.php @@ -1,10 +0,0 @@ - - - <div class="clickable"> - <a class="action" target="_self" data-url="<?php echo $preview_url ?>" data-type="popup" data-action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'LINK_OPEN_IN_NEW_WINDOW'.'')))); ?></span> - - </a> - - </div> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/file/prop.tpl.out.php b/modules/cms-ui/themes/default/templates/file/prop.tpl.out.php @@ -1,55 +0,0 @@ - - - <div class="headermenu"><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_SIZE') ?>" data-type="dialog" data-name="<?php echo lang('MENU_SIZE') ?>" data-method="size"><img src="./themes/default/images/icon/action/size.svg" title="<?php echo lang('MENU_size_DESC') ?>" /><?php echo lang('MENU_size') ?></a></div><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_COMPRESS') ?>" data-type="dialog" data-name="<?php echo lang('MENU_COMPRESS') ?>" data-method="compress"><img src="./themes/default/images/icon/action/compress.svg" title="<?php echo lang('MENU_compress_DESC') ?>" /><?php echo lang('MENU_compress') ?></a></div><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_UNCOMPRESS') ?>" data-type="dialog" data-name="<?php echo lang('MENU_UNCOMPRESS') ?>" data-method="uncompress"><img src="./themes/default/images/icon/action/uncompress.svg" title="<?php echo lang('MENU_uncompress_DESC') ?>" /><?php echo lang('MENU_uncompress') ?></a></div><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_EXTRACT') ?>" data-type="dialog" data-name="<?php echo lang('MENU_EXTRACT') ?>" data-method="extract"><img src="./themes/default/images/icon/action/extract.svg" title="<?php echo lang('MENU_extract_DESC') ?>" /><?php echo lang('MENU_extract') ?></a></div></div> - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_name" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_name')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_name" name="name<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="name" value="<?php echo Text::encodeHtml(@$name) ?>" /><?php if ('') { ?><input type="hidden" name="name" value="<?php $name ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_filename" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_filename')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_filename" name="filename<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="filename" value="<?php echo Text::encodeHtml(@$filename) ?>" /><?php if ('') { ?><input type="hidden" name="filename" value="<?php $filename ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_extension" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('file_extension')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_extension" name="extension<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="extension" value="<?php echo Text::encodeHtml(@$extension) ?>" /><?php if ('') { ?><input type="hidden" name="extension" value="<?php $extension ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_description" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_description')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><textarea class="description" name="description"><?php echo Text::encodeHtml($description) ?></textarea></div> - - </div> - </div> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/file/pub.tpl.out.php b/modules/cms-ui/themes/default/templates/file/pub.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/file/remove.tpl.out.php b/modules/cms-ui/themes/default/templates/file/remove.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/file/show.tpl.out.php b/modules/cms-ui/themes/default/templates/file/show.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/file/structure.tpl.out.php b/modules/cms-ui/themes/default/templates/file/structure.tpl.out.php @@ -1,7 +0,0 @@ - - - <div class="structure tree"> - <?php include_once( 'modules/template-engine/components/html/tree/component-tree.php') ?><?php component_tree($outline) ?> - - </div> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/file/uncompress.tpl.out.php b/modules/cms-ui/themes/default/templates/file/uncompress.tpl.out.php @@ -1,29 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('options') ?></legend><div> - </div></fieldset> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <?php $replace= '1'; ?> - - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_replace_1" name="replace" value="1"<?php if('1'==@$replace)echo ' checked="checked"' ?> /> - - <label for="<?php echo REQUEST_ID ?>_replace_1" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'replace'.'')))); ?></span> - - </label> - <br/> - - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_replace_0" name="replace" value="0"<?php if('0'==@$replace)echo ' checked="checked"' ?> /> - - <label for="<?php echo REQUEST_ID ?>_replace_0" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'new'.'')))); ?></span> - - </label> - </div> - </div> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/file/value.tpl.out.php b/modules/cms-ui/themes/default/templates/file/value.tpl.out.php @@ -1,35 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - - <tr> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_VALUE')))); ?></span> - - </td> - <td> - <textarea name="value" data-mode="html" class="editor__code-editor"><?php echo ${'value'} ?></textarea> - - </td> - </tr> - <tr> - <td class="act" colspan="2"> - <div class="invisible"><input type="submit" name="ok" class="%class%" - title="Bestätigen" - value="&nbsp;&nbsp;&nbsp;&nbsp;OK&nbsp;&nbsp;&nbsp;&nbsp;" /> - </div> - </td> - </tr> - - -<div class="bottom"> - <div class="command "> - - <input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /> - - <!-- Cancel-Button nicht anzeigen, wenn cancel==false. --> </div> -</div> -</form> - - - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/filebrowser/browse.tpl.out.php b/modules/cms-ui/themes/default/templates/filebrowser/browse.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/filebrowser/browse.tpl.src.xml b/modules/cms-ui/themes/default/templates/filebrowser/browse.tpl.src.xml @@ -1,48 +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.xsd"> - <page> - <table> - <row class="headline"> - <column> - <text key="GLOBAL_TYPE"></text> - <text raw="_/_"></text> - <text key="GLOBAL_NAME"></text> - </column> - <column> - <text key="GLOBAL_LASTCHANGE"></text> - </column> - </row> - <if present="up_url"> - <row class="data"> - <column width="50%" colspan="8"> - <link type="html" url="var:up_url"> - <image type="folder"></image> - <text raw="__.._____________________"></text> - </link> - </column> - </row> - </if> - <list list="object" extract="true"> - <row class="data"> - <column class="clickable"> - <link type="html" url="var:url" title="var:desc" class="var:class"> - <image type="var:icon"></image> - <text var="name"></text> - <text raw="_"></text> - </link> - </column> - <column> - <date date="var:date"></date> - </column> - </row> - </list> - <if empty="object"> - <row> - <column colspan="2"> - <text text="GLOBAL_NOT_FOUND"></text> - </column> - </row> - </if> - </table> - </page> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/content.tpl.out.php b/modules/cms-ui/themes/default/templates/folder/content.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/folder/content.tpl.src.xml b/modules/cms-ui/themes/default/templates/folder/content.tpl.src.xml @@ -1,77 +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.xsd"> - <table> - <row class="headline"> - <column class="help"> - <text key="GLOBAL_TYPE"></text> - <text raw="_/_"></text> - <text key="GLOBAL_NAME"></text> - </column> - <column class="help"> - <text key="GLOBAL_LASTCHANGE"></text> - </column> - </row> - <if present="up_url"> - <row class="data"> - <column url="var:up_url"> - <image type="folder"></image> - <text raw=".."></text> - </column> - <column> - <text raw=""></text> - </column> - </row> - </if> - <list list="object" extract="true"> - <row class="data"> - <column id="var:id" name="var:name" action="var:type" title="var:desc" class="var:class"> - <image type="var:icon"></image> - <text var="name"></text> - <text raw="_"></text> - </column> - <column> - <date date="var:date"></date> - </column> - </row> - </list> - <if empty="object"> - <row> - <column colspan="2"> - <text text="GLOBAL_NOT_FOUND"></text> - </column> - </row> - </if> - <row class="data"> - <column colspan="2"> - <link type="view" action="folder" subaction="createfolder"> - <image file="icon/create"></image> - <text key="menu_folder_createfolder"></text> - </link> - </column> - </row> - <row class="data"> - <column colspan="2"> - <link type="view" action="folder" subaction="createpage"> - <image file="icon/create"></image> - <text key="menu_folder_createpage"></text> - </link> - </column> - </row> - <row class="data"> - <column colspan="2"> - <link type="view" action="folder" subaction="createfile"> - <image file="icon/create"></image> - <text key="menu_folder_createfile"></text> - </link> - </column> - </row> - <row class="data"> - <column colspan="2"> - <link type="modal" action="folder" subaction="createlink"> - <image file="icon/create"></image> - <text key="menu_folder_createlink"></text> - </link> - </column> - </row> - </table> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/create.tpl.out.php b/modules/cms-ui/themes/default/templates/folder/create.tpl.out.php @@ -1,107 +0,0 @@ - - - <div class="headermenu"><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_CREATEFOLDER') ?>" data-type="dialog" data-name="<?php echo lang('MENU_CREATEFOLDER') ?>" data-method="createfolder"><img src="./themes/default/images/icon/action/createfolder.svg" title="<?php echo lang('MENU_createfolder_DESC') ?>" /><?php echo lang('MENU_createfolder') ?></a></div><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_CREATELINK') ?>" data-type="dialog" data-name="<?php echo lang('MENU_CREATELINK') ?>" data-method="createlink"><img src="./themes/default/images/icon/action/createlink.svg" title="<?php echo lang('MENU_createlink_DESC') ?>" /><?php echo lang('MENU_createlink') ?></a></div><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_CREATEPAGE') ?>" data-type="dialog" data-name="<?php echo lang('MENU_CREATEPAGE') ?>" data-method="createpage"><img src="./themes/default/images/icon/action/createpage.svg" title="<?php echo lang('MENU_createpage_DESC') ?>" /><?php echo lang('MENU_createpage') ?></a></div><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_CREATEFILE') ?>" data-type="dialog" data-name="<?php echo lang('MENU_CREATEFILE') ?>" data-method="createfile"><img src="./themes/default/images/icon/action/createfile.svg" title="<?php echo lang('MENU_createfile_DESC') ?>" /><?php echo lang('MENU_createfile') ?></a></div><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_CREATEURL') ?>" data-type="dialog" data-name="<?php echo lang('MENU_CREATEURL') ?>" data-method="createurl"><img src="./themes/default/images/icon/action/createurl.svg" title="<?php echo lang('MENU_createurl_DESC') ?>" /><?php echo lang('MENU_createurl') ?></a></div></div> - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="multipart/form-data" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('folder') ?></legend><div> - <div class="line"> - <div class="label"> - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_type_folder" name="type" value="folder"<?php if('folder'==@$type)echo ' checked="checked"' ?> /> - - <label for="<?php echo REQUEST_ID ?>_type_folder" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_folder')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_folder_name" name="folder_name<?php if ('') echo '_disabled' ?>" type="text" maxlength="250" class="name" value="<?php echo Text::encodeHtml('') ?>" /><?php if ('') { ?><input type="hidden" name="folder_name" value="<?php '' ?>"/><?php } ?></div> - - </div> - </div> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('file') ?></legend><div> - <div class="line"> - <div class="label"> - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_type_file" name="type" value="file"<?php if('file'==@$type)echo ' checked="checked"' ?> /> - - <label for="<?php echo REQUEST_ID ?>_type_file" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_FILE')))); ?></span> - - </label> - </div> - <div class="input"> - <input size="30" id="req15143201701905745775_file" type="file" maxlength="<?php echo $maxlength ?>" name="file" class="upload" /> - - <br/> - - <span class="help"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'file_max_size'.'')))); ?></span> - - <span class="text"><?php echo nl2br('&nbsp;'); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($max_size))); ?></span> - - </div> - </div> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('page') ?></legend><div> - <div class="line"> - <div class="label"> - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_type_page" name="type" value="page"<?php if('page'==@$type)echo ' checked="checked"' ?> /> - - <label for="<?php echo REQUEST_ID ?>_type_page" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_TEMPLATE')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_page_templateid" name="page_templateid" title="" class=""<?php if (count($templates)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($templates,'',0,0) ?><?php if (count($templates)==0) { ?><input type="hidden" name="page_templateid" value="" /><?php } ?><?php if (count($templates)==1) { ?><input type="hidden" name="page_templateid" value="<?php echo array_keys($templates)[0] ?>" /><?php } ?> - </select></div> - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_type_page" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_NAME')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_page_name" name="page_name<?php if ('') echo '_disabled' ?>" type="text" maxlength="250" class="name" value="<?php echo Text::encodeHtml(@$page_name) ?>" /><?php if ('') { ?><input type="hidden" name="page_name" value="<?php $page_name ?>"/><?php } ?></div> - - </div> - </div> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('link') ?></legend><div> - <div class="line"> - <div class="label"> - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_type_link" name="type" value="link"<?php if('link'==@$type)echo ' checked="checked"' ?> /> - - <label for="<?php echo REQUEST_ID ?>_type_link" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_NAME')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_link_name" name="link_name<?php if ('') echo '_disabled' ?>" type="text" maxlength="250" class="name" value="<?php echo Text::encodeHtml(@$link_name) ?>" /><?php if ('') { ?><input type="hidden" name="link_name" value="<?php $link_name ?>"/><?php } ?></div> - - </div> - </div> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('url') ?></legend><div> - <div class="line"> - <div class="label"> - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_type_url" name="type" value="url"<?php if('url'==@$type)echo ' checked="checked"' ?> /> - - <label for="<?php echo REQUEST_ID ?>_type_link" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('url')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_url" name="url<?php if ('') echo '_disabled' ?>" type="text" maxlength="250" class="name" value="<?php echo Text::encodeHtml(@$url) ?>" /><?php if ('') { ?><input type="hidden" name="url" value="<?php $url ?>"/><?php } ?></div> - - </div> - </div> - </div></fieldset> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/create.tpl.src.xml b/modules/cms-ui/themes/default/templates/folder/create.tpl.src.xml @@ -1,100 +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.xsd"> - <header back="true" views="createfolder,createlink,createpage,createfile,createurl"></header> - <form enctype="multipart/form-data"> - <group title="message:folder"> - - <part class="line"> - <part class="label"> - <radio name="type" value="folder" children="folder_name"></radio> - <label for="type_folder"> - <text text="global_folder"></text> - </label> - </part> - <part class="input"> - <input name="folder_name" size="30" maxlength="250" default="" - class="name"></input> - </part> - </part> - - </group> - - <group title="message:file"> - - <part class="line"> - <part class="label"> - <radio name="type" value="file" children="file"></radio> - <label for="type_file"> - <text text="global_FILE"></text> - </label> - </part> - <part class="input"> - <upload name="file" size="30" maxlength="var:maxlength"></upload> - <newline></newline> - <text class="help" key="file_max_size"></text> - <text raw="_"></text> - <text var="max_size"></text> - </part> - </part> - </group> - - <group title="message:page"> - - <part class="line"> - <part class="label"> - <radio name="type" value="page" children="page_templateid,page_name"></radio> - <label for="type_page"> - <text text="global_TEMPLATE"></text> - </label> - </part> - <part class="input"> - <selectbox name="page_templateid" default="" list="templates"></selectbox> - </part> - </part> - - - - <part class="line"> - <part class="label"> - <label for="type_page"> - <text text="global_NAME"></text> - </label> - </part> - <part class="input"> - <input name="page_name" size="30" maxlength="250" class="name"></input> - </part> - </part> - - </group> - <group title="message:link"> - - <part class="line"> - <part class="label"> - <radio name="type" value="link" children="link_name"></radio> - <label for="type_link"> - <text text="global_NAME"></text> - </label> - </part> - <part class="input"> - <input name="link_name" size="30" maxlength="250" class="name"></input> - </part> - </part> - </group> - - <group title="message:url"> - - <part class="line"> - <part class="label"> - <radio name="type" value="url" children="url"></radio> - <label for="type_link"> - <text text="url"></text> - </label> - </part> - <part class="input"> - <input name="url" size="50" maxlength="250" class="name"></input> - </part> - </part> - </group> - - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/createfile.tpl.out.php b/modules/cms-ui/themes/default/templates/folder/createfile.tpl.out.php @@ -1,71 +0,0 @@ - - - - - <form name="" target="upload" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="multipart/form-data" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit=""><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <input type="hidden" name="type" value="file"/> - - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_name" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_FILE')))); ?></span> - - </label> - </div> - <div class="input"> - <input size="40" id="req1513815783924385661_file" type="file" maxlength="<?php echo $maxlength ?>" name="file" class="upload" multiple="multiple" /> - - </div> - </div> - <div class="line filedropzone"> - <div class="label"> - </div> - <div class="input"> - </div> - </div> - <div class="line"> - <div class="label"> - <span class="help"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'file_max_size'.'')))); ?></span> - - </div> - <div class="input"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($max_size))); ?></span> - - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'HTTP_URL'.'')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_url" name="url<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="text" value="<?php echo Text::encodeHtml(@$url) ?>" /><?php if ('') { ?><input type="hidden" name="url" value="<?php $url ?>"/><?php } ?></div> - - </div> - </div> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('description') ?></legend><div> - </div></fieldset> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_NAME')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_name" name="name<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="text" value="<?php echo Text::encodeHtml(@$name) ?>" /><?php if ('') { ?><input type="hidden" name="name" value="<?php $name ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_DESCRIPTION')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><textarea class="inputarea" name="description"><?php echo Text::encodeHtml('') ?></textarea></div> - - </div> - </div> - <div class="bottom"><div class="command 1"><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/createfile.tpl.src.xml b/modules/cms-ui/themes/default/templates/folder/createfile.tpl.src.xml @@ -1,65 +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.xsd"> - <header back="true"></header> - <form enctype="multipart/form-data" target="upload" type="upload" visible="true"> - <hidden name="type" default="file"></hidden> - <part class="line"> - <part class="label"> - <label for="name"> - <text text="global_FILE"></text> - </label> - </part> - <part class="input"> - <upload name="file" maxlength="var:maxlength" multiple="true"></upload> - </part> - </part> - - <part class="line filedropzone"> - <part class="label"> - </part> - <part class="input"> - </part> - </part> - - <part class="line"> - <part class="label"> - <text class="help" key="file_max_size"></text> - </part> - <part class="input"> - <text var="max_size"></text> - </part> - </part> - - <part class="line"> - <part class="label"> - <text key="HTTP_URL"></text> - </part> - <part class="input"> - <input name="url" size="50"></input> - </part> - </part> - <group title="message:description"></group> - - - <part class="line"> - <part class="label"> - <text text="global_NAME"></text> - </part> - <part class="input"> - <input name="name" size="50"></input> - </part> - </part> - - - <part class="line"> - <part class="label"> - <text text="global_DESCRIPTION"></text> - </part> - <part class="input"> - <inputarea rows="5" cols="50" name="description" default=""></inputarea> - </part> - </part> - - </form> - <focus field="name"></focus> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/createfolder.tpl.out.php b/modules/cms-ui/themes/default/templates/folder/createfolder.tpl.out.php @@ -1,27 +0,0 @@ - - - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_FOLDER')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_name" name="name<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="text" value="<?php echo Text::encodeHtml('') ?>" /><?php if ('') { ?><input type="hidden" name="name" value="<?php '' ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_DESCRIPTION')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><textarea class="inputarea" name="description"><?php echo Text::encodeHtml('') ?></textarea></div> - - </div> - </div> - <div class="bottom"><div class="command 1"><input type="button" class="submit ok" value="<?php echo lang('add') ?>" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/createfolder.tpl.src.xml b/modules/cms-ui/themes/default/templates/folder/createfolder.tpl.src.xml @@ -1,23 +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.xsd"> - <header back="true"></header> - <form visible="true" label="message:add"> - <part class="line"> - <part class="label"> - <text text="global_FOLDER"></text> - </part> - <part class="input"> - <input name="name" size="20" default=""></input> - </part> - </part> - - <part class="line"> - <part class="label"> - <text text="global_DESCRIPTION"></text> - </part> - <part class="input"> - <inputarea rows="5" cols="50" name="description" default=""></inputarea> - </part> - </part> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/createlink.tpl.out.php b/modules/cms-ui/themes/default/templates/folder/createlink.tpl.out.php @@ -1,31 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_NAME')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_name" name="name<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="text" value="<?php echo Text::encodeHtml('') ?>" /><?php if ('') { ?><input type="hidden" name="name" value="<?php '' ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_DESCRIPTION')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><textarea class="inputarea" name="description"><?php echo Text::encodeHtml('') ?></textarea></div> - - </div> - </div> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/createlink.tpl.src.xml b/modules/cms-ui/themes/default/templates/folder/createlink.tpl.src.xml @@ -1,31 +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.xsd"> - <form> - - <part class="line"> - <part class="label"> - <text text="global_NAME"></text> - </part> - <part class="input"> - <input name="name" size="20" default=""></input> - </part> - </part> - - <part class="line"> - <part class="label"> - </part> - <part class="input"> - </part> - </part> - - <part class="line"> - <part class="label"> - <text text="global_DESCRIPTION"></text> - </part> - <part class="input"> - <inputarea rows="5" cols="50" name="description" default=""></inputarea> - </part> - </part> - - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/createpage.tpl.out.php b/modules/cms-ui/themes/default/templates/folder/createpage.tpl.out.php @@ -1,37 +0,0 @@ - - - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_TEMPLATE')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_templateid" name="templateid" title="" class=""<?php if (count($templates)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($templates,'',0,0) ?><?php if (count($templates)==0) { ?><input type="hidden" name="templateid" value="" /><?php } ?><?php if (count($templates)==1) { ?><input type="hidden" name="templateid" value="<?php echo array_keys($templates)[0] ?>" /><?php } ?> - </select></div> - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_NAME')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_name" name="name<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="focus,name" value="<?php echo Text::encodeHtml(@$name) ?>" /><?php if ('') { ?><input type="hidden" name="name" value="<?php $name ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_DESCRIPTION')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><textarea class="inputarea" name="description"><?php echo Text::encodeHtml('') ?></textarea></div> - - </div> - </div> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/createpage.tpl.src.xml b/modules/cms-ui/themes/default/templates/folder/createpage.tpl.src.xml @@ -1,36 +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.xsd"> - <header back="true"></header> - <form> - <part class="line"> - <part class="label"> - <text text="global_TEMPLATE"></text> - </part> - <part class="input"> - <selectbox name="templateid" default="" list="templates"></selectbox> - </part> - </part> - - - <part class="line"> - <part class="label"> - <text text="global_NAME"></text> - </part> - <part class="input"> - <input name="name" size="20" class="focus,name"></input> - </part> - </part> - - - <part class="line"> - <part class="label"> - <text text="global_DESCRIPTION"></text> - </part> - <part class="input"> - - <inputarea rows="5" name="description" default=""></inputarea> - </part> - </part> - - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/createurl.tpl.out.php b/modules/cms-ui/themes/default/templates/folder/createurl.tpl.out.php @@ -1,41 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('URL')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_url" name="url<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="text" value="<?php echo Text::encodeHtml('') ?>" /><?php if ('') { ?><input type="hidden" name="url" value="<?php '' ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_NAME')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_name" name="name<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="text" value="<?php echo Text::encodeHtml('') ?>" /><?php if ('') { ?><input type="hidden" name="name" value="<?php '' ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_DESCRIPTION')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><textarea class="inputarea" name="description"><?php echo Text::encodeHtml('') ?></textarea></div> - - </div> - </div> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/createurl.tpl.src.xml b/modules/cms-ui/themes/default/templates/folder/createurl.tpl.src.xml @@ -1,40 +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.xsd"> - <form> - - <part class="line"> - <part class="label"> - <text text="URL"></text> - </part> - <part class="input"> - <input name="url" size="50" default=""></input> - </part> - </part> - - <part class="line"> - <part class="label"> - <text text="global_NAME"></text> - </part> - <part class="input"> - <input name="name" size="20" default=""></input> - </part> - </part> - - <part class="line"> - <part class="label"> - </part> - <part class="input"> - </part> - </part> - - <part class="line"> - <part class="label"> - <text text="global_DESCRIPTION"></text> - </part> - <part class="input"> - <inputarea rows="5" cols="50" name="description" default=""></inputarea> - </part> - </part> - - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/edit.tpl.out.php b/modules/cms-ui/themes/default/templates/folder/edit.tpl.out.php @@ -1,209 +0,0 @@ - - - <div class="headermenu"><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_ORDER') ?>" data-type="dialog" data-name="<?php echo lang('MENU_ORDER') ?>" data-method="order"><img src="./themes/default/images/icon/action/order.svg" title="<?php echo lang('MENU_order_DESC') ?>" /><?php echo lang('MENU_order') ?></a></div></div> - - <form name="" target="_self" action="folder" data-method="edit" data-action="folder" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="folder" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="folder" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="edit" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <table width="100%"> - <tr class="headline"> - <td class="help"> - <?php { $tmpname = 'checkall';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - </td> - <td class="help"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_TYPE'.'')))); ?></span> - - <span class="text"><?php echo nl2br('&nbsp;/&nbsp;'); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_NAME'.'')))); ?></span> - - </td> - </tr> - <?php foreach($object as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <tr class="data"> - <td width="1%"> - <?php $if7=($writable); if($if7){?> - <?php { $tmpname = $id;$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <?php } ?> - <?php $if7=(!'writable'); if($if7){?> - <span class="text"><?php echo nl2br('&nbsp;'); ?></span> - - <?php } ?> - </td> - <td class="clickable"> - <label for="<?php echo REQUEST_ID ?>_<?php echo $id ?>" class="label"> - <a target="_self" date-name="<?php echo $name ?>" name="<?php echo $name ?>" data-type="open" data-action="<?php echo $type ?>" data-method="<?php echo OR_METHOD ?>" data-id="<?php echo $objectid ?>" href="javascript:void(0);"> - <img class="" title="" src="/mnt/data/dankert/public_html/cms/cms09/modules/cms-core/../../modules/cms-ui/themes/default/images/icon_<?php echo $icon ?>.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $name,40,'..',constant('STR_PAD_BOTH') )))); ?></span> - - <span class="text"><?php echo nl2br('&nbsp;'); ?></span> - - </a> - - </label> - </td> - </tr> - <?php } ?> - <?php $if4=(empty($object)); if($if4){?> - <tr> - <td colspan="2"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_NOT_FOUND')))); ?></span> - - </td> - </tr> - <?php } ?> - <tr class="data"> - <td> - <span class="text"><?php echo nl2br('&nbsp;'); ?></span> - - </td> - <td class="clickable" colspan="2"> - <a target="_self" data-type="view" data-action="folder" data-method="createfolder" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="" title="" src="/mnt/data/dankert/public_html/cms/cms09/modules/cms-core/../../modules/cms-ui/themes/default/images/icon/icon/create.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_folder_createfolder'.'')))); ?></span> - - </a> - - </td> - </tr> - <tr class="data"> - <td> - <span class="text"><?php echo nl2br('&nbsp;'); ?></span> - - </td> - <td class="clickable" colspan="2"> - <a target="_self" data-type="view" data-action="folder" data-method="createpage" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="" title="" src="/mnt/data/dankert/public_html/cms/cms09/modules/cms-core/../../modules/cms-ui/themes/default/images/icon/icon/create.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_folder_createpage'.'')))); ?></span> - - </a> - - </td> - </tr> - <tr class="data"> - <td> - <span class="text"><?php echo nl2br('&nbsp;'); ?></span> - - </td> - <td class="clickable" colspan="2"> - <a target="_self" data-type="view" data-action="folder" data-method="createfile" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="" title="" src="/mnt/data/dankert/public_html/cms/cms09/modules/cms-core/../../modules/cms-ui/themes/default/images/icon/icon/create.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_folder_createfile'.'')))); ?></span> - - </a> - - </td> - </tr> - <tr class="data"> - <td> - <span class="text"><?php echo nl2br('&nbsp;'); ?></span> - - </td> - <td class="clickable" colspan="2"> - <a target="_self" data-type="view" data-action="folder" data-method="createlink" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="" title="" src="/mnt/data/dankert/public_html/cms/cms09/modules/cms-core/../../modules/cms-ui/themes/default/images/icon/icon/create.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_folder_createlink'.'')))); ?></span> - - </a> - - </td> - </tr> - <tr> - <td colspan="2"> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('options') ?></legend><div> - <?php $type= $defaulttype; ?> - - <?php foreach($actionlist as $list_key=>$actiontype){ ?> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_type_<?php echo $actiontype ?>" name="type" value="<?php echo $actiontype ?>"<?php if($actiontype==@$type)echo ' checked="checked"' ?> /> - - <label for="<?php echo REQUEST_ID ?>_type_<?php echo $actiontype ?>" class="label"> - <span class="text"><?php echo nl2br('&nbsp;'); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('FOLDER_SELECT_'.$actiontype.'')))); ?></span> - - </label> - </div> - </div> - <?php } ?> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <span class="text"><?php echo nl2br('&nbsp;&nbsp;&nbsp;&nbsp;'); ?></span> - - <?php { $tmpname = 'confirm';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_confirm" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'CONFIRM_DELETE'.'')))); ?></span> - - </label> - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'FOLDER_SELECT_TARGET_FOLDER'.'')))); ?></span> - - </div> - <div class="input"> - <div class="selector"> -<div class="inputholder"> -<input type="hidden" name="targetobjectid" value="{id}" /> -<input type="text" disabled="disabled" value="{name}" /> -</div> -<div class="tree selector" data-types="{types}" data-init-id="<?php echo $rootfolderid ?>" data-init-folderid="<?php echo $rootfolderid ?>"> - - </div> - </div> - </div></fieldset> - </td> - </tr> - </table> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/edit.tpl.src.xml b/modules/cms-ui/themes/default/templates/folder/edit.tpl.src.xml @@ -1,136 +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.xsd"> - <header views="order"></header> - <form action="folder" subaction="edit"> - <table> - <row class="headline"> - <column class="help"> - <!-- - <text key="SELECT"></text> - --> - <checkbox name="checkall" /> - </column> - <column class="help"> - <text key="GLOBAL_TYPE"></text> - <text raw="_/_"></text> - <text key="GLOBAL_NAME"></text> - </column> - </row> - <list list="object" extract="true"> - <row class="data"> - <column width="1%"> - <if true="var:writable"> - <checkbox name="var:id"></checkbox> - </if> - <if false="writable"> - <text raw="_"></text> - </if> - </column> - <column class="clickable"> - <label for="var:id"> - <link type="open" name="var:name" action="var:type" id="var:objectid"> - <image type="var:icon"></image> - <text var="name" maxlength="40"></text> - <text raw="_"></text> - </link> - </label> - </column> - </row> - </list> - <if empty="object"> - <row> - <column colspan="2"> - <text text="GLOBAL_NOT_FOUND"></text> - </column> - </row> - </if> - - <row class="data"> - <column> - <text raw="_" /> - </column> - <column colspan="2" class="clickable"> - <link type="view" action="folder" subaction="createfolder"> - <image file="icon/create"></image> - <text key="menu_folder_createfolder"></text> - </link> - </column> - </row> - <row class="data"> - <column> - <text raw="_" /> - </column> - <column colspan="2" class="clickable"> - <link type="view" action="folder" subaction="createpage"> - <image file="icon/create"></image> - <text key="menu_folder_createpage"></text> - </link> - </column> - </row> - <row class="data"> - <column> - <text raw="_" /> - </column> - <column colspan="2" class="clickable"> - <link type="view" action="folder" subaction="createfile"> - <image file="icon/create"></image> - <text key="menu_folder_createfile"></text> - </link> - </column> - </row> - <row class="data"> - <column> - <text raw="_" /> - </column> - <column colspan="2" class="clickable"> - <link type="view" action="folder" subaction="createlink"> - <image file="icon/create"></image> - <text key="menu_folder_createlink"></text> - </link> - </column> - </row> - <row> - <column colspan="2"> - <group title="message:options"> - <set var="type" value="var:defaulttype"></set> - <list list="actionlist" value="actiontype"> - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <radio name="type" value="var:actiontype"></radio> - <label for="type" value="var:actiontype"> - <text raw="_"></text> - <text key="var:actiontype" prefix="FOLDER_SELECT_"></text> - </label> - </part> - </part> - </list> - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <text raw="____" /> - <checkbox name="confirm" /> - <label for="confirm"> - <text key="CONFIRM_DELETE"></text> - </label> - </part> - </part> - - <part class="line"> - <part class="label"> - <text key="FOLDER_SELECT_TARGET_FOLDER" /> - </part> - <part class="input"> - <selector types="folder" param="targetobjectid" name="var:rootfoldername" - id="var:rootfolderid" folderid="var:rootfolderid" /> - </part> - </part> - </group> - </column> - </row> - </table> - </form> - <insert script="mark" inline="true"></insert> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/info.tpl.out.php b/modules/cms-ui/themes/default/templates/folder/info.tpl.out.php @@ -1,97 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('GLOBAL_PROP') ?></legend><div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_name" class="label"><?php echo lang('global_name') ?> - </label> - </div> - <div class="input"> - <span class="name,focus"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_filename" class="label"><?php echo lang('global_filename') ?> - </label> - </div> - <div class="input"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($filename))); ?></span> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_description" class="label"><?php echo lang('global_description') ?> - </label> - </div> - <div class="input"> - <span class="description"><?php echo nl2br(encodeHtml(htmlentities($description))); ?></span> - - </div> - </div> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('additional_info') ?></legend><div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_full_filename" class="label"><?php echo lang('FULL_FILENAME') ?> - </label> - </div> - <div class="input"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($full_filename))); ?></span> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_objectid" class="label"><?php echo lang('id') ?> - </label> - </div> - <div class="input"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($objectid))); ?></span> - - </div> - </div> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('PROP_USERINFO') ?></legend><div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_create_user" class="label"><?php echo lang('global_created') ?> - </label> - </div> - <div class="input"> - <img class="image-icon image-icon--element" title="" src="./themes/default/images/icon/element/date.svg" /> - - <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($create_date) ?> - - <br/> - - <img class="image-icon image-icon--action" title="" src="./themes/default/images/icon/action/user.svg" /> - - <?php include_once( 'modules/template-engine/components/html/user/component-user.php') ?><?php component_user($create_user) ?> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_lastchange_user" class="label"><?php echo lang('global_lastchange') ?> - </label> - </div> - <div class="input"> - <img class="image-icon image-icon--element" title="" src="./themes/default/images/icon/element/date.svg" /> - - <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($lastchange_date) ?> - - <br/> - - <img class="image-icon image-icon--action" title="" src="./themes/default/images/icon/action/user.svg" /> - - <?php include_once( 'modules/template-engine/components/html/user/component-user.php') ?><?php component_user($lastchange_user) ?> - - </div> - </div> - </div></fieldset> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/info.tpl.src.xml b/modules/cms-ui/themes/default/templates/folder/info.tpl.src.xml @@ -1,82 +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.xsd"> - <form> - - <group title="message:GLOBAL_PROP"> - <part class="line"> - <part class="label"> - <label for="name" key="global_name" /> - </part> - <part class="input"> - <text var="name" class="name,focus" /> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="filename" key="global_filename" /> - </part> - <part class="input"> - <text var="filename" /> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="description" key="global_description" /> - </part> - <part class="input"> - <text var="description" class="description" /> - </part> - </part> - </group> - - <group title="message:additional_info"> - <part class="line"> - <part class="label"> - <label for="full_filename" key="FULL_FILENAME" /> - </part> - <part class="input"> - <text var="full_filename"></text> - </part> - </part> - - <part class="line"> - <part class="label"> - <label for="objectid" key="id"></label> - </part> - <part class="input"> - <text var="objectid"></text> - </part> - </part> - </group> - - <group title="message:PROP_USERINFO"> - <part class="line"> - <part class="label"> - <label for="create_user" key="global_created"> - </label> - </part> - <part class="input"> - <image elementtype="date"></image> - <date date="var:create_date"></date> - <newline></newline> - <image action="user"></image> - <user user="var:create_user"></user> - </part> - </part> - - <part class="line"> - <part class="label"> - <label for="lastchange_user" key="global_lastchange"> - </label> - </part> - <part class="input"> - <image elementtype="date"></image> - <date date="var:lastchange_date"></date> - <newline></newline> - <image action="user"></image> - <user user="var:lastchange_user"></user> - </part> - </part> - </group> - </form> -</output> - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/inherit.tpl.out.php b/modules/cms-ui/themes/default/templates/folder/inherit.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/folder/inherit.tpl.src.xml b/modules/cms-ui/themes/default/templates/folder/inherit.tpl.src.xml @@ -1,22 +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.xsd"> - <header back="true" /> - <form> - - <if value="var:type" equals="folder"> - <group title="message:options"> - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <set var="inherit" value="1"></set> - <input type="checkbox" name="inherit"></input> - <label for="inherit"> - <text key="inherit_rights"></text> - </label> - </part> - </part> - </group> - </if> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/order.tpl.out.php b/modules/cms-ui/themes/default/templates/folder/order.tpl.out.php @@ -1,57 +0,0 @@ - - - - - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_token" name="token<?php if ('') echo '_disabled' ?>" type="hidden" maxlength="256" class="text" value="<?php echo Text::encodeHtml($token) ?>" /><?php if ('') { ?><input type="hidden" name="token" value="<?php $token ?>"/><?php } ?></div> - - <table class="sortable" width="100%"> - <tr class="headline"> - <td class="help clickable"> - <a title="<?php echo lang('FOLDER_FLIP') ?>" target="_self" data-type="post" data-action="folder" data-method="reorder" data-id="<?php echo OR_ID ?>" data-data="{&quot;action&quot;:&quot;folder&quot;,&quot;subaction&quot;:&quot;reorder&quot;,&quot;id&quot;:&quot;<?php echo OR_ID ?>&quot;,&quot;token&quot;:&quot;<?php echo token() ?>&quot;,&quot;var1&quot;:&quot;flip&quot;,&quot;none&quot;:&quot;0&quot;}"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'FOLDER_ORDER'.'')))); ?></span> - - </a> - - </td> - <td class="help clickable"> - <a title="<?php echo lang('FOLDER_ORDERBYTYPE') ?>" target="_self" data-type="post" data-action="folder" data-method="reorder" data-id="<?php echo OR_ID ?>" data-data="{&quot;action&quot;:&quot;folder&quot;,&quot;subaction&quot;:&quot;reorder&quot;,&quot;id&quot;:&quot;<?php echo OR_ID ?>&quot;,&quot;token&quot;:&quot;<?php echo token() ?>&quot;,&quot;var1&quot;:&quot;type&quot;,&quot;none&quot;:&quot;0&quot;}"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_TYPE'.'')))); ?></span> - - </a> - - </td> - <td class="help clickable"> - <a title="<?php echo lang('FOLDER_ORDERBYNAME') ?>" target="_self" data-type="post" data-action="folder" data-method="reorder" data-id="<?php echo OR_ID ?>" data-data="{&quot;action&quot;:&quot;folder&quot;,&quot;subaction&quot;:&quot;reorder&quot;,&quot;id&quot;:&quot;<?php echo OR_ID ?>&quot;,&quot;token&quot;:&quot;<?php echo token() ?>&quot;,&quot;var1&quot;:&quot;name&quot;,&quot;none&quot;:&quot;0&quot;}"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_NAME'.'')))); ?></span> - - </a> - - </td> - <td class="help clickable"> - <a title="<?php echo lang('FOLDER_ORDERBYLASTCHANGE') ?>" target="_self" data-type="post" data-action="folder" data-method="reorder" data-id="<?php echo OR_ID ?>" data-data="{&quot;action&quot;:&quot;folder&quot;,&quot;subaction&quot;:&quot;reorder&quot;,&quot;id&quot;:&quot;<?php echo OR_ID ?>&quot;,&quot;token&quot;:&quot;<?php echo token() ?>&quot;,&quot;var1&quot;:&quot;lastchange&quot;,&quot;none&quot;:&quot;0&quot;}"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_LASTCHANGE'.'')))); ?></span> - - </a> - - </td> - </tr> - <?php foreach($object as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <tr class="data" data-id="<?php echo $id ?>"> - <td> - <span class="text"><?php echo nl2br('&nbsp;'); ?></span> - - </td> - <td colspan="2"> - <img class="" title="" src="./themes/default/images/icon_<?php echo $icon ?>.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </td> - <td> - <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($date) ?> - - </td> - </tr> - <?php } ?> - </table> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/order.tpl.src.xml b/modules/cms-ui/themes/default/templates/folder/order.tpl.src.xml @@ -1,47 +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.xsd"> - <header back="true"></header> - <input type="hidden" name="token" default="var:token"></input> - <table class="sortable"> - <row class="headline"> - <column class="help clickable"> - <link type="post" action="folder" subaction="reorder" var1="type" - value1="flip" title="message:FOLDER_FLIP"> - <text key="FOLDER_ORDER"></text> - </link> - </column> - <column class="help clickable"> - <link type="post" action="folder" subaction="reorder" var1="type" - value1="type" title="message:FOLDER_ORDERBYTYPE"> - <text key="GLOBAL_TYPE"></text> - </link> - </column> - <column class="help clickable"> - <link type="post" action="folder" subaction="reorder" var1="type" - value1="name" title="message:FOLDER_ORDERBYNAME"> - <text key="GLOBAL_NAME"></text> - </link> - </column> - <column class="help clickable"> - <link type="post" action="folder" subaction="reorder" var1="type" - value1="lastchange" title="message:FOLDER_ORDERBYLASTCHANGE"> - <text key="GLOBAL_LASTCHANGE"></text> - </link> - </column> - </row> - <list list="object" extract="true"> - <row class="data" id="var:id"> - <column> - <text raw="_"></text> - </column> - <column colspan="2"> - <image type="var:icon"></image> - <text var="name"></text> - </column> - <column> - <date date="var:date"></date> - </column> - </row> - </list> - </table> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/preview.tpl.out.php b/modules/cms-ui/themes/default/templates/folder/preview.tpl.out.php @@ -1,57 +0,0 @@ - - - <table width="100%"> - <tr class="headline"> - <td class="help"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_TYPE'.'')))); ?></span> - - <span class="text"><?php echo nl2br('&nbsp;/&nbsp;'); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_NAME'.'')))); ?></span> - - </td> - <td class="help"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_LASTCHANGE'.'')))); ?></span> - - </td> - </tr> - <?php $if3=(!empty($up_url)); if($if3){?> - <tr class="data"> - <td> - <img class="" title="" src="./themes/default/images/icon_folder_up.png" /> - - <span class="text"><?php echo nl2br('..'); ?></span> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(''))); ?></span> - - </td> - </tr> - <?php } ?> - <?php foreach($object as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <tr class="data"> - <td class="<?php echo $class ?>" title="<?php echo $desc ?>" onclick="javascript:openNewAction('<?php echo $name ?>','<?php echo $type ?>','<?php echo $id ?>');"> - <img class="" title="" src="./themes/default/images/icon_<?php echo $icon ?>.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - <span class="text"><?php echo nl2br('&nbsp;'); ?></span> - - </td> - <td> - <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($date) ?> - - </td> - </tr> - <?php } ?> - <?php $if3=(empty($object)); if($if3){?> - <tr> - <td colspan="2"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_NOT_FOUND')))); ?></span> - - </td> - </tr> - <?php } ?> - </table> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/preview.tpl.src.xml b/modules/cms-ui/themes/default/templates/folder/preview.tpl.src.xml @@ -1,47 +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.xsd"> - <table> - <row class="headline"> - <column class="help"> - <text key="GLOBAL_TYPE"></text> - <text raw="_/_"></text> - <text key="GLOBAL_NAME"></text> - </column> - <column class="help"> - <text key="GLOBAL_LASTCHANGE"></text> - </column> - </row> - <if present="up_url"> - <row class="data"> - <column url="var:up_url"> - <image type="folder_up"></image> - <text raw=".."></text> - </column> - <column> - <text raw=""></text> - </column> - </row> - </if> - <list list="object" extract="true"> - <row class="data"> - <column id="var:id" name="var:name" action="var:type" title="var:desc" - class="var:class"> - <image type="var:icon"></image> - <text var="name"></text> - <text raw="_"></text> - </column> - <column> - <date date="var:date"></date> - </column> - </row> - </list> - <if empty="object"> - <row> - <column colspan="2"> - <text text="GLOBAL_NOT_FOUND"></text> - </column> - </row> - </if> - - </table> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/prop.tpl.out.php b/modules/cms-ui/themes/default/templates/folder/prop.tpl.out.php @@ -1,37 +0,0 @@ - - - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_name" class="label"><?php echo lang('global_name') ?> - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_name" name="name<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="name,focus" value="<?php echo Text::encodeHtml(@$name) ?>" /><?php if ('') { ?><input type="hidden" name="name" value="<?php $name ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_filename" class="label"><?php echo lang('global_filename') ?> - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_filename" name="filename<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="filename" value="<?php echo Text::encodeHtml(@$filename) ?>" /><?php if ('') { ?><input type="hidden" name="filename" value="<?php $filename ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_description" class="label"><?php echo lang('global_description') ?> - </label> - </div> - <div class="input"> - <div class="inputholder"><textarea class="description" name="description"><?php echo Text::encodeHtml($description) ?></textarea></div> - - </div> - </div> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="<?php echo lang('global_save') ?>" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/prop.tpl.src.xml b/modules/cms-ui/themes/default/templates/folder/prop.tpl.src.xml @@ -1,32 +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.xsd"> - <header></header> - <form label="message:global_save"> - - <part class="line"> - <part class="label"> - <label for="name" key="global_name" /> - </part> - <part class="input"> - <input name="name" class="name,focus"></input> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="filename" key="global_filename" /> - </part> - <part class="input"> - <input name="filename" class="filename" /> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="description" key="global_description"> - </label> - </part> - <part class="input"> - <inputarea name="description" class="description"></inputarea> - </part> - </part> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/pub.tpl.out.php b/modules/cms-ui/themes/default/templates/folder/pub.tpl.out.php @@ -1,129 +0,0 @@ - - - <?php $if2=(@$conf['security']['nopublish']); if($if2){?> - <div class="message warn"> - <span class="help"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_NOPUBLISH_DESC'.'')))); ?></span> - - </div> - <?php } ?> - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="1" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <?php $if3=(!empty($pages)); if($if3){?> - <?php $if4=(!empty($subdirs)); if($if4){?> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <?php { $tmpname = 'pages';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_pages" class="label"> - <span class="text"><?php echo nl2br('&nbsp;'); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_pages')))); ?></span> - - </label> - </div> - </div> - <?php } ?> - <?php } ?> - <?php $if3=(!empty($files)); if($if3){?> - <?php $if4=($subdirs); if($if4){?> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <?php { $tmpname = 'files';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_files" class="label"> - <span class="text"><?php echo nl2br('&nbsp;'); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_files')))); ?></span> - - </label> - </div> - </div> - <?php } ?> - <?php } ?> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('options') ?></legend><div> - <?php $if4=(!empty($subdirs)); if($if4){?> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <?php { $tmpname = 'subdirs';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_subdirs" class="label"> - <span class="text"><?php echo nl2br('&nbsp;'); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_PUBLISH_WITH_SUBDIRS')))); ?></span> - - </label> - </div> - </div> - <?php } ?> - <?php $if4=(!empty($clean)); if($if4){?> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <?php { $tmpname = 'clean';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_clean" class="label"> - <span class="text"><?php echo nl2br('&nbsp;'); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_CLEAN_AFTER_PUBLISH')))); ?></span> - - </label> - </div> - </div> - <?php } ?> - </div></fieldset> - <div class="bottom"><div class="command 1"><input type="button" class="submit ok" value="<?php echo lang('publish') ?>" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/pub.tpl.src.xml b/modules/cms-ui/themes/default/templates/folder/pub.tpl.src.xml @@ -1,77 +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.xsd"> - - <!-- - Falls das Veroeffentlichen deaktiviert ist, eine Warnmeldung anzeigen. - --> - <if true="config:security/nopublish"> - <part class="message warn"> - <text key="GLOBAL_NOPUBLISH_DESC" class="help"></text> - </part> - </if> - - - <form cancel="false" visible="true" label="message:publish" async="true"> - <if present="pages"> - <if present="subdirs"> - - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <checkbox name="pages"></checkbox> - <label for="pages"> - <text raw="_"></text> - <text text="global_pages"></text> - </label> - </part> - </part> - </if> - </if> - <if present="files"> - <if true="var:subdirs"> - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <checkbox name="files"></checkbox> - <label for="files"> - <text raw="_"></text> - <text text="global_files"></text> - </label> - </part> - </part> - - </if> - </if> - <group title="message:options"> - <if present="subdirs"> - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <checkbox name="subdirs"></checkbox> - <label for="subdirs"> - <text raw="_"></text> - <text text="GLOBAL_PUBLISH_WITH_SUBDIRS"></text> - </label> - </part> - </part> - </if> - <if present="clean"> - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <checkbox name="clean"></checkbox> - <label for="clean"> - <text raw="_"></text> - <text text="global_CLEAN_AFTER_PUBLISH"></text> - </label> - </part> - </part> - </if> - </group> - - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/remove.tpl.out.php b/modules/cms-ui/themes/default/templates/folder/remove.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/folder/remove.tpl.src.xml b/modules/cms-ui/themes/default/templates/folder/remove.tpl.src.xml @@ -1,3 +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.xsd"><dummy><form><window icon="group" name="GLOBAL_GROUPS"><row><column><text text="GLOBAL_NAME"></text></column><column><text var="name"></text></column></row><row><column><text text="GLOBAL_DELETE"></text></column><column><checkbox name="delete"></checkbox></column></row><row><column colspan="2" class="help"><text text="GROUP_DELETE_DESC"></text></column></row><row><column colspan="2"><button type="ok"></button></column></row></window></form><focus field="delete"></focus></dummy></output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/show.tpl.out.php b/modules/cms-ui/themes/default/templates/folder/show.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/folder/show.tpl.src.xml b/modules/cms-ui/themes/default/templates/folder/show.tpl.src.xml @@ -1,77 +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.xsd"> - <table> - <row class="headline"> - <column class="help"> - <text key="GLOBAL_TYPE"></text> - <text raw="_/_"></text> - <text key="GLOBAL_NAME"></text> - </column> - <column class="help"> - <text key="GLOBAL_LASTCHANGE"></text> - </column> - </row> - <if present="up_url"> - <row class="data"> - <column url="var:up_url"> - <image type="folder"></image> - <text raw=".."></text> - </column> - <column> - <text raw=""></text> - </column> - </row> - </if> - <list list="object" extract="true"> - <row class="data"> - <column id="var:id" name="var:name" action="var:type" title="var:desc" class="var:class"> - <image type="var:icon"></image> - <text var="name"></text> - <text raw="_"></text> - </column> - <column> - <date date="var:date"></date> - </column> - </row> - </list> - <if empty="object"> - <row> - <column colspan="2"> - <text text="GLOBAL_NOT_FOUND"></text> - </column> - </row> - </if> - <row class="data"> - <column colspan="2"> - <link type="view" action="folder" subaction="createfolder"> - <image file="icon/create"></image> - <text key="menu_folder_createfolder"></text> - </link> - </column> - </row> - <row class="data"> - <column colspan="2"> - <link type="view" action="folder" subaction="createpage"> - <image file="icon/create"></image> - <text key="menu_folder_createpage"></text> - </link> - </column> - </row> - <row class="data"> - <column colspan="2"> - <link type="view" action="folder" subaction="createfile"> - <image file="icon/create"></image> - <text key="menu_folder_createfile"></text> - </link> - </column> - </row> - <row class="data"> - <column colspan="2"> - <link type="modal" action="folder" subaction="createlink"> - <image file="icon/create"></image> - <text key="menu_folder_createlink"></text> - </link> - </column> - </row> - </table> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/structure.tpl.out.php b/modules/cms-ui/themes/default/templates/folder/structure.tpl.out.php @@ -1,7 +0,0 @@ - - - <div class="structure tree"> - <?php include_once( 'modules/template-engine/components/html/tree/component-tree.php') ?><?php component_tree($outline) ?> - - </div> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/folder/structure.tpl.src.xml b/modules/cms-ui/themes/default/templates/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.xsd"> - <part class="structure tree"> - <tree tree="var:outline"></tree> - </part> - -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/group/add.tpl.out.php b/modules/cms-ui/themes/default/templates/group/add.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/group/add.tpl.src.xml b/modules/cms-ui/themes/default/templates/group/add.tpl.src.xml @@ -1,3 +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.xsd"><header back="true"><form><part class="line"><part class="label"><label for="name" key="name"></label></part><part class="input"><input name="name" class="focus"></input></part></part></form></header></output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/group/edit.tpl.out.php b/modules/cms-ui/themes/default/templates/group/edit.tpl.out.php @@ -1,19 +0,0 @@ - - - <div class="headermenu"><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_REMOVE') ?>" data-type="dialog" data-name="<?php echo lang('MENU_REMOVE') ?>" data-method="remove"><img src="./themes/default/images/icon/action/remove.svg" title="<?php echo lang('MENU_remove_DESC') ?>" /><?php echo lang('MENU_remove') ?></a></div></div> - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="post" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_name" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_NAME')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_name" name="name<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="focus" value="<?php echo Text::encodeHtml(@$name) ?>" /><?php if ('') { ?><input type="hidden" name="name" value="<?php $name ?>"/><?php } ?></div> - - </div> - </div> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/group/edit.tpl.src.xml b/modules/cms-ui/themes/default/templates/group/edit.tpl.src.xml @@ -1,16 +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.xsd"> - <header views="remove"></header> - <form method="post"> - <part class="line"> - <part class="label"> - <label for="name"> - <text text="GLOBAL_NAME"></text> - </label> - </part> - <part class="input"> - <input name="name" class="focus"></input> - </part> - </part> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/group/listing.tpl.out.php b/modules/cms-ui/themes/default/templates/group/listing.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/group/listing.tpl.src.xml b/modules/cms-ui/themes/default/templates/group/listing.tpl.src.xml @@ -1,26 +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.xsd"> - <header views="add" /> - <table> - <row class="headline"> - <column> - <text key="name"></text> - </column> - </row> - <list list="el" extract="true"> - <row class="data"> - <column url="var:url"> - <image file="icon_group"></image> - <text var="name"></text> - </column> - </row> - </list> - <row> - <column> - <link type="dialog" class="action" action="group" subaction="add"> - <text key="menu_group_add"></text> - </link> - </column> - </row> - </table> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/group/memberships.tpl.out.php b/modules/cms-ui/themes/default/templates/group/memberships.tpl.out.php @@ -1,51 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="1" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <table width="100%"> - <tr class="headline"> - <td width="10%"> - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'name'.'')))); ?></span> - - </td> - </tr> - <?php foreach($memberships as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <tr class="data"> - <td> - <?php { $tmpname = $var;$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - </td> - <td> - <label for="<?php echo REQUEST_ID ?>_<?php echo $var ?>" class="label"> - <img class="" title="" src="./themes/default/images/icon/icon_user.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </label> - </td> - </tr> - <?php } ?> - </table> - <tr> - <td class="act" colspan="2"> - <div class="invisible"><input type="submit" name="ok" class="%class%" - title="Bestätigen" - value="&nbsp;&nbsp;&nbsp;&nbsp;OK&nbsp;&nbsp;&nbsp;&nbsp;" /> - </div> - </td> - </tr> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/group/memberships.tpl.src.xml b/modules/cms-ui/themes/default/templates/group/memberships.tpl.src.xml @@ -1,31 +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.xsd"> - <form autosave="true"> - <table> - <row class="headline"> - <column width="10%"></column> - <column> - <text key="name"></text> - </column> - </row> - <list list="memberships" extract="true"> - <row class="data"> - <column> - <checkbox name="var:var"></checkbox> - </column> - <column> - <label for="var:var"> - <image file="icon_user"></image> - <text var="name"></text> - </label> - </column> - </row> - </list> - </table> - <row> - <column colspan="2" class="act"> - <button type="ok"></button> - </column> - </row> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/group/remove.tpl.out.php b/modules/cms-ui/themes/default/templates/group/remove.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/group/remove.tpl.src.xml b/modules/cms-ui/themes/default/templates/group/remove.tpl.src.xml @@ -1,3 +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.xsd"><header back="true"><form><part class="line"><part class="label"><label key="GLOBAL_NAME"></label></part><part class="input"><text var="name"></text></part></part><group title="message:options"></group><part class="line"><part class="label"></part><part class="input"><checkbox name="confirm"></checkbox><label for="confirm" key="GROUP_DELETE"></label></part></part></form></header></output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/group/rights.tpl.out.php b/modules/cms-ui/themes/default/templates/group/rights.tpl.out.php @@ -1,102 +0,0 @@ - - - <table width="100%"> - <?php foreach($projects as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <tr> - <td> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo $projectname ?></legend><div> - <?php $if7=(empty($acls)); if($if7){?> - <tr> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_NOT_FOUND')))); ?></span> - - </td> - </tr> - <?php } ?> - <?php $if7=!(empty($acls)); if($if7){?> - <table width="100%"> - <tr class="headline"> - <td class="help"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_USER')))); ?></span> - - </td> - <td class="help"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_NAME')))); ?></span> - - </td> - <td class="help"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_LANGUAGE')))); ?></span> - - </td> - <?php foreach($show as $list_key=>$t){ ?> - <td class="help"> - <span class="text" title="<?php echo lang('acl_'.$t.'') ?>"><?php echo nl2br(encodeHtml(htmlentities(lang('acl_'.$t.'_abbrev')))); ?></span> - - </td> - <?php } ?> - </tr> - <?php foreach($rights as $aclid=>$acl){ ?><?php extract($acl) ?> - <tr class="data"> - <td> - <?php $if12=(!empty($groupname)); if($if12){?> - <img class="" title="" src="./themes/default/images/icon_group.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $groupname,20,'..',constant('STR_PAD_BOTH') )))); ?></span> - - <?php } ?> - <?php $if12=!(!empty($username)); if($if12){?> - <?php $if13=!(!empty($groupname)); if($if13){?> - <img class="" title="" src="./themes/default/images/icon_group.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'global_all'.'')))); ?></span> - - <?php } ?> - <?php } ?> - <?php unset($username) ?> - - <?php unset($groupname) ?> - - </td> - <td> - <img class="" title="" src="./themes/default/images/icon_<?php echo $objecttype ?>.png" /> - - <a target="_self" data-action="<?php echo $objecttype ?>" data-method="" data-id="<?php echo $objectid ?>" href="javascript:void(0);"> - <span class="text" title="<?php echo lang('select') ?>"><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $objectname,20,'..',constant('STR_PAD_BOTH') )))); ?></span> - - </a> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $languagename,20,'..',constant('STR_PAD_BOTH') )))); ?></span> - - </td> - <?php foreach($show as $list_key=>$list_value){ ?> - <td> - <?php $$list_value= $bits[$list_value]; ?> - - <?php { $tmpname = $list_value;$default = '';$readonly = '1'; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - </td> - <?php } ?> - </tr> - <?php } ?> - </table> - <?php } ?> - </div></fieldset> - </td> - </tr> - <?php } ?> - </table> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/group/rights.tpl.src.xml b/modules/cms-ui/themes/default/templates/group/rights.tpl.src.xml @@ -1,73 +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.xsd"> - <table> - <list list="projects" extract="true"> - <row> - <column> - <group title="var:projectname"> - <if empty="acls"> - <row> - <column> - <text text="GLOBAL_NOT_FOUND"></text> - </column> - </row> - </if> - <if not="true" empty="acls"> - <table> - <row class="headline"> - <column class="help"> - <text text="GLOBAL_USER"></text> - </column> - <column class="help"> - <text text="GLOBAL_NAME"></text> - </column> - <column class="help"> - <text text="GLOBAL_LANGUAGE"></text> - </column> - <list list="show" value="t"> - <column class="help"> - <text key="var:t" prefix="acl_" suffix="_abbrev" title="message:acl_{t}"></text> - </column> - </list> - </row> - <list list="rights" key="aclid" value="acl" extract="true"> - <row class="data"> - <column> - <if present="groupname"> - <image type="group"></image> - <text var="groupname" maxlength="20"></text> - </if> - <if not="true" present="username"> - <if not="true" present="groupname"> - <image type="group"></image> - <text key="global_all"></text> - </if> - </if> - <set var="username"></set> - <set var="groupname"></set> - </column> - <column> - <image type="var:objecttype"></image> - <link action="var:objecttype" subaction="" id="var:objectid"> - <text var="objectname" maxlength="20" title="message:select"></text> - </link> - </column> - <column> - <text var="languagename" maxlength="20"></text> - </column> - <list list="show"> - <column> - <set var="var:list_value" value="var:bits" key="var:list_value"></set> - <checkbox name="var:list_value" readonly="true"></checkbox> - </column> - </list> - </row> - </list> - </table> - </if> - </group> - </column> - </row> - </list> - </table> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/grouplist/add.tpl.out.php b/modules/cms-ui/themes/default/templates/grouplist/add.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/grouplist/add.tpl.src.xml b/modules/cms-ui/themes/default/templates/grouplist/add.tpl.src.xml @@ -1,13 +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.xsd"> - <form> - <part class="line"> - <part class="label"> - <label for="name" key="name"></label> - </part> - <part class="input"> - <input name="name" class="focus"></input> - </part> - </part> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/grouplist/show.tpl.out.php b/modules/cms-ui/themes/default/templates/grouplist/show.tpl.out.php @@ -1,34 +0,0 @@ - - - <div class="headermenu"><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_ADD') ?>" data-type="dialog" data-name="<?php echo lang('MENU_ADD') ?>" data-method="add"><img src="./themes/default/images/icon/action/add.svg" title="<?php echo lang('MENU_add_DESC') ?>" /><?php echo lang('MENU_add') ?></a></div></div> - - <table width="100%"> - <tr class="headline"> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'name'.'')))); ?></span> - - </td> - </tr> - <?php foreach($el as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <tr class="data"> - <td onclick="javascript:openNewAction('<?php echo $name ?>','group','<?php echo $id ?>');"> - <img class="" title="" src="./themes/default/images/icon/icon_group.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </td> - </tr> - <?php } ?> - <tr class="data"> - <td class="clickable" colspan="2"> - <a target="_self" date-name="<?php echo lang('menu_add') ?>" name="<?php echo lang('menu_add') ?>" data-type="dialog" data-action="<?php echo OR_ACTION ?>" data-method="add" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="" title="" src="./themes/default/images/icon/add.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('new')))); ?></span> - - </a> - - </td> - </tr> - </table> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/grouplist/show.tpl.src.xml b/modules/cms-ui/themes/default/templates/grouplist/show.tpl.src.xml @@ -1,27 +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.xsd"> - <header views="add" /> - <table> - <row class="headline"> - <column> - <text key="name"></text> - </column> - </row> - <list list="el" extract="true"> - <row class="data"> - <column id="var:id" name="var:name" action="group">> - <image file="icon_group"></image> - <text var="name"></text> - </column> - </row> - </list> - <row class="data"> - <column colspan="2" class="clickable"> - <link type="dialog" subaction="add" name="message:menu_add"> - <image icon="add"/> - <text text="new"/> - </link> - </column> - </row> - </table> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/image/compress.tpl.out.php b/modules/cms-ui/themes/default/templates/image/compress.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/image/compress.tpl.src.xml b/modules/cms-ui/themes/default/templates/image/compress.tpl.src.xml @@ -1,26 +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.xsd"> - <form> - <group title="message:OPTIONS"> - <part class="line"> - <part class="label"> - <text text="type"></text> - </part> - <part class="input"> - <set var="gz" value="gz"></set> - <selectbox list="formats" name="format" default="gz"></selectbox> - <set var="replace" value="1"></set> - <radio name="replace" value="1"></radio> - <label for="replace_1"> - <text key="replace"></text> - </label> - <newline></newline> - <radio name="replace" value="0"></radio> - <label for="replace_0"> - <text key="new"></text> - </label> - </part> - </part> - </group> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/image/edit.tpl.out.php b/modules/cms-ui/themes/default/templates/image/edit.tpl.out.php @@ -1,21 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="headermenu"><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_VALUE') ?>" data-type="dialog" data-name="<?php echo lang('MENU_VALUE') ?>" data-method="value"><img src="./themes/default/images/icon/action/value.svg" title="<?php echo lang('MENU_value_DESC') ?>" /><?php echo lang('MENU_value') ?></a></div></div> - - <div class="label"> - </div> - <div class="line"> - <div class="input"> - <br/> - - <input size="40" id="req15145078411938795353_file" type="file" name="file" class="upload" /> - - <br/> - - <br/> - - </div> - </div> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/image/edit.tpl.src.xml b/modules/cms-ui/themes/default/templates/image/edit.tpl.src.xml @@ -1,15 +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.xsd"> - <form> - <header views="value" /> - <part class="label" /> - <part class="line"> - <part class="input"> - <newline></newline> - <upload name="file"></upload> - <newline></newline> - <newline></newline> - </part> - </part> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/image/extract.tpl.out.php b/modules/cms-ui/themes/default/templates/image/extract.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/image/extract.tpl.src.xml b/modules/cms-ui/themes/default/templates/image/extract.tpl.src.xml @@ -1,3 +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.xsd"><dummy><form><window name="asdf" title="asdfdfs"><row><column colspan="2" class="act"><button type="ok"></button></column></row></window></form></dummy></output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/image/info.tpl.out.php b/modules/cms-ui/themes/default/templates/image/info.tpl.out.php @@ -1,189 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_name')))); ?></span> - - </div> - <div class="input"> - <span class="name"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_filename')))); ?></span> - - </div> - <div class="input"> - <span class="filename"><?php echo nl2br(encodeHtml(htmlentities($filename))); ?></span> - - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('file_extension')))); ?></span> - - </div> - <div class="input"> - <span class="extension"><?php echo nl2br(encodeHtml(htmlentities($extension))); ?></span> - - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_description')))); ?></span> - - </div> - <div class="input"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($description))); ?></span> - - </div> - </div> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('additional_info') ?></legend><div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_full_filename" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_full_filename')))); ?></span> - - </label> - </div> - <div class="input"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($full_filename))); ?></span> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_size" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('FILE_SIZE')))); ?></span> - - </label> - </div> - <div class="input"> - </div> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($size))); ?></span> - - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_mimetype" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('FILE_mimetype')))); ?></span> - - </label> - </div> - <div class="input"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($mimetype))); ?></span> - - <br/> - - <a class="action" target="_self" data-action="file" data-method="size" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_file_size'.'')))); ?></span> - - </a> - - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(lang('id'))))); ?></span> - - </div> - <div class="input"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($objectid))); ?></span> - - </div> - </div> - <?php $if4=(!empty($cache_filename)); if($if4){?> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_cache_filename" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('CACHE_FILENAME')))); ?></span> - - </label> - </div> - <div class="input"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($cache_filename))); ?></span> - - <br/> - - <img class="" title="" src="./themes/default/images/icon/el_date.png" /> - - <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($cache_filemtime) ?> - - </div> - </div> - <?php } ?> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_pages" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('FILE_PAGES')))); ?></span> - - </label> - </div> - <div class="input"> - <table width="100%"> - <?php foreach($pages as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <tr> - <td> - <a target="_self" data-url="<?php echo $url ?>" data-action="" data-method="<?php echo OR_METHOD ?>" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="" title="" src="./themes/default/images/icon_page.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </a> - - </td> - </tr> - <?php } ?> - </table> - <?php $if6=(empty($pages)); if($if6){?> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_NOT_FOUND')))); ?></span> - - <?php } ?> - </div> - </div> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('prop_userinfo') ?></legend><div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_created')))); ?></span> - - </div> - <div class="input"> - <img class="" title="" src="./themes/default/images/icon/el_date.png" /> - - <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($create_date) ?> - - <br/> - - <img class="" title="" src="./themes/default/images/icon/user.png" /> - - <?php include_once( 'modules/template-engine/components/html/user/component-user.php') ?><?php component_user($create_user) ?> - - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_lastchange')))); ?></span> - - </div> - <div class="input"> - <img class="" title="" src="./themes/default/images/icon/el_date.png" /> - - <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($lastchange_date) ?> - - <br/> - - <img class="" title="" src="./themes/default/images/icon/user.png" /> - - <?php include_once( 'modules/template-engine/components/html/user/component-user.php') ?><?php component_user($lastchange_user) ?> - - </div> - </div> - </div></fieldset> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/image/info.tpl.src.xml b/modules/cms-ui/themes/default/templates/image/info.tpl.src.xml @@ -1,149 +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.xsd"> - <form> - <group> - <part class="line"> - <part class="label"> - <text text="global_name"></text> - </part> - <part class="input"> - <text var="name" class="name" /> - </part> - </part> - <part class="line"> - <part class="label"> - <text text="global_filename"></text> - </part> - <part class="input"> - <text var="filename" class="filename" /> - </part> - </part> - <part class="line"> - <part class="label"> - <text text="file_extension"></text> - </part> - <part class="input"> - <text var="extension" class="extension" /> - </part> - </part> - <part class="line"> - <part class="label"> - <text text="global_description"></text> - </part> - <part class="input"> - <text var="description" /> - </part> - </part> - </group> - - <group title="message:additional_info"> - <part class="line"> - <part class="label"> - <label for="full_filename"> - <text text="global_full_filename"></text> - </label> - </part> - <part class="input"> - <text var="full_filename"></text> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="size"> - <text text="FILE_SIZE"></text> - </label> - </part> - <part class="input"> - </part> - <text var="size"></text> - </part> - <part class="line"> - <part class="label"> - <label for="mimetype"> - <text text="FILE_mimetype"></text> - </label> - </part> - <part class="input"> - <text var="mimetype"></text> - <newline></newline> - <link class="action" action="file" subaction="size"> - <text key="menu_file_size"></text> - </link> - </part> - </part> - <part class="line"> - <part class="label"> - <text text="message:id"></text> - </part> - <part class="input"> - <text var="objectid"></text> - </part> - </part> - <if present="cache_filename"> - <part class="line"> - <part class="label"> - <label for="cache_filename"> - <text text="CACHE_FILENAME"></text> - </label> - </part> - <part class="input"> - <text var="cache_filename"></text> - <newline></newline> - <image icon="el_date"></image> - <date date="var:cache_filemtime"></date> - </part> - </part> - </if> - <part class="line"> - <part class="label"> - <label for="pages"> - <text text="FILE_PAGES"></text> - </label> - </part> - <part class="input"> - <table> - <list list="pages" extract="true"> - <row> - <column> - <link url="var:url" target="cms_main"> - <image type="page"></image> - <text var="name"></text> - </link> - </column> - </row> - </list> - </table> - <if empty="pages"> - <text text="GLOBAL_NOT_FOUND"></text> - </if> - </part> - </part> - </group> - <group title="message:prop_userinfo"> - <part class="line"> - <part class="label"> - <text text="global_created"></text> - </part> - <part class="input"> - <image icon="el_date"></image> - <date date="var:create_date"></date> - <newline></newline> - <image icon="user"></image> - <user user="var:create_user"></user> - </part> - </part> - <part class="line"> - <part class="label"> - <text text="global_lastchange"></text> - </part> - <part class="input"> - <image icon="el_date"></image> - <date date="var:lastchange_date"></date> - <newline></newline> - <image icon="user"></image> - <user user="var:lastchange_user"></user> - </part> - </part> - </group> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/image/preview.tpl.out.php b/modules/cms-ui/themes/default/templates/image/preview.tpl.out.php @@ -1,5 +0,0 @@ - - - <iframe src="<?php echo $preview_url ?>"></iframe> - - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/image/preview.tpl.src.xml b/modules/cms-ui/themes/default/templates/image/preview.tpl.src.xml @@ -1,5 +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.xsd"> - - <insert url="var:preview_url"></insert> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/image/prop.tpl.out.php b/modules/cms-ui/themes/default/templates/image/prop.tpl.out.php @@ -1,55 +0,0 @@ - - - <div class="headermenu"><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_SIZE') ?>" data-type="dialog" data-name="<?php echo lang('MENU_SIZE') ?>" data-method="size"><img src="./themes/default/images/icon/action/size.svg" title="<?php echo lang('MENU_size_DESC') ?>" /><?php echo lang('MENU_size') ?></a></div><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_COMPRESS') ?>" data-type="dialog" data-name="<?php echo lang('MENU_COMPRESS') ?>" data-method="compress"><img src="./themes/default/images/icon/action/compress.svg" title="<?php echo lang('MENU_compress_DESC') ?>" /><?php echo lang('MENU_compress') ?></a></div><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_UNCOMPRESS') ?>" data-type="dialog" data-name="<?php echo lang('MENU_UNCOMPRESS') ?>" data-method="uncompress"><img src="./themes/default/images/icon/action/uncompress.svg" title="<?php echo lang('MENU_uncompress_DESC') ?>" /><?php echo lang('MENU_uncompress') ?></a></div><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_EXTRACT') ?>" data-type="dialog" data-name="<?php echo lang('MENU_EXTRACT') ?>" data-method="extract"><img src="./themes/default/images/icon/action/extract.svg" title="<?php echo lang('MENU_extract_DESC') ?>" /><?php echo lang('MENU_extract') ?></a></div></div> - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_name" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_name')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_name" name="name<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="name" value="<?php echo Text::encodeHtml(@$name) ?>" /><?php if ('') { ?><input type="hidden" name="name" value="<?php $name ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_filename" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_filename')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_filename" name="filename<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="filename" value="<?php echo Text::encodeHtml(@$filename) ?>" /><?php if ('') { ?><input type="hidden" name="filename" value="<?php $filename ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_extension" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('file_extension')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_extension" name="extension<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="extension" value="<?php echo Text::encodeHtml(@$extension) ?>" /><?php if ('') { ?><input type="hidden" name="extension" value="<?php $extension ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_description" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_description')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><textarea class="description" name="description"><?php echo Text::encodeHtml($description) ?></textarea></div> - - </div> - </div> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/image/prop.tpl.src.xml b/modules/cms-ui/themes/default/templates/image/prop.tpl.src.xml @@ -1,47 +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.xsd"> - <header views="size,compress,uncompress,extract"></header> - <form> - <part class="line"> - <part class="label"> - <label for="name"> - <text text="global_name"></text> - </label> - </part> - <part class="input"> - <input name="name" size="50" class="name"></input> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="filename"> - <text text="global_filename"></text> - </label> - </part> - <part class="input"> - <input name="filename" class="filename"></input> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="extension"> - <text text="file_extension"></text> - </label> - </part> - <part class="input"> - <input name="extension" size="10" class="extension"></input> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="description"> - <text text="global_description"></text> - </label> - </part> - <part class="input"> - <inputarea name="description" class="description"></inputarea> - </part> - </part> - - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/image/pub.tpl.out.php b/modules/cms-ui/themes/default/templates/image/pub.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/image/pub.tpl.src.xml b/modules/cms-ui/themes/default/templates/image/pub.tpl.src.xml @@ -1,25 +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.xsd"> - - <!-- - Falls das Veroeffentlichen deaktiviert ist, eine Warnmeldung anzeigen. - --> - <if true="config:security/nopublish"> - <part class="message warn"> - <text key="GLOBAL_NOPUBLISH_DESC" class="help"></text> - </part> - </if> - - <form cancel="false" visible="true" label="message:publish" async="true"> - <row> - <column> - <newline></newline> - </column> - </row> - <row> - <column class="act"> - <button type="ok"></button> - </column> - </row> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/image/remove.tpl.out.php b/modules/cms-ui/themes/default/templates/image/remove.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/image/remove.tpl.src.xml b/modules/cms-ui/themes/default/templates/image/remove.tpl.src.xml @@ -1,3 +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.xsd"><dummy><form><window icon="group" name="GLOBAL_GROUPS"><row><column><text text="GLOBAL_NAME"></text></column><column><text var="name"></text></column></row><row><column><text text="GLOBAL_DELETE"></text></column><column><checkbox name="delete"></checkbox></column></row><row><column colspan="2"><button type="ok"></button></column></row></window></form><focus field="delete"></focus></dummy></output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/image/show.tpl.out.php b/modules/cms-ui/themes/default/templates/image/show.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/image/show.tpl.src.xml b/modules/cms-ui/themes/default/templates/image/show.tpl.src.xml @@ -1,3 +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.xsd"><dummy><window icon="folder"><row><column colspan="2"><insert url="var:preview_url"></insert><link class="action" action="file" subaction="edit"><image file="icon/edit"></image><text key="menu_file_edit"></text></link><link class="action" action="file" subaction="editvalue"><image file="icon/editvalue"></image><text key="menu_file_editvalue"></text></link></column></row></window></dummy></output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/image/size.tpl.out.php b/modules/cms-ui/themes/default/templates/image/size.tpl.out.php @@ -1,113 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('IMAGE_OLD_SIZE')))); ?></span> - - </div> - <div class="input"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($width))); ?></span> - - <span class="text"><?php echo nl2br('&nbsp;*&nbsp;'); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($height))); ?></span> - - </div> - </div> - <?php $if3=(empty($formats)); if($if3){?> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('IMAGE_NEW_SIZE') ?></legend><div> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_type_factor" name="type" value="factor"<?php if('factor'==@$type)echo ' checked="checked"' ?> /> - - <label for="<?php echo REQUEST_ID ?>_type_factor" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('FILE_IMAGE_SIZE_FACTOR')))); ?></span> - - </label> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_factor" name="factor" title="" class=""<?php if (count($factors)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($factors,$factor,0,0) ?><?php if (count($factors)==0) { ?><input type="hidden" name="factor" value="" /><?php } ?><?php if (count($factors)==1) { ?><input type="hidden" name="factor" value="<?php echo array_keys($factors)[0] ?>" /><?php } ?> - </select></div> - <?php $factor= '1'; ?> - - </div> - </div> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_type_input" name="type" value="input"<?php if('input'==@$type)echo ' checked="checked"' ?> /> - - <label for="<?php echo REQUEST_ID ?>_type_input" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('FILE_IMAGE_NEW_WIDTH_HEIGHT')))); ?></span> - - </label> - </div> - <div class="label"> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_width" name="width<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="text" value="<?php echo Text::encodeHtml(@$width) ?>" /><?php if ('') { ?><input type="hidden" name="width" value="<?php $width ?>"/><?php } ?></div> - - <span class="text"><?php echo nl2br('&nbsp;*&nbsp;'); ?></span> - - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_height" name="height<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="text" value="<?php echo Text::encodeHtml(@$height) ?>" /><?php if ('') { ?><input type="hidden" name="height" value="<?php $height ?>"/><?php } ?></div> - - </div> - </div> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('options') ?></legend><div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_format" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('FILE_IMAGE_FORMAT')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_format" name="format" title="" class=""<?php if (count($formats)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($formats,$format,0,0) ?><?php if (count($formats)==0) { ?><input type="hidden" name="format" value="" /><?php } ?><?php if (count($formats)==1) { ?><input type="hidden" name="format" value="<?php echo array_keys($formats)[0] ?>" /><?php } ?> - </select></div> - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_jpeglist_compression" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('FILE_IMAGE_JPEG_COMPRESSION')))); ?></span> - - </label> - </div> - <div class="input"> - <?php $jpeg_compression= '70'; ?> - - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_jpeg_compression" name="jpeg_compression" title="" class=""<?php if (count($jpeglist)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($jpeglist,$jpeg_compression,0,0) ?><?php if (count($jpeglist)==0) { ?><input type="hidden" name="jpeg_compression" value="" /><?php } ?><?php if (count($jpeglist)==1) { ?><input type="hidden" name="jpeg_compression" value="<?php echo array_keys($jpeglist)[0] ?>" /><?php } ?> - </select></div> - </div> - </div> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <?php { $tmpname = 'copy';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_copy" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'copy'.'')))); ?></span> - - </label> - </div> - </div> - </div></fieldset> - <?php } ?> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/image/size.tpl.src.xml b/modules/cms-ui/themes/default/templates/image/size.tpl.src.xml @@ -1,82 +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.xsd"> - <form> - <part class="line"> - <part class="label"> - <text text="IMAGE_OLD_SIZE"></text> - </part> - <part class="input"> - <text var="width"></text> - <text raw="_*_"></text> - <text var="height"></text> - </part> - </part> - <if not="" empty="formats"> - <group title="message:IMAGE_NEW_SIZE"> - <part class="line"> - <part class="label"></part> - - <part class="input"> - - <radio name="type" value="factor"></radio> - <label for="type_factor"> - <text text="FILE_IMAGE_SIZE_FACTOR"></text> - </label> - - - <selectbox name="factor" list="factors"></selectbox> - <set var="factor" value="1"></set> - </part> - </part> - <part class="line"> - <part class="label"></part> - <part class="input"> - <radio name="type" value="input"></radio> - <label for="type_input"> - <text text="FILE_IMAGE_NEW_WIDTH_HEIGHT"></text> - </label> - </part> - <part class="label"></part> - <part class="input"> - <input name="width" size="10"></input> - <text raw="_*_"></text> - <input name="height" size="10"></input> - </part> - </part> - </group> - <group title="message:options"> - <part class="line"> - <part class="label"> - <label for="format"> - <text text="FILE_IMAGE_FORMAT"></text> - </label> - </part> - <part class="input"> - <selectbox name="format" list="formats"></selectbox> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="jpeglist_compression"> - <text text="FILE_IMAGE_JPEG_COMPRESSION"></text> - </label> - </part> - <part class="input"> - <set var="jpeg_compression" value="70"></set> - <selectbox list="jpeglist" name="jpeg_compression"></selectbox> - </part> - </part> - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <checkbox name="copy"></checkbox> - <label for="copy"> - <text key="copy"></text> - </label> - </part> - </part> - </group> - </if> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/image/structure.tpl.out.php b/modules/cms-ui/themes/default/templates/image/structure.tpl.out.php @@ -1,7 +0,0 @@ - - - <div class="structure tree"> - <?php include_once( 'modules/template-engine/components/html/tree/component-tree.php') ?><?php component_tree($outline) ?> - - </div> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/image/structure.tpl.src.xml b/modules/cms-ui/themes/default/templates/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.xsd"> - <part class="structure tree"> - <tree tree="var:outline"></tree> - </part> - -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/image/uncompress.tpl.out.php b/modules/cms-ui/themes/default/templates/image/uncompress.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/image/uncompress.tpl.src.xml b/modules/cms-ui/themes/default/templates/image/uncompress.tpl.src.xml @@ -1,22 +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.xsd"> - <form> - <group title="message:options"></group> - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <set var="replace" value="1"></set> - <radio name="replace" value="1"></radio> - <label for="replace_1"> - <text key="replace"></text> - </label> - <newline></newline> - <radio name="replace" value="0"></radio> - <label for="replace_0"> - <text key="new"></text> - </label> - </part> - </part> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/image/value.tpl.out.php b/modules/cms-ui/themes/default/templates/image/value.tpl.out.php @@ -1,27 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - - <tr> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_VALUE')))); ?></span> - - </td> - <td> - <textarea name="value" data-extension="" data-mimetype="" data-mode="htmlmixed" class="editor__code-editor"><?php echo ${'value'} ?></textarea> - - </td> - </tr> - <tr> - <td class="act" colspan="2"> - <div class="invisible"><input type="submit" name="ok" class="%class%" - title="Bestätigen" - value="&nbsp;&nbsp;&nbsp;&nbsp;OK&nbsp;&nbsp;&nbsp;&nbsp;" /> - </div> - </td> - </tr> - - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/image/value.tpl.src.xml b/modules/cms-ui/themes/default/templates/image/value.tpl.src.xml @@ -1,22 +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.xsd"> - <form> - <window> - <row> - <column> - <text text="GLOBAL_VALUE"></text> - </column> - <column> - <editor name="value" type="code"></editor> - </column> - </row> - <row> - <column class="act" colspan="2"> - <button type="ok"></button> - </column> - </row> - </window> - </form> - <focus field="value"></focus> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/language/add.tpl.out.php b/modules/cms-ui/themes/default/templates/language/add.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/language/add.tpl.src.xml b/modules/cms-ui/themes/default/templates/language/add.tpl.src.xml @@ -1,13 +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.xsd"> - <form method="post"> - <part class="line"> - <part class="label"> - <text text="LANGUAGE_ISOCODE"></text> - </part> - <part class="input"> - <selectbox list="isocodes" name="isocode"></selectbox> - </part> - </part> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/language/advanced.tpl.out.php b/modules/cms-ui/themes/default/templates/language/advanced.tpl.out.php @@ -1,27 +0,0 @@ - - - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="post" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_NAME')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_name" name="name<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="focus" value="<?php echo Text::encodeHtml(@$name) ?>" /><?php if ('') { ?><input type="hidden" name="name" value="<?php $name ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('LANGUAGE_ISOCODE')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_isocode" name="isocode<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="text" value="<?php echo Text::encodeHtml(@$isocode) ?>" /><?php if ('') { ?><input type="hidden" name="isocode" value="<?php $isocode ?>"/><?php } ?></div> - - </div> - </div> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/language/advanced.tpl.src.xml b/modules/cms-ui/themes/default/templates/language/advanced.tpl.src.xml @@ -1,25 +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.xsd"> - <header back="true"></header> - <form method="post"> - - <part class="line"> - <part class="label"> - <text text="GLOBAL_NAME"></text> - </part> - <part class="input"> - <input name="name" class="focus"></input> - </part> - </part> - - - <part class="line"> - <part class="label"> - <text text="LANGUAGE_ISOCODE"></text> - </part> - <part class="input"> - <input name="isocode"></input> - </part> - </part> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/language/edit.tpl.out.php b/modules/cms-ui/themes/default/templates/language/edit.tpl.out.php @@ -1,17 +0,0 @@ - - - <div class="headermenu"><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_ADVANCED') ?>" data-type="dialog" data-name="<?php echo lang('MENU_ADVANCED') ?>" data-method="advanced"><img src="./themes/default/images/icon/action/advanced.svg" title="<?php echo lang('MENU_advanced_DESC') ?>" /><?php echo lang('MENU_advanced') ?></a></div><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_REMOVE') ?>" data-type="dialog" data-name="<?php echo lang('MENU_REMOVE') ?>" data-method="remove"><img src="./themes/default/images/icon/action/remove.svg" title="<?php echo lang('MENU_remove_DESC') ?>" /><?php echo lang('MENU_remove') ?></a></div></div> - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="post" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_LANGUAGE')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_isocode" name="isocode" title="" class=""<?php if (count($isocodes)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($isocodes,$isocode,0,0) ?><?php if (count($isocodes)==0) { ?><input type="hidden" name="isocode" value="" /><?php } ?><?php if (count($isocodes)==1) { ?><input type="hidden" name="isocode" value="<?php echo array_keys($isocodes)[0] ?>" /><?php } ?> - </select></div> - </div> - </div> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/language/edit.tpl.src.xml b/modules/cms-ui/themes/default/templates/language/edit.tpl.src.xml @@ -1,15 +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.xsd"> - <header views="advanced,remove"></header> - <form method="post"> - - <part class="line"> - <part class="label"> - <text text="GLOBAL_LANGUAGE"></text> - </part> - <part class="input"> - <selectbox list="isocodes" name="isocode"></selectbox> - </part> - </part> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/language/listing.tpl.out.php b/modules/cms-ui/themes/default/templates/language/listing.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/language/listing.tpl.src.xml b/modules/cms-ui/themes/default/templates/language/listing.tpl.src.xml @@ -1,3 +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.xsd"><dummy><window icon="language"><table><row class="headline"><column><text key="name"></text></column><column><text raw=""></text></column><column><text raw=""></text></column><column><text raw=""></text></column></row><list list="el" extract="true"><row class="data"><column url="var:url"><image file="icon_language"></image><text var="name" maxlength="25"></text></column><column><text var="isocode"></text></column><column url="var:default_url"><if present="default_url"><text text="GLOBAL_make_default"></text></if><else><text text="GLOBAL_is_default"></text></else></column><column url="var:select_url"><if present="select_url"><text text="GLOBAL_select"></text></if><else><text text="GLOBAL_selected"></text></else></column></row><set var="select_url"></set><set var="default_url"></set></list></table></window></dummy></output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/language/remove.tpl.out.php b/modules/cms-ui/themes/default/templates/language/remove.tpl.out.php @@ -1,45 +0,0 @@ - - - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="post" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_NAME')))); ?></span> - - </div> - <div class="input"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </div> - </div> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('options') ?></legend><div> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <?php { $tmpname = 'confirm';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_confirm" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('CONFIRM_DELETE')))); ?></span> - - </label> - </div> - </div> - </div></fieldset> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/language/remove.tpl.src.xml b/modules/cms-ui/themes/default/templates/language/remove.tpl.src.xml @@ -1,31 +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.xsd"> - <header back="true" /> - <form method="post"> - <group> - <part class="line"> - <part class="label"> - <text text="GLOBAL_NAME"></text> - </part> - <part class="input"> - <text var="name"></text> - </part> - </part> - </group> - - <group title="message:options"> - - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <checkbox name="confirm"></checkbox> - <label for="confirm"> - <text text="CONFIRM_DELETE"></text> - </label> - </part> - </part> - </group> - - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/language/structure.tpl.out.php b/modules/cms-ui/themes/default/templates/language/structure.tpl.out.php @@ -1,7 +0,0 @@ - - - <div class="structure tree"> - <?php include_once( 'modules/template-engine/components/html/tree/component-tree.php') ?><?php component_tree($outline) ?> - - </div> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/language/structure.tpl.src.xml b/modules/cms-ui/themes/default/templates/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.xsd"> - <part class="structure tree"> - <tree tree="var:outline"></tree> - </part> - -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/languagelist/add.tpl.out.php b/modules/cms-ui/themes/default/templates/languagelist/add.tpl.out.php @@ -1,25 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="post" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('LANGUAGE_ISOCODE')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_isocode" name="isocode" title="" class=""<?php if (count($isocodes)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($isocodes,$isocode,0,0) ?><?php if (count($isocodes)==0) { ?><input type="hidden" name="isocode" value="" /><?php } ?><?php if (count($isocodes)==1) { ?><input type="hidden" name="isocode" value="<?php echo array_keys($isocodes)[0] ?>" /><?php } ?> - </select></div> - </div> - </div> - -<div class="bottom"> - <div class="command "> - - <input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /> - - <!-- Cancel-Button nicht anzeigen, wenn cancel==false. --> </div> -</div> - -</form> - - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/languagelist/add.tpl.src.xml b/modules/cms-ui/themes/default/templates/languagelist/add.tpl.src.xml @@ -1,13 +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.xsd"> - <form method="post"> - <part class="line"> - <part class="label"> - <text text="LANGUAGE_ISOCODE"></text> - </part> - <part class="input"> - <selectbox list="isocodes" name="isocode"></selectbox> - </part> - </part> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/languagelist/show.tpl.out.php b/modules/cms-ui/themes/default/templates/languagelist/show.tpl.out.php @@ -1,85 +0,0 @@ - - - <table width="100%"> - <tr class="headline"> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'NAME'.'')))); ?></span> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'LANGUAGE_ISOCODE'.'')))); ?></span> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(''))); ?></span> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(''))); ?></span> - - </td> - </tr> - <?php foreach($el as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <tr class="data"> - <td class="clickable"> - <img class="" title="" src="./modules/cms-ui/themes/default/images/icon/icon_language.png" /> - - <a target="_self" date-name="<?php echo $name ?>" name="<?php echo $name ?>" data-type="open" data-action="language" data-method="<?php echo OR_METHOD ?>" data-id="<?php echo $id ?>" href="javascript:void(0);"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $name,25,'..',constant('STR_PAD_BOTH') )))); ?></span> - - </a> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($isocode))); ?></span> - - </td> - <?php $if5=(!empty($default_url)); if($if5){?> - <td class="clickable"> - <a target="_self" data-type="post" data-action="language" data-method="setdefault" data-id="<?php echo $id ?>" data-data="{&quot;action&quot;:&quot;language&quot;,&quot;subaction&quot;:&quot;setdefault&quot;,&quot;id&quot;:&quot;<?php echo $id ?>&quot;,&quot;token&quot;:&quot;<?php echo token() ?>&quot;,&quot;none&quot;:&quot;0&quot;}"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_make_default')))); ?></span> - - </a> - - </td> - <?php } ?> - <?php if(!$if5){?> - <td> - <em class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_is_default')))); ?></em> - - </td> - <?php } ?> - <?php $if5=(!empty($select_url)); if($if5){?> - <td class="clickable"> - <a target="_self" data-type="post" data-action="start" data-method="language" data-id="<?php echo $id ?>" data-data="{&quot;action&quot;:&quot;start&quot;,&quot;subaction&quot;:&quot;language&quot;,&quot;id&quot;:&quot;<?php echo $id ?>&quot;,&quot;token&quot;:&quot;<?php echo token() ?>&quot;,&quot;none&quot;:&quot;0&quot;}"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_select')))); ?></span> - - </a> - - </td> - <?php } ?> - <?php if(!$if5){?> - <td> - <em class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_selected')))); ?></em> - - </td> - <?php } ?> - </tr> - <?php unset($select_url) ?> - - <?php unset($default_url) ?> - - <?php } ?> - <tr class="data"> - <td class="clickable" colspan="4"> - <a target="_self" data-type="view" data-action="" data-method="add" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="" title="" src="./modules/cms-ui/themes/default/images/icon/add.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('new')))); ?></span> - - </a> - - </td> - </tr> - </table> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/languagelist/show.tpl.src.xml b/modules/cms-ui/themes/default/templates/languagelist/show.tpl.src.xml @@ -1,66 +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.xsd"> - <table> - <row class="headline"> - <column> - <text key="NAME"></text> - </column> - <column> - <text key="LANGUAGE_ISOCODE"></text> - </column> - <column> - <text raw=""></text> - </column> - <column> - <text raw=""></text> - </column> - </row> - <list list="el" extract="true"> - <row class="data"> - <column class="clickable"> - <image file="icon_language"></image> - <link type="open" name="var:name" action="language" id="var:id"> - <text var="name" maxlength="25"></text> - </link> - </column> - <column> - <text var="isocode"></text> - </column> - <if present="default_url"> - <column class="clickable"> - <link type="post" action="language" subaction="setdefault" id="var:id"> - <text text="GLOBAL_make_default"></text> - </link> - </column> - </if> - <else> - <column> - <text text="GLOBAL_is_default" type="emphatic" /> - </column> - </else> - <if present="select_url"> - <column class="clickable"> - <link type="post" action="start" subaction="language" id="var:id"> - <text text="GLOBAL_select"></text> - </link> - </column> - </if> - <else> - <column> - <text text="GLOBAL_selected" type="emphatic" /> - </column> - </else> - </row> - <set var="select_url"></set> - <set var="default_url"></set> - </list> - <row class="data"> - <column colspan="4" class="clickable"> - <link type="view" subaction="add"> - <image icon="add"/> - <text text="new"/> - </link> - </column> - </row> - </table> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/link/edit.tpl.out.php b/modules/cms-ui/themes/default/templates/link/edit.tpl.out.php @@ -1,32 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('link_target')))); ?></span> - - </div> - <div class="input"> - <div class="selector"> -<div class="inputholder"> -<input type="hidden" name="targetobjectid" value="{id}" /> -<input type="text" disabled="disabled" value="{name}" /> -</div> -<div class="tree selector" data-types="{types}" data-init-id="<?php echo $targetobjectid ?>" data-init-folderid="parentid"> - - </div> - </div> - </div></fieldset> - -<div class="bottom"> - <div class="command "> - - <input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /> - - <!-- Cancel-Button nicht anzeigen, wenn cancel==false. --> </div> -</div> - -</form> - - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/link/info.tpl.out.php b/modules/cms-ui/themes/default/templates/link/info.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/link/prop.tpl.out.php b/modules/cms-ui/themes/default/templates/link/prop.tpl.out.php @@ -1,41 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('global_prop') ?></legend><div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_name" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_name')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_name" name="name<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="name,focus" value="<?php echo Text::encodeHtml(@$name) ?>" /><?php if ('') { ?><input type="hidden" name="name" value="<?php $name ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_description" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_description')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><textarea class="description" name="description"><?php echo Text::encodeHtml($description) ?></textarea></div> - - </div> - </div> - </div></fieldset> - -<div class="bottom"> - <div class="command "> - - <input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /> - - <!-- Cancel-Button nicht anzeigen, wenn cancel==false. --> </div> -</div> - -</form> - - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/link/structure.tpl.out.php b/modules/cms-ui/themes/default/templates/link/structure.tpl.out.php @@ -1,7 +0,0 @@ - - - <div class="structure tree"> - <?php include_once( 'modules/template-engine/components/html/tree/component-tree.php') ?><?php component_tree($outline) ?> - - </div> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/login/license.tpl.out.php b/modules/cms-ui/themes/default/templates/login/license.tpl.out.php @@ -1,32 +0,0 @@ - - - <br/> - - <table width="100%"> - <tr class="headline"> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'name'.'')))); ?></span> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'license'.'')))); ?></span> - - </td> - </tr> - <?php foreach($software as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <tr class="data"> - <td class="clickable"> - <a target="_self" data-url="<?php echo $url ?>" data-type="external" data-action="" data-method="<?php echo OR_METHOD ?>" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </a> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($license))); ?></span> - - </td> - </tr> - <?php } ?> - </table> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/login/license.tpl.src.xml b/modules/cms-ui/themes/default/templates/login/license.tpl.src.xml @@ -1,26 +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.xsd"> - <newline /> - <table> - <row class="headline"> - <column> - <text key="name" /> - </column> - <column> - <text key="license" /> - </column> - </row> - <list list="software" extract="true"> - <row class="data"> - <column class="clickable"> - <link type="external" url="var:url"> - <text var="name"></text> - </link> - </column> - <column> - <text var="license"></text> - </column> - </row> - </list> - </table> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/login/login.tpl.out.php b/modules/cms-ui/themes/default/templates/login/login.tpl.out.php @@ -1,164 +0,0 @@ - - - <div class="headermenu"><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_PASSWORD') ?>" data-type="dialog" data-name="<?php echo lang('MENU_PASSWORD') ?>" data-method="password"><img src="./themes/default/images/icon/action/password.svg" title="<?php echo lang('MENU_password_DESC') ?>" /><?php echo lang('MENU_password') ?></a></div><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_REGISTER') ?>" data-type="dialog" data-name="<?php echo lang('MENU_REGISTER') ?>" data-method="register"><img src="./themes/default/images/icon/action/register.svg" title="<?php echo lang('MENU_register_DESC') ?>" /><?php echo lang('MENU_register') ?></a></div><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_LICENSE') ?>" data-type="dialog" data-name="<?php echo lang('MENU_LICENSE') ?>" data-method="license"><img src="./themes/default/images/icon/action/license.svg" title="<?php echo lang('MENU_license_DESC') ?>" /><?php echo lang('MENU_license') ?></a></div></div> - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <?php $if3=(@$conf['login']['logo']['enabled']); if($if3){?> - <?php $if4=(!empty(@$conf['login']['logo']['url'])); if($if4){?> - <a target="_self" data-url="<?php echo @$conf['login']['logo']['url'] ?>" data-action="" data-method="<?php echo OR_METHOD ?>" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="" title="" src="<?php echo @$conf['login']['logo']['image'] ?>" /> - - </a> - - <?php } ?> - <?php if(!$if4){?> - <img class="" title="" src="<?php echo @$conf['login']['logo']['image'] ?>" /> - - <?php } ?> - <?php } ?> - <?php $if3=(empty(@$conf['login']['motd'])); if($if3){?> - <div class="message info"> - <span class="text"><?php echo nl2br('config:login/motd'); ?></span> - - </div> - <?php } ?> - <?php $if3=(@$conf['login']['nologin']); if($if3){?> - <div class="message error"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'LOGIN_NOLOGIN_DESC'.'')))); ?></span> - - </div> - <?php } ?> - <?php $if3=(@$conf['security']['readonly']); if($if3){?> - <div class="message warn"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_READONLY_DESC'.'')))); ?></span> - - </div> - <?php } ?> - <?php $if3=(!@$conf['login']['nologin']); if($if3){?> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_login_name" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'USER_USERNAME'.'')))); ?></span> - - </label> - </div> - <div class="input"> - <?php $if6=!(!empty($$force_username)); if($if6){?> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> data-hint="<?php echo lang('USER_USERNAME') ?>" id="<?php echo REQUEST_ID ?>_login_name" name="login_name<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="name" value="<?php echo Text::encodeHtml(@$login_name) ?>" /><?php if ('') { ?><input type="hidden" name="login_name" value="<?php $login_name ?>"/><?php } ?></div> - - <?php } ?> - <?php if(!$if6){?> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_login_name" name="login_name<?php if ('') echo '_disabled' ?>" type="hidden" maxlength="256" class="text" value="<?php echo Text::encodeHtml(@$login_name) ?>" /><?php if ('') { ?><input type="hidden" name="login_name" value="<?php $login_name ?>"/><?php } ?></div> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($force_username))); ?></span> - - <?php } ?> - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_login_password" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'USER_PASSWORD'.'')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><input type="password" name="login_password" id="<?php echo REQUEST_ID ?>_login_password" size="20" maxlength="256" class="name" value="" /></div> - - </div> - </div> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <?php { $tmpname = 'remember';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_remember" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'REMEMBER_ME'.'')))); ?></span> - - </label> - </div> - </div> - <?php } ?> - <fieldset class="<?php echo ''?" open":"" ?><?php echo ''?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('USER_NEW_PASSWORD') ?></legend><div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_password1" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'USER_NEW_PASSWORD'.'')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><input type="password" name="password1" id="<?php echo REQUEST_ID ?>_password1" size="25" maxlength="256" class="" value="" /></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_password2" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'USER_NEW_PASSWORD_REPEAT'.'')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><input type="password" name="password2" id="<?php echo REQUEST_ID ?>_password2" size="25" maxlength="256" class="" value="" /></div> - - </div> - </div> - </div></fieldset> - <fieldset class="<?php echo ''?" open":"" ?><?php echo ''?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('USER_TOKEN') ?></legend><div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_user_token" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'USER_TOKEN'.'')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_user_token" name="user_token<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="text" value="<?php echo Text::encodeHtml('') ?>" /><?php if ('') { ?><input type="hidden" name="user_token" value="<?php '' ?>"/><?php } ?></div> - - </div> - </div> - </div></fieldset> - <?php $if3=(intval('1')<intval(@count($dbids))); if($if3){?> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><img src="/themes/default/images/icon/method/database.svg" /><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('DATABASE') ?></legend><div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_dbid" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'DATABASE'.'')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_dbid" name="dbid" title="" class=""<?php if (count($dbids)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($dbids,$actdbid,0,0) ?><?php if (count($dbids)==0) { ?><input type="hidden" name="dbid" value="" /><?php } ?><?php if (count($dbids)==1) { ?><input type="hidden" name="dbid" value="<?php echo array_keys($dbids)[0] ?>" /><?php } ?> - </select></div> - </div> - </div> - </div></fieldset> - <?php } ?> - <?php if(!$if3){?> - <input type="hidden" name="dbid" value="<?php echo $actdbid ?>"/> - - <?php } ?> - <input type="hidden" name="objectid" value="<?php echo $objectid ?>"/> - - <input type="hidden" name="modelid" value="<?php echo $modelid ?>"/> - - <input type="hidden" name="projectid" value="<?php echo $projectid ?>"/> - - <input type="hidden" name="languageid" value="<?php echo $languageid ?>"/> - - <div class="bottom"><div class="command 1"><input type="button" class="submit ok" value="<?php echo lang('menu_login') ?>" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/login/login.tpl.src.xml b/modules/cms-ui/themes/default/templates/login/login.tpl.src.xml @@ -1,167 +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.xsd"> - <header views="password,register,license"></header> - <form cancel="false" label="message:menu_login" visible="true"> - <if true="config:login/logo/enabled"> - <if present="config:login/logo/url"> - <link url="config:login/logo/url" target="_top"> - <image url="config:login/logo/image"></image> - </link> - </if> - <else> - <image url="config:login/logo/image"></image> - </else> - </if> - <if not="" empty="config:login/motd"> - <part class="message info"> - <text raw="config:login/motd"></text> - </part> - </if> - - <if true="config:login/nologin"> - <part class="message error"> - <text key="LOGIN_NOLOGIN_DESC"></text> - </part> - </if> - - <if true="config:security/readonly"> - <part class="message warn"> - <text key="GLOBAL_READONLY_DESC"></text> - </part> - </if> - - <if false="config:login/nologin"> - <!-- - <part class="line"> <part class="label" /> <part class="input"> - <logo name="login"></logo> </part> </part> - --> - - <part class="line"> - <part class="label"> - <label for="login_name"> - <text key="USER_USERNAME"></text> - </label> - </part> - <part class="input"> - <if not="true" present="var:force_username"> - <input type="text" name="login_name" class="name" value="" - hint="message:USER_USERNAME" size="20"></input> - </if> - <else> - <input type="hidden" name="login_name" value="var:force_username"></input> - <text value="var:force_username"></text> - </else> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="login_password"> - <text key="USER_PASSWORD"></text> - </label> - </part> - <part class="input"> - <password name="login_password" class="name" default="" - size="20"></password> - </part> - </part> - - - - - - - - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <checkbox name="remember" default="false"></checkbox> - <label for="remember"> - <text key="REMEMBER_ME"></text> - </label> - </part> - </part> - - </if> - - - <!-- <if true="property:mustChangePassword"> --> - <group title="message:USER_NEW_PASSWORD" open="false" show="false"> - <part class="line"> - <part class="label"> - <label for="password1"> - <text key="USER_NEW_PASSWORD"></text> - </label> - </part> - <part class="input"> - <password name="password1" default="" size="25"></password> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="password2"> - <text key="USER_NEW_PASSWORD_REPEAT"></text> - </label> - </part> - <part class="input"> - <password name="password2" default="" size="25"></password> - </part> - </part> - </group> - - <group title="message:USER_TOKEN" open="false" show="false"> - <part class="line"> - <part class="label"> - <label for="user_token"> - <text key="USER_TOKEN"></text> - </label> - </part> - <part class="input"> - <input name="user_token" default="" size="25" /> - </part> - </part> - </group> - <!-- </if> --> - - <!-- - <link type="view" class="action" action="login" subaction="password"> - <text key="menu_password"></text> </link> - --> - - <!-- - <link type="view" class="action" action="login" subaction="register"> - <text key="menu_register"></text> </link> <newline></newline> - <newline /> - --> - - <if value="size:dbids" greaterthan="1"> - <!-- Mehr als 1 Datenbank zur Auswahl. Auswahlfeld anzeigen. --> - <group title="message:DATABASE" icon="database" open="true"> - <part class="line"> - <part class="label"> - <label for="dbid"> - <text key="DATABASE"></text> - </label> - </part> - <part class="input"> - <selectbox name="dbid" list="dbids" default="var:actdbid"></selectbox> - </part> - </part> - </group> - </if> - <else> - <!-- Nur 1 Datenbank zur Auswahl. Kein Auswahlfeld notwendig. --> - <hidden name="dbid" default="var:actdbid"></hidden> - </else> - - - <hidden name="objectid"></hidden> - <hidden name="modelid"></hidden> - <hidden name="projectid"></hidden> - <hidden name="languageid"></hidden> - </form> - <!-- - <newline /> <newline /> <link url="config:login/gpl/url" - type="external" class="copyright"> <text key="GPL"></text> </link> - --> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/login/openid.tpl.out.php b/modules/cms-ui/themes/default/templates/login/openid.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/login/openid.tpl.src.xml b/modules/cms-ui/themes/default/templates/login/openid.tpl.src.xml @@ -1,58 +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.xsd"> - <header views="password"></header> - <form action="login" subaction="login" target="_top"> - - <!-- Open-Id --> - <if true="config:security/openid/enable"> - <group title="message:OPENID"> - <part class="line"> - <part class="label"> - <text key="openid_user"></text> - <if not="true" empty="config:security/openid/logo_url"> - <image url="config:security/openid/logo_url"></image> - </if> - </part> - <part class="input"> - <radiobox name="openid_provider" list="openid_providers"></radiobox> - <if true="var:openid_user_identity"> - <radio name="openid_provider" value="identity"></radio> - <input name="openid_url" class="name" size="20"></input> - </if> - </part> - </part> - </group> - - <if value="size:dbids" greaterthan="1"> - <group title="message:DATABASE" icon="database"> - <part class="line"> - <part class="label"> - <label for="dbid"> - <text key="DATABASE"></text> - </label> - </part> - <part class="input"> - <selectbox name="dbid" list="dbids" default="var:actdbid"></selectbox> - <hidden name="screenwidth" default="9999"></hidden> - </part> - </part> - </group> - </if> - <else> - <hidden name="dbid" default="var:actdbid"></hidden> - </else> - <hidden name="objectid"></hidden> - <hidden name="modelid"></hidden> - <hidden name="projectid"></hidden> - <hidden name="languageid"></hidden> - </if> - <else> - <part class="message error"> - <text key="OPENID_NOT_ENABLED" /> - </part> - </else> - </form> - - <!-- <newline></newline> <newline></newline> <link url="config:login/gpl/url" - target="_top" class="copyright"> <text key="GPL"></text> </link> --> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/login/password.tpl.out.php b/modules/cms-ui/themes/default/templates/login/password.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/login/password.tpl.src.xml b/modules/cms-ui/themes/default/templates/login/password.tpl.src.xml @@ -1,35 +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.xsd"> - - <header back="true"></header> - - <if true="config:login/send_password"> - <form> - <logo name="password"></logo> - - <part class="line"> - <part class="label"> - <text text="USER_USERNAME"></text> - </part> - <part class="input"> - <input type="text" name="username" value="" class="focus"></input> - </part> - </part> - - <part class="line"> - <part class="label"> - <text text="GLOBAL_DATABASE"></text> - </part> - <part class="input"> - <selectbox name="dbid" list="dbids" default="actdbid"></selectbox> - </part> - </part> - - </form> - </if> - <else> - <part class="message error"> - <text key="PASSWORD_NOT_ENABLED" /> - </part> - </else> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/login/passwordcode.tpl.out.php b/modules/cms-ui/themes/default/templates/login/passwordcode.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/login/passwordcode.tpl.src.xml b/modules/cms-ui/themes/default/templates/login/passwordcode.tpl.src.xml @@ -1,3 +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.xsd"><dummy><form target="_top"><window name="password" icon="user" width="400px" widths="50%,50%"><row><column class="logo" colspan="2"><logo name="password"></logo></column><row><column><text text="mail_code"></text></column><column><input type="text" name="code" size="30"></input></column></row><row><column colspan="2" class="act"><button type="ok"></button></column></row></row></window></form><focus field="code"></focus></dummy></output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/login/register.tpl.out.php b/modules/cms-ui/themes/default/templates/login/register.tpl.out.php @@ -1,57 +0,0 @@ - - - <?php $if2=(@$conf['login']['register']); if($if2){?> - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="line logo"> - <div class="label"> - <img src="themes/default/images/logo_register.png ?>" - border="0" /> - </div> - <div class="input"> - <h2> - <?php echo langHtml('logo_register') ?> - </h2> - <p> - <?php echo langHtml('logo_register_text') ?> - </p> - - </div> -</div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_mail" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('USER_MAIL')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_mail" name="mail<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="focus" value="<?php echo Text::encodeHtml('') ?>" /><?php if ('') { ?><input type="hidden" name="mail" value="<?php '' ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - </div> - </div> - -<div class="bottom"> - <div class="command "> - - <input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /> - - <!-- Cancel-Button nicht anzeigen, wenn cancel==false. --> </div> -</div> - -</form> - - <?php } ?> - <?php if(!$if2){?> - <div class="message error"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'REGISTER_NOT_ENABLED'.'')))); ?></span> - - </div> - <?php } ?> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/login/register.tpl.src.xml b/modules/cms-ui/themes/default/templates/login/register.tpl.src.xml @@ -1,33 +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.xsd"> - <if true="config:login/register"> - - <form> - <logo name="register"></logo> - - - <part class="line"> - <part class="label"> - <label for="mail"> - <text text="USER_MAIL"></text> - </label> - </part> - <part class="input"> - <input name="mail" default="" class="focus"></input> - </part> - </part> - - <part class="line"> - <part class="label"> - </part> - <part class="input"> - </part> - </part> - </form> - </if> - <else> - <part class="message error"> - <text key="REGISTER_NOT_ENABLED" /> - </part> - </else> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/login/registercode.tpl.out.php b/modules/cms-ui/themes/default/templates/login/registercode.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/login/registercode.tpl.src.xml b/modules/cms-ui/themes/default/templates/login/registercode.tpl.src.xml @@ -1,49 +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.xsd"> - <form> - <logo name="register"></logo> - - - <part class="line"> - <part class="label"> - <text text="USER_REGISTER_CODE"></text> - </part> - <part class="input"> - <input name="code" default="" size="25" class="focus"></input> - </part> - </part> - - - - - <part class="line"> - <part class="label"> - <text text="USER_USERNAME"></text> - </part> - <part class="input"> - <input type="text" name="username" value="" size="25"></input> - </part> - </part> - - - <part class="line"> - <part class="label"> - <text text="USER_PASSWORD"></text> - </part> - <part class="input"> - <password name="password" default="" size="25"></password> - </part> - </part> - - - <part class="line"> - <part class="label"> - <text text="GLOBAL_DATABASE"></text> - </part> - <part class="input"> - <selectbox name="dbid" list="dbids" default="actdbid"></selectbox> - </part> - </part> - - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/model/edit.tpl.out.php b/modules/cms-ui/themes/default/templates/model/edit.tpl.out.php @@ -1,17 +0,0 @@ - - - <div class="headermenu"><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_REMOVE') ?>" data-type="dialog" data-name="<?php echo lang('MENU_REMOVE') ?>" data-method="remove"><img src="./themes/default/images/icon/action/remove.svg" title="<?php echo lang('MENU_remove_DESC') ?>" /><?php echo lang('MENU_remove') ?></a></div></div> - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="post" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_NAME')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_name" name="name<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="text" value="<?php echo Text::encodeHtml(@$name) ?>" /><?php if ('') { ?><input type="hidden" name="name" value="<?php $name ?>"/><?php } ?></div> - - </div> - </div> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/model/edit.tpl.src.xml b/modules/cms-ui/themes/default/templates/model/edit.tpl.src.xml @@ -1,14 +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.xsd"> - <header views="remove"></header> - <form method="post"> - <part class="line"> - <part class="label"> - <text text="GLOBAL_NAME"></text> - </part> - <part class="input"> - <input name="name"></input> - </part> - </part> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/model/listing.tpl.out.php b/modules/cms-ui/themes/default/templates/model/listing.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/model/listing.tpl.src.xml b/modules/cms-ui/themes/default/templates/model/listing.tpl.src.xml @@ -1,3 +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.xsd"><dummy><window icon="group" name="GLOBAL_MODELS" widths="50%,25%,25%"><table><row class="headline"><column><text key="name"></text></column><column><text raw=""></text></column><column><text raw=""></text></column></row><list list="el" extract="true"><row class="data"><column url="var:url"><link target="cms_main"><image file="icon_model"></image><text var="name" maxlength="25"></text></link></column><column url="var:default_url"><if present="default_url"><text text="GLOBAL_make_default"></text></if><else><text text="GLOBAL_is_default"></text></else></column><column url="var:select_url"><if present="select_url"><text text="GLOBAL_select"></text></if><else><text text="GLOBAL_selected"></text></else></column></row><set var="select_url"></set><set var="default_url"></set></list></table></window></dummy></output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/model/remove.tpl.out.php b/modules/cms-ui/themes/default/templates/model/remove.tpl.out.php @@ -1,45 +0,0 @@ - - - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="post" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_NAME')))); ?></span> - - </div> - <div class="input"> - <span class="name"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </div> - </div> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('options') ?></legend><div> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <?php { $tmpname = 'confirm';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_confirm" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('CONFIRM_DELETE')))); ?></span> - - </label> - </div> - </div> - </div></fieldset> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/model/remove.tpl.src.xml b/modules/cms-ui/themes/default/templates/model/remove.tpl.src.xml @@ -1,29 +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.xsd"> - <header back="true"></header> - <form method="post"> - <group> - <part class="line"> - <part class="label"> - <text text="GLOBAL_NAME"></text> - </part> - <part class="input"> - <text var="name" class="name"></text> - </part> - </part> - </group> - <group title="message:options"> - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <checkbox name="confirm"></checkbox> - <label for="confirm"> - <text text="CONFIRM_DELETE"></text> - </label> - </part> - </part> - - </group> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/model/structure.tpl.out.php b/modules/cms-ui/themes/default/templates/model/structure.tpl.out.php @@ -1,7 +0,0 @@ - - - <div class="structure tree"> - <?php include_once( 'modules/template-engine/components/html/tree/component-tree.php') ?><?php component_tree($outline) ?> - - </div> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/model/structure.tpl.src.xml b/modules/cms-ui/themes/default/templates/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.xsd"> - <part class="structure tree"> - <tree tree="var:outline"></tree> - </part> - -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/modellist/add.tpl.out.php b/modules/cms-ui/themes/default/templates/modellist/add.tpl.out.php @@ -1,27 +0,0 @@ - - - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="post" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'global_name'.'')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_name" name="name<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="focus" value="<?php echo Text::encodeHtml(@$name) ?>" /><?php if ('') { ?><input type="hidden" name="name" value="<?php $name ?>"/><?php } ?></div> - - </div> - </div> - -<div class="bottom"> - <div class="command "> - - <input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /> - - <!-- Cancel-Button nicht anzeigen, wenn cancel==false. --> </div> -</div> - -</form> - - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/modellist/add.tpl.src.xml b/modules/cms-ui/themes/default/templates/modellist/add.tpl.src.xml @@ -1,14 +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.xsd"> - <header back="true"></header> - <form method="post"> - <part class="line"> - <part class="label"> - <text key="global_name"></text> - </part> - <part class="input"> - <input name="name" class="focus"></input> - </part> - </part> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/modellist/show.tpl.out.php b/modules/cms-ui/themes/default/templates/modellist/show.tpl.out.php @@ -1,77 +0,0 @@ - - - <table width="100%"> - <tr class="headline"> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'name'.'')))); ?></span> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(''))); ?></span> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(''))); ?></span> - - </td> - </tr> - <?php foreach($el as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <tr class="data"> - <td class="clickable"> - <img class="" title="" src="./modules/cms-ui/themes/default/images/icon/icon_model.png" /> - - <a target="_self" date-name="<?php echo $name ?>" name="<?php echo $name ?>" data-type="open" data-action="model" data-method="<?php echo OR_METHOD ?>" data-id="<?php echo $id ?>" href="javascript:void(0);"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $name,25,'..',constant('STR_PAD_BOTH') )))); ?></span> - - </a> - - </td> - <?php $if5=(!empty($default_url)); if($if5){?> - <td class="clickable"> - <a target="_self" data-type="post" data-action="model" data-method="setdefault" data-id="<?php echo $id ?>" data-data="{&quot;action&quot;:&quot;model&quot;,&quot;subaction&quot;:&quot;setdefault&quot;,&quot;id&quot;:&quot;<?php echo $id ?>&quot;,&quot;token&quot;:&quot;<?php echo token() ?>&quot;,&quot;none&quot;:&quot;0&quot;}"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_make_default')))); ?></span> - - </a> - - </td> - <?php } ?> - <?php if(!$if5){?> - <td> - <em class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_is_default')))); ?></em> - - </td> - <?php } ?> - <?php $if5=(!empty($select_url)); if($if5){?> - <td class="clickable"> - <a target="_self" data-type="post" data-action="start" data-method="model" data-id="<?php echo $id ?>" data-data="{&quot;action&quot;:&quot;start&quot;,&quot;subaction&quot;:&quot;model&quot;,&quot;id&quot;:&quot;<?php echo $id ?>&quot;,&quot;token&quot;:&quot;<?php echo token() ?>&quot;,&quot;none&quot;:&quot;0&quot;}"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_select')))); ?></span> - - </a> - - </td> - <?php } ?> - <?php if(!$if5){?> - <td> - <em class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_selected')))); ?></em> - - </td> - <?php } ?> - </tr> - <?php unset($select_url) ?> - - <?php unset($default_url) ?> - - <?php } ?> - <tr class="data"> - <td class="clickable" colspan="3"> - <a target="_self" data-type="view" data-action="" data-method="add" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="" title="" src="./modules/cms-ui/themes/default/images/icon/add.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('new')))); ?></span> - - </a> - - </td> - </tr> - </table> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/modellist/show.tpl.src.xml b/modules/cms-ui/themes/default/templates/modellist/show.tpl.src.xml @@ -1,64 +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.xsd"> - <table> - <row class="headline"> - <column> - <text key="name"></text> - </column> - <column> - <text raw=""></text> - </column> - <column> - <text raw=""></text> - </column> - </row> - <list list="el" extract="true"> - <row class="data"> - <column class="clickable"> - <image file="icon_model"></image> - - <link type="open" name="var:name" action="model" id="var:id"> - <text var="name" maxlength="25"></text> - </link> - </column> - - <if present="default_url"> - <column class="clickable"> - <link type="post" action="model" subaction="setdefault" id="var:id"> - <text text="GLOBAL_make_default"></text> - </link> - </column> - </if> - <else> - <column> - <text text="GLOBAL_is_default" type="emphatic" /> - </column> - </else> - - - <if present="select_url"> - <column class="clickable"> - <link type="post" action="start" subaction="model" id="var:id"> - <text text="GLOBAL_select"></text> - </link> - </column> - </if> - <else> - <column> - <text text="GLOBAL_selected" type="emphatic" /> - </column> - </else> - </row> - <set var="select_url"></set> - <set var="default_url"></set> - </list> - <row class="data"> - <column colspan="3" class="clickable"> - <link type="view" subaction="add"> - <image icon="add" /> - <text text="new" /> - </link> - </column> - </row> - </table> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/object/aclform.tpl.out.php b/modules/cms-ui/themes/default/templates/object/aclform.tpl.out.php @@ -1,117 +0,0 @@ - - - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('users') ?></legend><div> - <div class="line"> - <div class="label"> - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_type_all" name="type" value="all"<?php if('all'==@$type)echo ' checked="checked"' ?> /> - - <label for="<?php echo REQUEST_ID ?>_type_all" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_ALL')))); ?></span> - - </label> - </div> - <div class="input"> - </div> - </div> - <div class="line"> - <div class="label"> - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_type_user" name="type" value="user"<?php if('user'==@$type)echo ' checked="checked"' ?> /> - - <label for="<?php echo REQUEST_ID ?>_type_user" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_USER')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_userid" name="userid" title="" class=""<?php if (count($users)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($users,$userid,1,0) ?><?php if (count($users)==0) { ?><input type="hidden" name="userid" value="" /><?php } ?><?php if (count($users)==1) { ?><input type="hidden" name="userid" value="<?php echo array_keys($users)[0] ?>" /><?php } ?> - </select></div> - </div> - </div> - <?php $if4=(!empty($groups)); if($if4){?> - <div class="line"> - <div class="label"> - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_type_group" name="type" value="group"<?php if('group'==@$type)echo ' checked="checked"' ?> /> - - <label for="<?php echo REQUEST_ID ?>_type_group" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_GROUP')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_groupid" name="groupid" title="" class=""<?php if (count($groups)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($groups,$groupid,1,0) ?><?php if (count($groups)==0) { ?><input type="hidden" name="groupid" value="" /><?php } ?><?php if (count($groups)==1) { ?><input type="hidden" name="groupid" value="<?php echo array_keys($groups)[0] ?>" /><?php } ?> - </select></div> - </div> - </div> - <?php } ?> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('language') ?></legend><div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_languageid" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_LANGUAGE')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_languageid" name="languageid" title="" class=""<?php if (count($languages)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($languages,$languageid,0,0) ?><?php if (count($languages)==0) { ?><input type="hidden" name="languageid" value="" /><?php } ?><?php if (count($languages)==1) { ?><input type="hidden" name="languageid" value="<?php echo array_keys($languages)[0] ?>" /><?php } ?> - </select></div> - </div> - </div> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('acl') ?></legend><div> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <?php foreach($show as $k=>$t){ ?> - <div> - <?php $if8=($t=='read'); if($if8){?> - <?php $$t= '1'; ?> - - <?php { $tmpname = $t;$default = '';$readonly = '1'; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <?php } ?> - <?php if(!$if8){?> - <?php unset($$t) ?> - - <?php { $tmpname = $t;$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <?php } ?> - <label for="<?php echo REQUEST_ID ?>_<?php echo $t ?>_" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('acl_'.$t.'')))); ?></span> - - </label> - </div> - <?php } ?> - </div> - </div> - </div></fieldset> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/object/aclform.tpl.src.xml b/modules/cms-ui/themes/default/templates/object/aclform.tpl.src.xml @@ -1,80 +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.xsd"> - <header back="true" /> - <form> - <group title="message:users"> - <part class="line"> - <part class="label"> - <radio name="type" value="all"></radio> - <label for="type" value="all"> - <text text="GLOBAL_ALL"></text> - </label> - </part> - <part class="input"> - </part> - </part> - <part class="line"> - <part class="label"> - <radio name="type" value="user"></radio> - <label for="type" value="user"> - <text text="GLOBAL_USER"></text> - </label> - </part> - <part class="input"> - <selectbox name="userid" list="users" addempty="true"></selectbox> - </part> - </part> - <if present="groups"> - <part class="line"> - <part class="label"> - <radio name="type" value="group"></radio> - <label for="type" value="group"> - <text text="GLOBAL_GROUP"></text> - </label> - </part> - <part class="input"> - <selectbox name="groupid" list="groups" addempty="true"></selectbox> - </part> - </part> - </if> - </group> - - <group title="message:language"> - <part class="line"> - <part class="label"> - <label for="languageid"> - <text text="GLOBAL_LANGUAGE"></text> - </label> - </part> - - <part class="input"> - <selectbox name="languageid" list="languages"></selectbox> - </part> - </part> - </group> - - <group title="message:acl"> - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <list list="show" value="t" key="k"> - <part> - <if value="var:t" equals="read"> - <set var="var:t" value="true" /> - <checkbox name="var:t" readonly="true"></checkbox> - </if> - <else> - <set var="var:t" value="false" /> - <checkbox name="var:t" readonly="false"></checkbox> - </else> - <label for="var:t" value=""> - <text key="var:t" prefix="acl_"></text> - </label> - </part> - </list> - </part> - </part> - </group> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/object/copy.tpl.out.php b/modules/cms-ui/themes/default/templates/object/copy.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/object/copy.tpl.src.xml b/modules/cms-ui/themes/default/templates/object/copy.tpl.src.xml @@ -1,32 +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.xsd"> - <form> - <part class="line"> - <part class="label"> - <hidden name="sourceid" default="var:sourceId" /> - </part> - <part class="input"> - <text value="arrayvar:source:name" /> - </part> - </part> - - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <selectbox name="type" list="types" /> - </part> - </part> - - <part class="line"> - <part class="label"> - <hidden name="targetid" default="var:targetId" /> - </part> - <part class="input"> - <text value="arrayvar:target:name" /> - </part> - </part> - - </form> - -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/object/inherit.tpl.out.php b/modules/cms-ui/themes/default/templates/object/inherit.tpl.out.php @@ -1,37 +0,0 @@ - - - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <?php $if3=($type=='folder'); if($if3){?> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('options') ?></legend><div> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <?php $inherit= '1'; ?> - - <?php { $tmpname = 'inherit';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_inherit" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'inherit_rights'.'')))); ?></span> - - </label> - </div> - </div> - </div></fieldset> - <?php } ?> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/object/inherit.tpl.src.xml b/modules/cms-ui/themes/default/templates/object/inherit.tpl.src.xml @@ -1,22 +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.xsd"> - <header back="true" /> - <form> - - <if value="var:type" equals="folder"> - <group title="message:options"> - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <set var="inherit" value="1"></set> - <checkbox name="inherit" /> - <label for="inherit"> - <text key="inherit_rights"></text> - </label> - </part> - </part> - </group> - </if> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/object/rights.tpl.out.php b/modules/cms-ui/themes/default/templates/object/rights.tpl.out.php @@ -1,109 +0,0 @@ - - - <?php $if2=($type=='folder'); if($if2){?> - <div class="headermenu"><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_INHERIT') ?>" data-type="dialog" data-name="<?php echo lang('MENU_INHERIT') ?>" data-method="inherit"><img src="./themes/default/images/icon/action/inherit.svg" title="<?php echo lang('MENU_inherit_DESC') ?>" /><?php echo lang('MENU_inherit') ?></a></div><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_ACLFORM') ?>" data-type="dialog" data-name="<?php echo lang('MENU_ACLFORM') ?>" data-method="aclform"><img src="./themes/default/images/icon/action/aclform.svg" title="<?php echo lang('MENU_aclform_DESC') ?>" /><?php echo lang('MENU_aclform') ?></a></div></div> - - <?php } ?> - <?php if(!$if2){?> - <div class="headermenu"><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_ACLFORM') ?>" data-type="dialog" data-name="<?php echo lang('MENU_ACLFORM') ?>" data-method="aclform"><img src="./themes/default/images/icon/action/aclform.svg" title="<?php echo lang('MENU_aclform_DESC') ?>" /><?php echo lang('MENU_aclform') ?></a></div></div> - - <?php } ?> - <table width="100%"> - <tr class="headline"> - <td class="help"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_NAME'.'')))); ?></span> - - </td> - <td class="help"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_LANGUAGE'.'')))); ?></span> - - </td> - <?php foreach($show as $list_key=>$t){ ?> - <td class="help"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('acl_'.$t.'_abbrev')))); ?></span> - - </td> - <?php } ?> - <td class="help"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'global_delete'.'')))); ?></span> - - </td> - </tr> - <?php $if3=(empty($acls)); if($if3){?> - <tr class="data"> - <td colspan="99"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_NOT_FOUND')))); ?></span> - - </td> - </tr> - <?php } ?> - <?php $if3=!(empty($acls)); if($if3){?> - <?php } ?> - <?php foreach($acls as $aclid=>$acl){ ?><?php extract($acl) ?> - <tr class="data"> - <td> - <?php $if6=(!empty($username)); if($if6){?> - <img class="" title="" src="./themes/default/images/icon_user.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($username))); ?></span> - - <?php } ?> - <?php $if6=(!empty($groupname)); if($if6){?> - <img class="" title="" src="./themes/default/images/icon_group.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($groupname))); ?></span> - - <?php } ?> - <?php $if6=!(!empty($username)); if($if6){?> - <?php $if7=!(!empty($groupname)); if($if7){?> - <img class="" title="" src="./themes/default/images/icon_group.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'global_all'.'')))); ?></span> - - <?php } ?> - <?php } ?> - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($languagename))); ?></span> - - </td> - <?php foreach($show as $list_key=>$t){ ?> - <td> - <?php { $tmpname = $t;$default = '';$readonly = '1'; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - </td> - <?php } ?> - <td class="clickable"> - <a target="_self" data-type="post" data-action="" data-method="delacl" data-id="<?php echo OR_ID ?>" data-data="{&quot;action&quot;:&quot;<?php echo OR_ACTION ?>&quot;,&quot;subaction&quot;:&quot;delacl&quot;,&quot;id&quot;:&quot;<?php echo OR_ID ?>&quot;,&quot;token&quot;:&quot;<?php echo token() ?>&quot;,&quot;var1&quot;:&quot;<?php echo $aclid ?>&quot;,&quot;none&quot;:&quot;0&quot;}"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_DELETE'.'')))); ?></span> - - </a> - - </td> - </tr> - <?php } ?> - <tr class="data"> - <td class="clickable" colspan="99"> - <a target="_self" date-name="<?php echo lang('menu_aclform') ?>" name="<?php echo lang('menu_aclform') ?>" data-type="dialog" data-action="" data-method="aclform" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="" title="" src="./themes/default/images/icon/add.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('new')))); ?></span> - - </a> - - </td> - </tr> - </table> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/object/rights.tpl.src.xml b/modules/cms-ui/themes/default/templates/object/rights.tpl.src.xml @@ -1,79 +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.xsd"> - - <if value="var:type" equals="folder"> - <header views="inherit,aclform" /> - </if> - <else> - <header views="aclform" /> - </else> - - <table> - <row class="headline"> - <column class="help"> - <text key="GLOBAL_NAME"></text> - </column> - <column class="help"> - <text key="GLOBAL_LANGUAGE"></text> - </column> - <list list="show" value="t"> - <column class="help"> - <text key="var:t" prefix="acl_" suffix="_abbrev"></text> - </column> - </list> - <column class="help"> - <text key="global_delete"></text> - </column> - </row> - <if empty="acls"> - <row class="data"> - <column colspan="99"> - <text text="GLOBAL_NOT_FOUND"></text> - </column> - </row> - </if> - <if not="true" empty="acls"></if> - <list list="acls" key="aclid" value="acl" extract="true"> - <row class="data"> - <column> - <if present="username"> - <image type="user"></image> - <text var="username"></text> - </if> - <if present="groupname"> - <image type="group"></image> - <text var="groupname"></text> - </if> - <if not="true" present="username"> - <if not="true" present="groupname"> - <image type="group"></image> - <text key="global_all"></text> - </if> - </if> - </column> - <column> - <text var="languagename"></text> - </column> - <list list="show" value="t"> - <column> - <checkbox name="var:t" default="false" readonly="true"></checkbox> - </column> - </list> - <column class="clickable"> - <link type="post" subaction="delacl" var1="aclid" value1="var:aclid"> - <text key="GLOBAL_DELETE"></text> - </link> - </column> - </row> - </list> - <row class="data"> - <column colspan="99" class="clickable"> - <link type="dialog" name="message:menu_aclform" subaction="aclform"> - <image icon="add" /> - <text text="new" /> - </link> - - </column> - </row> - </table> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/page/changetemplate.tpl.out.php b/modules/cms-ui/themes/default/templates/page/changetemplate.tpl.out.php @@ -1,30 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="changetemplateselectelements" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="get" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="changetemplateselectelements" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('page_template_old')))); ?></span> - - </div> - <div class="input"> - <a target="_self" data-url="<?php echo $template_url ?>" data-action="" data-method="<?php echo OR_METHOD ?>" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="" title="" src="./modules/cms-ui/themes/default/images/icon_template.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($template_name))); ?></span> - - </a> - - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('page_template_new')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_newtemplateid" name="newtemplateid" title="" class="focus"<?php if (count($templates)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($templates,$newtemplateid,0,0) ?><?php if (count($templates)==0) { ?><input type="hidden" name="newtemplateid" value="" /><?php } ?><?php if (count($templates)==1) { ?><input type="hidden" name="newtemplateid" value="<?php echo array_keys($templates)[0] ?>" /><?php } ?> - </select></div> - </div> - </div> - <div class="bottom"><div class="command 1"><input type="button" class="submit ok" value="<?php echo lang('BUTTON_NEXT') ?>" onclick="$(this).closest('div.sheet').find('form').submit(); " /><input type="button" class="submit cancel" value="<?php echo lang("CANCEL") ?>" onclick="$(div#dialog').hide(); $('div#filler').fadeOut(500); $(this).closest('div.panel').find('ul.views > li.active').click();" /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/page/changetemplateselectelements.tpl.out.php b/modules/cms-ui/themes/default/templates/page/changetemplateselectelements.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/page/changetemplateselectelements.tpl.src.xml b/modules/cms-ui/themes/default/templates/page/changetemplateselectelements.tpl.src.xml @@ -1,16 +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.xsd"> - <form visible="true" cancel="true" label="message:MENU_CHANGETEMPLATE"> - <hidden name="newtemplateid" /> - <list list="elements" extract="true"> - <part class="line"> - <part class="label"> - <text var="name"></text> - </part> - <part class="input"> - <selectbox name="var:newElementsName" list="newElementsList"></selectbox> - </part> - </part> - </list> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/page/edit.tpl.out.php b/modules/cms-ui/themes/default/templates/page/edit.tpl.out.php @@ -1,50 +0,0 @@ - - - <table width="100%"> - <?php $if3=(empty($el)); if($if3){?> - <tr class="headline"> - <td class="help"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('PAGE_ELEMENT_NAME')))); ?></span> - - </td> - <td class="help"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('PAGE_ELEMENT_VALUE')))); ?></span> - - </td> - </tr> - <?php } ?> - <?php $if3=(empty($el)); if($if3){?> - <tr> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_NOT_FOUND')))); ?></span> - - </td> - </tr> - <?php } ?> - <?php foreach($el as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <tr class="data"> - <td class="clickable"> - <a title="<?php echo $desc ?>" target="_self" date-name="<?php echo $name ?>" name="<?php echo $name ?>" data-type="open" data-action="pageelement" data-method="<?php echo OR_METHOD ?>" data-id="<?php echo $pageelementid ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--element" title="" src="/mnt/data/dankert/public_html/cms/cms09/modules/cms-core/../../modules/cms-ui/themes/default/images/icon/element/<?php echo $type ?>.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </a> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $value,50,'..',constant('STR_PAD_BOTH') )))); ?></span> - - <span class="text"><?php echo nl2br('&nbsp;'); ?></span> - - </td> - </tr> - <?php } ?> - </table> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('menu_page_show') ?></legend><div> - <div> - <iframe name="preview" src="<?php echo $preview_url ?>"></iframe> - - </div> - </div></fieldset> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/page/form.tpl.out.php b/modules/cms-ui/themes/default/templates/page/form.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/page/info.tpl.out.php b/modules/cms-ui/themes/default/templates/page/info.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/page/preview.tpl.out.php b/modules/cms-ui/themes/default/templates/page/preview.tpl.out.php @@ -1,12 +0,0 @@ - - - <iframe name="preview" src="<?php echo $preview_url ?>"></iframe> - - <div class="clickable"> - <a class="action" target="_self" data-url="<?php echo $preview_url ?>" data-type="popup" data-action="" data-method="<?php echo OR_METHOD ?>" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'link_open_in_new_window'.'')))); ?></span> - - </a> - - </div> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/page/prop.tpl.out.php b/modules/cms-ui/themes/default/templates/page/prop.tpl.out.php @@ -1,43 +0,0 @@ - - - <div class="headermenu"><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_CHANGETEMPLATE') ?>" data-type="dialog" data-name="<?php echo lang('MENU_CHANGETEMPLATE') ?>" data-method="changetemplate"><img src="./themes/default/images/icon/action/changetemplate.svg" title="<?php echo lang('MENU_changetemplate_DESC') ?>" /><?php echo lang('MENU_changetemplate') ?></a></div></div> - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_name" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_name')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_name" name="name<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="name" value="<?php echo Text::encodeHtml(@$name) ?>" /><?php if ('') { ?><input type="hidden" name="name" value="<?php $name ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_filename" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_filename')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_filename" name="filename<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="filename" value="<?php echo Text::encodeHtml(@$filename) ?>" /><?php if ('') { ?><input type="hidden" name="filename" value="<?php $filename ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_description" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_description')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><textarea class="description" name="description"><?php echo Text::encodeHtml($description) ?></textarea></div> - - </div> - </div> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/page/pub.tpl.out.php b/modules/cms-ui/themes/default/templates/page/pub.tpl.out.php @@ -1,37 +0,0 @@ - - - <?php $if2=(@$conf['security']['nopublish']); if($if2){?> - <div class="message warn"> - <span class="help"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_NOPUBLISH_DESC'.'')))); ?></span> - - </div> - <?php } ?> - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="1" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('options') ?></legend><div> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <?php { $tmpname = 'files';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_files" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_files')))); ?></span> - - </label> - </div> - </div> - </div></fieldset> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/page/src.tpl.out.php b/modules/cms-ui/themes/default/templates/page/src.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/page/structure.tpl.out.php b/modules/cms-ui/themes/default/templates/page/structure.tpl.out.php @@ -1,7 +0,0 @@ - - - <div class="structure tree"> - <?php include_once( 'modules/template-engine/components/html/tree/component-tree.php') ?><?php component_tree($outline) ?> - - </div> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/pageelement/diff.tpl.out.php b/modules/cms-ui/themes/default/templates/pageelement/diff.tpl.out.php @@ -1,75 +0,0 @@ - - - <table width="100%"> - <tr> - <td> - </td> - <td> - <em class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_COMPARE')))); ?></em> - - <span class="text"><?php echo nl2br('&nbsp;'); ?></span> - - <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($date_left) ?> - - </td> - <td> - </td> - <td> - <em class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_WITH')))); ?></em> - - <span class="text"><?php echo nl2br('&nbsp;'); ?></span> - - <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($date_right) ?> - - </td> - </tr> - <tr> - <td colspan="4"> - </td> - </tr> - <?php foreach($diff as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <tr class="diff"> - <?php $if5=(!empty($left)); if($if5){?> - <td width="5%" class="line"> - <tt class="text"><?php echo nl2br(encodeHtml(htmlentities(@$left[line]))); ?></tt> - - </td> - <td width="45%" class="<?php echo @$left[type] ?>"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(@$left[text]))); ?></span> - - </td> - <?php } ?> - <?php if(!$if5){?> - <td width="50%" class="help" colspan="2"> - <span class="text"><?php echo nl2br('&nbsp;'); ?></span> - - </td> - <?php } ?> - <?php $if5=(!empty($right)); if($if5){?> - <td width="5%" class="line"> - <tt class="text"><?php echo nl2br(encodeHtml(htmlentities(@$right[line]))); ?></tt> - - </td> - <td width="45%" class="<?php echo @$right[type] ?>"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(@$right[text]))); ?></span> - - </td> - <?php } ?> - <?php if(!$if5){?> - <td width="50%" class="help" colspan="2"> - <span class="text"><?php echo nl2br('&nbsp;'); ?></span> - - </td> - <?php } ?> - </tr> - <?php unset($left) ?> - - <?php unset($right) ?> - - <?php } ?> - </table> - <div class="invisible"><input type="submit" name="ok" class="%class%" - title="Zurück" - value="&nbsp;&nbsp;&nbsp;&nbsp;Zur&#xfc;ck&nbsp;&nbsp;&nbsp;&nbsp;" /> - </div> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/pageelement/diff.tpl.src.xml b/modules/cms-ui/themes/default/templates/pageelement/diff.tpl.src.xml @@ -1,47 +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.xsd"> - <table> - <row> - <column></column> - <column> - <text type="emphatic" text="GLOBAL_COMPARE"></text> - <text raw="_"></text> - <date date="var:date_left"></date> - </column> - <column></column> - <column> - <text type="emphatic" text="GLOBAL_WITH"></text> - <text raw="_"></text> - <date date="var:date_right"></date> - </column> - </row> - <row> - <column colspan="4"></column> - </row> - <list list="diff" extract="true"> - <row class="diff"> - <if present="left"> - <column width="5%" class="line"> - <text value="arrayvar:left:line" type="tt"></text> - </column> - <column width="45%" class="arrayvar:left:type"> - <text value="arrayvar:left:text"></text> - </column> - </if> - <else><column colspan="2" class="help" width="50%"><text raw="_"></text></column></else> - <if present="right"> - <column width="5%" class="line"> - <text value="arrayvar:right:line" type="tt"></text> - </column> - <column width="45%" class="arrayvar:right:type"> - <text value="arrayvar:right:text"></text> - </column> - </if> - <else><column colspan="2" class="help" width="50%"><text raw="_"></text></column></else> - </row> - <set var="left"></set> - <set var="right"></set> - </list> - </table> - <button text="BUTTON_BACK"></button> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/pageelement/edit.tpl.out.php b/modules/cms-ui/themes/default/templates/pageelement/edit.tpl.out.php @@ -1,431 +0,0 @@ - - - <div class="headermenu"><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_LINK') ?>" data-type="dialog" data-name="<?php echo lang('MENU_LINK') ?>" data-method="link"><img src="./themes/default/images/icon/action/link.svg" title="<?php echo lang('MENU_link_DESC') ?>" /><?php echo lang('MENU_link') ?></a></div><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_IMPORT') ?>" data-type="dialog" data-name="<?php echo lang('MENU_IMPORT') ?>" data-method="import"><img src="./themes/default/images/icon/action/import.svg" title="<?php echo lang('MENU_import_DESC') ?>" /><?php echo lang('MENU_import') ?></a></div><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_EXPORT') ?>" data-type="dialog" data-name="<?php echo lang('MENU_EXPORT') ?>" data-method="export"><img src="./themes/default/images/icon/action/export.svg" title="<?php echo lang('MENU_export_DESC') ?>" /><?php echo lang('MENU_export') ?></a></div></div> - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="post" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_elementid" name="elementid<?php if ('') echo '_disabled' ?>" type="hidden" maxlength="256" class="text" value="<?php echo Text::encodeHtml(@$elementid) ?>" /><?php if ('') { ?><input type="hidden" name="elementid" value="<?php $elementid ?>"/><?php } ?></div> - - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_value_time" name="value_time<?php if ('') echo '_disabled' ?>" type="hidden" maxlength="256" class="text" value="<?php echo Text::encodeHtml(@$value_time) ?>" /><?php if ('') { ?><input type="hidden" name="value_time" value="<?php $value_time ?>"/><?php } ?></div> - - - <span class="help"><?php echo nl2br(encodeHtml(htmlentities($desc))); ?></span> - - <?php $if4=($type=='date'); if($if4){?> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('calendar') ?></legend><div> - <div> - <table class="calendar" width="85%"> - <tr> - <td class="help" colspan="8"> - <a target="_self" data-url="<?php echo $lastmonthurl ?>" data-action="" data-method="<?php echo OR_METHOD ?>" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="" title="" src="/mnt/data/dankert/public_html/cms/cms09/modules/cms-core/../../modules/cms-ui/themes/default/images/icon/left.png" /> - - </a> - - <span class="text"><?php echo nl2br('&nbsp;'); ?></span> - - <strong class="text"><?php echo nl2br(encodeHtml(htmlentities($monthname))); ?></strong> - - <span class="text"><?php echo nl2br('&nbsp;'); ?></span> - - <a target="_self" data-url="<?php echo $nextmonthurl ?>" data-action="" data-method="<?php echo OR_METHOD ?>" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="" title="" src="/mnt/data/dankert/public_html/cms/cms09/modules/cms-core/../../modules/cms-ui/themes/default/images/icon/right.png" /> - - </a> - - <span class="text"><?php echo nl2br('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'); ?></span> - - <a target="_self" data-url="<?php echo $lastyearurl ?>" data-action="" data-method="<?php echo OR_METHOD ?>" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="" title="" src="/mnt/data/dankert/public_html/cms/cms09/modules/cms-core/../../modules/cms-ui/themes/default/images/icon/left.png" /> - - </a> - - <span class="text"><?php echo nl2br('&nbsp;'); ?></span> - - <strong class="text"><?php echo nl2br(encodeHtml(htmlentities($yearname))); ?></strong> - - <span class="text"><?php echo nl2br('&nbsp;'); ?></span> - - <a target="_self" data-url="<?php echo $nextyearurl ?>" data-action="" data-method="<?php echo OR_METHOD ?>" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="" title="" src="/mnt/data/dankert/public_html/cms/cms09/modules/cms-core/../../modules/cms-ui/themes/default/images/icon/right.png" /> - - </a> - - </td> - </tr> - <tr> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'week'.'')))); ?></span> - - </td> - <?php foreach($weekdays as $list_key=>$weekday){ ?> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($weekday))); ?></span> - - </td> - <?php } ?> - </tr> - <?php foreach($weeklist as $weeknr=>$week){ ?> - <tr> - <td width="12%"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($weeknr))); ?></span> - - </td> - <?php foreach($week as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <td width="12%"> - <?php $if12=(empty($url)); if($if12){?> - <span class="text"><?php echo nl2br('&nbsp;&nbsp;'); ?></span> - - <strong class="text"><?php echo nl2br(encodeHtml(htmlentities($nr))); ?></strong> - - <span class="text"><?php echo nl2br('&nbsp;&nbsp;'); ?></span> - - <?php } ?> - <?php $if12=!(empty($url)); if($if12){?> - <a target="_self" data-url="<?php echo $url ?>" data-action="" data-method="<?php echo OR_METHOD ?>" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <span class="text"><?php echo nl2br('&nbsp;&nbsp;'); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($nr))); ?></span> - - <span class="text"><?php echo nl2br('&nbsp;&nbsp;'); ?></span> - - </a> - - <?php } ?> - <?php $if12=($today); if($if12){?> - <span class="text"><?php echo nl2br('*'); ?></span> - - <?php } ?> - </td> - <?php } ?> - </tr> - <?php } ?> - </table> - </div> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('date') ?></legend><div> - <div> - <label for="<?php echo REQUEST_ID ?>_year" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'date'.'')))); ?></span> - - </label> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_year" name="year" title="" class=""<?php if (count($all_years)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($all_years,$year,0,0) ?><?php if (count($all_years)==0) { ?><input type="hidden" name="year" value="" /><?php } ?><?php if (count($all_years)==1) { ?><input type="hidden" name="year" value="<?php echo array_keys($all_years)[0] ?>" /><?php } ?> - </select></div> - <span class="text"><?php echo nl2br('&nbsp;-&nbsp;'); ?></span> - - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_month" name="month" title="" class=""<?php if (count($all_months)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($all_months,$month,0,0) ?><?php if (count($all_months)==0) { ?><input type="hidden" name="month" value="" /><?php } ?><?php if (count($all_months)==1) { ?><input type="hidden" name="month" value="<?php echo array_keys($all_months)[0] ?>" /><?php } ?> - </select></div> - <span class="text"><?php echo nl2br('&nbsp;-&nbsp;'); ?></span> - - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_day" name="day" title="" class=""<?php if (count($all_days)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($all_days,$day,0,0) ?><?php if (count($all_days)==0) { ?><input type="hidden" name="day" value="" /><?php } ?><?php if (count($all_days)==1) { ?><input type="hidden" name="day" value="<?php echo array_keys($all_days)[0] ?>" /><?php } ?> - </select></div> - </div> - <div> - <label for="<?php echo REQUEST_ID ?>_hour" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'date_time'.'')))); ?></span> - - </label> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_hour" name="hour" title="" class=""<?php if (count($all_hours)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($all_hours,$hour,0,0) ?><?php if (count($all_hours)==0) { ?><input type="hidden" name="hour" value="" /><?php } ?><?php if (count($all_hours)==1) { ?><input type="hidden" name="hour" value="<?php echo array_keys($all_hours)[0] ?>" /><?php } ?> - </select></div> - <span class="text"><?php echo nl2br('&nbsp;-&nbsp;'); ?></span> - - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_minute" name="minute" title="" class=""<?php if (count($all_minutes)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($all_minutes,$minute,0,0) ?><?php if (count($all_minutes)==0) { ?><input type="hidden" name="minute" value="" /><?php } ?><?php if (count($all_minutes)==1) { ?><input type="hidden" name="minute" value="<?php echo array_keys($all_minutes)[0] ?>" /><?php } ?> - </select></div> - <span class="text"><?php echo nl2br('&nbsp;-&nbsp;'); ?></span> - - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_second" name="second" title="" class=""<?php if (count($all_seconds)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($all_seconds,$second,0,0) ?><?php if (count($all_seconds)==0) { ?><input type="hidden" name="second" value="" /><?php } ?><?php if (count($all_seconds)==1) { ?><input type="hidden" name="second" value="<?php echo array_keys($all_seconds)[0] ?>" /><?php } ?> - </select></div> - </div> - </div></fieldset> - <?php } ?> - <?php $if4=($type=='text'); if($if4){?> - <tr> - <td colspan="2"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_text" name="text<?php if ('') echo '_disabled' ?>" type="text" maxlength="255" class="text" value="<?php echo Text::encodeHtml(@$text) ?>" /><?php if ('') { ?><input type="hidden" name="text" value="<?php $text ?>"/><?php } ?></div> - - - - </td> - </tr> - <?php } ?> - <?php $if4=($type=='longtext'); if($if4){?> - <?php $if5=(!empty($preview)); if($if5){?> - <div class="preview"> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('page_preview') ?></legend><div> - <span class="text"><?php echo nl2br($preview); ?></span> - - </div></fieldset> - </div> - <?php } ?> - <?php $if5=($editor=='html'); if($if5){?> - <textarea name="text" class="editor__html-editor" id="pageelement_edit_editor"><?php echo ${'text'} ?></textarea> - - <?php } ?> - <?php $if5=($editor=='wiki'); if($if5){?> - <?php $if6=(!empty($languagetext)); if($if6){?> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo $languagename ?></legend><div> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($languagetext))); ?></span> - - </div></fieldset> - <br/> - - <br/> - - <?php } ?> - <textarea name="text" class="editor__wiki-editor"><?php echo ${'text'} ?></textarea> - - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('help') ?></legend><div> - <table width="100%"> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(@$conf['editor']['text-markup']['strong-begin']))); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'text_markup_strong'.'')))); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(@$conf['editor']['text-markup']['strong-end']))); ?></span> - - <br/> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(@$conf['editor']['text-markup']['emphatic-begin']))); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'text_markup_emphatic'.'')))); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(@$conf['editor']['text-markup']['emphatic-end']))); ?></span> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(@$conf['editor']['text-markup']['list-numbered']))); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'text_markup_numbered_list'.'')))); ?></span> - - <br/> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(@$conf['editor']['text-markup']['list-numbered']))); ?></span> - - <span class="text"><?php echo nl2br('...'); ?></span> - - <br/> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(@$conf['editor']['text-markup']['list-unnumbered']))); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'text_markup_unnumbered_list'.'')))); ?></span> - - <br/> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(@$conf['editor']['text-markup']['list-unnumbered']))); ?></span> - - <span class="text"><?php echo nl2br('...'); ?></span> - - <br/> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(@$conf['editor']['text-markup']['table-cell-sep']))); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'text_markup_table'.'')))); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(@$conf['editor']['text-markup']['table-cell-sep']))); ?></span> - - <span class="text"><?php echo nl2br('...'); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(@$conf['editor']['text-markup']['table-cell-sep']))); ?></span> - - <span class="text"><?php echo nl2br('...'); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(@$conf['editor']['text-markup']['table-cell-sep']))); ?></span> - - <br/> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(@$conf['editor']['text-markup']['table-cell-sep']))); ?></span> - - <span class="text"><?php echo nl2br('...'); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(@$conf['editor']['text-markup']['table-cell-sep']))); ?></span> - - <span class="text"><?php echo nl2br('...'); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(@$conf['editor']['text-markup']['table-cell-sep']))); ?></span> - - <span class="text"><?php echo nl2br('...'); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(@$conf['editor']['text-markup']['table-cell-sep']))); ?></span> - - <br/> - - </td> - </table> - </div></fieldset> - <?php } ?> - <?php $if5=($editor=='text'); if($if5){?> - <div class="inputholder"><textarea class="longtext" name="text"><?php echo Text::encodeHtml($text) ?></textarea></div> - - - - <?php } ?> - <?php } ?> - <?php $if4=($type=='link'); if($if4){?> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_linkobjectid" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'link_target'.'')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="selector"> -<div class="inputholder"> -<input type="hidden" name="linkobjectid" value="{id}" /> -<input type="text" disabled="disabled" value="{name}" /> -</div> -<div class="tree selector" data-types="{types}" data-init-id="<?php echo $linkobjectid ?>" data-init-folderid="<?php echo $rootfolderid ?>"> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_link_url" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'link_url'.'')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_linkurl" name="linkurl<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="text" value="<?php echo Text::encodeHtml(@$linkurl) ?>" /><?php if ('') { ?><input type="hidden" name="linkurl" value="<?php $linkurl ?>"/><?php } ?></div> - - </div> - </div> - </div></fieldset> - <?php } ?> - <?php $if4=($type=='list'); if($if4){?> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><div> - <div> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_linkobjectid" name="linkobjectid" title="" class=""<?php if (count($objects)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($objects,$linkobjectid,0,0) ?><?php if (count($objects)==0) { ?><input type="hidden" name="linkobjectid" value="" /><?php } ?><?php if (count($objects)==1) { ?><input type="hidden" name="linkobjectid" value="<?php echo array_keys($objects)[0] ?>" /><?php } ?> - </select></div> - - - </div> - </div></fieldset> - <?php } ?> - <?php $if4=($type=='insert'); if($if4){?> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><div> - <div> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_linkobjectid" name="linkobjectid" title="" class=""<?php if (count($objects)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($objects,$linkobjectid,0,0) ?><?php if (count($objects)==0) { ?><input type="hidden" name="linkobjectid" value="" /><?php } ?><?php if (count($objects)==1) { ?><input type="hidden" name="linkobjectid" value="<?php echo array_keys($objects)[0] ?>" /><?php } ?> - </select></div> - - - </div> - </div></fieldset> - <?php } ?> - <?php $if4=($type=='number'); if($if4){?> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><div> - <div> - <input type="hidden" name="decimals" value="decimals"/> - - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_number" name="number<?php if ('') echo '_disabled' ?>" type="text" maxlength="20" class="text" value="<?php echo Text::encodeHtml(@$number) ?>" /><?php if ('') { ?><input type="hidden" name="number" value="<?php $number ?>"/><?php } ?></div> - - - - </div> - </div></fieldset> - <?php } ?> - <?php $if4=($type=='select'); if($if4){?> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><div> - <div> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_text" name="text" title="" class=""<?php if (count($items)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($items,$text,0,0) ?><?php if (count($items)==0) { ?><input type="hidden" name="text" value="" /><?php } ?><?php if (count($items)==1) { ?><input type="hidden" name="text" value="<?php echo array_keys($items)[0] ?>" /><?php } ?> - </select></div> - - - </div> - </div></fieldset> - <?php } ?> - <?php $if4=($type=='longtext'); if($if4){?> - <?php $if5=($editor=='wiki'); if($if5){?> - <?php $if6=(!empty($languages)); if($if6){?> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('editor_show_language') ?></legend><div> - <div> - <?php foreach($languages as $languageid=>$languagename){ ?> - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_otherlanguageid_<?php echo $languageid ?>" name="otherlanguageid" value="<?php echo $languageid ?>"<?php if($languageid==@$otherlanguageid)echo ' checked="checked"' ?> /> - - <label for="<?php echo REQUEST_ID ?>_<?php echo 'otherlanguageid_'.$languageid.'' ?>" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($languagename))); ?></span> - - </label> - <br/> - - <?php } ?> - </div> - </div></fieldset> - <?php } ?> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('PAGE_PREVIEW') ?></legend><div> - <div> - <?php { $tmpname = 'preview';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_preview" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'PAGE_PREVIEW'.'')))); ?></span> - - </label> - </div> - </div></fieldset> - <?php } ?> - <?php } ?> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('options') ?></legend><div> - <?php $if5=(!empty($release)); if($if5){?> - <div> - <?php { $tmpname = 'release';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_release" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_RELEASE')))); ?></span> - - </label> - </div> - <?php } ?> - <?php $if5=(!empty($publish)); if($if5){?> - <div> - <?php { $tmpname = 'publish';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_publish" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('PAGE_PUBLISH_AFTER_SAVE')))); ?></span> - - </label> - </div> - <?php } ?> - </div></fieldset> - - <div class="bottom"><div class="command yes"><input type="button" class="submit ok" value="<?php echo lang('save') ?>" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/pageelement/edit.tpl.src.xml b/modules/cms-ui/themes/default/templates/pageelement/edit.tpl.src.xml @@ -1,287 +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.xsd"> - <header views="link,import,export"></header> - <form method="post" label="message:save" visible="yes"> - <input type="hidden" name="elementid"></input> - <input type="hidden" name="value_time"></input> - <window name="element"> - <text var="desc" class="help"></text> - <if value="var:type" equals="date"> - <group title="message:calendar"> - <part> - <table width="85%" class="calendar"> - <row> - <column colspan="8" class="help"> - <link url="var:lastmonthurl"> - <image file="left" align="middle"></image> - </link> - <text raw="_"></text> - <text var="monthname" type="strong"></text> - <text raw="_"></text> - <link url="var:nextmonthurl"> - <image file="right" align="middle"></image> - </link> - <text raw="_____"></text> - <link url="var:lastyearurl"> - <image file="left" align="middle"></image> - </link> - <text raw="_"></text> - <text var="yearname" type="strong"></text> - <text raw="_"></text> - <link url="var:nextyearurl"> - <image file="right" align="middle"></image> - </link> - </column> - </row> - <row> - <column> - <text key="week"></text> - </column> - <list list="weekdays" value="weekday"> - <column> - <text var="weekday"></text> - </column> - </list> - </row> - <list list="weeklist" key="weeknr" value="week"> - <row> - <column width="12%"> - <text var="weeknr"></text> - </column> - <list list="week" extract="true"> - <column width="12%"> - <if empty="url"> - <text raw="__"></text> - <text var="nr" type="strong"></text> - <text raw="__"></text> - </if> - <if not="true" empty="url"> - <link url="var:url"> - <text raw="__"></text> - <text var="nr"></text> - <text raw="__"></text> - </link> - </if> - <if true="var:today"> - <text raw="*"></text> - </if> - </column> - </list> - </row> - </list> - </table> - </part> - </group> - <group title="message:date"> - <part> - <label for="year"> - <text key="date"></text> - </label> - <selectbox name="year" list="all_years"></selectbox> - <text raw="_-_"></text> - <selectbox name="month" list="all_months"></selectbox> - <text raw="_-_"></text> - <selectbox name="day" list="all_days"></selectbox> - </part> - <part> - <label for="hour"> - <text key="date_time"></text> - </label> - <selectbox name="hour" list="all_hours"></selectbox> - <text raw="_-_"></text> - <selectbox name="minute" list="all_minutes"></selectbox> - <text raw="_-_"></text> - <selectbox name="second" list="all_seconds"></selectbox> - </part> - </group> - </if> - <if value="var:type" equals="text"> - <row> - <column colspan="2"> - <input size="50" maxlength="255" class="text" name="text"></input> - <focus field="text"></focus> - </column> - </row> - </if> - <if value="var:type" equals="longtext"> - <if present="preview"> - <part class="preview"> - <group title="message:page_preview"> - <text var="preview" escape="false"></text> - </group> - </part> - </if> - <if value="var:editor" equals="html"> - <editor type="html" name="text"></editor> - </if> - <if value="var:editor" equals="wiki"> - <if present="languagetext"> - <group title="var:languagename"> - <text var="languagetext"></text> - </group> - <newline></newline> - <newline></newline> - </if> - <editor type="wiki" name="text"></editor> - <group title="message:help"> - <table> - <column> - <text value="config:editor/text-markup/strong-begin"></text> - <text key="text_markup_strong"></text> - <text value="config:editor/text-markup/strong-end"></text> - <newline></newline> - <text value="config:editor/text-markup/emphatic-begin"></text> - <text key="text_markup_emphatic"></text> - <text value="config:editor/text-markup/emphatic-end"></text> - </column> - <column> - <text value="config:editor/text-markup/list-numbered"></text> - <text key="text_markup_numbered_list"></text> - <newline></newline> - <text value="config:editor/text-markup/list-numbered"></text> - <text raw="..."></text> - <newline></newline> - </column> - <column> - <text value="config:editor/text-markup/list-unnumbered"></text> - <text key="text_markup_unnumbered_list"></text> - <newline></newline> - <text value="config:editor/text-markup/list-unnumbered"></text> - <text raw="..."></text> - <newline></newline> - </column> - <column> - <text value="config:editor/text-markup/table-cell-sep"></text> - <text key="text_markup_table"></text> - <text value="config:editor/text-markup/table-cell-sep"></text> - <text raw="..."></text> - <text value="config:editor/text-markup/table-cell-sep"></text> - <text raw="..."></text> - <text value="config:editor/text-markup/table-cell-sep"></text> - <newline></newline> - <text value="config:editor/text-markup/table-cell-sep"></text> - <text raw="..."></text> - <text value="config:editor/text-markup/table-cell-sep"></text> - <text raw="..."></text> - <text value="config:editor/text-markup/table-cell-sep"></text> - <text raw="..."></text> - <text value="config:editor/text-markup/table-cell-sep"></text> - <newline></newline> - </column> - </table> - </group> - </if> - <if value="var:editor" equals="text"> - <inputarea class="longtext" name="text" rows="25" cols="70"></inputarea> - <focus field="text"></focus> - </if> - </if> - <if value="var:type" equals="link"> - <group> - <part class="line"> - <part class="label"> - <label for="linkobjectid"> - <text key="link_target"></text> - </label> - </part> - <part class="input"> - <!-- - <selectbox list="objects" name="linkobjectid" addempty="true"></selectbox> - --> - <selector param="linkobjectid" types="var:types" name="var:linkobjectid" - id="var:linkobjectid" folderid="var:rootfolderid" /> - </part> - - </part> - <part class="line"> - - <part class="label"> - <label for="link_url"> - <text key="link_url"></text> - </label> - </part> - <part class="input"> - <input name="linkurl"></input> - </part> - </part> - </group> - </if> - <if value="var:type" equals="list"> - <group> - <part> - <selectbox list="objects" name="linkobjectid"></selectbox> - <focus field="linkobjectid"></focus> - </part> - </group> - </if> - <if value="var:type" equals="insert"> - <group> - <part> - <selectbox list="objects" name="linkobjectid"></selectbox> - <focus field="linkobjectid"></focus> - </part> - </group> - </if> - <if value="var:type" equals="number"> - <group> - <part> - <hidden name="decimals" default="decimals"></hidden> - <input size="15" maxlength="20" name="number"></input> - <focus field="number"></focus> - </part> - </group> - </if> - <if value="var:type" equals="select"> - <group> - <part> - <selectbox list="items" name="text"></selectbox> - <focus field="text"></focus> - </part> - </group> - </if> - <if value="var:type" equals="longtext"> - <if value="var:editor" equals="wiki"> - <if present="languages"> - <group title="message:editor_show_language"> - <part> - <list list="languages" key="languageid" value="languagename"> - <radio name="otherlanguageid" value="var:languageid"></radio> - <label for="tpl:otherlanguageid_{languageid}"> - <text var="languagename"></text> - </label> - <newline></newline> - </list> - </part> - </group> - </if> - <group title="message:PAGE_PREVIEW"> - <part> - <checkbox name="preview"></checkbox> - <label for="preview"> - <text key="PAGE_PREVIEW"></text> - </label> - </part> - </group> - </if> - </if> - <group title="message:options"> - <if present="release"> - <part> - <checkbox name="release"></checkbox> - <label for="release"> - <text text="GLOBAL_RELEASE"></text> - </label> - </part> - </if> - <if present="publish"> - <part> - <checkbox name="publish"></checkbox> - <label for="publish"> - <text text="PAGE_PUBLISH_AFTER_SAVE"></text> - </label> - </part> - </if> - </group> - </window> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/pageelement/export.tpl.out.php b/modules/cms-ui/themes/default/templates/pageelement/export.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/pageelement/export.tpl.src.xml b/modules/cms-ui/themes/default/templates/pageelement/export.tpl.src.xml @@ -1,3 +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.xsd"><dummy><form><window name="export" columnclasses="a"><row><column><selectbox list="types" name="type"></selectbox></column></row><row><column><button type="ok"></button></column></row></window></form><focus field="text"></focus></dummy></output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/pageelement/history.tpl.out.php b/modules/cms-ui/themes/default/templates/pageelement/history.tpl.out.php @@ -1,143 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="diff" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="get" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="diff" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <table width="100%"> - <tr class="headline"> - <td class="help"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_NR')))); ?></span> - - </td> - <td class="help" colspan="2"> - <?php $if6=(!empty($compareid)); if($if6){?> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_COMPARE')))); ?></span> - - <?php } ?> - <?php if(!$if6){?> - <span class="text"><?php echo nl2br('&nbsp;'); ?></span> - - <?php } ?> - </td> - <td class="help"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('DATE')))); ?></span> - - </td> - <td class="help"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_USER')))); ?></span> - - </td> - <td class="help"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_VALUE')))); ?></span> - - </td> - <td class="help"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_STATE')))); ?></span> - - </td> - <td class="help"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_ACTION')))); ?></span> - - </td> - </tr> - <?php $if4=(empty($el)); if($if4){?> - <tr> - <td colspan="8"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_NOT_FOUND')))); ?></span> - - </td> - </tr> - <?php } ?> - <?php foreach($el as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <tr class="data"> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($lfd_nr))); ?></span> - - </td> - <td> - <?php $if7=(!empty($compareid)); if($if7){?> - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_compareid_<?php echo $id ?>" name="compareid" value="<?php echo $id ?>"<?php if($id==@$compareid)echo ' checked="checked"' ?> /> - - <?php } ?> - <?php if(!$if7){?> - <span class="text"><?php echo nl2br('&nbsp;'); ?></span> - - <?php } ?> - </td> - <td> - <?php $if7=(!empty($compareid)); if($if7){?> - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_withid_<?php echo $id ?>" name="withid" value="<?php echo $id ?>"<?php if($id==@$withid)echo ' checked="checked"' ?> /> - - <?php } ?> - <?php if(!$if7){?> - <span class="text"><?php echo nl2br('&nbsp;'); ?></span> - - <?php } ?> - </td> - <td> - <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($date) ?> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($user))); ?></span> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($value))); ?></span> - - </td> - <?php $if6=($public); if($if6){?> - <td> - <strong class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_PUBLIC'.'')))); ?></strong> - - </td> - <?php } ?> - <?php if(!$if6){?> - <?php $if7=(!empty($releaseUrl)); if($if7){?> - <td class="clickable"> - <a title="<?php echo lang('GLOBAL_RELEASE_DESC') ?>" target="_self" data-type="post" data-action="<?php echo OR_ACTION ?>" data-method="release" data-id="<?php echo $objectid ?>" data-data="{&quot;action&quot;:&quot;<?php echo OR_ACTION ?>&quot;,&quot;subaction&quot;:&quot;release&quot;,&quot;id&quot;:&quot;<?php echo $objectid ?>&quot;,&quot;token&quot;:&quot;<?php echo token() ?>&quot;,&quot;var1&quot;:&quot;<?php echo $valueid ?>&quot;,&quot;none&quot;:&quot;0&quot;}"> - <strong class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_RELEASE'.'')))); ?></strong> - - </a> - - </td> - <?php } ?> - <?php if(!$if7){?> - <td> - <em class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_INACTIVE'.'')))); ?></em> - - </td> - <?php } ?> - <?php } ?> - <?php $if6=($active); if($if6){?> - <td> - <em class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_ACTIVE'.'')))); ?></em> - - </td> - <?php } ?> - <?php if(!$if6){?> - <?php $if7=(!empty($useUrl)); if($if7){?> - <td class="clickable"> - <a title="<?php echo lang('GLOBAL_USE_DESC') ?>" target="_self" data-type="post" data-action="<?php echo OR_ACTION ?>" data-method="use" data-id="<?php echo $objectid ?>" data-data="{&quot;action&quot;:&quot;<?php echo OR_ACTION ?>&quot;,&quot;subaction&quot;:&quot;use&quot;,&quot;id&quot;:&quot;<?php echo $objectid ?>&quot;,&quot;token&quot;:&quot;<?php echo token() ?>&quot;,&quot;var1&quot;:&quot;<?php echo $valueid ?>&quot;,&quot;none&quot;:&quot;0&quot;}"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_USE'.'')))); ?></span> - - </a> - - </td> - <?php } ?> - <?php if(!$if7){?> - <td> - </td> - <?php } ?> - <?php } ?> - </tr> - <?php } ?> - </table> - -<div class="bottom"> - <div class="command 1"> - - <input type="button" class="submit ok" value="<?php echo lang('compare') ?>" onclick="$(this).closest('div.sheet').find('form').submit(); " /> - - <!-- Cancel-Button nicht anzeigen, wenn cancel==false. --> </div> -</div> -</form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/pageelement/history.tpl.src.xml b/modules/cms-ui/themes/default/templates/pageelement/history.tpl.src.xml @@ -1,114 +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.xsd"> - <form method="get" subaction="diff" label="message:compare" - cancel="false" visible="true"> - <table widths="5%,5%,5%,15%,15%,35%,10%,10%"> - <row class="headline"> - <column class="help"> - <text text="GLOBAL_NR"></text> - </column> - <column class="help" colspan="2"> - <if present="compareid"> - <text text="GLOBAL_COMPARE"></text> - </if> - <else> - <text raw="_" /> - </else> - </column> - <column class="help"> - <text text="DATE"></text> - </column> - <column class="help"> - <text text="GLOBAL_USER"></text> - </column> - <column class="help"> - <text text="GLOBAL_VALUE"></text> - </column> - <column class="help"> - <text text="GLOBAL_STATE"></text> - </column> - <column class="help"> - <text text="GLOBAL_ACTION"></text> - </column> - </row> - <if empty="el"> - <row> - <column colspan="8"> - <text text="GLOBAL_NOT_FOUND"></text> - </column> - </row> - </if> - <list list="el" extract="true"> - <row class="data"> - <column> - <text var="lfd_nr"></text> - </column> - <column> - <if present="compareid"> - <radio name="compareid" value="var:id"></radio> - </if> - <else> - <text raw="_" /> - </else> - </column> - <column> - <if present="compareid"> - <radio name="withid" value="var:id"></radio> - </if> - <else> - <text raw="_" /> - </else> - </column> - <column> - <date date="var:date"></date> - </column> - <column> - <text var="user"></text> - </column> - <column> - <text var="value"></text> - </column> - <if true="var:public"> - <column> - <text key="GLOBAL_PUBLIC" type="strong"></text> - </column> - </if> - <else> - <if present="releaseUrl"> - <column class="clickable"> - <link type="post" subaction="release" var1="valueid" - value1="var:valueid" id="var:objectid" title="message:GLOBAL_RELEASE_DESC"> - <text key="GLOBAL_RELEASE" type="strong"></text> - </link> - </column> - </if> - <else> - <column> - <text key="GLOBAL_INACTIVE" type="emphatic" /> - </column> - </else> - </else> - <if true="var:active"> - <column> - <text key="GLOBAL_ACTIVE" type="emphatic"></text> - </column> - </if> - <else> - <if present="useUrl"> - <column class="clickable"> - <link type="post" subaction="use" var1="valueid" value1="var:valueid" - id="var:objectid" title="message:GLOBAL_USE_DESC"> - <text key="GLOBAL_USE"></text> - </link> - </column> - </if> - <else> - <column> - </column> - </else> - </else> - </row> - </list> - </table> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/pageelement/import.tpl.out.php b/modules/cms-ui/themes/default/templates/pageelement/import.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/pageelement/import.tpl.src.xml b/modules/cms-ui/themes/default/templates/pageelement/import.tpl.src.xml @@ -1,3 +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.xsd"><dummy><form><window name="import" columnclasses="a"><row><column><selectbox list="types" name="type"></selectbox></column></row><row><column><upload name="file"></upload></column></row><row><column><button type="ok"></button></column></row></window></form><focus field="text"></focus></dummy></output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/pageelement/info.tpl.out.php b/modules/cms-ui/themes/default/templates/pageelement/info.tpl.out.php @@ -1,79 +0,0 @@ - - - <table width="100%"> - <tr class="data"> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('name')))); ?></span> - - </td> - <td class="name"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </td> - </tr> - <tr class="data"> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('description')))); ?></span> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($description))); ?></span> - - </td> - </tr> - <tr class="data"> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('type')))); ?></span> - - </td> - <td class="filename"> - <img class="image-icon image-icon--element" title="" src="./themes/default/images/icon/element/<?php echo $element_type ?>.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'el_'.$element_type.''.'')))); ?></span> - - </td> - </tr> - <tr class="data"> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'template'.'')))); ?></span> - - </td> - <td onclick="javascript:openNewAction('<?php echo $template_name ?>','template','<?php echo $template_id ?>');"> - <img class="" title="" src="./themes/default/images/icon/icon_template.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($template_name))); ?></span> - - </td> - </tr> - <tr class="data"> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'element'.'')))); ?></span> - - </td> - <td onclick="javascript:openNewAction('<?php echo $element_name ?>','element','<?php echo $element_id ?>');"> - <img class="" title="" src="./themes/default/images/icon_<?php echo $element_type ?>.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($element_name))); ?></span> - - </td> - </tr> - <tr class="data"> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('lastchange')))); ?></span> - - </td> - <td> - <img class="" title="" src="./themes/default/images/icon/el_date.png" /> - - <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($lastchange_date) ?> - - <span class="text"><?php echo nl2br(', '); ?></span> - - <img class="" title="" src="./themes/default/images/icon/user.png" /> - - <?php include_once( 'modules/template-engine/components/html/user/component-user.php') ?><?php component_user($lastchange_user) ?> - - </td> - </tr> - </table> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/pageelement/info.tpl.src.xml b/modules/cms-ui/themes/default/templates/pageelement/info.tpl.src.xml @@ -1,60 +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.xsd"> - <table> - <row class="data"> - <column> - <text text="name"></text> - </column> - <column class="name"> - <text var="name"></text> - </column> - </row> - <row class="data"> - <column> - <text text="description"></text> - </column> - <column> - <text var="description"></text> - </column> - </row> - <row class="data"> - <column> - <text text="type"></text> - </column> - <column class="filename"> - <image elementtype="var:element_type"></image> - <text key="tpl:el_{element_type}"></text> - </column> - </row> - <row class="data"> - <column> - <text key="template"></text> - </column> - <column id="var:template_id" name="var:template_name" action="template"> - <image file="icon_template"></image> - <text var="template_name"></text> - </column> - </row> - <row class="data"> - <column> - <text key="element"></text> - </column> - <column id="var:element_id" name="var:element_name" action="element"> - <image type="var:element_type"></image> - <text var="element_name"></text> - </column> - </row> - <row class="data"> - <column> - <text text="lastchange"></text> - </column> - <column> - <image icon="el_date"></image> - <date date="var:lastchange_date"></date> - <text raw=", "></text> - <image icon="user"></image> - <user user="var:lastchange_user"></user> - </column> - </row> - </table> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/pageelement/link.tpl.out.php b/modules/cms-ui/themes/default/templates/pageelement/link.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/pageelement/link.tpl.src.xml b/modules/cms-ui/themes/default/templates/pageelement/link.tpl.src.xml @@ -1,3 +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.xsd"><dummy><form><window name="element"><row><column colspan="2" class="help"><text var="desc"></text></column></row><row><column colspan="2"><selectbox list="objects" name="linkobjectid"></selectbox></column></row><if present="release"><if present="publish"><row><column colspan="2"><group title="message:options"></group></column></row></if></if><if present="release"><row><column colspan="2"><checkbox name="release"></checkbox><label for="release"><text raw="_"></text><text text="GLOBAL_RELEASE"></text></label></column></row></if><if present="publish"><row><column colspan="2"><checkbox name="publish"></checkbox><label for="publish"><text raw="_"></text><text text="PAGE_PUBLISH_AFTER_SAVE"></text></label></column></row></if><row><column colspan="2" class="act"><button type="ok"></button></column></row></window></form><focus field="linko"></focus></dummy></output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/pageelement/preview.tpl.out.php b/modules/cms-ui/themes/default/templates/pageelement/preview.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/pageelement/preview.tpl.src.xml b/modules/cms-ui/themes/default/templates/pageelement/preview.tpl.src.xml @@ -1,10 +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.xsd"> - - <part class="preview"> - <group title="message:page_preview"> - <text var="preview" escape="false"></text> - </group> - </part> - -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/pageelement/prop.tpl.out.php b/modules/cms-ui/themes/default/templates/pageelement/prop.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/pageelement/prop.tpl.src.xml b/modules/cms-ui/themes/default/templates/pageelement/prop.tpl.src.xml @@ -1,95 +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.xsd"> - <form> - <table> - <row> - <column> - <text text="name"></text> - </column> - <column class="name"> - <text var="name"></text> - </column> - </row> - <row> - <column> - <text text="description"></text> - </column> - <column> - <text var="description"></text> - </column> - </row> - <row> - <column> - <text text="type"></text> - </column> - <column class="filename"> - <image elementtype="var:element_type"></image> - <text key="tpl:el_{element_type}"></text> - </column> - </row> - <row> - <column colspan="2"> - <group title="message:additional_info"></group> - </column> - </row> - <row> - <column> - <text key="template"></text> - </column> - <column> - <if present="template_url"> - <link url="var:template_url" target="cms_main_main"> - <image file="icon_template"></image> - <text var="template_name"></text> - </link> - </if> - <if empty="template_url"> - <image file="icon_template"></image> - <text var="template_name"></text> - </if> - </column> - </row> - <row> - <column> - <text key="element"></text> - </column> - <column> - <if present="element_url"> - <link url="var:element_url" target="cms_main_main"> - <image elementtype="var:element_type"></image> - <text var="element_name"></text> - </link> - </if> - <if empty="element_url"> - <image icon="element"></image> - <text var="element_name"></text> - </if> - </column> - </row> - <row> - <column colspan="2"> - <group title="message:prop_userinfo"></group> - </column> - </row> - <row> - <column> - <text text="lastchange"></text> - </column> - <column> - <table> - <row> - <column> - <image icon="el_date"></image> - <date date="var:lastchange_date"></date> - </column> - <column> - <image icon="user"></image> - <user user="var:lastchange_user"></user> - </column> - </row> - </table> - </column> - </row> - </table> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/pageelement/pub.tpl.out.php b/modules/cms-ui/themes/default/templates/pageelement/pub.tpl.out.php @@ -1,45 +0,0 @@ - - - <?php $if2=(@$conf['security']['nopublish']); if($if2){?> - <div class="message warn"> - <span class="help"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_NOPUBLISH_DESC'.'')))); ?></span> - - </div> - <?php } ?> - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="1" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('options') ?></legend><div> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <?php { $tmpname = 'files';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_files" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_files')))); ?></span> - - </label> - </div> - </div> - </div></fieldset> - -<div class="bottom"> - <div class="command "> - - <input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /> - - <!-- Cancel-Button nicht anzeigen, wenn cancel==false. --> </div> -</div> -</form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/pageelement/pub.tpl.src.xml b/modules/cms-ui/themes/default/templates/pageelement/pub.tpl.src.xml @@ -1,31 +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.xsd"> - - <!-- - Falls das Veroeffentlichen deaktiviert ist, eine Warnmeldung anzeigen. - --> - <if true="config:security/nopublish"> - <part class="message warn"> - <text key="GLOBAL_NOPUBLISH_DESC" class="help"></text> - </part> - </if> - - - - <form async="true"> - <group title="message:options"> - - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <checkbox name="files"></checkbox> - <label for="files"> - <text text="global_files"></text> - </label> - </part> - </part> - - </group> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/pageelement/structure.tpl.out.php b/modules/cms-ui/themes/default/templates/pageelement/structure.tpl.out.php @@ -1,9 +0,0 @@ - - - <?php $if2=(!empty($text)); if($if2){?> - <div class="structure"> - <?php $doc = new DocumentElement();$tmp_text = $text;if( !is_array($tmp_text))$tmp_text = explode("\n",$tmp_text);$doc->parse($tmp_text);echo $doc->render('application/html-dom');?> - - </div> - <?php } ?> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/pageelement/structure.tpl.src.xml b/modules/cms-ui/themes/default/templates/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.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/templates/profile/confirmmail.tpl.out.php b/modules/cms-ui/themes/default/templates/profile/confirmmail.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/profile/confirmmail.tpl.src.xml b/modules/cms-ui/themes/default/templates/profile/confirmmail.tpl.src.xml @@ -1,3 +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.xsd"><dummy><form><window title="GLOBAL_password" name="login" icon="user" widths="50%,50%"><row><column class="logo" colspan="2"><logo name="changemail"></logo></column></row><row><column><text text="mail_code"></text></column><column><input type="text" name="code" size="30"></input></column></row><row><column colspan="2" class="act"><button type="ok"></button></column></row></window></form><focus field="code"></focus></dummy></output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/profile/edit.tpl.out.php b/modules/cms-ui/themes/default/templates/profile/edit.tpl.out.php @@ -1,168 +0,0 @@ - - - <div class="headermenu"><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_MAIL') ?>" data-type="dialog" data-name="<?php echo lang('MENU_MAIL') ?>" data-method="mail"><img src="./themes/default/images/icon/action/mail.svg" title="<?php echo lang('MENU_mail_DESC') ?>" /><?php echo lang('MENU_mail') ?></a></div></div> - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('name') ?></legend><div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_name" class="label"><?php echo lang('user_username') ?> - </label> - </div> - <div class="input"> - <span class="name"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </div> - </div> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('MENU_PROFILE_MAIL') ?></legend><div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_mail" class="label"><?php echo lang('user_mail') ?> - </label> - </div> - <div class="input"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($mail))); ?></span> - - <br/> - - <br/> - - <div class="clickable"> - <a class="action" target="_self" date-name="<?php echo lang('mail') ?>" name="<?php echo lang('mail') ?>" data-type="dialog" data-action="profile" data-method="mail" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'edit'.'')))); ?></span> - - </a> - - </div> - </div> - </div> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('GLOBAL_PROP') ?></legend><div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_fullname" class="label"><?php echo lang('user_fullname') ?> - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_fullname" name="fullname<?php if ('') echo '_disabled' ?>" type="text" maxlength="128" class="text" value="<?php echo Text::encodeHtml(@$fullname) ?>" /><?php if ('') { ?><input type="hidden" name="fullname" value="<?php $fullname ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_tel" class="label"><?php echo lang('user_tel') ?> - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_tel" name="tel<?php if ('') echo '_disabled' ?>" type="text" maxlength="128" class="text" value="<?php echo Text::encodeHtml(@$tel) ?>" /><?php if ('') { ?><input type="hidden" name="tel" value="<?php $tel ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_desc" class="label"><?php echo lang('user_desc') ?> - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_desc" name="desc<?php if ('') echo '_disabled' ?>" type="text" maxlength="128" class="text" value="<?php echo Text::encodeHtml(@$desc) ?>" /><?php if ('') { ?><input type="hidden" name="desc" value="<?php $desc ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_style" class="label"><?php echo lang('user_style') ?> - </label> - </div> - <div class="input"> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_style" name="style" title="" class=""<?php if (count($allstyles)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($allstyles,@$conf['interface']['style']['default'],0,0) ?><?php if (count($allstyles)==0) { ?><input type="hidden" name="style" value="" /><?php } ?><?php if (count($allstyles)==1) { ?><input type="hidden" name="style" value="<?php echo array_keys($allstyles)[0] ?>" /><?php } ?> - </select></div> - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_timezone_offset" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'timezone'.'')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_timezone" name="timezone" title="" class=""<?php if (count($timezone_list)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($timezone_list,$timezone,1,0) ?><?php if (count($timezone_list)==0) { ?><input type="hidden" name="timezone" value="" /><?php } ?><?php if (count($timezone_list)==1) { ?><input type="hidden" name="timezone" value="<?php echo array_keys($timezone_list)[0] ?>" /><?php } ?> - </select></div> - </div> - </div> - <div class="line"> - <div class="label"> - <label class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'language'.'')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_language" name="language" title="" class=""<?php if (count($language_list)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($language_list,$language,1,0) ?><?php if (count($language_list)==0) { ?><input type="hidden" name="language" value="" /><?php } ?><?php if (count($language_list)==1) { ?><input type="hidden" name="language" value="<?php echo array_keys($language_list)[0] ?>" /><?php } ?> - </select></div> - </div> - </div> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('security') ?></legend><div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('user_password_expires')))); ?></span> - - </div> - <div class="input"> - <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($passwordExpires) ?> - - </div> - </div> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <?php { $tmpname = 'totp';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_totp" class="label"><?php echo lang('user_totp') ?> - </label> - <div class="qrcode" data-qrcode="<?php echo $totpSecretUrl ?>" title="<?php echo $totpSecretUrl ?>"></div> - - </div> - </div> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <?php { $tmpname = 'hotp';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_hotp" class="label"><?php echo lang('user_hotp') ?> - </label> - <div class="qrcode" data-qrcode="<?php echo $hotpSecretUrl ?>" title="<?php echo $hotpSecretUrl ?>"></div> - - </div> - </div> - </div></fieldset> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="<?php echo lang('global_save') ?>" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/profile/edit.tpl.src.html b/modules/cms-ui/themes/default/templates/profile/edit.tpl.src.html @@ -1,58 +0,0 @@ -<template xmlns:html="http://www.w3.org/1999/xhtml" - xmlns:m="http://www.w3.org/1998/Math/MathML" - xmlns:or="http://www.openrat.de/template"> -<or:form></or:form> -<html:div></html:div> - -</template> - -<!-- -dummy - header views:mail - form method:post - window icon:user name:user_profile - row - cell colspan:2 - fieldset title:message:name - part - label for:name - text key:user_username - text var:name class:name - - fieldset title:message:MENU_PROFILE_MAIL - part - label for:mail - text text:user_mail - #link action:profile subaction:mail title:message:menu_mail_desc - text var:mail class:filename - if false:mode:edit - newline - link type:view class:action action:profile subaction:mail - text key:edit - - fieldset title:message:GLOBAL_PROP - part - label for:fullname - text text:user_fullname class:name - input name:fullname size:40 maxlength:128 - part - label for:tel - text text:user_tel - input name:tel size:40 maxlength:128 - - part - label for:desc - text text:user_desc - input name:desc size:40 maxlength:128 - - part - label for:style - text text:user_style - selectbox name:style list:allstyles default:config:interface/style/default - - row - cell colspan:2 class:act - button type:ok - focus field:fullname - --> - diff --git a/modules/cms-ui/themes/default/templates/profile/edit.tpl.src.xml b/modules/cms-ui/themes/default/templates/profile/edit.tpl.src.xml @@ -1,115 +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.xsd"> - <header views="mail"></header> - <form label="message:global_save"> - <group title="message:name"> - <part class="line"> - <part class="label"> - <label for="name" key="user_username"></label> - </part> - <part class="input"> - <text var="name" class="name"></text> - </part> - </part> - </group> - <group title="message:MENU_PROFILE_MAIL"> - <part class="line"> - <part class="label"> - <label for="mail" key="user_mail"></label> - </part> - <part class="input"> - <text var="mail"></text> - <newline /> - <newline /> - <part class="clickable"> - <link type="dialog" class="action" action="profile" subaction="mail" name="message:mail"> - <text key="edit"></text> - </link> - </part> - </part> - </part> - </group> - <group title="message:GLOBAL_PROP"> - <part class="line"> - <part class="label"> - <label for="fullname" key="user_fullname"></label> - </part> - <part class="input"> - <input name="fullname" maxlength="128"></input> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="tel" key="user_tel"></label> - </part> - <part class="input"> - <input name="tel" size="40" maxlength="128"></input> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="desc" key="user_desc"></label> - </part> - <part class="input"> - <input name="desc" size="40" maxlength="128"></input> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="style" key="user_style"></label> - </part> - <part class="input"> - <selectbox name="style" list="allstyles" - default="config:interface/style/default"></selectbox> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="timezone_offset"> - <text key="timezone" /> - </label> - </part> - <part class="input"> - <selectbox name="timezone" list="timezone_list" - addempty="true"></selectbox> - </part> - </part> - <part class="line"> - <part class="label"> - <label for=""> - <text key="language" /> - </label> - </part> - <part class="input"> - <selectbox name="language" list="language_list" addempty="true"></selectbox> - </part> - </part> - </group> - <group title="message:security"> - <part class="line"> - <part class="label"> - <text text="user_password_expires" /> - </part> - <part class="input"> - <date date="var:passwordExpires" /> - </part> - </part> - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <checkbox name="totp"/><label for="totp" key="user_totp"></label> - <qrcode value="var:totpSecretUrl" /> - </part> - </part> - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <checkbox name="hotp"/><label for="hotp" key="user_hotp"></label> - <qrcode value="var:hotpSecretUrl" /> - </part> - </part> - </group> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/profile/history.tpl.out.php b/modules/cms-ui/themes/default/templates/profile/history.tpl.out.php @@ -1,38 +0,0 @@ - - - <table width="100%"> - <tr class="headline"> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'project'.'')))); ?></span> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'filename'.'')))); ?></span> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'lastchange'.'')))); ?></span> - - </td> - </tr> - <?php foreach($timeline as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <tr class="data"> - <td class="clickable"> - <a target="_self" data-type="post" data-action="start" data-method="projectmenu" data-id="<?php echo $projectid ?>" data-data="{&quot;action&quot;:&quot;start&quot;,&quot;subaction&quot;:&quot;projectmenu&quot;,&quot;id&quot;:&quot;<?php echo $projectid ?>&quot;,&quot;token&quot;:&quot;<?php echo token() ?>&quot;,&quot;none&quot;:&quot;0&quot;}"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($projectname))); ?></span> - - </a> - - </td> - <td title="<?php echo $filename ?>"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $filename,30,'..',constant('STR_PAD_BOTH') )))); ?></span> - - </td> - <td> - <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($lastchange_date) ?> - - </td> - </tr> - <?php } ?> - </table> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/profile/history.tpl.src.xml b/modules/cms-ui/themes/default/templates/profile/history.tpl.src.xml @@ -1,33 +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.xsd"> - <table> - <row class="headline"> - <column> - <text key="project"></text> - </column> - <column> - <text key="filename"></text> - </column> - <column> - <text key="lastchange" /> - </column> - </row> - - <list list="timeline" extract="true"> - <row class="data"> - <column class="clickable"> - <link type="post" action="start" subaction="projectmenu" id="var:projectid"> - <text var="projectname"></text> - </link> - </column> - <column title="var:filename"> - <text var="filename" maxlength="30"></text> - </column> - <column> - <date date="var:lastchange_date" /> - </column> - - </row> - </list> - </table> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/profile/mail.tpl.out.php b/modules/cms-ui/themes/default/templates/profile/mail.tpl.out.php @@ -1,35 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="post" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="line logo"> - <div class="label"> - <img src="themes/default/images/logo_changemail.png ?>" - border="0" /> - </div> - <div class="input"> - <h2> - <?php echo langHtml('logo_changemail') ?> - </h2> - <p> - <?php echo langHtml('logo_changemail_text') ?> - </p> - - </div> -</div> - </div> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('user_mail') ?></legend><div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_mail" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('user_new_mail')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_mail" name="mail<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="text" value="<?php echo Text::encodeHtml(@$mail) ?>" /><?php if ('') { ?><input type="hidden" name="mail" value="<?php $mail ?>"/><?php } ?></div> - - </div> - </div> - </div></fieldset> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/profile/mail.tpl.src.xml b/modules/cms-ui/themes/default/templates/profile/mail.tpl.src.xml @@ -1,19 +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.xsd"> - <form method="post"> - <logo name="changemail" /> - - <group title="message:user_mail"> - <part class="line"> - <part class="label"> - <label for="mail"> - <text text="user_new_mail"></text> - </label> - </part> - <part class="input"> - <input name="mail"></input> - </part> - </part> - </group> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/profile/memberships.tpl.out.php b/modules/cms-ui/themes/default/templates/profile/memberships.tpl.out.php @@ -1,27 +0,0 @@ - - - <table width="100%"> - <tr class="headline"> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'name'.'')))); ?></span> - - </td> - </tr> - <?php $if3=(empty($groups)); if($if3){?> - <tr class="data"> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'NOT_FOUND'.'')))); ?></span> - - </td> - </tr> - <?php } ?> - <?php foreach($groups as $list_key=>$group){ ?> - <tr class="data"> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($group))); ?></span> - - </td> - </tr> - <?php } ?> - </table> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/profile/memberships.tpl.src.xml b/modules/cms-ui/themes/default/templates/profile/memberships.tpl.src.xml @@ -1,6 +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.xsd"> - <table><row class="headline"><column><text key="name"></text></column></row><if - empty="groups"><row class="data"><column><text key="NOT_FOUND"></text></column></row></if><list - list="groups" value="group"><row class="data"><column><text var="group"></text></column></row></list></table> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/profile/pw.tpl.out.php b/modules/cms-ui/themes/default/templates/profile/pw.tpl.out.php @@ -1,69 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <?php $if3=($pwchange_enabled); if($if3){?> - <div class="line logo"> - <div class="label"> - <img src="themes/default/images/logo_changepassword.png ?>" - border="0" /> - </div> - <div class="input"> - <h2> - <?php echo langHtml('logo_changepassword') ?> - </h2> - <p> - <?php echo langHtml('logo_changepassword_text') ?> - </p> - - </div> -</div> - </div> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('user_act_password') ?></legend><div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_act_password" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('user_password')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><input type="password" name="act_password" id="<?php echo REQUEST_ID ?>_act_password" size="40" maxlength="256" class="focus" value="<?php echo @$act_password?>" /></div> - - </div> - </div> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('user_new_password') ?></legend><div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_password1" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('user_new_password')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><input type="password" name="password1" id="<?php echo REQUEST_ID ?>_password1" size="40" maxlength="256" class="" value="<?php echo @$password1?>" /></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_password2" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('user_new_password_repeat')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><input type="password" name="password2" id="<?php echo REQUEST_ID ?>_password2" size="40" maxlength="256" class="" value="<?php echo @$password2?>" /></div> - - </div> - </div> - </div></fieldset> - <?php } ?> - <?php if(!$if3){?> - <div class="message warn"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'pwchange_not_allowed'.'')))); ?></span> - - </div> - <?php } ?> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/profile/pw.tpl.src.xml b/modules/cms-ui/themes/default/templates/profile/pw.tpl.src.xml @@ -1,50 +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.xsd"> - <form> - - - <if true="var:pwchange_enabled"> - <logo name="changepassword"></logo> - - <group title="message:user_act_password"> - <part class="line"> - <part class="label"> - <label for="act_password"> - <text text="user_password"></text> - </label> - </part> - <part class="input"> - <password name="act_password" class="focus"></password> - </part> - </part> - </group> - <group title="message:user_new_password"> - <part class="line"> - <part class="label"> - <label for="password1"> - <text text="user_new_password"></text> - </label> - </part> - <part class="input"> - <password name="password1"></password> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="password2"> - <text text="user_new_password_repeat"></text> - </label> - </part> - <part class="input"> - <password name="password2"></password> - </part> - </part> - </group> - </if> - <else> - <part class="message warn"> - <text key="pwchange_not_allowed" /> - </part> - </else> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/profile/settings.tpl.out.php b/modules/cms-ui/themes/default/templates/profile/settings.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/profile/settings.tpl.src.xml b/modules/cms-ui/themes/default/templates/profile/settings.tpl.src.xml @@ -1,26 +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.xsd"> - <form method="post"> - <part class="line"> - <part class="label"> - <label for="timezone_offset"> - <text key="timezone" /> - </label> - </part> - <part class="input"> - <selectbox name="timezone_offset" list="timezone_list" - addempty="true"></selectbox> - </part> - </part> - <part class="line"> - <part class="label"> - <label for=""> - <text key="language" /> - </label> - </part> - <part class="input"> - <selectbox name="language" list="language_list" addempty="true"></selectbox> - </part> - </part> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/project/add.tpl.out.php b/modules/cms-ui/themes/default/templates/project/add.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/project/add.tpl.src.xml b/modules/cms-ui/themes/default/templates/project/add.tpl.src.xml @@ -1,3 +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.xsd"><dummy><form method="post"><window icon="project" name="GLOBAL_PROJECTS" widths="20px,20%,80%" width="70%"><row><column colspan="2"><text text="name"></text></column><column><input name="name"></input></column></row><row><column colspan="3"><group title="message:options"><part><radio name="type" value="empty"></radio><label for="type_empty"><text key="empty"></text></label></part><part><radio name="type" value="copy"></radio><label for="type_copy"><text key="copy"></text></label><selectbox name="projectid" list="projects"></selectbox></part></group></column></row><row><column class="act" colspan="3"><button type="ok"></button></column></row></window></form><focus field="name"></focus></dummy></output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/project/edit.tpl.out.php b/modules/cms-ui/themes/default/templates/project/edit.tpl.out.php @@ -1,161 +0,0 @@ - - - <div class="headermenu"><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_REMOVE') ?>" data-type="dialog" data-name="<?php echo lang('MENU_REMOVE') ?>" data-method="remove"><img src="./themes/default/images/icon/action/remove.svg" title="<?php echo lang('MENU_remove_DESC') ?>" /><?php echo lang('MENU_remove') ?></a></div><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_EXPORT') ?>" data-type="dialog" data-name="<?php echo lang('MENU_EXPORT') ?>" data-method="export"><img src="./themes/default/images/icon/action/export.svg" title="<?php echo lang('MENU_export_DESC') ?>" /><?php echo lang('MENU_export') ?></a></div><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_MAINTENANCE') ?>" data-type="dialog" data-name="<?php echo lang('MENU_MAINTENANCE') ?>" data-method="maintenance"><img src="./themes/default/images/icon/action/maintenance.svg" title="<?php echo lang('MENU_maintenance_DESC') ?>" /><?php echo lang('MENU_maintenance') ?></a></div></div> - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('NAME') ?></legend><div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_name" class="label"><?php echo lang('PROJECT_NAME') ?> - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_name" name="name<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="name" value="<?php echo Text::encodeHtml(@$name) ?>" /><?php if ('') { ?><input type="hidden" name="name" value="<?php $name ?>"/><?php } ?></div> - - </div> - </div> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('PUBLISH') ?></legend><div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_target_dir" class="label"><?php echo lang('PROJECT_TARGET_DIR') ?> - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_target_dir" name="target_dir<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="filename" value="<?php echo Text::encodeHtml(@$target_dir) ?>" /><?php if ('') { ?><input type="hidden" name="target_dir" value="<?php $target_dir ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_cmd_after_publish" class="label"><?php echo lang('PROJECT_CMD_AFTER_PUBLISH') ?> - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if (!@$conf['publish']['project']['override_system_command']) echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_cmd_after_publish" name="cmd_after_publish<?php if (!@$conf['publish']['project']['override_system_command']) echo '_disabled' ?>" type="text" maxlength="256" class="filename" value="<?php echo Text::encodeHtml(@$cmd_after_publish) ?>" /><?php if (!@$conf['publish']['project']['override_system_command']) { ?><input type="hidden" name="cmd_after_publish" value="<?php $cmd_after_publish ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <?php { $tmpname = 'publishFileExtension';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_publishFileExtension" class="label"><?php echo lang('PROJECT_publish_File_Extension') ?> - </label> - </div> - </div> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <?php { $tmpname = 'publishPageExtension';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_publishPageExtension" class="label"><?php echo lang('PROJECT_publish_page_Extension') ?> - </label> - </div> - </div> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('project_FTP') ?></legend><div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_ftp_url" class="label"><?php echo lang('PROJECT_FTP_URL') ?> - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if (!@$conf['publish']['ftp']['enable']) echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_ftp_url" name="ftp_url<?php if (!@$conf['publish']['ftp']['enable']) echo '_disabled' ?>" type="text" maxlength="256" class="filename" value="<?php echo Text::encodeHtml(@$ftp_url) ?>" /><?php if (!@$conf['publish']['ftp']['enable']) { ?><input type="hidden" name="ftp_url" value="<?php $ftp_url ?>"/><?php } ?></div> - - <br/> - - <?php { $tmpname = 'ftp_passive';$default = '';$readonly = !@$conf['publish']['ftp']['enable']; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_ftp_passive" class="label"><?php echo lang('PROJECT_FTP_PASSIVE') ?> - </label> - </div> - </div> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('options') ?></legend><div> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <?php { $tmpname = 'content_negotiation';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_content_negotiation" class="label"><?php echo lang('PROJECT_CONTENT_NEGOTIATION') ?> - </label> - </div> - </div> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <?php { $tmpname = 'cut_index';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_cut_index" class="label"><?php echo lang('PROJECT_CUT_INDEX') ?> - </label> - </div> - </div> - </div></fieldset> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/project/edit.tpl.src.xml b/modules/cms-ui/themes/default/templates/project/edit.tpl.src.xml @@ -1,79 +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.xsd"> - <header views="remove,export,maintenance"></header> - <form> - <group title="message:NAME"> - <part class="line"> - <part class="label"> - <label for="name" key="PROJECT_NAME"></label> - </part> - <part class="input"> - <input name="name" class="name"></input> - </part> - </part> - </group> - <group title="message:PUBLISH"> - <part class="line"> - <part class="label"> - <label for="target_dir" key="PROJECT_TARGET_DIR"></label> - </part> - <part class="input"> - <input name="target_dir" class="filename"></input> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="cmd_after_publish" key="PROJECT_CMD_AFTER_PUBLISH"></label> - </part> - <part class="input"> - <input name="cmd_after_publish" class="filename" - readonly="not:config:publish/project/override_system_command"></input> - - </part> - </part> - <part class="line"> - <part class="label"></part> - <part class="input"> - <checkbox name="publishFileExtension"></checkbox> - <label for="publishFileExtension" key="PROJECT_publish_File_Extension"></label> - </part> - </part> - <part class="line"> - <part class="label"></part> - <part class="input"> - <checkbox name="publishPageExtension"></checkbox> - <label for="publishPageExtension" key="PROJECT_publish_page_Extension"></label> - </part> - </part> - </group> - <group title="message:project_FTP"> - <part class="line"> - <part class="label"> - <label for="ftp_url" key="PROJECT_FTP_URL"></label> - </part> - <part class="input"> - <input name="ftp_url" class="filename" readonly="not:config:publish/ftp/enable"></input> - <newline></newline> - <checkbox name="ftp_passive" readonly="not:config:publish/ftp/enable"></checkbox> - <label for="ftp_passive" key="PROJECT_FTP_PASSIVE"></label> - </part> - </part> - </group> - <group title="message:options"> - <part class="line"> - <part class="label"></part> - <part class="input"> - <checkbox name="content_negotiation"></checkbox> - <label for="content_negotiation" key="PROJECT_CONTENT_NEGOTIATION"></label> - </part> - </part> - <part class="line"> - <part class="label"></part> - <part class="input"> - <checkbox name="cut_index"></checkbox> - <label for="cut_index" key="PROJECT_CUT_INDEX"></label> - </part> - </part> - </group> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/project/export.tpl.out.php b/modules/cms-ui/themes/default/templates/project/export.tpl.out.php @@ -1,15 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_DATABASE'.'')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_dbid" name="dbid" title="" class=""<?php if (count($dbids)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($dbids,'actdbid',0,0) ?><?php if (count($dbids)==0) { ?><input type="hidden" name="dbid" value="" /><?php } ?><?php if (count($dbids)==1) { ?><input type="hidden" name="dbid" value="<?php echo array_keys($dbids)[0] ?>" /><?php } ?> - </select></div> - </div> - </div> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/project/export.tpl.src.xml b/modules/cms-ui/themes/default/templates/project/export.tpl.src.xml @@ -1,13 +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.xsd"> - <form> - <part class="line"> - <part class="label"> - <text key="GLOBAL_DATABASE"></text> - </part> - <part class="input"> - <selectbox name="dbid" list="dbids" default="actdbid"></selectbox> - </part> - </part> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/project/history.tpl.out.php b/modules/cms-ui/themes/default/templates/project/history.tpl.out.php @@ -1,66 +0,0 @@ - - - <table width="100%"> - <tr class="headline"> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'name'.'')))); ?></span> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'filename'.'')))); ?></span> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'user_username'.'')))); ?></span> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'lastchange'.'')))); ?></span> - - </td> - </tr> - <?php foreach($timeline as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <?php $if4=($typeid=='1'); if($if4){?> - <?php $type= 'folder'; ?> - - <?php } ?> - <?php $if4=($typeid=='2'); if($if4){?> - <?php $type= 'file'; ?> - - <?php } ?> - <?php $if4=($typeid=='3'); if($if4){?> - <?php $type= 'page'; ?> - - <?php } ?> - <?php $if4=($typeid=='4'); if($if4){?> - <?php $type= 'link'; ?> - - <?php } ?> - <?php $if4=($typeid=='5'); if($if4){?> - <?php $type= 'url'; ?> - - <?php } ?> - <tr class="data"> - <td class="clickable"> - <a target="_self" date-name="<?php echo $name ?>" name="<?php echo $name ?>" data-type="open" data-action="<?php echo $type ?>" data-method="<?php echo OR_METHOD ?>" data-id="<?php echo $objectid ?>" href="javascript:void(0);"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $name,30,'..',constant('STR_PAD_BOTH') )))); ?></span> - - </a> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $filename,30,'..',constant('STR_PAD_BOTH') )))); ?></span> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($username))); ?></span> - - </td> - <td> - <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($lastchange_date) ?> - - </td> - </tr> - <?php } ?> - </table> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/project/history.tpl.src.xml b/modules/cms-ui/themes/default/templates/project/history.tpl.src.xml @@ -1,56 +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.xsd"> - - <table> - <row class="headline"> - <column> - <text key="name"></text> - </column> - <column> - <text key="filename"></text> - </column> - <column> - <text key="user_username"></text> - </column> - <column> - <text key="lastchange" /> - </column> - </row> - <list list="timeline" extract="true"> - - <!-- Den Typ des Objektes ermitteln --> - <if value="var:typeid" equals="1"> - <set var="type" value="folder" /> - </if> - <if value="var:typeid" equals="2"> - <set var="type" value="file" /> - </if> - <if value="var:typeid" equals="3"> - <set var="type" value="page" /> - </if> - <if value="var:typeid" equals="4"> - <set var="type" value="link" /> - </if> - <if value="var:typeid" equals="5"> - <set var="type" value="url" /> - </if> - - <row class="data"> - <column class="clickable"> - <link type="open" name="var:name" id="var:objectid" action="var:type"> - <text var="name" maxlength="30"></text> - </link> - </column> - <column> - <text var="filename" maxlength="30"></text> - </column> - <column> - <text var="username"></text> - </column> - <column> - <date date="var:lastchange_date" /> - </column> - </row> - </list> - </table> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/project/info.tpl.out.php b/modules/cms-ui/themes/default/templates/project/info.tpl.out.php @@ -1,17 +0,0 @@ - - - <?php foreach($info as $list_key=>$list_value){ ?> - <div class="line"> - <div class="label"> - <label class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('project_info_'.$list_key.'')))); ?></span> - - </label> - </div> - <div class="input"> - <strong class="text"><?php echo nl2br(encodeHtml(htmlentities($list_value))); ?></strong> - - </div> - </div> - <?php } ?> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/project/info.tpl.src.xml b/modules/cms-ui/themes/default/templates/project/info.tpl.src.xml @@ -1,15 +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.xsd"> - <list list="info"> - <part class="line"> - <part class="label"> - <label for=""> - <text key="var:list_key" prefix="project_info_"></text> - </label> - </part> - <part class="input"> - <text type="strong" var="list_value"></text> - </part> - </part> - </list> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/project/maintenance.tpl.out.php b/modules/cms-ui/themes/default/templates/project/maintenance.tpl.out.php @@ -1,29 +0,0 @@ - - - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('options') ?></legend><div> - <div> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(''))); ?></span> - - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_type_check_limit" name="type" value="check_limit"<?php if('check_limit'==@$type)echo ' checked="checked"' ?> /> - - <label for="<?php echo REQUEST_ID ?>_type_check_limit" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'project_check_limit'.'')))); ?></span> - - </label> - </div> - <div> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(''))); ?></span> - - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_type_check_files" name="type" value="check_files"<?php if('check_files'==@$type)echo ' checked="checked"' ?> /> - - <label for="<?php echo REQUEST_ID ?>_type_check_files" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'project_check_files'.'')))); ?></span> - - </label> - </div> - </div></fieldset> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/project/maintenance.tpl.src.xml b/modules/cms-ui/themes/default/templates/project/maintenance.tpl.src.xml @@ -1,22 +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.xsd"> - <header back="true" /> - <form> - <group title="message:options"> - <part> - <text value=""></text> - <radio name="type" value="check_limit"></radio> - <label for="type_check_limit"> - <text key="project_check_limit"></text> - </label> - </part> - <part> - <text value=""></text> - <radio name="type" value="check_files"></radio> - <label for="type_check_files"> - <text key="project_check_files"></text> - </label> - </part> - </group> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/project/remove.tpl.out.php b/modules/cms-ui/themes/default/templates/project/remove.tpl.out.php @@ -1,43 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_NAME')))); ?></span> - - </div> - <div class="input"> - <span class="name"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </div> - </div> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('options') ?></legend><div> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <div> - <?php { $tmpname = 'delete';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_delete" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('CONFIRM_DELETE')))); ?></span> - - </label> - </div> - </div> - </div> - </div></fieldset> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/project/remove.tpl.src.xml b/modules/cms-ui/themes/default/templates/project/remove.tpl.src.xml @@ -1,29 +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.xsd"> - <form> - <part class="line"> - <part class="label"> - <text text="GLOBAL_NAME"></text> - </part> - - <part class="input"> - <text var="name" class="name"></text> - </part> - </part> - <group title="message:options"> - <part class="line"> - <part class="label"> - </part> - - <part class="input"> - <part> - <checkbox name="delete"></checkbox> - <label for="delete"> - <text text="CONFIRM_DELETE"></text> - </label> - </part> - </part> - </part> - </group> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/projectlist/add.tpl.out.php b/modules/cms-ui/themes/default/templates/projectlist/add.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/projectlist/add.tpl.src.xml b/modules/cms-ui/themes/default/templates/projectlist/add.tpl.src.xml @@ -1,32 +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.xsd"> - <form> - <part class="line"> - <part class="label"> - <text text="name"></text> - </part> - <part class="input"> - <input name="name" class="focus"></input> - </part> - </part> - - <group title="message:options"> - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <radio name="type" value="empty" checked="true"></radio> - <label for="type_empty"> - <text key="empty"></text> - </label> - <newline /> - <radio name="type" value="copy"></radio> - <label for="type_copy"> - <text key="copy"></text> - </label> - <selectbox name="projectid" list="projects"></selectbox> - </part> - </part> - </group> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/projectlist/history.tpl.out.php b/modules/cms-ui/themes/default/templates/projectlist/history.tpl.out.php @@ -1,46 +0,0 @@ - - - <table width="100%"> - <tr class="headline"> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'project'.'')))); ?></span> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'filename'.'')))); ?></span> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'user_username'.'')))); ?></span> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'lastchange'.'')))); ?></span> - - </td> - </tr> - <?php foreach($timeline as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <tr class="data"> - <td class="clickable"> - <a target="_self" data-type="post" data-action="start" data-method="projectmenu" data-id="<?php echo $projectid ?>" data-data="{&quot;action&quot;:&quot;start&quot;,&quot;subaction&quot;:&quot;projectmenu&quot;,&quot;id&quot;:&quot;<?php echo $projectid ?>&quot;,&quot;token&quot;:&quot;<?php echo token() ?>&quot;,&quot;none&quot;:&quot;0&quot;}"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($projectname))); ?></span> - - </a> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $filename,30,'..',constant('STR_PAD_BOTH') )))); ?></span> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($username))); ?></span> - - </td> - <td> - <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($lastchange_date) ?> - - </td> - </tr> - <?php } ?> - </table> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/projectlist/history.tpl.src.xml b/modules/cms-ui/themes/default/templates/projectlist/history.tpl.src.xml @@ -1,39 +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.xsd"> - <table> - <row class="headline"> - <column> - <text key="project"></text> - </column> - <column> - <text key="filename"></text> - </column> - <column> - <text key="user_username"></text> - </column> - <column> - <text key="lastchange" /> - </column> - </row> - - <list list="timeline" extract="true"> - <row class="data"> - <column class="clickable"> - <link type="post" action="start" subaction="projectmenu" id="var:projectid"> - <text var="projectname"></text> - </link> - </column> - <column> - <text var="filename" maxlength="30"></text> - </column> - <column> - <text var="username"></text> - </column> - <column> - <date date="var:lastchange_date" /> - </column> - - </row> - </list> - </table> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/projectlist/show.tpl.out.php b/modules/cms-ui/themes/default/templates/projectlist/show.tpl.out.php @@ -1,37 +0,0 @@ - - - <div class="headermenu"><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_ADD') ?>" data-type="dialog" data-name="<?php echo lang('MENU_ADD') ?>" data-method="add"><img src="./themes/default/images/icon/action/add.svg" title="<?php echo lang('MENU_add_DESC') ?>" /><?php echo lang('MENU_add') ?></a></div></div> - - <table width="100%"> - <tr class="headline"> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'name'.'')))); ?></span> - - </td> - </tr> - <?php foreach($projects as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <tr class="data"> - <td class="clickable"> - <a target="_self" date-name="<?php echo $name ?>" name="<?php echo $name ?>" data-type="open" data-action="project" data-method="<?php echo OR_METHOD ?>" data-id="<?php echo $id ?>" href="javascript:void(0);"> - <img class="" title="" src="./themes/default/images/icon/icon_project.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $name,30,'..',constant('STR_PAD_BOTH') )))); ?></span> - - </a> - - </td> - </tr> - <?php } ?> - <tr class="data"> - <td class="clickable"> - <a target="_self" date-name="<?php echo lang('new') ?>" name="<?php echo lang('new') ?>" data-type="dialog" data-action="" data-method="add" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="" title="" src="./themes/default/images/icon/add.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('new')))); ?></span> - - </a> - - </td> - </tr> - </table> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/projectlist/show.tpl.src.xml b/modules/cms-ui/themes/default/templates/projectlist/show.tpl.src.xml @@ -1,29 +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.xsd"> - <header views="add" /> - <table> - <row class="headline"> - <column> - <text key="name"></text> - </column> - </row> - <list list="projects" extract="true"> - <row class="data"> - <column class="clickable"> - <link type="open" id="var:id" name="var:name" action="project"> - <image file="icon_project"></image> - <text value="var:name" maxlength="30"></text> - </link> - </column> - </row> - </list> - <row class="data"> - <column class="clickable"> - <link type="dialog" subaction="add" name="message:new"> - <image icon="add" /> - <text text="new" /> - </link> - </column> - </row> - </table> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/search/edit.tpl.out.php b/modules/cms-ui/themes/default/templates/search/edit.tpl.out.php @@ -1,139 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="result" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="GET" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="result" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_value" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'value'.'')))); ?></span> - - </label> - <br/> - - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> data-hint="<?php echo lang('search') ?>" id="<?php echo REQUEST_ID ?>_text" name="text<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="text" value="<?php echo Text::encodeHtml(@$text) ?>" /><?php if ('') { ?><input type="hidden" name="text" value="<?php $text ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_value" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'filter'.'')))); ?></span> - - </label> - <br/> - - </div> - <div class="input"> - <?php { $tmpname = 'id';$default = @$conf['search']['quicksearch']['flag']['id'];$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_id" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'id'.'')))); ?></span> - - </label> - <br/> - - <?php { $tmpname = 'name';$default = @$conf['search']['quicksearch']['flag']['name'];$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_name" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'name'.'')))); ?></span> - - </label> - <br/> - - <?php { $tmpname = 'filename';$default = @$conf['search']['quicksearch']['flag']['filename'];$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_filename" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'filename'.'')))); ?></span> - - </label> - <br/> - - <?php { $tmpname = 'description';$default = @$conf['search']['quicksearch']['flag']['description'];$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_description" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'description'.'')))); ?></span> - - </label> - <br/> - - <?php { $tmpname = 'content';$default = @$conf['search']['quicksearch']['flag']['content'];$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_content" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'content'.'')))); ?></span> - - </label> - </div> - </div> - -<div class="bottom"> - <div class="command "> - - <input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /> - - <!-- Cancel-Button nicht anzeigen, wenn cancel==false. --> </div> -</div> - -</form> - - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/search/edit.tpl.src.xml b/modules/cms-ui/themes/default/templates/search/edit.tpl.src.xml @@ -1,51 +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.xsd"> - <form method="GET" subaction="result"> - <part class="line"> - <part class="label"> - <label for="value"> - <text key="value"></text> - </label> - <newline></newline> - </part> - <part class="input"> - <input name="text" hint="message:search"></input> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="value"> - <text key="filter"></text> - </label> - <newline></newline> - </part> - <part class="input"> - <checkbox name="id" default="config:search/quicksearch/flag/id" /> - <label for="id"> - <text key="id"></text> - </label> - <newline /> - <checkbox name="name" default="config:search/quicksearch/flag/name" /> - <label for="name"> - <text key="name"></text> - </label> - <newline /> - <checkbox name="filename" default="config:search/quicksearch/flag/filename" /> - <label for="filename"> - <text key="filename"></text> - </label> - <newline /> - <checkbox name="description" default="config:search/quicksearch/flag/description" /> - <label for="description"> - <text key="description"></text> - </label> - <newline /> - <checkbox name="content" default="config:search/quicksearch/flag/content" /> - <label for="content"> - <text key="content"></text> - </label> - </part> - </part> - - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/search/result.tpl.out.php b/modules/cms-ui/themes/default/templates/search/result.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/search/result.tpl.src.xml b/modules/cms-ui/themes/default/templates/search/result.tpl.src.xml @@ -1,26 +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.xsd"> - <table> - <row> - <column class="header"> - <text key="GLOBAL_NAME"></text> - </column> - <column class="header"> - <text key="GLOBAL_LASTCHANGE"></text> - </column> - </row> - <list list="result" extract="true"> - <row class="data"> - <column class="clickable"> - <link type="open" action="var:type" name="var:name" id="var:id"> - <image type="var:type"></image> - <text var="name" title="var:desc"></text> - </link> - </column> - <column> - <date date="var:lastchange_date"></date> - </column> - </row> - </list> - </table> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/start/applications.tpl.out.php b/modules/cms-ui/themes/default/templates/start/applications.tpl.out.php @@ -1,29 +0,0 @@ - - - <table width="100%"> - <tr class="data"> - <td colspan="2"> - <a target="_self" data-action="index" data-method="projectmenu" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <span class="text"><?php echo nl2br('OpenRat'); ?></span> - - </a> - - </td> - </tr> - <?php foreach($applications as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <tr class="data"> - <td> - <a target="_self" data-url="<?php echo $url ?>" data-action="" data-method="<?php echo OR_METHOD ?>" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </a> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($description))); ?></span> - - </td> - </tr> - <?php } ?> - </table> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/start/applications.tpl.src.xml b/modules/cms-ui/themes/default/templates/start/applications.tpl.src.xml @@ -1,24 +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.xsd"> - <table> - <row class="data"> - <column colspan="2"> - <link action="index" subaction="projectmenu"> - <text raw="OpenRat"></text> - </link> - </column> - </row> - <list list="applications" extract="true"> - <row class="data"> - <column> - <link url="var:url"> - <text var="name"></text> - </link> - </column> - <column> - <text var="description"></text> - </column> - </row> - </list> - </table> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/start/projectmenu.tpl.out.php b/modules/cms-ui/themes/default/templates/start/projectmenu.tpl.out.php @@ -1,72 +0,0 @@ - - - <table width="100%"> - <tr> - <td class="logo" colspan="2"> - <div class="line logo"> - <div class="label"> - <img src="themes/default/images/logo_projectmenu.png ?>" - border="0" /> - </div> - <div class="input"> - <h2> - <?php echo langHtml('logo_projectmenu') ?> - </h2> - <p> - <?php echo langHtml('logo_projectmenu_text') ?> - </p> - - </div> -</div> - </div> - </td> - </tr> - <tr class="headline"> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'project'.'')))); ?></span> - - </td> - </tr> - <?php foreach($projects as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <tr class="data"> - <td class="clickable"> - <a title="<?php echo lang('TREE_CHOOSE_PROJECT') ?>" target="_self" data-type="post" data-action="" data-method="<?php echo OR_METHOD ?>" data-id="<?php echo $id ?>" data-data="{&quot;action&quot;:&quot;<?php echo OR_ACTION ?>&quot;,&quot;subaction&quot;:&quot;<?php echo OR_METHOD ?>&quot;,&quot;id&quot;:&quot;<?php echo $id ?>&quot;,&quot;token&quot;:&quot;<?php echo token() ?>&quot;,&quot;none&quot;:&quot;0&quot;}"> - <?php $project= 'project'; ?> - - <img class="" title="" src="/mnt/data/dankert/public_html/cms/cms09/modules/cms-core/../../modules/cms-ui/themes/default/images/icon_project.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $name,30,'..',constant('STR_PAD_BOTH') )))); ?></span> - - </a> - - <div class="onrowvisible"> - <div class="arrow-down"> - </div> - <div class="dropdown"> - <form name="" target="_self" action="index" data-method="project" data-action="index" data-id="<?php echo $id ?>" method="POST" enctype="application/x-www-form-urlencoded" class="index" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="index" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="project" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $id ?>" /> - <table width="100%"> - <tr> - <td> - <?php include_once( 'modules/template-engine/components/html/radiobox/component-radio-box.php') ?><?php component_radio_box('modelid',$models,$defaultmodelid) ?> - - </td> - <td> - <?php include_once( 'modules/template-engine/components/html/radiobox/component-radio-box.php') ?><?php component_radio_box('languageid',$languages,$defaultlanguageid) ?> - - </td> - <td> - <div class="invisible"><input type="submit" name="ok" class="%class%" - title="?message:start_DESC?" - value="&nbsp;&nbsp;&nbsp;&nbsp;?message:start?&nbsp;&nbsp;&nbsp;&nbsp;" /> - </div> - </td> - </tr> - </table> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - </div> - </div> - </td> - </tr> - <?php } ?> - </table> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/start/projectmenu.tpl.src.xml b/modules/cms-ui/themes/default/templates/start/projectmenu.tpl.src.xml @@ -1,47 +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.xsd"> - <table> - <row> - <column class="logo" colspan="2"> - <logo name="projectmenu"></logo> - </column> - </row> - <row class="headline"> - <column> - <text key="project" /> - </column> - </row> - <list list="projects" extract="true"> - <row class="data"> - <column class="clickable"> - <link type="post" id="var:id" title="message:TREE_CHOOSE_PROJECT"> - <set var="project" value="project"></set> - <image type="project"></image> - <text var="name" maxlength="30"></text> - </link> - <part class="onrowvisible"> - <part class="arrow-down" /> - <part class="dropdown"> - <form action="index" subaction="project" id="var:id"> - <table widths="150px,150px"> - <row> - <column> - <radiobox list="models" name="modelid" default="var:defaultmodelid"></radiobox> - </column> - <column> - <radiobox list="languages" name="languageid" - default="var:defaultlanguageid"></radiobox> - </column> - <column> - <button type="ok" text="message:start"></button> - </column> - </row> - </table> - </form> - </part> - </part> - </column> - </row> - </list> - </table> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/start/userprojecttimeline.tpl.out.php b/modules/cms-ui/themes/default/templates/start/userprojecttimeline.tpl.out.php @@ -1,54 +0,0 @@ - - - <table width="100%"> - <tr class="headline"> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'name'.'')))); ?></span> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'filename'.'')))); ?></span> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'lastchange'.'')))); ?></span> - - </td> - </tr> - <?php foreach($timeline as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <?php $if4=($typeid=='1'); if($if4){?> - <?php $type= 'folder'; ?> - - <?php } ?> - <?php $if4=($typeid=='2'); if($if4){?> - <?php $type= 'file'; ?> - - <?php } ?> - <?php $if4=($typeid=='4'); if($if4){?> - <?php $type= 'link'; ?> - - <?php } ?> - <?php $if4=($typeid=='3'); if($if4){?> - <?php $type= 'page'; ?> - - <?php } ?> - <tr class="data"> - <td class="clickable"> - <a target="_self" date-name="<?php echo $name ?>" name="<?php echo $name ?>" data-type="open" data-action="<?php echo $type ?>" data-method="<?php echo OR_METHOD ?>" data-id="<?php echo $objectid ?>" href="javascript:void(0);"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $name,30,'..',constant('STR_PAD_BOTH') )))); ?></span> - - </a> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $filename,30,'..',constant('STR_PAD_BOTH') )))); ?></span> - - </td> - <td> - <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($lastchange_date) ?> - - </td> - </tr> - <?php } ?> - </table> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/start/userprojecttimeline.tpl.src.xml b/modules/cms-ui/themes/default/templates/start/userprojecttimeline.tpl.src.xml @@ -1,48 +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.xsd"> - <table> - <row class="headline"> - <column> - <text key="name"></text> - </column> - <column> - <text key="filename"></text> - </column> - <column> - <text key="lastchange" /> - </column> - </row> - - <list list="timeline" extract="true"> - - <!-- Den Typ des Objektes ermitteln --> - <if value="var:typeid" equals="1"> - <set var="type" value="folder" /> - </if> - <if value="var:typeid" equals="2"> - <set var="type" value="file" /> - </if> - <if value="var:typeid" equals="4"> - <set var="type" value="link" /> - </if> - <if value="var:typeid" equals="3"> - <set var="type" value="page" /> - </if> - - <row class="data"> - <column class="clickable"> - <link type="open" name="var:name" id="var:objectid" action="var:type"> - <text var="name" maxlength="30"></text> - </link> - </column> - <column> - <text var="filename" maxlength="30"></text> - </column> - <column> - <date date="var:lastchange_date" /> - </column> - - </row> - </list> - </table> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/template.xsd b/modules/cms-ui/themes/default/templates/template.xsd @@ -1,381 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<xsd:schema xmlns="http://www.openrat.de/template" - targetNamespace="http://www.openrat.de/template" xmlns:xsd="http://www.w3.org/2001/XMLSchema" - elementFormDefault="qualified" attributeFormDefault="unqualified" - xmlns:Q1="http://www.openrat.de/template#Simple"> - - <xsd:element name="page" type="pageType" /> - <xsd:complexType name="pageType"> - <xsd:choice maxOccurs="unbounded" minOccurs="0"> - <xsd:element name="table" type="tableType" /> - </xsd:choice> - <xsd:attribute name="class" type="xsd:string" /> - </xsd:complexType> - <xsd:complexType name="tableType"> - <xsd:choice maxOccurs="unbounded" minOccurs="0"> - <xsd:element ref="row" maxOccurs="unbounded" minOccurs="0"></xsd:element> - <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"></xsd:element> - <xsd:element ref="list" maxOccurs="1" minOccurs="0"></xsd:element> - </xsd:choice> - <xsd:attribute name="padding" type="xsd:int" /> - <xsd:attribute name="space" type="xsd:int" /> - <xsd:attribute name="width" type="xsd:string" /> - </xsd:complexType> - <xsd:complexType name="rowType"> - <xsd:choice maxOccurs="unbounded" minOccurs="0"> - <xsd:element maxOccurs="unbounded" name="column" type="columnType" /> - </xsd:choice> - <xsd:attributeGroup ref="universal"></xsd:attributeGroup> - </xsd:complexType> - <xsd:complexType name="columnType"> - <xsd:choice maxOccurs="unbounded" minOccurs="0"> - <xsd:element ref="part" maxOccurs="unbounded" - minOccurs="0"> - </xsd:element> - <xsd:element ref="image" maxOccurs="unbounded" - minOccurs="0"> - </xsd:element> - <xsd:element ref="text" maxOccurs="unbounded" - minOccurs="0"> - </xsd:element> - <xsd:element ref="group" maxOccurs="unbounded" - minOccurs="0"> - </xsd:element> - <xsd:element ref="button" maxOccurs="unbounded" - minOccurs="0"> - </xsd:element> - <xsd:element ref="link" maxOccurs="unbounded" minOccurs="0"></xsd:element> - </xsd:choice> - <xsd:attribute name="width" type="xsd:int" /> - <xsd:attributeGroup ref="universal"></xsd:attributeGroup> - <xsd:attribute name="colspan" type="xsd:string"></xsd:attribute> - <xsd:attribute name="url" type="xsd:string"></xsd:attribute> - </xsd:complexType> - <xsd:complexType name="textType"> - <xsd:choice maxOccurs="unbounded" minOccurs="0"></xsd:choice> - <xsd:attribute name="title" type="xsd:string" /> - <xsd:attribute name="text" type="xsd:string" /> - <xsd:attribute name="var" type="xsd:string"></xsd:attribute> - <xsd:attributeGroup ref="universal"></xsd:attributeGroup> - <xsd:attribute name="key" type="xsd:string"></xsd:attribute> - <xsd:attribute name="value" type="xsd:string"></xsd:attribute> - <xsd:attribute name="raw" type="xsd:string"></xsd:attribute> - <xsd:attribute name="maxlength" type="xsd:int"></xsd:attribute> - </xsd:complexType> - <xsd:complexType name="imageType"> - <xsd:attribute name="icon" type="xsd:string" /> - <xsd:attribute name="align" type="xsd:string" /> - <xsd:attribute name="url" type="xsd:string"></xsd:attribute> - <xsd:attribute name="size" type="xsd:string"></xsd:attribute> - <xsd:attribute name="title" type="xsd:string"></xsd:attribute> - <xsd:attributeGroup ref="universal"></xsd:attributeGroup> - <xsd:attribute name="type" type="xsd:string"></xsd:attribute> - <xsd:attribute name="file" type="xsd:string"></xsd:attribute> - </xsd:complexType> - - - <xsd:element name="output" type="outputType"></xsd:element> - - <xsd:element name="header" type="headerType"></xsd:element> - - <xsd:element name="part" type="partType"></xsd:element> - - - - <xsd:complexType name="headerType"> - <xsd:simpleContent> - <xsd:extension base="xsd:string"> - <xsd:attribute name="views" type="xsd:string"></xsd:attribute> - <xsd:attribute name="back" type="xsd:boolean"></xsd:attribute> - </xsd:extension> - </xsd:simpleContent> - - </xsd:complexType> - - <xsd:element name="form" type="formType"></xsd:element> - - <xsd:element name="input" type="inputType"></xsd:element> - - <xsd:element name="list" type="listType"></xsd:element> - - <xsd:element name="button" type="xsd:string"></xsd:element> - - <xsd:element name="column" type="columnType"></xsd:element> - - - <xsd:element name="group" type="groupType"></xsd:element> - - <xsd:element name="if" type="ifType"></xsd:element> - - <xsd:element name="else" type="xsd:string"></xsd:element> - - <xsd:element name="logo" type="xsd:string"></xsd:element> - - - - <xsd:element name="password" type="xsd:string"></xsd:element> - - <xsd:element name="radio" type="radioType"></xsd:element> - - - <xsd:element name="row" type="rowType"></xsd:element> - - <xsd:element name="radiobox" type="radioboxType"></xsd:element> - - <xsd:element name="selectbox" type="selectBoxType"></xsd:element> - - <xsd:element name="set" type="xsd:string"></xsd:element> - - <xsd:element name="table" type="tableType"></xsd:element> - - <xsd:element name="text" type="textType"></xsd:element> - - <xsd:element name="upload" type="xsd:string"></xsd:element> - - <xsd:element name="user" type="userType"></xsd:element> - - <xsd:complexType name="groupType"> - <xsd:choice maxOccurs="unbounded" minOccurs="0"> - <xsd:element ref="part" maxOccurs="unbounded" - minOccurs="0"> - </xsd:element> - <xsd:element ref="label" maxOccurs="unbounded" - minOccurs="0"> - </xsd:element> - <xsd:element ref="selectbox" maxOccurs="unbounded" - minOccurs="0"> - </xsd:element> - <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"></xsd:element> - </xsd:choice> - <xsd:attribute name="icon" type="xsd:string"></xsd:attribute> - <xsd:attribute name="title" type="xsd:string"></xsd:attribute> - <xsd:attribute name="open" type="xsd:string"></xsd:attribute> - </xsd:complexType> - - <xsd:complexType name="partType"> - <xsd:choice minOccurs="0" maxOccurs="unbounded"> - <xsd:element ref="text" maxOccurs="unbounded" - minOccurs="0"> - </xsd:element> - <xsd:element name="password" type="inputType" maxOccurs="unbounded" minOccurs="0"></xsd:element> - <xsd:element ref="checkbox" maxOccurs="unbounded" - minOccurs="0"> - </xsd:element> - <xsd:element ref="label" maxOccurs="unbounded" - minOccurs="0"> - </xsd:element> - <xsd:element ref="radiobox" maxOccurs="unbounded" - minOccurs="0"> - </xsd:element> - <xsd:element ref="selectbox" maxOccurs="unbounded" - minOccurs="0"> - </xsd:element> - <xsd:element ref="newline" maxOccurs="unbounded" - minOccurs="0"> - </xsd:element> - <xsd:element ref="input" maxOccurs="unbounded" - minOccurs="0"> - </xsd:element> - <xsd:element ref="group" maxOccurs="unbounded" - minOccurs="0"> - </xsd:element> - <xsd:element ref="image" maxOccurs="unbounded" - minOccurs="0"> - </xsd:element> - <xsd:element ref="table" maxOccurs="unbounded" - minOccurs="0"> - </xsd:element> - <xsd:element ref="link" maxOccurs="unbounded" - minOccurs="0"> - </xsd:element> - <xsd:element ref="button" maxOccurs="unbounded" - minOccurs="0"> - </xsd:element> - <xsd:element ref="part" maxOccurs="unbounded" - minOccurs="0"> - </xsd:element> - <xsd:element ref="radio"></xsd:element> - <xsd:element ref="inputarea"></xsd:element> - <xsd:element ref="date"></xsd:element> - <xsd:element ref="user"></xsd:element> - <xsd:element ref="if"></xsd:element> - <xsd:element ref="list"></xsd:element> - </xsd:choice> - <xsd:attributeGroup ref="universal"></xsd:attributeGroup> - </xsd:complexType> - - <xsd:complexType name="outputType"> - <xsd:choice maxOccurs="unbounded" minOccurs="0"> - <xsd:element ref="header" minOccurs="0" maxOccurs="1"></xsd:element> - <xsd:element ref="form" minOccurs="0"></xsd:element> - <xsd:element ref="part" minOccurs="0"></xsd:element> - <xsd:element ref="table" maxOccurs="unbounded" minOccurs="0"></xsd:element> - </xsd:choice> - </xsd:complexType> - - <xsd:element name="label" type="labelType"></xsd:element> - - <xsd:complexType name="formType"> - <xsd:choice maxOccurs="unbounded" minOccurs="0"> - <xsd:element name="group" type="groupType" maxOccurs="unbounded" minOccurs="0"></xsd:element> - <xsd:element ref="group" maxOccurs="unbounded" - minOccurs="0"> - </xsd:element> - <xsd:element ref="part" maxOccurs="unbounded" - minOccurs="0"> - </xsd:element> - <xsd:element ref="table" maxOccurs="unbounded" - minOccurs="0"> - </xsd:element> - <xsd:element ref="if" maxOccurs="unbounded" minOccurs="0"></xsd:element> - </xsd:choice> - - <xsd:attribute name="method" type="xsd:string"></xsd:attribute> - </xsd:complexType> - - <xsd:complexType name="labelType"> - <xsd:choice maxOccurs="unbounded" minOccurs="0"> - <xsd:element ref="text" maxOccurs="unbounded" minOccurs="0"></xsd:element> - </xsd:choice> - <xsd:attribute name="for" type="xsd:string"></xsd:attribute> - <xsd:attribute name="key" type="xsd:string"></xsd:attribute> - </xsd:complexType> - - <xsd:complexType name="inputType"> - <xsd:simpleContent> - <xsd:extension base="xsd:string"> - <xsd:attribute name="size" type="xsd:integer"></xsd:attribute> - <xsd:attribute name="name" type="xsd:string"></xsd:attribute> - <xsd:attribute name="maxlength" type="xsd:integer"></xsd:attribute> - <xsd:attribute name="readonly" type="xsd:string"></xsd:attribute> - <xsd:attribute name="class" type="xsd:string"></xsd:attribute> - <xsd:attribute name="default" type="xsd:string"></xsd:attribute> - <xsd:attribute name="hint" type="xsd:string"></xsd:attribute> - </xsd:extension> - </xsd:simpleContent> - </xsd:complexType> - - - <xsd:attributeGroup name="universal"> - <xsd:attribute name="class" type="xsd:string"></xsd:attribute> - <xsd:attribute name="id" type="xsd:string"></xsd:attribute> - </xsd:attributeGroup> - - - <xsd:complexType name="selectBoxType"> - <xsd:attribute name="name" type="xsd:string"></xsd:attribute> - <xsd:attribute name="default" type="xsd:string"></xsd:attribute> - <xsd:attribute name="list" type="xsd:string"></xsd:attribute> - <xsd:attribute name="addempty" type="xsd:boolean"></xsd:attribute> - </xsd:complexType> - - <xsd:element name="newline" type="xsd:string"></xsd:element> - - <xsd:element name="link" type="linkType"></xsd:element> - - <xsd:complexType name="linkType"> - <xsd:choice maxOccurs="unbounded" minOccurs="0"> - <xsd:element ref="text" maxOccurs="unbounded" - minOccurs="0"> - </xsd:element> - <xsd:element ref="image" maxOccurs="unbounded" - minOccurs="0"> - </xsd:element> - <xsd:choice maxOccurs="unbounded" minOccurs="0"></xsd:choice> - </xsd:choice> - <xsd:attribute name="type" type="xsd:string" use="required"></xsd:attribute> - <xsd:attribute name="class" type="xsd:string"></xsd:attribute> - <xsd:attribute name="action" type="xsd:string"></xsd:attribute> - <xsd:attribute name="subaction" type="xsd:string"></xsd:attribute> - <xsd:attribute name="id" type="xsd:string"></xsd:attribute> - <xsd:attribute name="url" type="xsd:string"></xsd:attribute> - </xsd:complexType> - - <xsd:element name="image" type="imageType"></xsd:element> - - <xsd:complexType name="listType"> - <xsd:choice maxOccurs="unbounded" minOccurs="0"> - <xsd:element ref="row" maxOccurs="unbounded" - minOccurs="0"> - </xsd:element> - <xsd:element ref="text"></xsd:element> - </xsd:choice> - <xsd:attribute name="list" type="xsd:string"></xsd:attribute> - <xsd:attribute name="extract" type="xsd:boolean"></xsd:attribute> - <xsd:attribute name="value" type="xsd:string"></xsd:attribute> - </xsd:complexType> - - <xsd:complexType name="ifType"> - <xsd:choice maxOccurs="unbounded" minOccurs="0"> - <xsd:element ref="row" maxOccurs="unbounded" - minOccurs="0"> - </xsd:element> - <xsd:element ref="part" maxOccurs="unbounded" - minOccurs="0"> - </xsd:element> - <xsd:element ref="text"></xsd:element> - <xsd:element ref="group"></xsd:element> - <xsd:element ref="link"></xsd:element> - <xsd:element ref="image"></xsd:element> - <xsd:element ref="if"></xsd:element> - <xsd:element ref="selectbox"></xsd:element> - <xsd:element ref="radiobox"></xsd:element> - <xsd:element ref="input"></xsd:element> - </xsd:choice> - <xsd:attribute name="greaterthan" type="xsd:string"></xsd:attribute> - <xsd:attribute name="value" type="xsd:string"></xsd:attribute> - <xsd:attribute name="true" type="xsd:string"></xsd:attribute> - <xsd:attribute name="false" type="xsd:string"></xsd:attribute> - <xsd:attribute name="empty" type="xsd:string"></xsd:attribute> - <xsd:attribute name="not" type="xsd:boolean"></xsd:attribute> - <xsd:attribute name="present" type="xsd:string"></xsd:attribute> - </xsd:complexType> - - <xsd:simpleType name="formMethodType"> - <xsd:restriction base="xsd:string"> - <xsd:enumeration value="value"></xsd:enumeration> - <xsd:enumeration value="value1"></xsd:enumeration> - <xsd:enumeration value="value2"></xsd:enumeration> - </xsd:restriction> - </xsd:simpleType> - - <xsd:element name="checkbox" type="checkboxType"></xsd:element> - - <xsd:complexType name="checkboxType"> - <xsd:attribute name="name" type="xsd:string"></xsd:attribute> - <xsd:attributeGroup ref="universal"></xsd:attributeGroup> - </xsd:complexType> - - <xsd:complexType name="radioType"> - <xsd:attribute name="name" type="xsd:string"></xsd:attribute> - <xsd:attributeGroup ref="universal"></xsd:attributeGroup> - <xsd:attribute name="value" type="xsd:string"></xsd:attribute> - <xsd:attribute name="checked" type="xsd:boolean"></xsd:attribute> - </xsd:complexType> - - <xsd:element name="inputarea" type="inputareaType"></xsd:element> - - <xsd:element name="date" type="dateType"></xsd:element> - - <xsd:complexType name="userType"> - <xsd:attribute name="user" type="xsd:string"></xsd:attribute> - </xsd:complexType> - - <xsd:complexType name="dateType"> - <xsd:attribute name="date" type="xsd:string"></xsd:attribute> - </xsd:complexType> - - <xsd:complexType name="inputareaType"> - <xsd:attribute name="name" type="xsd:string"></xsd:attribute> - <xsd:attributeGroup ref="universal"></xsd:attributeGroup> - <xsd:attribute name="rows" type="xsd:string"></xsd:attribute> - </xsd:complexType> - - <xsd:complexType name="radioboxType"> - <xsd:attribute name="list" type="xsd:string"></xsd:attribute> - <xsd:attribute name="name" type="xsd:string"></xsd:attribute> - </xsd:complexType> - - <xsd:attribute name="NewAttribute" type="xsd:string"></xsd:attribute> - -</xsd:schema>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/template/addel.tpl.out.php b/modules/cms-ui/themes/default/templates/template/addel.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/template/addel.tpl.src.xml b/modules/cms-ui/themes/default/templates/template/addel.tpl.src.xml @@ -1,38 +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.xsd"> - <header back="true"></header> - <form> - - <part class="line"> - <part class="label"> - <text text="global_name"></text> - </part> - <part class="input"> - <input name="name"></input> - </part> - </part> - - <part class="line"> - <part class="label"> - <text text="element_type"></text> - </part> - <part class="input"> - <set var="text" value="text"></set> - <selectbox list="types" default="text" name="type" lang="true"></selectbox> - </part> - </part> - - <group title="message:options"></group> - - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <label for="addtotemplate"> - <checkbox name="addtotemplate" default="true"></checkbox> - <text key="menu_template_srcelement"></text> - </label> - </part> - </part> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/template/edit.tpl.out.php b/modules/cms-ui/themes/default/templates/template/edit.tpl.out.php @@ -1,67 +0,0 @@ - - - <div class="headermenu"><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_SRC') ?>" data-type="dialog" data-name="<?php echo lang('MENU_SRC') ?>" data-method="src"><img src="./themes/default/images/icon/action/src.svg" title="<?php echo lang('MENU_src_DESC') ?>" /><?php echo lang('MENU_src') ?></a></div><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_REMOVE') ?>" data-type="dialog" data-name="<?php echo lang('MENU_REMOVE') ?>" data-method="remove"><img src="./themes/default/images/icon/action/remove.svg" title="<?php echo lang('MENU_remove_DESC') ?>" /><?php echo lang('MENU_remove') ?></a></div></div> - - <table width="100%"> - <tr class="headline"> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'name'.'')))); ?></span> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'type'.'')))); ?></span> - - </td> - </tr> - <?php foreach($elements as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <tr class="data"> - <td onclick="javascript:openNewAction('<?php echo $name ?>','element','<?php echo $id ?>');"> - <img class="image-icon image-icon--element" title="" src="./modules/cms-ui/themes/default/images/icon/element/<?php echo $type ?>.svg" /> - - <span class="text" title="<?php echo $description ?>"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('EL_'.$type.'')))); ?></span> - - </td> - </tr> - <?php } ?> - <?php $if3=(empty($el)); if($if3){?> - <tr> - <td colspan="2"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_NOT_FOUND'.'')))); ?></span> - - </td> - </tr> - <?php } ?> - <tr class="data"> - <td class="clickable" colspan="2"> - <a target="_self" data-type="view" data-action="" data-method="addel" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="" title="" src="./modules/cms-ui/themes/default/images/icon/add.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_template_addel'.'')))); ?></span> - - </a> - - </td> - </tr> - </table> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('src') ?></legend><div> - <table width="100%"> - <tr class="data"> - <td class="clickable"> - <a target="_self" data-type="view" data-action="" data-method="src" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="" title="" src="./modules/cms-ui/themes/default/images/icon/template.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'edit'.'')))); ?></span> - - </a> - - </td> - </tr> - </table> - <code class="text"><?php echo nl2br($text); ?></code> - - </div></fieldset> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/template/edit.tpl.src.xml b/modules/cms-ui/themes/default/templates/template/edit.tpl.src.xml @@ -1,56 +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.xsd"> - <header views="src,remove"></header> - - <table> - <row class="headline"> - <column> - <text key="name"></text> - </column> - <column> - <text key="type"></text> - </column> - </row> - <list list="elements" extract="true"> - <row class="data"> - <column id="var:id" name="var:name" action="element"> - <image elementtype="var:type"></image> - <text var="name" title="var:description"></text> - </column> - <column> - <text key="var:type" prefix="EL_"></text> - </column> - </row> - </list> - <if empty="el"> - <row> - <column colspan="2"> - <text key="GLOBAL_NOT_FOUND"></text> - </column> - </row> - </if> - <row class="data"> - <column colspan="2" class="clickable"> - <link type="view" subaction="addel"> - <image icon="add" /> - <text key="menu_template_addel"></text> - </link> - </column> - </row> - </table> - - <group title="message:src"> - <table> - <row class="data"> - <column class="clickable"> - <link type="view" subaction="src"> - <image icon="template" /> - <text key="edit"></text> - </link> - </column> - </row> - </table> - - <text var="text" escape="false" type="code"></text> - </group> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/template/extension.tpl.out.php b/modules/cms-ui/themes/default/templates/template/extension.tpl.out.php @@ -1,31 +0,0 @@ - - - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('TEMPLATE_extension')))); ?></span> - - </div> - <div class="input"> - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_type_list" name="type" value="list"<?php if('list'==@$type)echo ' checked="checked"' ?> /> - - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_extension" name="extension" title="" class=""<?php if (count($mime_types)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($mime_types,$extension,1,0) ?><?php if (count($mime_types)==0) { ?><input type="hidden" name="extension" value="" /><?php } ?><?php if (count($mime_types)==1) { ?><input type="hidden" name="extension" value="<?php echo array_keys($mime_types)[0] ?>" /><?php } ?> - </select></div> - </div> - </div> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_type_text" name="type" value="text"<?php if('text'==@$type)echo ' checked="checked"' ?> /> - - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_extensiontext" name="extensiontext<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="text" value="<?php echo Text::encodeHtml(@$extensiontext) ?>" /><?php if ('') { ?><input type="hidden" name="extensiontext" value="<?php $extensiontext ?>"/><?php } ?></div> - - </div> - </div> - </div></fieldset> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/template/extension.tpl.src.xml b/modules/cms-ui/themes/default/templates/template/extension.tpl.src.xml @@ -1,27 +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.xsd"> - <header back="true"></header> - <form> - <group> - <part class="line"> - <part class="label"> - <text text="TEMPLATE_extension"></text> - </part> - <part class="input"> - <radio name="type" value="list"></radio> - <selectbox list="mime_types" name="extension" addempty="true"></selectbox> - </part> - </part> - - - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <radio name="type" value="text"></radio> - <input name="extensiontext" size="10"></input> - </part> - </part> - </group> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/template/info.tpl.out.php b/modules/cms-ui/themes/default/templates/template/info.tpl.out.php @@ -1,34 +0,0 @@ - - - <table width="100%"> - <tr class="data"> - <td colspan="1"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'id'.'')))); ?></span> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($id))); ?></span> - - </td> - </tr> - <tr class="headline"> - <td colspan="2"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'pages'.'')))); ?></span> - - </td> - </tr> - <?php foreach($pages as $pageid=>$name){ ?> - <tr class="data"> - <td colspan="2"> - <img class="" title="" src="./themes/default/images/icon/page.png" /> - - <a target="_self" data-action="main" data-method="page" data-id="<?php echo $pageid ?>" href="javascript:void(0);"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </a> - - </td> - </tr> - <?php } ?> - </table> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/template/info.tpl.src.xml b/modules/cms-ui/themes/default/templates/template/info.tpl.src.xml @@ -1,28 +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.xsd"> - <table> - <row class="data"> - <column colspan="1"> - <text key="id" /> - </column> - <column> - <text var="id" /> - </column> - </row> - <row class="headline"> - <column colspan="2"> - <text key="pages"></text> - </column> - </row> - <list list="pages" value="name" key="pageid"> - <row class="data"> - <column colspan="2"> - <image icon="page"></image> - <link action="main" subaction="page" id="var:pageid" target="cms_main"> - <text var="name"></text> - </link> - </column> - </row> - </list> - </table> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/template/listing.tpl.out.php b/modules/cms-ui/themes/default/templates/template/listing.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/template/listing.tpl.src.xml b/modules/cms-ui/themes/default/templates/template/listing.tpl.src.xml @@ -1,28 +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.xsd"> - <header views="add"></header> - <dummy> - <window name="GLOBAL_TEMPLATES"> - <table> - <row class="headline"> - <column> - <text key="name"></text> - </column> - </row> - <list list="templates" extract="true"> - <row class="data"> - <column url="var:url"> - <text var="name"></text> - </column> - </row> - </list> - </table> - <if empty="templates"> - <text text="GLOBAL_NO_TEMPLATES_AVAILABLE_DESC"></text> - </if> - <link class="action" action="template" subaction="add"> - <text key="menu_template_add"></text> - </link> - </window> - </dummy> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/template/preview.tpl.out.php b/modules/cms-ui/themes/default/templates/template/preview.tpl.out.php @@ -1,19 +0,0 @@ - - - <iframe src="<?php echo $preview_url ?>"></iframe> - - <a class="action" target="_self" data-action="file" data-method="edit" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="" title="" src="./themes/default/images/icon/icon/edit.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_file_edit'.'')))); ?></span> - - </a> - - <a class="action" target="_self" data-action="file" data-method="editvalue" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="" title="" src="./themes/default/images/icon/icon/editvalue.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_file_editvalue'.'')))); ?></span> - - </a> - - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/template/preview.tpl.src.xml b/modules/cms-ui/themes/default/templates/template/preview.tpl.src.xml @@ -1,12 +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.xsd"> - <insert url="var:preview_url"></insert> - <link class="action" action="file" subaction="edit"> - <image file="icon/edit"></image> - <text key="menu_file_edit"></text> - </link> - <link class="action" action="file" subaction="editvalue"> - <image file="icon/editvalue"></image> - <text key="menu_file_editvalue"></text> - </link> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/template/prop.tpl.out.php b/modules/cms-ui/themes/default/templates/template/prop.tpl.out.php @@ -1,56 +0,0 @@ - - - <div class="headermenu"><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_EXTENSION') ?>" data-type="dialog" data-name="<?php echo lang('MENU_EXTENSION') ?>" data-method="extension"><img src="./themes/default/images/icon/action/extension.svg" title="<?php echo lang('MENU_extension_DESC') ?>" /><?php echo lang('MENU_extension') ?></a></div></div> - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('TEMPLATE_NAME')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_name" name="name<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="text" value="<?php echo Text::encodeHtml(@$name) ?>" /><?php if ('') { ?><input type="hidden" name="name" value="<?php $name ?>"/><?php } ?></div> - - </div> - </div> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><div> - </div></fieldset> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'file_extension'.'')))); ?></span> - - </div> - <div class="input"> - <a target="_self" data-type="view" data-action="" data-method="extension" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <div class="inputholder"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($extension))); ?></span> - - </div> - </a> - - <div class="clickable"> - <a class="action" target="_self" data-type="view" data-action="" data-method="extension" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'edit'.'')))); ?></span> - - </a> - - </div> - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'file_mimetype'.'')))); ?></span> - - </div> - <div class="input"> - <a target="_self" data-action="template" data-method="extension" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <div class="inputholder"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($mime_type))); ?></span> - - </div> - </a> - - </div> - </div> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/template/prop.tpl.src.xml b/modules/cms-ui/themes/default/templates/template/prop.tpl.src.xml @@ -1,47 +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.xsd"> - <header views="extension"></header> - <form> - <part class="line"> - <part class="label"> - <text text="TEMPLATE_NAME"></text> - </part> - <part class="input"> - <input name="name"></input> - </part> - </part> - <group></group> - - <part class="line"> - <part class="label"> - <text key="file_extension"></text> - </part> - <part class="input"> - <link type="view" subaction="extension"> - <part class="inputholder"> - <text var="extension"></text> - </part> - </link> - <part class="clickable"> - <link class="action" type="view" subaction="extension"> - <text key="edit"></text> - </link> - </part> - </part> - </part> - - <part class="line"> - <part class="label"> - <text key="file_mimetype"></text> - </part> - <part class="input"> - <link action="template" subaction="extension"> - <part class="inputholder"> - <text var="mime_type"></text> - </part> - </link> - </part> - </part> - - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/template/pub.tpl.out.php b/modules/cms-ui/themes/default/templates/template/pub.tpl.out.php @@ -1,37 +0,0 @@ - - - <?php $if2=(@$conf['security']['nopublish']); if($if2){?> - <div class="message warn"> - <span class="help"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_NOPUBLISH_DESC'.'')))); ?></span> - - </div> - <?php } ?> - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('options') ?></legend><div> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <?php { $tmpname = 'pages';$default = '1';$readonly = '1'; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_files" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('publish')))); ?></span> - - </label> - </div> - </div> - </div></fieldset> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/template/pub.tpl.src.xml b/modules/cms-ui/themes/default/templates/template/pub.tpl.src.xml @@ -1,31 +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.xsd"> - - <!-- - Falls das Veroeffentlichen deaktiviert ist, eine Warnmeldung anzeigen. - --> - <if true="config:security/nopublish"> - <part class="message warn"> - <text key="GLOBAL_NOPUBLISH_DESC" class="help"></text> - </part> - </if> - - - - <form> - <group title="message:options"> - - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <checkbox name="pages" readonly="true" default="true"></checkbox> - <label for="files"> - <text text="publish"></text> - </label> - </part> - </part> - - </group> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/template/remove.tpl.out.php b/modules/cms-ui/themes/default/templates/template/remove.tpl.out.php @@ -1,45 +0,0 @@ - - - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_NAME')))); ?></span> - - </div> - <div class="input"> - <span class="name"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </div> - </div> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('options') ?></legend><div> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <?php { $tmpname = 'delete';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_delete" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('CONFIRM_DELETE')))); ?></span> - - </label> - </div> - </div> - </div></fieldset> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/template/remove.tpl.src.xml b/modules/cms-ui/themes/default/templates/template/remove.tpl.src.xml @@ -1,30 +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.xsd"> - <header back="true"></header> - <form> - <group> - <part class="line"> - <part class="label"> - <text text="GLOBAL_NAME"></text> - </part> - <part class="input"> - <text var="name" class="name"></text> - </part> - </part> - </group> - - <group title="message:options"> - - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <checkbox name="delete"></checkbox> - <label for="delete"> - <text text="CONFIRM_DELETE"></text> - </label> - </part> - </part> - </group> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/template/src.tpl.out.php b/modules/cms-ui/themes/default/templates/template/src.tpl.out.php @@ -1,9 +0,0 @@ - - - <div class="headermenu"><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_SRCELEMENT') ?>" data-type="dialog" data-name="<?php echo lang('MENU_SRCELEMENT') ?>" data-method="srcelement"><img src="./themes/default/images/icon/action/srcelement.svg" title="<?php echo lang('MENU_srcelement_DESC') ?>" /><?php echo lang('MENU_srcelement') ?></a></div></div> - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <textarea name="src" data-extension="" data-mimetype="" data-mode="htmlmixed" class="editor__code-editor"><?php echo ${'src'} ?></textarea> - - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/template/src.tpl.src.xml b/modules/cms-ui/themes/default/templates/template/src.tpl.src.xml @@ -1,10 +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.xsd"> - <header views="srcelement" back="true"></header> - <form> - <!-- - <inputarea rows="25" cols="80" name="src" class="editor"></inputarea> - --> - <editor type="code" name="src" mode="htmlmixed" /> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/template/srcelement.tpl.out.php b/modules/cms-ui/themes/default/templates/template/srcelement.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/template/srcelement.tpl.src.xml b/modules/cms-ui/themes/default/templates/template/srcelement.tpl.src.xml @@ -1,57 +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.xsd"> - <header back="true"></header> - <form> - - - - <if present="elements"> - <part class="line"> - <part class="label"> - <radio name="type" value="addelement"></radio> - <label for="type_addelement"> - <text key="value"></text> - </label> - </part> - <part class="input"> - <selectbox name="elementid" list="elements"></selectbox> - </part> - </part> - </if> - - <if present="writable_elements"> - <group></group> - <part class="line"> - <part class="label"> - <radio name="type" value="addicon"></radio> - <label for="type_addicon"> - <text key="GLOBAL_ICON"></text> - </label> - </part> - <part class="input"> - <selectbox name="writable_elementid" list="writable_elements"></selectbox> - </part> - </part> - <part class="line"> - <part class="label"> - <radio name="type" value="addifempty"></radio> - <label for="type_addifempty"> - <text key="TEMPLATE_SRC_IFEMPTY"></text> - </label> - </part> - <part class="input"> - </part> - </part> - <part class="line"> - <part class="label"> - <radio name="type" value="addifnotempty"></radio> - <label for="type_addifnotempty"> - <text key="TEMPLATE_SRC_IFNOTEMPTY"></text> - </label> - </part> - <part class="input"> - </part> - </part> - </if> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/templatelist/add.tpl.out.php b/modules/cms-ui/themes/default/templates/templatelist/add.tpl.out.php @@ -1,65 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('name')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_name" name="name<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="text" value="<?php echo Text::encodeHtml(@$name) ?>" /><?php if ('') { ?><input type="hidden" name="name" value="<?php $name ?>"/><?php } ?></div> - - </div> - </div> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('options') ?></legend><div> - <div class="line"> - <div class="label"> - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_type_empty" name="type" value="empty"<?php if('empty'==@$type)echo ' checked="checked"' ?> /> - - </div> - <div class="input"> - <label for="<?php echo REQUEST_ID ?>_type_empty" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'empty'.'')))); ?></span> - - </label> - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_type_copy" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'copy'.'')))); ?></span> - - </label> - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_type_copy" name="type" value="copy"<?php if('copy'==@$type)echo ' checked="checked"' ?> /> - - </div> - <div class="input"> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_templateid" name="templateid" title="" class=""<?php if (count($templates)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($templates,$templateid,0,0) ?><?php if (count($templates)==0) { ?><input type="hidden" name="templateid" value="" /><?php } ?><?php if (count($templates)==1) { ?><input type="hidden" name="templateid" value="<?php echo array_keys($templates)[0] ?>" /><?php } ?> - </select></div> - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_type_example" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'example'.'')))); ?></span> - - </label> - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_type_example" name="type" value="example"<?php if('example'==@$type)echo ' checked="checked"' ?> /> - - </div> - <div class="input"> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_example" name="example" title="" class=""<?php if (count($examples)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($examples,$example,0,0) ?><?php if (count($examples)==0) { ?><input type="hidden" name="example" value="" /><?php } ?><?php if (count($examples)==1) { ?><input type="hidden" name="example" value="<?php echo array_keys($examples)[0] ?>" /><?php } ?> - </select></div> - </div> - </div> - </div></fieldset> - -<div class="bottom"> - <div class="command "> - - <input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /> - - <!-- Cancel-Button nicht anzeigen, wenn cancel==false. --> </div> -</div> -</form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/templatelist/add.tpl.src.xml b/modules/cms-ui/themes/default/templates/templatelist/add.tpl.src.xml @@ -1,47 +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.xsd"> - <form> - <part class="line"> - <part class="label" colspan="2"> - <text text="name"></text> - </part> - <part class="input"> - <input name="name"></input> - </part> - </part> - <group title="message:options"> - <part class="line"> - <part class="label"> - <radio name="type" value="empty"></radio> - </part> - <part class="input"> - <label for="type_empty"> - <text key="empty"></text> - </label> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="type_copy"> - <text key="copy"></text> - </label> - <radio name="type" value="copy"></radio> - </part> - <part class="input"> - <selectbox name="templateid" list="templates"></selectbox> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="type_example"> - <text key="example"></text> - </label> - <radio name="type" value="example"></radio> - </part> - <part class="input"> - <selectbox name="example" list="examples"></selectbox> - </part> - </part> - </group> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/templatelist/show.tpl.out.php b/modules/cms-ui/themes/default/templates/templatelist/show.tpl.out.php @@ -1,36 +0,0 @@ - - - <table width="100%"> - <tr class="headline"> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'name'.'')))); ?></span> - - </td> - </tr> - <?php foreach($templates as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <tr class="data"> - <td onclick="javascript:openNewAction('<?php echo $name ?>','template','<?php echo $id ?>');"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </td> - </tr> - <?php } ?> - <?php $if3=(empty($templates)); if($if3){?> - <tr> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_NO_TEMPLATES_AVAILABLE_DESC')))); ?></span> - - </tr> - <?php } ?> - <tr class="data"> - <td class="clickable" colspan="1"> - <a target="_self" data-type="view" data-action="" data-method="add" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="" title="" src="./modules/cms-ui/themes/default/images/icon/add.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('new')))); ?></span> - - </a> - - </td> - </tr> - </table> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/templatelist/show.tpl.src.xml b/modules/cms-ui/themes/default/templates/templatelist/show.tpl.src.xml @@ -1,31 +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.xsd"> - <table> - <row class="headline"> - <column> - <text key="name"></text> - </column> - </row> - <list list="templates" extract="true"> - <row class="data"> - <column id="var:id" name="var:name" action="template"> - <text var="name"></text> - </column> - </row> - </list> - <if empty="templates"> - <row> - <text text="GLOBAL_NO_TEMPLATES_AVAILABLE_DESC"></text> - </row> - </if> - - <row class="data"> - <column colspan="1" class="clickable"> - <link type="view" subaction="add"> - <image icon="add" /> - <text text="new" /> - </link> - </column> - </row> - </table> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/text/compress.tpl.out.php b/modules/cms-ui/themes/default/templates/text/compress.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/text/compress.tpl.src.xml b/modules/cms-ui/themes/default/templates/text/compress.tpl.src.xml @@ -1,26 +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.xsd"> - <form> - <group title="message:OPTIONS"> - <part class="line"> - <part class="label"> - <text text="type"></text> - </part> - <part class="input"> - <set var="gz" value="gz"></set> - <selectbox list="formats" name="format" default="gz"></selectbox> - <set var="replace" value="1"></set> - <radio name="replace" value="1"></radio> - <label for="replace_1"> - <text key="replace"></text> - </label> - <newline></newline> - <radio name="replace" value="0"></radio> - <label for="replace_0"> - <text key="new"></text> - </label> - </part> - </part> - </group> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/text/edit.tpl.out.php b/modules/cms-ui/themes/default/templates/text/edit.tpl.out.php @@ -1,21 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="headermenu"><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_VALUE') ?>" data-type="dialog" data-name="<?php echo lang('MENU_VALUE') ?>" data-method="value"><img src="./themes/default/images/icon/action/value.svg" title="<?php echo lang('MENU_value_DESC') ?>" /><?php echo lang('MENU_value') ?></a></div></div> - - <div class="label"> - </div> - <div class="line"> - <div class="input"> - <br/> - - <input size="40" id="req1514324509937632904_file" type="file" name="file" class="upload" /> - - <br/> - - <br/> - - </div> - </div> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/text/edit.tpl.src.xml b/modules/cms-ui/themes/default/templates/text/edit.tpl.src.xml @@ -1,15 +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.xsd"> - <form> - <header views="value" /> - <part class="label" /> - <part class="line"> - <part class="input"> - <newline></newline> - <upload name="file"></upload> - <newline></newline> - <newline></newline> - </part> - </part> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/text/extract.tpl.out.php b/modules/cms-ui/themes/default/templates/text/extract.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/text/extract.tpl.src.xml b/modules/cms-ui/themes/default/templates/text/extract.tpl.src.xml @@ -1,3 +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.xsd"><dummy><form><window name="asdf" title="asdfdfs"><row><column colspan="2" class="act"><button type="ok"></button></column></row></window></form></dummy></output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/text/info.tpl.out.php b/modules/cms-ui/themes/default/templates/text/info.tpl.out.php @@ -1,197 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_name')))); ?></span> - - </div> - <div class="input"> - <span class="name"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_filename')))); ?></span> - - </div> - <div class="input"> - <span class="filename"><?php echo nl2br(encodeHtml(htmlentities($filename))); ?></span> - - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('file_extension')))); ?></span> - - </div> - <div class="input"> - <span class="extension"><?php echo nl2br(encodeHtml(htmlentities($extension))); ?></span> - - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_description')))); ?></span> - - </div> - <div class="input"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($description))); ?></span> - - </div> - </div> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('additional_info') ?></legend><div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_full_filename" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_full_filename')))); ?></span> - - </label> - </div> - <div class="input"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($full_filename))); ?></span> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_size" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('FILE_SIZE')))); ?></span> - - </label> - </div> - <div class="input"> - </div> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($size))); ?></span> - - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_mimetype" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('FILE_mimetype')))); ?></span> - - </label> - </div> - <div class="input"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($mimetype))); ?></span> - - <br/> - - <a class="action" target="_self" data-action="file" data-method="size" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_file_size'.'')))); ?></span> - - </a> - - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(lang('id'))))); ?></span> - - </div> - <div class="input"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($objectid))); ?></span> - - </div> - </div> - <?php $if4=(!empty($cache_filename)); if($if4){?> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_cache_filename" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('CACHE_FILENAME')))); ?></span> - - </label> - </div> - <div class="input"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($cache_filename))); ?></span> - - <br/> - - <img class="" title="" src="./themes/default/images/icon/el_date.png" /> - - <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($cache_filemtime) ?> - - </div> - </div> - <?php } ?> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_pages" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('FILE_PAGES')))); ?></span> - - </label> - </div> - <div class="input"> - <table width="100%"> - <?php foreach($pages as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <tr> - <td> - <a target="_self" data-url="<?php echo $url ?>" data-action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="" title="" src="./themes/default/images/icon_page.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </a> - - </td> - </tr> - <?php } ?> - </table> - <?php $if6=(empty($pages)); if($if6){?> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_NOT_FOUND')))); ?></span> - - <?php } ?> - </div> - </div> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('prop_userinfo') ?></legend><div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_created')))); ?></span> - - </div> - <div class="input"> - <img class="" title="" src="./themes/default/images/icon/el_date.png" /> - - <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($create_date) ?> - - <br/> - - <img class="" title="" src="./themes/default/images/icon/user.png" /> - - <?php include_once( 'modules/template-engine/components/html/user/component-user.php') ?><?php component_user($create_user) ?> - - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_lastchange')))); ?></span> - - </div> - <div class="input"> - <img class="" title="" src="./themes/default/images/icon/el_date.png" /> - - <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($lastchange_date) ?> - - <br/> - - <img class="" title="" src="./themes/default/images/icon/user.png" /> - - <?php include_once( 'modules/template-engine/components/html/user/component-user.php') ?><?php component_user($lastchange_user) ?> - - </div> - </div> - </div></fieldset> - -<div class="bottom"> - <div class="command "> - - <input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /> - - <!-- Cancel-Button nicht anzeigen, wenn cancel==false. --> </div> -</div> -</form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/text/info.tpl.src.xml b/modules/cms-ui/themes/default/templates/text/info.tpl.src.xml @@ -1,149 +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.xsd"> - <form> - <group> - <part class="line"> - <part class="label"> - <text text="global_name"></text> - </part> - <part class="input"> - <text var="name" class="name" /> - </part> - </part> - <part class="line"> - <part class="label"> - <text text="global_filename"></text> - </part> - <part class="input"> - <text var="filename" class="filename" /> - </part> - </part> - <part class="line"> - <part class="label"> - <text text="file_extension"></text> - </part> - <part class="input"> - <text var="extension" class="extension" /> - </part> - </part> - <part class="line"> - <part class="label"> - <text text="global_description"></text> - </part> - <part class="input"> - <text var="description" /> - </part> - </part> - </group> - - <group title="message:additional_info"> - <part class="line"> - <part class="label"> - <label for="full_filename"> - <text text="global_full_filename"></text> - </label> - </part> - <part class="input"> - <text var="full_filename"></text> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="size"> - <text text="FILE_SIZE"></text> - </label> - </part> - <part class="input"> - </part> - <text var="size"></text> - </part> - <part class="line"> - <part class="label"> - <label for="mimetype"> - <text text="FILE_mimetype"></text> - </label> - </part> - <part class="input"> - <text var="mimetype"></text> - <newline></newline> - <link class="action" action="file" subaction="size"> - <text key="menu_file_size"></text> - </link> - </part> - </part> - <part class="line"> - <part class="label"> - <text text="message:id"></text> - </part> - <part class="input"> - <text var="objectid"></text> - </part> - </part> - <if present="cache_filename"> - <part class="line"> - <part class="label"> - <label for="cache_filename"> - <text text="CACHE_FILENAME"></text> - </label> - </part> - <part class="input"> - <text var="cache_filename"></text> - <newline></newline> - <image icon="el_date"></image> - <date date="var:cache_filemtime"></date> - </part> - </part> - </if> - <part class="line"> - <part class="label"> - <label for="pages"> - <text text="FILE_PAGES"></text> - </label> - </part> - <part class="input"> - <table> - <list list="pages" extract="true"> - <row> - <column> - <link url="var:url" target="cms_main"> - <image type="page"></image> - <text var="name"></text> - </link> - </column> - </row> - </list> - </table> - <if empty="pages"> - <text text="GLOBAL_NOT_FOUND"></text> - </if> - </part> - </part> - </group> - <group title="message:prop_userinfo"> - <part class="line"> - <part class="label"> - <text text="global_created"></text> - </part> - <part class="input"> - <image icon="el_date"></image> - <date date="var:create_date"></date> - <newline></newline> - <image icon="user"></image> - <user user="var:create_user"></user> - </part> - </part> - <part class="line"> - <part class="label"> - <text text="global_lastchange"></text> - </part> - <part class="input"> - <image icon="el_date"></image> - <date date="var:lastchange_date"></date> - <newline></newline> - <image icon="user"></image> - <user user="var:lastchange_user"></user> - </part> - </part> - </group> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/text/preview.tpl.out.php b/modules/cms-ui/themes/default/templates/text/preview.tpl.out.php @@ -1,16 +0,0 @@ - - - <?php $if2=($image); if($if2){?> - <iframe src="<?php echo $preview_url ?>"></iframe> - - <?php } ?> - <?php if(!$if2){?> - <div class="clickable"> - <a class="action" target="_self" data-url="<?php echo $preview_url ?>" data-type="popup" data-action="" data-method="<?php echo OR_METHOD ?>" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'LINK_OPEN_IN_NEW_WINDOW'.'')))); ?></span> - - </a> - - </div> - <?php } ?> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/text/preview.tpl.src.xml b/modules/cms-ui/themes/default/templates/text/preview.tpl.src.xml @@ -1,14 +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.xsd"> - - <if true="var:image"> - <insert url="var:preview_url"></insert> - </if> - <else> - <part class="clickable"> - <link type="popup" url="var:preview_url" class="action"> - <text key="LINK_OPEN_IN_NEW_WINDOW" /> - </link> - </part> - </else> -</output> - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/text/prop.tpl.out.php b/modules/cms-ui/themes/default/templates/text/prop.tpl.out.php @@ -1,55 +0,0 @@ - - - <div class="headermenu"><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_SIZE') ?>" data-type="dialog" data-name="<?php echo lang('MENU_SIZE') ?>" data-method="size"><img src="./themes/default/images/icon/action/size.svg" title="<?php echo lang('MENU_size_DESC') ?>" /><?php echo lang('MENU_size') ?></a></div><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_COMPRESS') ?>" data-type="dialog" data-name="<?php echo lang('MENU_COMPRESS') ?>" data-method="compress"><img src="./themes/default/images/icon/action/compress.svg" title="<?php echo lang('MENU_compress_DESC') ?>" /><?php echo lang('MENU_compress') ?></a></div><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_UNCOMPRESS') ?>" data-type="dialog" data-name="<?php echo lang('MENU_UNCOMPRESS') ?>" data-method="uncompress"><img src="./themes/default/images/icon/action/uncompress.svg" title="<?php echo lang('MENU_uncompress_DESC') ?>" /><?php echo lang('MENU_uncompress') ?></a></div><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_EXTRACT') ?>" data-type="dialog" data-name="<?php echo lang('MENU_EXTRACT') ?>" data-method="extract"><img src="./themes/default/images/icon/action/extract.svg" title="<?php echo lang('MENU_extract_DESC') ?>" /><?php echo lang('MENU_extract') ?></a></div></div> - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_name" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_name')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_name" name="name<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="name" value="<?php echo Text::encodeHtml(@$name) ?>" /><?php if ('') { ?><input type="hidden" name="name" value="<?php $name ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_filename" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_filename')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_filename" name="filename<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="filename" value="<?php echo Text::encodeHtml(@$filename) ?>" /><?php if ('') { ?><input type="hidden" name="filename" value="<?php $filename ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_extension" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('file_extension')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_extension" name="extension<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="extension" value="<?php echo Text::encodeHtml(@$extension) ?>" /><?php if ('') { ?><input type="hidden" name="extension" value="<?php $extension ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_description" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('global_description')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><textarea class="description" name="description"><?php echo Text::encodeHtml($description) ?></textarea></div> - - </div> - </div> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/text/prop.tpl.src.xml b/modules/cms-ui/themes/default/templates/text/prop.tpl.src.xml @@ -1,47 +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.xsd"> - <header views="size,compress,uncompress,extract"></header> - <form> - <part class="line"> - <part class="label"> - <label for="name"> - <text text="global_name"></text> - </label> - </part> - <part class="input"> - <input name="name" size="50" class="name"></input> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="filename"> - <text text="global_filename"></text> - </label> - </part> - <part class="input"> - <input name="filename" class="filename"></input> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="extension"> - <text text="file_extension"></text> - </label> - </part> - <part class="input"> - <input name="extension" size="10" class="extension"></input> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="description"> - <text text="global_description"></text> - </label> - </part> - <part class="input"> - <inputarea name="description" class="description"></inputarea> - </part> - </part> - - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/text/pub.tpl.out.php b/modules/cms-ui/themes/default/templates/text/pub.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/text/pub.tpl.src.xml b/modules/cms-ui/themes/default/templates/text/pub.tpl.src.xml @@ -1,25 +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.xsd"> - - <!-- - Falls das Veroeffentlichen deaktiviert ist, eine Warnmeldung anzeigen. - --> - <if true="config:security/nopublish"> - <part class="message warn"> - <text key="GLOBAL_NOPUBLISH_DESC" class="help"></text> - </part> - </if> - - <form cancel="false" visible="true" label="message:publish" async="true"> - <row> - <column> - <newline></newline> - </column> - </row> - <row> - <column class="act"> - <button type="ok"></button> - </column> - </row> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/text/remove.tpl.out.php b/modules/cms-ui/themes/default/templates/text/remove.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/text/remove.tpl.src.xml b/modules/cms-ui/themes/default/templates/text/remove.tpl.src.xml @@ -1,3 +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.xsd"><dummy><form><window icon="group" name="GLOBAL_GROUPS"><row><column><text text="GLOBAL_NAME"></text></column><column><text var="name"></text></column></row><row><column><text text="GLOBAL_DELETE"></text></column><column><checkbox name="delete"></checkbox></column></row><row><column colspan="2"><button type="ok"></button></column></row></window></form><focus field="delete"></focus></dummy></output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/text/show.tpl.out.php b/modules/cms-ui/themes/default/templates/text/show.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/text/show.tpl.src.xml b/modules/cms-ui/themes/default/templates/text/show.tpl.src.xml @@ -1,3 +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.xsd"><dummy><window icon="folder"><row><column colspan="2"><insert url="var:preview_url"></insert><link class="action" action="file" subaction="edit"><image file="icon/edit"></image><text key="menu_file_edit"></text></link><link class="action" action="file" subaction="editvalue"><image file="icon/editvalue"></image><text key="menu_file_editvalue"></text></link></column></row></window></dummy></output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/text/size.tpl.out.php b/modules/cms-ui/themes/default/templates/text/size.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/text/size.tpl.src.xml b/modules/cms-ui/themes/default/templates/text/size.tpl.src.xml @@ -1,82 +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.xsd"> - <form> - <part class="line"> - <part class="label"> - <text text="IMAGE_OLD_SIZE"></text> - </part> - <part class="input"> - <text var="width"></text> - <text raw="_*_"></text> - <text var="height"></text> - </part> - </part> - <if not="" empty="formats"> - <group title="message:IMAGE_NEW_SIZE"> - <part class="line"> - <part class="label"></part> - - <part class="input"> - - <radio name="type" value="factor"></radio> - <label for="type_factor"> - <text text="FILE_IMAGE_SIZE_FACTOR"></text> - </label> - - - <selectbox name="factor" list="factors"></selectbox> - <set var="factor" value="1"></set> - </part> - </part> - <part class="line"> - <part class="label"></part> - <part class="input"> - <radio name="type" value="input"></radio> - <label for="type_input"> - <text text="FILE_IMAGE_NEW_WIDTH_HEIGHT"></text> - </label> - </part> - <part class="label"></part> - <part class="input"> - <input name="width" size="10"></input> - <text raw="_*_"></text> - <input name="height" size="10"></input> - </part> - </part> - </group> - <group title="message:options"> - <part class="line"> - <part class="label"> - <label for="format"> - <text text="FILE_IMAGE_FORMAT"></text> - </label> - </part> - <part class="input"> - <selectbox name="format" list="formats"></selectbox> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="jpeglist_compression"> - <text text="FILE_IMAGE_JPEG_COMPRESSION"></text> - </label> - </part> - <part class="input"> - <set var="jpeg_compression" value="70"></set> - <selectbox list="jpeglist" name="jpeg_compression"></selectbox> - </part> - </part> - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <checkbox name="copy"></checkbox> - <label for="copy"> - <text key="copy"></text> - </label> - </part> - </part> - </group> - </if> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/text/structure.tpl.out.php b/modules/cms-ui/themes/default/templates/text/structure.tpl.out.php @@ -1,7 +0,0 @@ - - - <div class="structure tree"> - <?php include_once( 'modules/template-engine/components/html/tree/component-tree.php') ?><?php component_tree($outline) ?> - - </div> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/text/structure.tpl.src.xml b/modules/cms-ui/themes/default/templates/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.xsd"> - <part class="structure tree"> - <tree tree="var:outline"></tree> - </part> - -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/text/uncompress.tpl.out.php b/modules/cms-ui/themes/default/templates/text/uncompress.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/text/uncompress.tpl.src.xml b/modules/cms-ui/themes/default/templates/text/uncompress.tpl.src.xml @@ -1,22 +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.xsd"> - <form> - <group title="message:options"></group> - <part class="line"> - <part class="label"> - </part> - <part class="input"> - <set var="replace" value="1"></set> - <radio name="replace" value="1"></radio> - <label for="replace_1"> - <text key="replace"></text> - </label> - <newline></newline> - <radio name="replace" value="0"></radio> - <label for="replace_0"> - <text key="new"></text> - </label> - </part> - </part> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/text/value.tpl.out.php b/modules/cms-ui/themes/default/templates/text/value.tpl.out.php @@ -1,25 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <tr> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_VALUE')))); ?></span> - - </td> - <td> - <textarea name="value" data-extension="<?php echo $extension ?>" data-mimetype="<?php echo $mimetype ?>" data-mode="htmlmixed" class="editor__code-editor"><?php echo ${'value'} ?></textarea> - - </td> - </tr> - <tr> - <td class="act" colspan="2"> - <div class="invisible"><input type="submit" name="ok" class="%class%" - title="Bestätigen" - value="&nbsp;&nbsp;&nbsp;&nbsp;OK&nbsp;&nbsp;&nbsp;&nbsp;" /> - </div> - </td> - </tr> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/text/value.tpl.src.xml b/modules/cms-ui/themes/default/templates/text/value.tpl.src.xml @@ -1,20 +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.xsd"> - <form> - <row> - <column> - <text text="GLOBAL_VALUE"></text> - </column> - <column> - <editor name="value" type="code" extension="var:extension" mimetype="var:mimetype"></editor> - </column> - </row> - <row> - <column class="act" colspan="2"> - <button type="ok"></button> - </column> - </row> - </form> - <focus field="value"></focus> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/title/ping.tpl.out.php b/modules/cms-ui/themes/default/templates/title/ping.tpl.out.php @@ -1,3 +0,0 @@ - - - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/title/ping.tpl.src.xml b/modules/cms-ui/themes/default/templates/title/ping.tpl.src.xml @@ -1,5 +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.xsd"> - - -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/title/show.tpl.out.php b/modules/cms-ui/themes/default/templates/title/show.tpl.out.php @@ -1,552 +0,0 @@ - - - <?php $if2=(!empty($$dbname)); if($if2){?> - <div class="toolbar-icon"> - <img class="image-icon image-icon--action" title="" src="./modules/cms-ui/themes/default/images/icon/action/database.svg" /> - - <span class="text"><?php echo nl2br('&nbsp;'); ?></span> - - <div class="arrow-down"> - </div> - <div class="dropdown"> - <div class="entry"> - <span class="text" title="<?php echo $dbid ?>"><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $dbname,50,'..',constant('STR_PAD_BOTH') )))); ?></span> - - </div> - </div> - </div> - <?php } ?> - <?php $if2=($isLoggedIn); if($if2){?> - <div class="toolbar-icon menu"> - <img class="image-icon image-icon--action" title="" src="./modules/cms-ui/themes/default/images/icon/action/file.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'file'.'')))); ?></span> - - <div class="arrow-down"> - </div> - <div class="dropdown"> - <div class="entry clickable filtered on-action-folder on-action-page on-action-file"> - <a title="<?php echo lang('menu_new_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="new" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/add.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_new'.'')))); ?></span> - - </a> - - </div> - <div class="divide"> - </div> - <div class="entry clickable filtered on-action-folder"> - <a title="<?php echo lang('menu_createfolder_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="createfolder" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/add.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_createfolder'.'')))); ?></span> - - </a> - - </div> - <div class="entry clickable filtered on-action-folder"> - <a title="<?php echo lang('menu_createpage_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="createpage" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/add.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_createpage'.'')))); ?></span> - - </a> - - </div> - <div class="entry clickable filtered on-action-folder"> - <a title="<?php echo lang('menu_createfile_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="createfile" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/add.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_createfile'.'')))); ?></span> - - </a> - - </div> - <div class="entry clickable filtered on-action-folder"> - <a title="<?php echo lang('menu_createimage_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="createimage" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/add.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_createimage'.'')))); ?></span> - - </a> - - </div> - <div class="entry clickable filtered on-action-folder"> - <a title="<?php echo lang('menu_createtext_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="createtext" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/add.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_createtext'.'')))); ?></span> - - </a> - - </div> - <div class="entry clickable filtered on-action-folder"> - <a title="<?php echo lang('menu_createlink_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="createlink" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/add.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_createlink'.'')))); ?></span> - - </a> - - </div> - <div class="entry clickable filtered on-action-folder"> - <a title="<?php echo lang('menu_createurl_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="createurl" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/add.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_createurl'.'')))); ?></span> - - </a> - - </div> - <div class="divide"> - </div> - <div class="entry clickable"> - <a title="<?php echo lang('menu_save_desc') ?>" target="_self" data-type="post" data-action="" data-method="save" data-id="<?php echo OR_ID ?>" data-data="{&quot;action&quot;:&quot;<?php echo OR_ACTION ?>&quot;,&quot;subaction&quot;:&quot;save&quot;,&quot;id&quot;:&quot;<?php echo OR_ID ?>&quot;,&quot;token&quot;:&quot;<?php echo token() ?>&quot;,&quot;none&quot;:&quot;0&quot;}"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/save.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_save'.'')))); ?></span> - - </a> - - </div> - <div class="entry clickable"> - <a title="<?php echo lang('menu_saveall_desc') ?>" target="_self" data-type="post" data-action="" data-method="saveall" data-id="<?php echo OR_ID ?>" data-data="{&quot;action&quot;:&quot;<?php echo OR_ACTION ?>&quot;,&quot;subaction&quot;:&quot;saveall&quot;,&quot;id&quot;:&quot;<?php echo OR_ID ?>&quot;,&quot;token&quot;:&quot;<?php echo token() ?>&quot;,&quot;none&quot;:&quot;0&quot;}"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/save.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_saveall'.'')))); ?></span> - - </a> - - </div> - <div class="entry clickable filtered on-action-page on-action-file on-action-template on-action-pageelement"> - <a title="<?php echo lang('menu_preview_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="preview" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/preview.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_preview'.'')))); ?></span> - - </a> - - </div> - <div class="divide"> - </div> - <div class="entry clickable"> - <a class="entry" title="<?php echo lang('USER_LOGOUT_DESC') ?>" target="_self" data-type="post" data-action="login" data-method="logout" data-id="<?php echo OR_ID ?>" data-data="{&quot;action&quot;:&quot;login&quot;,&quot;subaction&quot;:&quot;logout&quot;,&quot;id&quot;:&quot;<?php echo OR_ID ?>&quot;,&quot;token&quot;:&quot;<?php echo token() ?>&quot;,&quot;none&quot;:&quot;0&quot;}"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/logout.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'USER_LOGOUT'.'')))); ?></span> - - </a> - - </div> - </div> - </div> - <?php } ?> - <?php $if2=($isLoggedIn); if($if2){?> - <div class="toolbar-icon menu"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/edit.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'edit'.'')))); ?></span> - - <div class="arrow-down"> - </div> - <div class="dropdown"> - <div class="entry clickable filtered on-action-link on-action-folder on-action-page on-action-template on-action-element on-action-file"> - <a title="<?php echo lang('menu_prop_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="prop" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/prop.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_prop'.'')))); ?></span> - - </a> - - </div> - <div class="entry clickable filtered on-action-page on-action-file on-action-folder on-action-pageelement on-action-template"> - <a title="<?php echo lang('menu_pub_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="pub" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/publish.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_pub'.'')))); ?></span> - - </a> - - </div> - <div class="entry clickable filtered on-action-pageelement"> - <a class="entry" title="<?php echo lang('menu_archive_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="archive" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/archive.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_archive'.'')))); ?></span> - - </a> - - </div> - <div class="entry clickable filtered on-action-project on-action-folder on-action-link on-action-user on-action-group on-action-page on-action-file"> - <a title="<?php echo lang('menu_rights_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="rights" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/rights.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_rights'.'')))); ?></span> - - </a> - - </div> - <div class="entry clickable filtered on-action-pageelement on-action-user on-action-group on-action-page on-action-project on-action-projectlist"> - <a title="<?php echo lang('menu_history_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="history" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/history.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_history'.'')))); ?></span> - - </a> - - </div> - <div class="divide"> - </div> - <div class="entry clickable filtered on-action-page"> - <a title="<?php echo lang('menu_changetemplate_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="changetemplate" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/changetemplate.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_changetemplate'.'')))); ?></span> - - </a> - - </div> - <div class="divide"> - </div> - <div class="entry clickable filtered on-action-user"> - <a title="<?php echo lang('menu_password_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="pw" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/password.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_password'.'')))); ?></span> - - </a> - - </div> - <div class="entry clickable filtered on-action-language on-action-element"> - <a title="<?php echo lang('menu_advanced_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="advanced" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/advanced.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_advanced'.'')))); ?></span> - - </a> - - </div> - <div class="divide"> - </div> - <div class="entry clickable filtered on-action-project on-action-template on-action-page on-action-element on-action-image on-action-file on-action-folder on-action-link on-action-language on-action-model"> - <a title="<?php echo lang('menu_delete_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="remove" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/delete.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_delete'.'')))); ?></span> - - </a> - - </div> - <div class="entry clickable filtered on-action-template"> - <a title="<?php echo lang('menu_src_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="src" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/code.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_src'.'')))); ?></span> - - </a> - - </div> - <div class="entry clickable filtered on-action-template"> - <a title="<?php echo lang('menu_extension_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="extension" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/extension.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_extension'.'')))); ?></span> - - </a> - - </div> - <div class="divide"> - </div> - <div class="entry clickable filtered on-action-text"> - <a title="<?php echo lang('menu_value_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="value" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/value.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_value'.'')))); ?></span> - - </a> - - </div> - <div class="entry clickable filtered on-action-folder"> - <a title="<?php echo lang('menu_order_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="order" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/order.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_order'.'')))); ?></span> - - </a> - - </div> - <div class="divide"> - </div> - <div class="entry clickable filtered on-action-file"> - <a title="<?php echo lang('menu_compress_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="compress" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/compress.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_compress'.'')))); ?></span> - - </a> - - </div> - <div class="entry clickable filtered on-action-file"> - <a title="<?php echo lang('menu_decompress_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="decompress" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/decompress.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_decompress'.'')))); ?></span> - - </a> - - </div> - <div class="entry clickable filtered on-action-file"> - <a title="<?php echo lang('menu_extract_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="extract" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/extract.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_extract'.'')))); ?></span> - - </a> - - </div> - <div class="entry clickable filtered on-action-image"> - <a title="<?php echo lang('menu_size_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="size" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/size.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_size'.'')))); ?></span> - - </a> - - </div> - <div class="divide"> - </div> - <div class="entry clickable filtered on-action-project"> - <a title="<?php echo lang('menu_maintenance_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="maintenance" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/maintenance.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_maintenance'.'')))); ?></span> - - </a> - - </div> - <div class="entry clickable filtered on-action-project"> - <a title="<?php echo lang('menu_export_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="export" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/export.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_export'.'')))); ?></span> - - </a> - - </div> - <div class="entry clickable filtered on-action-user on-action-group"> - <a title="<?php echo lang('menu_memberships_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="memberships" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/membership.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_memberships'.'')))); ?></span> - - </a> - - </div> - </div> - </div> - <?php } ?> - <?php $if2=($isLoggedIn); if($if2){?> - <div class="toolbar-icon projects menu"> - <img class="image-icon image-icon--action" title="" src="./modules/cms-ui/themes/default/images/icon/action/project.svg" /> - - <span class="titletext"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_PROJECT'.'')))); ?></span> - - <div class="dropdown"> - <?php $if5=($isAdmin); if($if5){?> - <div class="entry clickable"> - <a class="entry" target="_self" data-type="post" data-action="start" data-method="administration" data-id="-1" data-data="{&quot;action&quot;:&quot;start&quot;,&quot;subaction&quot;:&quot;administration&quot;,&quot;id&quot;:&quot;-1&quot;,&quot;token&quot;:&quot;<?php echo token() ?>&quot;,&quot;none&quot;:&quot;0&quot;}"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/settings.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'administration'.'')))); ?></span> - - </a> - - </div> - <div class="divide"> - </div> - <?php } ?> - <?php $if5=(intval('00')<intval(@count($languages))); if($if5){?> - <?php foreach($languages as $id=>$name){ ?> - <div class="entry clickable"> - <img class="image-icon image-icon--action" title="" src="./modules/cms-ui/themes/default/images/icon/action/language.svg" /> - - <a title="<?php echo lang('select_language') ?>" target="_self" data-type="post" data-action="tree" data-method="language" data-id="<?php echo $id ?>" data-data="{&quot;action&quot;:&quot;tree&quot;,&quot;subaction&quot;:&quot;language&quot;,&quot;id&quot;:&quot;<?php echo $id ?>&quot;,&quot;token&quot;:&quot;<?php echo token() ?>&quot;,&quot;none&quot;:&quot;0&quot;}"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </a> - - </div> - <?php } ?> - <div class="divide"> - </div> - <?php } ?> - <?php $if5=(intval('0')<intval(@count($models))); if($if5){?> - <?php foreach($models as $id=>$name){ ?> - <div class="entry clickable"> - <img class="image-icon image-icon--action" title="" src="./modules/cms-ui/themes/default/images/icon/action/model.svg" /> - - <a title="<?php echo lang('select_model') ?>" target="_self" data-type="post" data-action="tree" data-method="model" data-id="<?php echo $id ?>" data-data="{&quot;action&quot;:&quot;tree&quot;,&quot;subaction&quot;:&quot;model&quot;,&quot;id&quot;:&quot;<?php echo $id ?>&quot;,&quot;token&quot;:&quot;<?php echo token() ?>&quot;,&quot;none&quot;:&quot;0&quot;}"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </a> - - </div> - <?php } ?> - <div class="divide"> - </div> - <?php } ?> - <?php foreach($projects as $id=>$name){ ?> - <div class="entry clickable"> - <img class="image-icon image-icon--action" title="" src="./modules/cms-ui/themes/default/images/icon/action/project.svg" /> - - <a title="<?php echo lang('select_project') ?>" target="_self" data-type="post" data-action="start" data-method="projectmenu" data-id="<?php echo $id ?>" data-data="{&quot;action&quot;:&quot;start&quot;,&quot;subaction&quot;:&quot;projectmenu&quot;,&quot;id&quot;:&quot;<?php echo $id ?>&quot;,&quot;token&quot;:&quot;<?php echo token() ?>&quot;,&quot;none&quot;:&quot;0&quot;}"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $name,45,'..',constant('STR_PAD_BOTH') )))); ?></span> - - </a> - - </div> - <?php } ?> - </div> - <div class="arrow-down"> - </div> - </div> - <?php } ?> - <?php $if2=($isLoggedIn); if($if2){?> - <div class="toolbar-icon clickable filtered on-action-folder on-action-file on-action-page on-action-link on-action-template on-action-element"> - <a title="<?php echo lang('menu_prop_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="prop" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/prop.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_prop'.'')))); ?></span> - - </a> - - </div> - <div class="toolbar-icon clickable filtered on-action-folder on-action-page on-action-file on-action-pageelement on-action-template"> - <a title="<?php echo lang('menu_pub_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="pub" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/publish.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_pub'.'')))); ?></span> - - </a> - - </div> - <?php } ?> - <?php $if2=(empty(@$conf['login']['motd'])); if($if2){?> - <div class="toolbar-icon"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/motd.svg" /> - - <span class="text"><?php echo nl2br('&nbsp;'); ?></span> - - <div class="arrow-down"> - </div> - <div class="dropdown"> - <div class="entry"> - <span class="text"><?php echo nl2br('config:login/motd'); ?></span> - - </div> - </div> - </div> - <?php } ?> - <?php $if2=($isLoggedIn); if($if2){?> - <div class="search"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> data-hint="<?php echo lang('search') ?>" id="<?php echo REQUEST_ID ?>_text" name="text<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="text" value="<?php echo Text::encodeHtml(@$text) ?>" /><?php if ('') { ?><input type="hidden" name="text" value="<?php $text ?>"/><?php } ?><img src="/themes/default/images/icon_search<?php echo IMG_ICON_EXT ?>" width="16" height="16" /></div> - - <div class="dropdown"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(''))); ?></span> - - </div> - </div> - <?php } ?> - <div class="toolbar-icon menu"> - <img class="image-icon image-icon--action" title="" src="./modules/cms-ui/themes/default/images/icon/action/user.svg" /> - - <span class="titletext"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_help'.'')))); ?></span> - - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/arrow_down.svg" /> - - <div class="dropdown"> - <div class="entry clickable"> - <a title="<?php echo lang('menu_license_DESC') ?>" target="_self" data-type="dialog" data-action="login" data-method="license" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/license.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_license'.'')))); ?></span> - - </a> - - </div> - </div> - </div> - <div class="toolbar-icon user menu"> - <img class="image-icon image-icon--action" title="" src="./modules/cms-ui/themes/default/images/icon/action/user.svg" /> - - <span class="titletext"><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $userfullname,25,'..',constant('STR_PAD_BOTH') )))); ?></span> - - <?php $if3=($isLoggedIn); if($if3){?> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/arrow_down.svg" /> - - <?php } ?> - <?php $if3=($isLoggedIn); if($if3){?> - <div class="dropdown"> - <div class="entry clickable"> - <a title="<?php echo lang('menu_PROFILE_DESC') ?>" target="_self" data-type="dialog" data-action="profile" data-method="edit" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--action" title="" src="./modules/cms-ui/themes/default/images/icon/action/user.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_profile'.'')))); ?></span> - - </a> - - </div> - <div class="entry clickable"> - <a title="<?php echo lang('menu_password_DESC') ?>" target="_self" data-type="dialog" data-action="profile" data-method="pw" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/password.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_password'.'')))); ?></span> - - </a> - - </div> - <div class="entry clickable"> - <a title="<?php echo lang('menu_mail_DESC') ?>" target="_self" data-type="dialog" data-action="profile" data-method="mail" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/mail.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_mail'.'')))); ?></span> - - </a> - - </div> - <div class="entry clickable"> - <a title="<?php echo lang('menu_start_desc') ?>" target="_self" data-type="post" data-action="start" data-method="start" data-id="<?php echo OR_ID ?>" data-data="{&quot;action&quot;:&quot;start&quot;,&quot;subaction&quot;:&quot;start&quot;,&quot;id&quot;:&quot;<?php echo OR_ID ?>&quot;,&quot;token&quot;:&quot;<?php echo token() ?>&quot;,&quot;none&quot;:&quot;0&quot;}"> - <img class="image-icon image-icon--action" title="" src="./modules/cms-ui/themes/default/images/icon/action/dashboard.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_start'.'')))); ?></span> - - </a> - - </div> - <div class="divide"> - </div> - <div class="entry clickable"> - <a title="<?php echo lang('menu_history_desc') ?>" target="_self" data-type="dialog" data-action="profile" data-method="history" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/history.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_history'.'')))); ?></span> - - </a> - - </div> - <div class="divide"> - </div> - <div class="entry clickable"> - <a class="entry" title="<?php echo lang('USER_LOGOUT_DESC') ?>" target="_self" data-type="post" data-action="login" data-method="logout" data-id="<?php echo OR_ID ?>" data-data="{&quot;action&quot;:&quot;login&quot;,&quot;subaction&quot;:&quot;logout&quot;,&quot;id&quot;:&quot;<?php echo OR_ID ?>&quot;,&quot;token&quot;:&quot;<?php echo token() ?>&quot;,&quot;none&quot;:&quot;0&quot;}"> - <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/close.svg" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'USER_LOGOUT'.'')))); ?></span> - - </a> - - </div> - </div> - <?php } ?> - </div> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/title/show.tpl.src.xml b/modules/cms-ui/themes/default/templates/title/show.tpl.src.xml @@ -1,492 +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.xsd"> - - <!-- Info-Meldung anzeigen (sofern vorhanden) --> - <if present="var:dbname"> - <part class="toolbar-icon"> - <image action="database"></image> - <text raw="_" /> - <part class="arrow-down" /> - <part class="dropdown"> - <part class="entry"> - <text title="var:dbid" var="dbname" - maxlength="50"></text> - </part> - </part> - </part> - </if> - - - <!-- Menü: Datei --> - <if true="var:isLoggedIn"> - <part class="toolbar-icon menu"> - <image action="file"></image> - <text key="file"></text> - <part class="arrow-down" /> - <part class="dropdown"> - <part - class="entry clickable filtered on-action-folder on-action-page on-action-file"> - <link type="dialog" title="message:menu_new_desc" subaction="new"> - <image method="add" align="left"></image> - <text key="menu_new"></text> - </link> - </part> - - <part class="divide" /> - - <part - class="entry clickable filtered on-action-folder"> - <link type="dialog" title="message:menu_createfolder_desc" subaction="createfolder"> - <image method="add" align="left"></image> - <text key="menu_createfolder"></text> - </link> - </part> - <part - class="entry clickable filtered on-action-folder"> - <link type="dialog" title="message:menu_createpage_desc" subaction="createpage"> - <image method="add" align="left"></image> - <text key="menu_createpage"></text> - </link> - </part> - <part - class="entry clickable filtered on-action-folder"> - <link type="dialog" title="message:menu_createfile_desc" subaction="createfile"> - <image method="add" align="left"></image> - <text key="menu_createfile"></text> - </link> - </part> - <part - class="entry clickable filtered on-action-folder"> - <link type="dialog" title="message:menu_createimage_desc" subaction="createimage"> - <image method="add" align="left"></image> - <text key="menu_createimage"></text> - </link> - </part> - <part - class="entry clickable filtered on-action-folder"> - <link type="dialog" title="message:menu_createtext_desc" subaction="createtext"> - <image method="add" align="left"></image> - <text key="menu_createtext"></text> - </link> - </part> - <part - class="entry clickable filtered on-action-folder"> - <link type="dialog" title="message:menu_createlink_desc" subaction="createlink"> - <image method="add" align="left"></image> - <text key="menu_createlink"></text> - </link> - </part> - <part - class="entry clickable filtered on-action-folder"> - <link type="dialog" title="message:menu_createurl_desc" subaction="createurl"> - <image method="add" align="left"></image> - <text key="menu_createurl"></text> - </link> - </part> - - <part class="divide" /> - - <part class="entry clickable"> - <link type="post" title="message:menu_save_desc" subaction="save"> - <image method="save" align="left"></image> - <text key="menu_save"></text> - </link> - </part> - <part class="entry clickable"> - <link type="post" title="message:menu_saveall_desc" subaction="saveall"> - <image method="save" align="left"></image> - <text key="menu_saveall"></text> - </link> - </part> - <part - class="entry clickable filtered on-action-page on-action-file on-action-template on-action-pageelement"> - <link type="dialog" title="message:menu_preview_desc" - subaction="preview"> - <image method="preview" align="left"></image> - <text key="menu_preview"></text> - </link> - </part> - - <part class="divide" /> - - <part class="entry clickable"> - <link type="post" class="entry" title="message:USER_LOGOUT_DESC" - action="login" subaction="logout"> - <image method="logout" align="left"></image> - <text key="USER_LOGOUT"></text> - </link> - </part> - </part> - </part> - </if> - - <!-- Menü: Bearbeiten --> - <if true="var:isLoggedIn"> - - <part class="toolbar-icon menu"> - <image method="edit" align="left"></image> - <text key="edit"></text> - <part class="arrow-down" /> - <part class="dropdown"> - <part - class="entry clickable filtered on-action-link on-action-folder on-action-page on-action-template on-action-element on-action-file"> - <link type="dialog" title="message:menu_prop_desc" subaction="prop"> - <image method="prop" align="left"></image> - <text key="menu_prop"></text> - </link> - </part> - <part - class="entry clickable filtered on-action-page on-action-file on-action-folder on-action-pageelement on-action-template"> - <link type="dialog" title="message:menu_pub_desc" subaction="pub"> - <image method="publish" align="left"></image> - <text key="menu_pub"></text> - </link> - </part> - <part class="entry clickable filtered on-action-pageelement"> - <link type="dialog" class="entry" subaction="archive" - title="message:menu_archive_desc"> - <image method="archive" align="left"></image> - <text key="menu_archive"></text> - </link> - </part> - <part - class="entry clickable filtered on-action-project on-action-folder on-action-link on-action-user on-action-group on-action-page on-action-file"> - <link type="dialog" title="message:menu_rights_desc" - subaction="rights"> - <image method="rights" align="left"></image> - <text key="menu_rights"></text> - </link> - </part> - - <part - class="entry clickable filtered on-action-pageelement on-action-user on-action-group on-action-page on-action-project on-action-projectlist"> - <link type="dialog" title="message:menu_history_desc" - subaction="history"> - <image method="history" align="left"></image> - <text key="menu_history"></text> - </link> - </part> - - <part class="divide" /> - - <part class="entry clickable filtered on-action-page"> - <link type="dialog" title="message:menu_changetemplate_desc" - subaction="changetemplate"> - <image method="changetemplate" align="left"></image> - <text key="menu_changetemplate"></text> - </link> - </part> - - <part class="divide" /> - - <part class="entry clickable filtered on-action-user"> - <link type="dialog" title="message:menu_password_desc" - subaction="pw"> - <image method="password" align="left"></image> - <text key="menu_password"></text> - </link> - </part> - - <part class="entry clickable filtered on-action-language on-action-element"> - <link type="dialog" title="message:menu_advanced_desc" - subaction="advanced"> - <image method="advanced" align="left"></image> - <text key="menu_advanced"></text> - </link> - </part> - - <part class="divide" /> - - <part class="entry clickable filtered on-action-project on-action-template on-action-page on-action-element on-action-image on-action-file on-action-folder on-action-link on-action-language on-action-model"> - <link type="dialog" title="message:menu_delete_desc" - subaction="remove"> - <image method="delete" align="left"></image> - <text key="menu_delete"></text> - </link> - </part> - - <part class="entry clickable filtered on-action-template"> - <link type="dialog" title="message:menu_src_desc" - subaction="src"> - <image method="code" align="left"></image> - <text key="menu_src"></text> - </link> - </part> - - <part class="entry clickable filtered on-action-template"> - <link type="dialog" title="message:menu_extension_desc" - subaction="extension"> - <image method="extension" align="left"></image> - <text key="menu_extension"></text> - </link> - </part> - - <part class="divide" /> - - <part class="entry clickable filtered on-action-text"> - <link type="dialog" title="message:menu_value_desc" - subaction="value"> - <image method="value" align="left"></image> - <text key="menu_value"></text> - </link> - </part> - - <part class="entry clickable filtered on-action-folder"> - <link type="dialog" title="message:menu_order_desc" - subaction="order"> - <image method="order" align="left"></image> - <text key="menu_order"></text> - </link> - </part> - - <part class="divide" /> - - <part class="entry clickable filtered on-action-file"> - <link type="dialog" title="message:menu_compress_desc" - subaction="compress"> - <image method="compress" align="left"></image> - <text key="menu_compress"></text> - </link> - </part> - <part class="entry clickable filtered on-action-file"> - <link type="dialog" title="message:menu_decompress_desc" - subaction="decompress"> - <image method="decompress" align="left"></image> - <text key="menu_decompress"></text> - </link> - </part> - <part class="entry clickable filtered on-action-file"> - <link type="dialog" title="message:menu_extract_desc" - subaction="extract"> - <image method="extract" align="left"></image> - <text key="menu_extract"></text> - </link> - </part> - <part class="entry clickable filtered on-action-image"> - <link type="dialog" title="message:menu_size_desc" - subaction="size"> - <image method="size" align="left"></image> - <text key="menu_size"></text> - </link> - </part> - - - <part class="divide" /> - - <part class="entry clickable filtered on-action-project"> - <link type="dialog" title="message:menu_maintenance_desc" - subaction="maintenance"> - <image method="maintenance" align="left"></image> - <text key="menu_maintenance"></text> - </link> - </part> - <part class="entry clickable filtered on-action-project"> - <link type="dialog" title="message:menu_export_desc" - subaction="export"> - <image method="export" align="left"></image> - <text key="menu_export"></text> - </link> - </part> - <part class="entry clickable filtered on-action-user on-action-group"> - <link type="dialog" title="message:menu_memberships_desc" - subaction="memberships"> - <image method="membership" align="left"></image> - <text key="menu_memberships"></text> - </link> - </part> - </part> - </part> - </if> - - <!-- Menü: Projekt --> - <if true="var:isLoggedIn"> - - <part class="toolbar-icon projects menu"> - <image action="project" align="left"></image> - <text class="titletext" key="GLOBAL_PROJECT"></text> - <part class="dropdown"> - - <if true="var:isAdmin"> - <part class="entry clickable"> - <link type="post" class="entry" action="start" subaction="administration" - target="tree" id="-1"> - <image method="settings" align="left"></image> - <text key="administration"></text> - </link> - </part> - <part class="divide" /> - </if> - - <if value="size:languages" greaterthan="00"> - <list list="languages" key="id" value="name"> - <part class="entry clickable"> - <image action="language"></image> - <link type="post" action="tree" subaction="language" id="var:id" - title="message:select_language"> - <text var="name"></text> - </link> - </part> - </list> - <part class="divide" /> - </if> - - <if value="size:models" greaterthan="0"> - <list list="models" key="id" value="name"> - <part class="entry clickable"> - <image action="model"></image> - <link type="post" action="tree" subaction="model" id="var:id" - title="message:select_model"> - <text var="name"></text> - </link> - </part> - </list> - <part class="divide" /> - </if> - - - <list list="projects" key="id" value="name"> - <part class="entry clickable"> - <image action="project"></image> - <link type="post" action="start" subaction="projectmenu" id="var:id" - title="message:select_project"> - <text var="name" maxlength="45"></text> - </link> - </part> - </list> - </part> - <part class="arrow-down" /> - </part> - </if> - - - - <!-- Falls eingeloggt: Weitere Aktionsbuttons --> - <if true="var:isLoggedIn"> - - <part - class="toolbar-icon clickable filtered on-action-folder on-action-file on-action-page on-action-link on-action-template on-action-element"> - <link type="dialog" subaction="prop" title="message:menu_prop_desc"> - <image method="prop" align="left"></image> - <text key="menu_prop"></text> - </link> - </part> - <part - class="toolbar-icon clickable filtered on-action-folder on-action-page on-action-file on-action-pageelement on-action-template"> - <link type="dialog" subaction="pub" title="message:menu_pub_desc"> - <image method="publish" align="left"></image> - <text key="menu_pub"></text> - </link> - </part> - </if> - - - <!-- Info-Meldung anzeigen (sofern vorhanden) --> - <if not="" empty="config:login/motd"> - <part class="toolbar-icon"> - <image method="motd" align="left"></image> - <text raw="_" /> - <part class="arrow-down" /> - <part class="dropdown"> - <part class="entry"> - <text raw="config:login/motd"></text> - </part> - </part> - </part> - </if> - - - - - - <!-- Suche --> - <if true="var:isLoggedIn"> - <part class="search"> - <input name="text" hint="message:search" icon="search"></input> - <part class="dropdown"> - <text raw=""></text> - </part> - </part> - </if> - - <!-- Hilfe --> - <part class="toolbar-icon menu"> - <image action="user" align="left"></image> - <text class="titletext" key="menu_help"></text> - <image method="arrow_down" align="left"></image> - <part class="dropdown"> - - <part class="entry clickable"> - <link type="dialog" title="message:menu_license_DESC" action="login" subaction="license"> - <image method="license" align="left"></image> - <text key="menu_license"></text> - </link> - </part> - - </part> - </part> - - - <!-- Benutzer --> - <part class="toolbar-icon user menu"> - <image action="user" align="left"></image> - <text class="titletext" var="userfullname" maxlength="25"></text> - - <if true="var:isLoggedIn"> - <image method="arrow_down" align="left"></image> - </if> - <!-- <part class="arrow-down" />--> - - <if true="var:isLoggedIn"> - - <part class="dropdown"> - - <part class="entry clickable"> - <link type="dialog" title="message:menu_PROFILE_DESC" action="profile" subaction="edit"> - <image action="user" align="left"></image> - <text key="menu_profile"></text> - </link> - </part> - <part class="entry clickable"> - <link type="dialog" title="message:menu_password_DESC" action="profile" subaction="pw"> - <image method="password" align="left"></image> - <text key="menu_password"></text> - </link> - </part> - <part class="entry clickable"> - <link type="dialog" title="message:menu_mail_DESC" action="profile" subaction="mail"> - <image method="mail" align="left"></image> - <text key="menu_mail"></text> - </link> - </part> - <part class="entry clickable"> - <link type="post" title="message:menu_start_desc" action="start" - subaction="start"> - <image action="dashboard" align="left"></image> - <text key="menu_start"></text> - </link> - </part> - - <part class="divide" /> - - <part class="entry clickable"> - <link type="dialog" title="message:menu_history_desc" action="profile" subaction="history"> - <image method="history" align="left"></image> - <text key="menu_history"></text> - </link> - </part> - - <part class="divide" /> - - <part class="entry clickable"> - <link type="post" class="entry" title="message:USER_LOGOUT_DESC" - action="login" subaction="logout"> - <image method="close" align="left"></image> - <text key="USER_LOGOUT"></text> - </link> - </part> - </part> - - </if> - </part> - -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/tpl.src.php.xml b/modules/cms-ui/themes/default/templates/tpl.src.php.xml @@ -1,70 +0,0 @@ -<?xml version="1.0"?> - -<!-- Syntax Highlighting for JEDIT --> -<!DOCTYPE MODE SYSTEM "xmode.dtd"> - -<MODE> - <PROPS> - <PROPERTY NAME="lineComment" VALUE="//" /> - <PROPERTY NAME="lineComment" VALUE="#" /> - </PROPS> - <RULES> - - <SEQ TYPE="OPERATOR">:</SEQ> - - <KEYWORDS> - <KEYWORD1>button</KEYWORD1> - <KEYWORD1>cell</KEYWORD1> - <KEYWORD1>char</KEYWORD1> - <KEYWORD1>checkbox</KEYWORD1> - <KEYWORD1>date</KEYWORD1> - <KEYWORD1>dummy</KEYWORD1> - <KEYWORD1>fieldset</KEYWORD1> - <KEYWORD1>focus</KEYWORD1> - <KEYWORD1>form</KEYWORD1> - <KEYWORD1>frame</KEYWORD1> - <KEYWORD1>frameset</KEYWORD1> - <KEYWORD1>frameset-page</KEYWORD1> - <KEYWORD1>hidden</KEYWORD1> - <KEYWORD1>editor</KEYWORD1> - <KEYWORD1>else</KEYWORD1> - <KEYWORD1>if</KEYWORD1> - <KEYWORD1>image</KEYWORD1> - <KEYWORD1>input</KEYWORD1> - <KEYWORD1>inputarea</KEYWORD1> - <KEYWORD1>insert</KEYWORD1> - <KEYWORD1>label</KEYWORD1> - <KEYWORD1>link</KEYWORD1> - <KEYWORD1>list</KEYWORD1> - <KEYWORD1>logo</KEYWORD1> - <KEYWORD1>newline</KEYWORD1> - <KEYWORD1>page</KEYWORD1> - <KEYWORD1>password</KEYWORD1> - <KEYWORD1>radio</KEYWORD1> - <KEYWORD1>raw</KEYWORD1> - <KEYWORD1>row</KEYWORD1> - <KEYWORD1>selectbox</KEYWORD1> - <KEYWORD1>radiobox</KEYWORD1> - <KEYWORD1>set</KEYWORD1> - <KEYWORD1>table</KEYWORD1> - <KEYWORD1>text</KEYWORD1> - <KEYWORD1>upload</KEYWORD1> - <KEYWORD1>user</KEYWORD1> - <KEYWORD1>window</KEYWORD1> - </KEYWORDS> - - <KEYWORDS> - <KEYWORD2>raw</KEYWORD2> - <KEYWORD2>config</KEYWORD2> - <KEYWORD2>var</KEYWORD2> - <KEYWORD2>text</KEYWORD2> - <KEYWORD2>message</KEYWORD2> - <KEYWORD2>size</KEYWORD2> - <KEYWORD2>messagevar</KEYWORD2> - <KEYWORD2>property</KEYWORD2> - <KEYWORD2>mode</KEYWORD2> - <KEYWORD2>arrayvar</KEYWORD2> - </KEYWORDS> - - </RULES> -</MODE> diff --git a/modules/cms-ui/themes/default/templates/tree/content.tpl.out.php b/modules/cms-ui/themes/default/templates/tree/content.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/tree/content.tpl.src.xml b/modules/cms-ui/themes/default/templates/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.xsd"> - -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/tree/settings.tpl.out.php b/modules/cms-ui/themes/default/templates/tree/settings.tpl.out.php @@ -1,29 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('languages') ?></legend><div> - <?php foreach($languages as $id=>$name){ ?> - <div> - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_languageid_<?php echo $id ?>" name="languageid" value="<?php echo $id ?>"<?php if($id==@$languageid)echo ' checked="checked"' ?> /> - - <label for="<?php echo REQUEST_ID ?>_languageid_<?php echo $id ?>" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </label> - </div> - <?php } ?> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('models') ?></legend><div> - <?php foreach($models as $id=>$name){ ?> - <div> - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_modelid_<?php echo $id ?>" name="modelid" value="<?php echo $id ?>"<?php if($id==@$modelid)echo ' checked="checked"' ?> /> - - <label for="<?php echo REQUEST_ID ?>_modelid_<?php echo $id ?>" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </label> - </div> - <?php } ?> - </div></fieldset> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/tree/settings.tpl.src.xml b/modules/cms-ui/themes/default/templates/tree/settings.tpl.src.xml @@ -1,25 +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.xsd"> - <form> - <group title="message:languages"> - <list list="languages" key="id" value="name"> - <part> - <radio name="languageid" value="var:id"></radio> - <label for="languageid" value="var:id"> - <text var="name"></text> - </label> - </part> - </list> - </group> - <group title="message:models"> - <list list="models" key="id" value="name"> - <part> - <radio name="modelid" value="var:id"></radio> - <label for="modelid" value="var:id"> - <text var="name"></text> - </label> - </part> - </list> - </group> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/tree/tree.tpl.out.php b/modules/cms-ui/themes/default/templates/tree/tree.tpl.out.php @@ -1,7 +0,0 @@ - - - <div class="headermenu"><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_PROJECTTIMELINE') ?>" data-type="dialog" data-name="<?php echo lang('MENU_PROJECTTIMELINE') ?>" data-method="projecttimeline"><img src="./themes/default/images/icon/action/projecttimeline.svg" title="<?php echo lang('MENU_projecttimeline_DESC') ?>" /><?php echo lang('MENU_projecttimeline') ?></a></div><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_USERPROJECTTIMELINE') ?>" data-type="dialog" data-name="<?php echo lang('MENU_USERPROJECTTIMELINE') ?>" data-method="userprojecttimeline"><img src="./themes/default/images/icon/action/userprojecttimeline.svg" title="<?php echo lang('MENU_userprojecttimeline_DESC') ?>" /><?php echo lang('MENU_userprojecttimeline') ?></a></div></div> - - <script type="text/javascript" name="JavaScript">loadTree();</script> - - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/tree/tree.tpl.src.xml b/modules/cms-ui/themes/default/templates/tree/tree.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.xsd"> - <header views="projecttimeline,userprojecttimeline" /> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/url/edit.tpl.out.php b/modules/cms-ui/themes/default/templates/url/edit.tpl.out.php @@ -1,27 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('link_url')))); ?></span> - - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_url" name="url<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="text" value="<?php echo Text::encodeHtml(@$url) ?>" /><?php if ('') { ?><input type="hidden" name="url" value="<?php $url ?>"/><?php } ?></div> - - </div> - </div> - </div></fieldset> - -<div class="bottom"> - <div class="command "> - - <input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /> - - <!-- Cancel-Button nicht anzeigen, wenn cancel==false. --> </div> -</div> - -</form> - - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/url/info.tpl.out.php b/modules/cms-ui/themes/default/templates/url/info.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/url/prop.tpl.out.php b/modules/cms-ui/themes/default/templates/url/prop.tpl.out.php @@ -1,41 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('global_prop') ?></legend><div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_name" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_name')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_name" name="name<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="name,focus" value="<?php echo Text::encodeHtml(@$name) ?>" /><?php if ('') { ?><input type="hidden" name="name" value="<?php $name ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_description" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_description')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><textarea class="description" name="description"><?php echo Text::encodeHtml($description) ?></textarea></div> - - </div> - </div> - </div></fieldset> - -<div class="bottom"> - <div class="command "> - - <input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /> - - <!-- Cancel-Button nicht anzeigen, wenn cancel==false. --> </div> -</div> - -</form> - - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/url/structure.tpl.out.php b/modules/cms-ui/themes/default/templates/url/structure.tpl.out.php @@ -1,7 +0,0 @@ - - - <div class="structure tree"> - <?php include_once( 'modules/template-engine/components/html/tree/component-tree.php') ?><?php component_tree($outline) ?> - - </div> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/user/add.tpl.out.php b/modules/cms-ui/themes/default/templates/user/add.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/user/add.tpl.src.xml b/modules/cms-ui/themes/default/templates/user/add.tpl.src.xml @@ -1,3 +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.xsd"><header back="true"><form method="post"><part class="line"><part class="label"><label for="name" key="user_username"></label></part><part class="input"><input name="name" class="focus"></input></part></part></form></header></output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/user/edit.tpl.out.php b/modules/cms-ui/themes/default/templates/user/edit.tpl.out.php @@ -1,219 +0,0 @@ - - - <div class="headermenu"><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_PW') ?>" data-type="dialog" data-name="<?php echo lang('MENU_PW') ?>" data-method="pw"><img src="./themes/default/images/icon/action/pw.svg" title="<?php echo lang('MENU_pw_DESC') ?>" /><?php echo lang('MENU_pw') ?></a></div><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_REMOVE') ?>" data-type="dialog" data-name="<?php echo lang('MENU_REMOVE') ?>" data-method="remove"><img src="./themes/default/images/icon/action/remove.svg" title="<?php echo lang('MENU_remove_DESC') ?>" /><?php echo lang('MENU_remove') ?></a></div></div> - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_name" class="label"><?php echo lang('user_username') ?> - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_name" name="name<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="name,focus" value="<?php echo Text::encodeHtml(@$name) ?>" /><?php if ('') { ?><input type="hidden" name="name" value="<?php $name ?>"/><?php } ?></div> - - </div> - </div> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('ADDITIONAL_INFO') ?></legend><div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_fullname" class="label"><?php echo lang('user_fullname') ?> - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_fullname" name="fullname<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="text" value="<?php echo Text::encodeHtml(@$fullname) ?>" /><?php if ('') { ?><input type="hidden" name="fullname" value="<?php $fullname ?>"/><?php } ?></div> - - </div> - </div> - <?php $if4=(@$conf['security']['user']['show_admin_mail']); if($if4){?> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_mail" class="label"><?php echo lang('user_mail') ?> - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_mail" name="mail<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="text" value="<?php echo Text::encodeHtml(@$mail) ?>" /><?php if ('') { ?><input type="hidden" name="mail" value="<?php $mail ?>"/><?php } ?></div> - - <div class="qrcode" data-qrcode="<?php echo 'mailto:'.$mail.'' ?>" title="<?php echo 'mailto:'.$mail.'' ?>"></div> - - </div> - </div> - <?php } ?> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_desc" class="label"><?php echo lang('user_desc') ?> - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_desc" name="desc<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="text" value="<?php echo Text::encodeHtml(@$desc) ?>" /><?php if ('') { ?><input type="hidden" name="desc" value="<?php $desc ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_tel" class="label"><?php echo lang('user_tel') ?> - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_tel" name="tel<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="text" value="<?php echo Text::encodeHtml(@$tel) ?>" /><?php if ('') { ?><input type="hidden" name="tel" value="<?php $tel ?>"/><?php } ?></div> - - <div class="qrcode" data-qrcode="<?php echo 'tel:'.$tel.'' ?>" title="<?php echo 'tel:'.$tel.'' ?>"></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_timezone_offset" class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'timezone'.'')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_timezone" name="timezone" title="" class=""<?php if (count($timezone_list)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($timezone_list,$timezone,1,0) ?><?php if (count($timezone_list)==0) { ?><input type="hidden" name="timezone" value="" /><?php } ?><?php if (count($timezone_list)==1) { ?><input type="hidden" name="timezone" value="<?php echo array_keys($timezone_list)[0] ?>" /><?php } ?> - </select></div> - </div> - </div> - <div class="line"> - <div class="label"> - <label class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'language'.'')))); ?></span> - - </label> - </div> - <div class="input"> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_language" name="language" title="" class=""<?php if (count($language_list)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($language_list,$language,1,0) ?><?php if (count($language_list)==0) { ?><input type="hidden" name="language" value="" /><?php } ?><?php if (count($language_list)==1) { ?><input type="hidden" name="language" value="<?php echo array_keys($language_list)[0] ?>" /><?php } ?> - </select></div> - </div> - </div> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('options') ?></legend><div> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <?php { $tmpname = 'is_admin';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_is_admin" class="label"><?php echo lang('user_admin') ?> - </label> - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_ldap_dn" class="label"><?php echo lang('user_ldapdn') ?> - </label> - </div> - <div class="input"> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_ldap_dn" name="ldap_dn<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="text" value="<?php echo Text::encodeHtml(@$ldap_dn) ?>" /><?php if ('') { ?><input type="hidden" name="ldap_dn" value="<?php $ldap_dn ?>"/><?php } ?></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_style" class="label"><?php echo lang('user_style') ?> - </label> - </div> - <div class="input"> - <div class="inputholder"><select id="<?php echo REQUEST_ID ?>_style" name="style" title="" class=""<?php if (count($allstyles)<=1) echo ' disabled="disabled"'; ?> size=1"><?php include_once( 'modules/template-engine/components/html/selectbox/component-select-box.php') ?><?php component_select_option_list($allstyles,@$conf['interface']['style']['default'],0,0) ?><?php if (count($allstyles)==0) { ?><input type="hidden" name="style" value="" /><?php } ?><?php if (count($allstyles)==1) { ?><input type="hidden" name="style" value="<?php echo array_keys($allstyles)[0] ?>" /><?php } ?> - </select></div> - </div> - </div> - </div></fieldset> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('security') ?></legend><div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('user_password_expires')))); ?></span> - - </div> - <div class="input"> - <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($passwordExpires) ?> - - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('user_last_login')))); ?></span> - - </div> - <div class="input"> - <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($lastLogin) ?> - - </div> - </div> - <div class="line"> - <div class="label"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('token')))); ?></span> - - </div> - <div class="input"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($totpToken))); ?></span> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_otpsecret" class="label"><?php echo lang('user_totp') ?> - </label> - </div> - <div class="input"> - <?php { $tmpname = 'totp';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_totp" class="label"><?php echo lang('user_totp') ?> - </label> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($otpSecret))); ?></span> - - <div class="qrcode" data-qrcode="<?php echo $totpSecretUrl ?>" title="<?php echo $totpSecretUrl ?>"></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_otpsecret" class="label"><?php echo lang('user_hotp') ?> - </label> - </div> - <div class="input"> - <?php { $tmpname = 'hotp';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_hotp" class="label"><?php echo lang('user_hotp') ?> - </label> - <div class="qrcode" data-qrcode="<?php echo $hotpSecretUrl ?>" title="<?php echo $hotpSecretUrl ?>"></div> - - </div> - </div> - </div></fieldset> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/user/edit.tpl.src.xml b/modules/cms-ui/themes/default/templates/user/edit.tpl.src.xml @@ -1,147 +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.xsd"> - <header views="pw,remove"></header> - <form> - <part class="line"> - <part class="label"> - <label for="name" key="user_username"></label> - </part> - <part class="input"> - <input name="name" size="20" class="name,focus"></input> - </part> - </part> - <group title="message:ADDITIONAL_INFO"> - <part class="line"> - <part class="label"> - <label for="fullname" key="user_fullname"></label> - </part> - <part class="input"> - <input name="fullname"></input> - </part> - </part> - <if true="config:security/user/show_admin_mail"> - <part class="line"> - <part class="label"> - <label for="mail" key="user_mail"></label> - </part> - <part class="input"> - <input name="mail"></input> - <qrcode value="tpl:mailto:{mail}" /> - </part> - </part> - </if> - <part class="line"> - <part class="label"> - <label for="desc" key="user_desc"></label> - </part> - <part class="input"> - <input name="desc"></input> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="tel" key="user_tel"></label> - </part> - <part class="input"> - <input name="tel"></input> - <qrcode value="tpl:tel:{tel}" /> - - </part> - </part> - <part class="line"> - <part class="label"> - <label for="timezone_offset"> - <text key="timezone" /> - </label> - </part> - <part class="input"> - <selectbox name="timezone" list="timezone_list" - addempty="true"></selectbox> - </part> - </part> - <part class="line"> - <part class="label"> - <label for=""> - <text key="language" /> - </label> - </part> - <part class="input"> - <selectbox name="language" list="language_list" addempty="true"></selectbox> - </part> - </part> - </group> - <group title="message:options"> - <part class="line"> - <part class="label"></part> - <part class="input"> - <checkbox name="is_admin"></checkbox> - <label for="is_admin" key="user_admin"></label> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="ldap_dn" key=":user_ldapdn"></label> - </part> - <part class="input"> - <input name="ldap_dn"></input> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="style" key="user_style"></label> - </part> - <part class="input"> - <selectbox list="allstyles" name="style" - default="config:interface/style/default"></selectbox> - </part> - </part> - </group> - <group title="message:security"> - <part class="line"> - <part class="label"> - <text text="user_password_expires" /> - </part> - <part class="input"> - <date date="var:passwordExpires" /> - </part> - </part> - <part class="line"> - <part class="label"> - <text text="user_last_login" /> - </part> - <part class="input"> - <date date="var:lastLogin" /> - </part> - </part> - <part class="line"> - <part class="label"> - <text text="token" /> - </part> - <part class="input"> - <text value="var:totpToken" /> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="otpsecret" key="user_totp"></label> - </part> - <part class="input"> - <checkbox name="totp"/><label for="totp" key="user_totp"></label> - - <text var="otpSecret"></text> - <qrcode value="var:totpSecretUrl" /> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="otpsecret" key="user_hotp"></label> - </part> - <part class="input"> - <checkbox name="hotp"/><label for="hotp" key="user_hotp"></label> - - <qrcode value="var:hotpSecretUrl" /> - </part> - </part> - </group> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/user/history.tpl.out.php b/modules/cms-ui/themes/default/templates/user/history.tpl.out.php @@ -1,38 +0,0 @@ - - - <table width="100%"> - <tr class="headline"> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'project'.'')))); ?></span> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'filename'.'')))); ?></span> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'lastchange'.'')))); ?></span> - - </td> - </tr> - <?php foreach($timeline as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <tr class="data"> - <td class="clickable"> - <a target="_self" data-type="post" data-action="start" data-method="projectmenu" data-id="<?php echo $projectid ?>" data-data="{&quot;action&quot;:&quot;start&quot;,&quot;subaction&quot;:&quot;projectmenu&quot;,&quot;id&quot;:&quot;<?php echo $projectid ?>&quot;,&quot;token&quot;:&quot;<?php echo token() ?>&quot;,&quot;none&quot;:&quot;0&quot;}"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($projectname))); ?></span> - - </a> - - </td> - <td title="<?php echo $filename ?>"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $filename,30,'..',constant('STR_PAD_BOTH') )))); ?></span> - - </td> - <td> - <?php include_once( 'modules/template-engine/components/html/date/component-date.php') ?><?php component_date($lastchange_date) ?> - - </td> - </tr> - <?php } ?> - </table> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/user/history.tpl.src.xml b/modules/cms-ui/themes/default/templates/user/history.tpl.src.xml @@ -1,33 +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.xsd"> - <table> - <row class="headline"> - <column> - <text key="project"></text> - </column> - <column> - <text key="filename"></text> - </column> - <column> - <text key="lastchange" /> - </column> - </row> - - <list list="timeline" extract="true"> - <row class="data"> - <column class="clickable"> - <link type="post" action="start" subaction="projectmenu" id="var:projectid"> - <text var="projectname"></text> - </link> - </column> - <column title="var:filename"> - <text var="filename" maxlength="30"></text> - </column> - <column> - <date date="var:lastchange_date" /> - </column> - - </row> - </list> - </table> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/user/info.tpl.out.php b/modules/cms-ui/themes/default/templates/user/info.tpl.out.php @@ -1,46 +0,0 @@ - - - - - <?php $if2=!(empty($image)); if($if2){?> - <div class="line"> - <div class="line"> - <img class="" title="" src="<?php echo $image ?>" /> - - </div> - </div> - <?php } ?> - <div class="line"> - <span class="name"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </div> - <div class="line"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($fullname))); ?></span> - - </div> - <?php $if2=(@$conf['security']['user']['show_admin_mail']); if($if2){?> - <div class="line"> - <a target="_self" data-action="<?php echo $mail ?>" data-method="<?php echo OR_METHOD ?>" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($mail))); ?></span> - - </a> - - </div> - <?php } ?> - <div class="line"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($desc))); ?></span> - - </div> - <div class="line"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('user_tel')))); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($tel))); ?></span> - - </div> - <?php $if2=($is_admin); if($if2){?> - <div class="line"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'user_admin'.'')))); ?></span> - - </div> - <?php } ?> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/user/info.tpl.src.xml b/modules/cms-ui/themes/default/templates/user/info.tpl.src.xml @@ -1,40 +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.xsd"> - <header></header> - <if not="true" empty="image"> - <part class="line"> - <part class="line"> - <image url="var:image" size="80x80" /> - </part> - </part> - </if> - - <part class="line"> - <text var="name" class="name" /> - </part> - <part class="line"> - <text var="fullname" /> - </part> - - <if true="config:security/user/show_admin_mail"> - <part class="line"> - <link action="var:mail"> - <text var="mail" /> - </link> - </part> - </if> - <part class="line"> - <text var="desc" /> - </part> - - <part class="line"> - <text text="user_tel" /> - <text var="tel" /> - </part> - - <if true="var:is_admin"> - <part class="line"> - <text key="user_admin" /> - </part> - </if> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/user/listing.tpl.out.php b/modules/cms-ui/themes/default/templates/user/listing.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/user/listing.tpl.src.xml b/modules/cms-ui/themes/default/templates/user/listing.tpl.src.xml @@ -1,3 +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.xsd"><dummy><window icon="user" name="GLOBAL_USERS" width="70%"><table><row class="headline"><column><image type="user"></image><text key="name"></text></column><column><text raw=""></text></column><column><text key="LOGIN"></text></column></row><list list="el" extract="true"><row class="data"><column url="var:url"><image type="user"></image><text var="name"></text></column><column url="var:url"><text value="var:fullname"></text><if true="var:isAdmin"><text raw="_("></text><text key="USER_ADMIN"></text><text raw=")"></text></if></column><column><link target="_top" action="index" subaction="switchuser" id="var:userid"><text key="LOGIN"></text></link></column></row></list></table></window></dummy></output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/user/memberships.tpl.out.php b/modules/cms-ui/themes/default/templates/user/memberships.tpl.out.php @@ -1,49 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="1" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <table width="100%"> - <tr class="headline"> - <td colspan="2"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'group'.'')))); ?></span> - - </td> - </tr> - <?php foreach($memberships as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <tr class="data"> - <td width="10%"> - <?php { $tmpname = $var;$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - </td> - <td> - <label for="<?php echo REQUEST_ID ?>_<?php echo $var ?>" class="label"> - <img class="" title="" src="./themes/default/images/icon/icon_group.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </label> - </td> - </tr> - <?php } ?> - <tr> - <td class="act" colspan="2"> - <div class="invisible"><input type="submit" name="ok" class="%class%" - title="Bestätigen" - value="&nbsp;&nbsp;&nbsp;&nbsp;OK&nbsp;&nbsp;&nbsp;&nbsp;" /> - </div> - </td> - </tr> - </table> - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/user/memberships.tpl.src.xml b/modules/cms-ui/themes/default/templates/user/memberships.tpl.src.xml @@ -1,30 +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.xsd"> - <form autosave="true"> - <table> - <row class="headline"> - <column colspan="2"> - <text key="group"></text> - </column> - </row> - <list list="memberships" extract="true"> - <row class="data"> - <column width="10%"> - <checkbox name="var:var"></checkbox> - </column> - <column> - <label for="var:var"> - <image file="icon_group"></image> - <text var="name"></text> - </label> - </column> - </row> - </list> - <row> - <column colspan="2" class="act"> - <button type="ok"></button> - </column> - </row> - </table> - </form> -</output> - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/user/pw.tpl.out.php b/modules/cms-ui/themes/default/templates/user/pw.tpl.out.php @@ -1,117 +0,0 @@ - - - <form name="" target="_self" action="<?php echo OR_ACTION ?>" data-method="<?php echo OR_METHOD ?>" data-action="<?php echo OR_ACTION ?>" data-id="<?php echo OR_ID ?>" method="POST" enctype="application/x-www-form-urlencoded" class="<?php echo OR_ACTION ?>" data-async="" data-autosave="" onSubmit="formSubmit( $(this) ); return false;"><input type="submit" class="invisible" /><input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo OR_ACTION ?>" /><input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo OR_METHOD ?>" /><input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo OR_ID ?>" /> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_type_proposal" name="type" value="proposal"<?php if('proposal'==@$type)echo ' checked="checked"' ?> /> - - <label for="<?php echo REQUEST_ID ?>_type_proposal" class="label"><?php echo $password_proposal ?> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'USER_new_password'.'')))); ?></span> - - <span class="text"><?php echo nl2br('text:: '); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($password_proposal))); ?></span> - - </label> - <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> id="<?php echo REQUEST_ID ?>_password_proposal" name="password_proposal<?php if ('') echo '_disabled' ?>" type="hidden" maxlength="256" class="text" value="<?php echo Text::encodeHtml(@$password_proposal) ?>" /><?php if ('') { ?><input type="hidden" name="password_proposal" value="<?php $password_proposal ?>"/><?php } ?></div> - - </div> - </div> - <?php $if3=(@$conf['mail']['enabled']); if($if3){?> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_type_random" name="type" value="random"<?php if('random'==@$type)echo ' checked="checked"' ?> /> - - <label for="<?php echo REQUEST_ID ?>_type_random" class="label"><?php echo lang('user_random_password') ?> - </label> - </div> - </div> - <?php } ?> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <input class="radio" type="radio" id="<?php echo REQUEST_ID ?>_type_input" name="type" value="input"<?php if('input'==@$type||'1')echo ' checked="checked"' ?> /> - - <label for="<?php echo REQUEST_ID ?>_type_input" class="label"><?php echo lang('USER_NEW_PASSWORD_INPUT') ?> - </label> - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_password1" class="label"><?php echo lang('USER_new_password') ?> - </label> - </div> - <div class="input"> - <div class="inputholder"><input type="password" name="password1" id="<?php echo REQUEST_ID ?>_password1" size="40" maxlength="256" class="" value="<?php echo @$password1?>" /></div> - - </div> - </div> - <div class="line"> - <div class="label"> - <label for="<?php echo REQUEST_ID ?>_password2" class="label"><?php echo lang('USER_new_password_repeat') ?> - </label> - </div> - <div class="input"> - <div class="inputholder"><input type="password" name="password2" id="<?php echo REQUEST_ID ?>_password2" size="40" maxlength="256" class="" value="<?php echo @$password2?>" /></div> - - </div> - </div> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo lang('options') ?></legend><div> - </div></fieldset> - <?php $if3=(@$conf['mail']['enabled']); if($if3){?> - <?php $if4=(!empty($mail)); if($if4){?> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <?php { $tmpname = 'email';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_email" class="label"><?php echo lang('user_mail_new_password') ?> - </label> - </div> - </div> - <div class="line"> - <div class="label"> - </div> - <div class="input"> - <?php { $tmpname = 'timeout';$default = '';$readonly = ''; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - <label for="<?php echo REQUEST_ID ?>_timeout" class="label"><?php echo lang('user_password_timeout') ?> - </label> - </div> - </div> - <?php } ?> - <?php } ?> - - - <div class="bottom"><div class="command "><input type="button" class="submit ok" value="OK" onclick="$(this).closest('div.sheet').find('form').submit(); " /></div></div></form> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/user/pw.tpl.src.xml b/modules/cms-ui/themes/default/templates/user/pw.tpl.src.xml @@ -1,71 +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.xsd"> - <form> - <part class="line"> - <part class="label"></part> - <part class="input"> - <radio name="type" value="proposal"></radio> - <label for="type" value="proposal" text="var:password_proposal"> - <text key="USER_new_password" /> - <text raw="text:: " /> - <text var="password_proposal" /> - </label> - <input type="hidden" name="password_proposal" /> - </part> - </part> - - <if true="config:mail/enabled"> - <part class="line"> - <part class="label"></part> - <part class="input"> - <radio name="type" value="random"></radio> - <label for="type" value="random" key="user_random_password"></label> - </part> - </part> - </if> - <part class="line"> - <part class="label"></part> - <part class="input"> - <radio name="type" value="input" checked="true"></radio> - <label for="type" value="input" key="USER_NEW_PASSWORD_INPUT"> - </label> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="password1" key="USER_new_password"></label> - </part> - <part class="input"> - <password name="password1"></password> - </part> - </part> - <part class="line"> - <part class="label"> - <label for="password2" key="USER_new_password_repeat"></label> - </part> - <part class="input"> - <password name="password2"></password> - </part> - </part> - <group title="message:options"></group> - <if true="config:mail/enabled"> - <if present="mail"> - <part class="line"> - <part class="label"></part> - <part class="input"> - <checkbox name="email"></checkbox> - <label for="email" key="user_mail_new_password"></label> - </part> - </part> - <part class="line"> - <part class="label"></part> - <part class="input"> - <checkbox name="timeout"></checkbox> - <label for="timeout" key="user_password_timeout"></label> - </part> - </part> - </if> - </if> - <focus field="password1"></focus> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/user/remove.tpl.out.php b/modules/cms-ui/themes/default/templates/user/remove.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/user/remove.tpl.src.xml b/modules/cms-ui/themes/default/templates/user/remove.tpl.src.xml @@ -1,3 +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.xsd"><header back="true"></header><form><group title="message:NAME"><part class="line"><part class="label"><label key="user_username"></label></part><part class="input"><text var="name" class="name"></text></part></part><group title="message:options"></group><part class="line"><part class="label"></part><part class="input"><checkbox name="confirm"></checkbox><label for="confirm" key="delete"></label></part></part></group></form></output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/user/rights.tpl.out.php b/modules/cms-ui/themes/default/templates/user/rights.tpl.out.php @@ -1,106 +0,0 @@ - - - <table width="100%"> - <?php foreach($projects as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <tr> - <td colspan="2"> - <fieldset class="<?php echo '1'?" open":"" ?><?php echo '1'?" show":"" ?>"><legend><div class="arrow-right closed" /><div class="arrow-down open" /><?php echo $projectname ?></legend><div> - <?php $if7=(empty($acls)); if($if7){?> - <div> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_NOT_FOUND')))); ?></span> - - </div> - <?php } ?> - <?php $if7=!(empty($acls)); if($if7){?> - <table width="100%"> - <tr class="headline"> - <td class="help"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_USER')))); ?></span> - - </td> - <td class="help"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_NAME')))); ?></span> - - </td> - <td class="help"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_LANGUAGE')))); ?></span> - - </td> - <?php foreach($show as $list_key=>$t){ ?> - <td class="help"> - <span class="text" title="<?php echo lang('acl_'.$t.'') ?>"><?php echo nl2br(encodeHtml(htmlentities(lang('acl_'.$t.'_abbrev')))); ?></span> - - </td> - <?php } ?> - </tr> - <?php foreach($rights as $aclid=>$acl){ ?><?php extract($acl) ?> - <tr class="data"> - <td> - <?php $if12=(!empty($username)); if($if12){?> - <img class="" title="" src="./themes/default/images/icon_user.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $username,20,'..',constant('STR_PAD_BOTH') )))); ?></span> - - <?php } ?> - <?php $if12=(!empty($groupname)); if($if12){?> - <img class="" title="" src="./themes/default/images/icon_group.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $groupname,20,'..',constant('STR_PAD_BOTH') )))); ?></span> - - <?php } ?> - <?php $if12=!(!empty($username)); if($if12){?> - <?php $if13=!(!empty($groupname)); if($if13){?> - <img class="" title="" src="./themes/default/images/icon_group.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'global_all'.'')))); ?></span> - - <?php } ?> - <?php } ?> - <?php unset($username) ?> - - <?php unset($groupname) ?> - - </td> - <td> - <img class="" title="" src="./themes/default/images/icon_<?php echo $objecttype ?>.png" /> - - <a target="_self" data-action="<?php echo $objecttype ?>" data-method="" data-id="<?php echo $objectid ?>" href="javascript:void(0);"> - <span class="text" title="<?php echo lang('select') ?>"><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $objectname,20,'..',constant('STR_PAD_BOTH') )))); ?></span> - - </a> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $languagename,20,'..',constant('STR_PAD_BOTH') )))); ?></span> - - </td> - <?php foreach($show as $list_key=>$list_value){ ?> - <td> - <?php $$list_value= $bits[$list_value]; ?> - - <?php { $tmpname = $list_value;$default = '';$readonly = '1'; - if ( isset($$tmpname) ) - $checked = $$tmpname; - else - $checked = $default; - - ?><input class="checkbox" type="checkbox" id="<?php echo REQUEST_ID ?>_<?php echo $tmpname ?>" name="<?php echo $tmpname ?>" <?php if ($readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?> /><?php - - if ( $readonly && $checked ) - { - ?><input type="hidden" name="<?php echo $tmpname ?>" value="1" /><?php - } - } ?> - - </td> - <?php } ?> - </tr> - <?php } ?> - </table> - <?php } ?> - </div></fieldset> - </td> - </tr> - <?php } ?> - </table> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/user/rights.tpl.src.xml b/modules/cms-ui/themes/default/templates/user/rights.tpl.src.xml @@ -1,76 +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.xsd"> - <table> - <list list="projects" extract="true"> - - <row> - <column colspan="2"> - <group title="var:projectname"> - <if empty="acls"> - <part> - <text text="GLOBAL_NOT_FOUND"></text> - </part> - </if> - <if not="true" empty="acls"> - <table> - <row class="headline"> - <column class="help"> - <text text="GLOBAL_USER"></text> - </column> - <column class="help"> - <text text="GLOBAL_NAME"></text> - </column> - <column class="help"> - <text text="GLOBAL_LANGUAGE"></text> - </column> - <list list="show" value="t"> - <column class="help"> - <text key="var:t" prefix="acl_" suffix="_abbrev" title="message:acl_{t}"></text> - </column> - </list> - </row> - <list list="rights" key="aclid" value="acl" extract="true"> - <row class="data"> - <column> - <if present="username"> - <image type="user"></image> - <text var="username" maxlength="20"></text> - </if> - <if present="groupname"> - <image type="group"></image> - <text var="groupname" maxlength="20"></text> - </if> - <if not="true" present="username"> - <if not="true" present="groupname"> - <image type="group"></image> - <text key="global_all"></text> - </if> - </if> - <set var="username"></set> - <set var="groupname"></set> - </column> - <column> - <image type="var:objecttype"></image> - <link action="var:objecttype" subaction="" id="var:objectid"> - <text var="objectname" maxlength="20" title="message:select"></text> - </link> - </column> - <column> - <text var="languagename" maxlength="20"></text> - </column> - <list list="show"> - <column> - <set var="var:list_value" value="var:bits" key="var:list_value"></set> - <checkbox name="var:list_value" readonly="true"></checkbox> - </column> - </list> - </row> - </list> - </table> - </if> - </group> - </column> - </row> - </list> - </table> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/userlist/add.tpl.out.php b/modules/cms-ui/themes/default/templates/userlist/add.tpl.out.php diff --git a/modules/cms-ui/themes/default/templates/userlist/add.tpl.src.xml b/modules/cms-ui/themes/default/templates/userlist/add.tpl.src.xml @@ -1,13 +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.xsd"> - <form method="post"> - <part class="line"> - <part class="label"> - <label for="name" key="user_username"></label> - </part> - <part class="input"> - <input name="name" class="focus"></input> - </part> - </part> - </form> -</output>- \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/userlist/show.tpl.out.php b/modules/cms-ui/themes/default/templates/userlist/show.tpl.out.php @@ -1,63 +0,0 @@ - - - <div class="headermenu"><div class="toolbar-icon clickable"><a href="javascript:void(0);" title="<?php echo lang('MENU_ADD') ?>" data-type="dialog" data-name="<?php echo lang('MENU_ADD') ?>" data-method="add"><img src="./themes/default/images/icon/action/add.svg" title="<?php echo lang('MENU_add_DESC') ?>" /><?php echo lang('MENU_add') ?></a></div></div> - - <table width="100%"> - <tr class="headline"> - <td> - <img class="" title="" src="./themes/default/images/icon_user.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'name'.'')))); ?></span> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(''))); ?></span> - - </td> - <td> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'LOGIN'.'')))); ?></span> - - </td> - </tr> - <?php foreach($el as $list_key=>$list_value){ ?><?php extract($list_value) ?> - <tr class="data"> - <td onclick="javascript:openNewAction('<?php echo $name ?>','user','<?php echo $id ?>');"> - <img class="" title="" src="./themes/default/images/icon_user.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span> - - </td> - <td onclick="javascript:openNewAction('<?php echo $name ?>','user','<?php echo $id ?>');"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($fullname))); ?></span> - - <?php $if6=($isAdmin); if($if6){?> - <span class="text"><?php echo nl2br('&nbsp;('); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'USER_ADMIN'.'')))); ?></span> - - <span class="text"><?php echo nl2br(')'); ?></span> - - <?php } ?> - </td> - <td class="clickable"> - <a target="_self" data-type="post" data-action="user" data-method="switch" data-id="<?php echo $userid ?>" data-data="{&quot;action&quot;:&quot;user&quot;,&quot;subaction&quot;:&quot;switch&quot;,&quot;id&quot;:&quot;<?php echo $userid ?>&quot;,&quot;token&quot;:&quot;<?php echo token() ?>&quot;,&quot;none&quot;:&quot;0&quot;}"> - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'LOGIN'.'')))); ?></span> - - </a> - - </td> - </tr> - <?php } ?> - <tr class="data"> - <td class="clickable" colspan="3"> - <a target="_self" date-name="<?php echo lang('add') ?>" name="<?php echo lang('add') ?>" data-type="dialog" data-action="<?php echo OR_ACTION ?>" data-method="add" data-id="<?php echo OR_ID ?>" href="javascript:void(0);"> - <img class="" title="" src="./themes/default/images/icon/add.png" /> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('new')))); ?></span> - - </a> - - </td> - </tr> - </table> - - \ No newline at end of file diff --git a/modules/cms-ui/themes/default/templates/userlist/show.tpl.src.xml b/modules/cms-ui/themes/default/templates/userlist/show.tpl.src.xml @@ -1,47 +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.xsd"> - <header views="add" /> - <table> - <row class="headline"> - <column> - <image type="user"></image> - <text key="name"></text> - </column> - <column> - <text raw=""></text> - </column> - <column> - <text key="LOGIN"></text> - </column> - </row> - <list list="el" extract="true"> - <row class="data"> - <column id="var:id" name="var:name" action="user"> - <image type="user"></image> - <text var="name"></text> - </column> - <column id="var:id" name="var:name" action="user"> - <text value="var:fullname"></text> - <if true="var:isAdmin"> - <text raw="_("></text> - <text key="USER_ADMIN"></text> - <text raw=")"></text> - </if> - </column> - <column class="clickable"> - <link type="post" action="user" subaction="switch" id="var:userid"> - <text key="LOGIN"></text> - </link> - </column> - </row> - </list> - <row class="data"> - <column colspan="3" class="clickable"> - <link type="dialog" subaction="add" name="message:add"> - <image icon="add"/> - <text text="new"/> - </link> - </column> - </row> - </table> -</output>- \ No newline at end of file