openrat-cms

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

commit 9824c37d94458e3d91177c962b133f76445e938d
parent 7e1ce42e0e7a8e1804b29e921a525e01bb416f71
Author: dankert <devnull@localhost>
Date:   Sun, 29 Jan 2006 18:42:19 +0100

Quellen f?r Template-Engine

Diffstat:
themes/default/templates/background/show.tpl.src.php | 2++
themes/default/templates/border/show.tpl.src.php | 2++
themes/default/templates/element/name.tpl.src.php | 19+++++++++++++++++++
themes/default/templates/element/new.tpl.src.php | 10++++++++++
themes/default/templates/element/properties.tpl.src.php | 151++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/templates/element/remove.tpl.src.php | 27+++++++++++++++++++++++++++
themes/default/templates/element/type.tpl.src.php | 14++++++++++++++
themes/default/templates/file/compress.tpl.src.php | 22++++++++++++++++++++++
themes/default/templates/file/edit.tpl.src.php | 7+++++++
themes/default/templates/file/editvalue.tpl.src.php | 13+++++++++++++
themes/default/templates/file/extract.tpl.src.php | 13+++++++++++++
themes/default/templates/file/prop.tpl.src.php | 29+++++++++++++++++++++++++++++
themes/default/templates/file/remove.tpl.src.php | 21+++++++++++++++++++++
themes/default/templates/file/showprop.tpl.src.php | 63+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/templates/file/size.tpl.src.php | 42++++++++++++++++++++++++++++++++++++++++++
themes/default/templates/file/uncompress.tpl.src.php | 22++++++++++++++++++++++
themes/default/templates/folder/create.tpl.src.php | 2++
themes/default/templates/folder/createfile.tpl.src.php | 25+++++++++++++++++++++++++
themes/default/templates/folder/createfolder.tpl.src.php | 20++++++++++++++++++++
themes/default/templates/folder/createlink.tpl.src.php | 20++++++++++++++++++++
themes/default/templates/folder/createpage.tpl.src.php | 24++++++++++++++++++++++++
themes/default/templates/folder/new.tpl.src.php | 2--
themes/default/templates/folder/new/file.tpl.src.php | 14--------------
themes/default/templates/folder/new/folder.tpl.src.php | 15---------------
themes/default/templates/folder/new/link.tpl.src.php | 15---------------
themes/default/templates/folder/new/page.tpl.src.php | 19-------------------
themes/default/templates/folder/prop.tpl.src.php | 65+++++++++++++++++++++++------------------------------------------
themes/default/templates/folder/remove.tpl.src.php | 24++++++++++++++++++++++++
themes/default/templates/folder/rights.tpl.src.php | 65+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/templates/folder/showprop.tpl.src.php | 33+++++++++++++++++++++++++++++++++
themes/default/templates/frameset/main.tpl.src.php | 7-------
themes/default/templates/group/add.tpl.src.php | 13+++++++++++++
themes/default/templates/group/adduser.tpl.src.php | 10++++++++++
themes/default/templates/group/edit.tpl.src.php | 14++++++++++++++
themes/default/templates/group/listing.tpl.src.php | 8++++++++
themes/default/templates/group/remove.tpl.src.php | 24++++++++++++++++++++++++
themes/default/templates/group/users.tpl.src.php | 10++++++++++
themes/default/templates/index/projectmenu.tpl.src.php | 11+++++++++++
themes/default/templates/index/show.tpl.src.php | 26++++++++++++++++++++++++++
themes/default/templates/index/showlogin.tpl.src.php | 71+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/templates/language/add.tpl.src.php | 11+++++++++++
themes/default/templates/language/edit.tpl.php | 42++++++++++++++++++++++++++++++++++++++++++
themes/default/templates/language/edit.tpl.src.php | 14++++++++++++++
themes/default/templates/language/list.tpl.php | 46++++++++++++++++++++++++++++++++++++++++++++++
themes/default/templates/language/listing.tpl.src.php | 8++++++++
themes/default/templates/language/remove.tpl.src.php | 24++++++++++++++++++++++++
themes/default/templates/link/edit.tpl.src.php | 11+++++++++++
themes/default/templates/link/prop.tpl.src.php | 59+++++++++++++++++++----------------------------------------
themes/default/templates/link/remove.tpl.src.php | 24++++++++++++++++++++++++
themes/default/templates/link/showprop.tpl.src.php | 30++++++++++++++++++++++++++++++
themes/default/templates/main/menu.tpl.src.php | 33+++++++++++++++++++++++++++++++++
themes/default/templates/main/show.tpl.src.php | 7+++++++
themes/default/templates/mainmenu/show.tpl.src.php | 33+++++++++++++++++++++++++++++++++
themes/default/templates/model/add.tpl.src.php | 11+++++++++++
themes/default/templates/model/edit.tpl.php | 45+++++++++++++++++++++++++++++++++++++++++++++
themes/default/templates/model/edit.tpl.src.php | 14++++++++++++++
themes/default/templates/model/list.tpl.php | 54++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/templates/model/listing.tpl.src.php | 16++++++++++++++++
themes/default/templates/model/remove.tpl.src.php | 24++++++++++++++++++++++++
themes/default/templates/object/aclform.tpl.src.php | 125+++++++++++++++++++++++++++----------------------------------------------------
themes/default/templates/object/rights.tpl.src.php | 6+++---
themes/default/templates/page/changetemplate.tpl.src.php | 21+++++++++++++++++++++
themes/default/templates/page/changetemplateselectelements.tpl.src.php | 16++++++++++++++++
themes/default/templates/page/el.tpl.src.php | 38++++++++++++++++++++++++++++++++++++++
themes/default/templates/page/element.tpl.src.php | 38--------------------------------------
themes/default/templates/page/form.tpl.src.php | 2+-
themes/default/templates/page/prop.tpl.src.php | 24++++++++++++++++++++++++
themes/default/templates/page/showprop.tpl.src.php | 48++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/templates/page/src.tpl.src.php | 13+++++++++++++
themes/default/templates/pageelement/archive.tpl.src.php | 55+++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/templates/pageelement/diff.tpl.src.php | 65+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/templates/pageelement/editdate.tpl.src.php | 31+++++++++++++++++++++++++++++++
themes/default/templates/pageelement/editdatecalendar.tpl.src.php | 110+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/templates/pageelement/editdateform.tpl.src.php | 47+++++++++++++++++++++++++++++++++++++++++++++++
themes/default/templates/pageelement/editlink.tpl.src.php | 31+++++++++++++++++++++++++++++++
themes/default/templates/pageelement/editlist.tpl.src.php | 31+++++++++++++++++++++++++++++++
themes/default/templates/pageelement/editlongtext.tpl.src.php | 118+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/templates/pageelement/editnumber.tpl.src.php | 38++++++++++++++++++++++++++++++++++++++
themes/default/templates/pageelement/editselect.tpl.src.php | 31+++++++++++++++++++++++++++++++
themes/default/templates/pageelement/edittext.tpl.src.php | 31+++++++++++++++++++++++++++++++
themes/default/templates/profile/edit.tpl.src.php | 42++++++++++++++++++++++++++++++++++++++++++
themes/default/templates/profile/pwchange.tpl.src.php | 24++++++++++++++++++++++++
themes/default/templates/project/add.tpl.src.php | 11+++++++++++
themes/default/templates/project/edit.tpl.src.php | 47+++++++++++++++++++++++++++++++++++++++++++++++
themes/default/templates/project/listing.tpl.src.php | 11+++++++++++
themes/default/templates/project/remove.tpl.src.php | 24++++++++++++++++++++++++
themes/default/templates/project/select.tpl.src.php | 11+++++++++++
themes/default/templates/template/add.tpl.src.php | 11+++++++++++
themes/default/templates/template/addel.tpl.src.php | 29+++++++++++++++++++++++++++++
themes/default/templates/template/edit.tpl.src.php | 11+++++++++++
themes/default/templates/template/el.tpl.src.php | 16++++++++++++++++
themes/default/templates/template/extension.tpl.src.php | 14++++++++++++++
themes/default/templates/template/listing.tpl.src.php | 14++++++++++++++
themes/default/templates/template/name.tpl.src.php | 42++++++++++++++++++++++++++++++++++++++++++
themes/default/templates/template/remove.tpl.src.php | 22++++++++++++++++++++++
themes/default/templates/template/src.tpl.src.php | 13+++++++++++++
themes/default/templates/template/srcelement.tpl.src.php | 36++++++++++++++++++++++++++++++++++++
themes/default/templates/title/show.tpl.src.php | 19+++++++++++++++++++
themes/default/templates/treemenu/show.tpl.src.php | 13+++++++++++++
themes/default/templates/treetitle/show.tpl.src.php | 33+++++++++++++++++++++++++++++++++
themes/default/templates/treetitle/xxxshow.tpl.src.php | 13+++++++++++++
101 files changed, 2597 insertions(+), 278 deletions(-)

diff --git a/themes/default/templates/background/show.tpl.src.php b/themes/default/templates/background/show.tpl.src.php @@ -0,0 +1 @@ +page+ \ No newline at end of file diff --git a/themes/default/templates/border/show.tpl.src.php b/themes/default/templates/border/show.tpl.src.php @@ -0,0 +1 @@ +page class:css_body_class+ \ No newline at end of file diff --git a/themes/default/templates/element/name.tpl.src.php b/themes/default/templates/element/name.tpl.src.php @@ -0,0 +1,18 @@ +page + form + window name:GLOBAL_NAME + row + cell + text text:ELEMENT_NAME + cell + input name:name + row + cell + text text:GLOBAL_DESCRIPTION + cell + inputarea name:description rows:5 cols:50 + row + cell colspan:2 class:act + button type:ok + + focus field:name+ \ No newline at end of file diff --git a/themes/default/templates/element/new.tpl.src.php b/themes/default/templates/element/new.tpl.src.php @@ -0,0 +1,9 @@ +page + window name:GLOBAL_TEMPLATES + + row + cell class:act + input name:name + button type:ok value:GLOBAL_ADD + + focus field:name+ \ No newline at end of file diff --git a/themes/default/templates/element/properties.tpl.src.php b/themes/default/templates/element/properties.tpl.src.php @@ -0,0 +1,151 @@ +page + form + window name:GLOBAL_PREFS widths:30%,70% + + if present:subtype + row + cell class:fx + text text:ELEMENT_SUBTYPE + cell class:fx + selectbox name:subtype list:subtypes + + if present:with_icon + row + cell class:fx + text text:EL_PROP_WITH_ICON + cell class:fx + checkbox name:with_icon + + if present:all_languages + row + cell class:fx + text text:EL_PROP_ALL_LANGUAGES + cell class:fx + checkbox name:all_languages + + if present:writable + row + cell class:fx + text text:EL_PROP_writable + cell class:fx + checkbox name:writable + + if present:width + row + cell class:fx + text text:width + cell class:fx + input size:10 name:width + + if present:height + row + cell class:fx + text text:height + cell class:fx + input size:10 name:height + + if present:dateformat + row + cell class:fx + text text:EL_PROP_DATEFORMAT + cell class:fx + selectbox name:dateformat list:dateformats + + if present:wiki + row + cell class:fx + text text:EL_PROP_wiki + cell class:fx + checkbox name:wiki + + if present:html + row + cell class:fx + text text:EL_PROP_html + cell class:fx + checkbox name:html + + if present:decimals + row + cell class:fx + text text:EL_PROP_DECIMALS + cell class:fx + input size:10 maxlength:2 name:decimals + + if present:dec_point + row + cell class:fx + text text:EL_PROP_DEC_POINT + cell class:fx + input size:10 maxlength:5 name:dec_point + + if present:thousand_sep + row + cell class:fx + text text:EL_PROP_thousand_sep + cell class:fx + input size:10 maxlength:1 name:thousand_sep + + if present:default_text + row + cell class:fx + text text:EL_PROP_default_text + cell class:fx + input size:40 maxlength:255 name:default_text + + if present:default_longtext + row + cell class:fx + text text:EL_PROP_default_longtext + cell class:fx + inputarea rows:10 cols:40 name:default_longtext + + if present:parameters + row + cell class:fx + text text:EL_PROP_DYNAMIC_PARAMETERS + cell class:fx + inputarea rows:15 cols:40 name:parameters + row + cell class:fx + cell class:fx + list list:dynamic_class_parameters key:paramName value:defaultValue + text var:paramName + text raw:_:_() + text text:GLOBAL_DEFAULT + text raw:)_=_ + text var:defaultValue + newline + + if present:select_items + row + cell class:fx + text text:EL_PROP_select_items + cell class:fx + inputarea rows:15 cols:40 name:select_items + + if present:folderobjectid + row + cell class:fx + text text:EL_PROP_DEFAULT_FOLDEROBJECT + cell class:fx + selectbox name:folderobjectid list:folders + + if present:default_objectid + row + cell class:fx + text text:EL_PROP_DEFAULT_OBJECT + cell class:fx + selectbox name:default_objectid list:objects + + if present:code + row + cell class:fx + text text:EL_PROP_code + cell class:fx + inputarea name:code rows:35 cols:60 + + row + cell colspan:2 class:act + button type:ok + focus field:name diff --git a/themes/default/templates/element/remove.tpl.src.php b/themes/default/templates/element/remove.tpl.src.php @@ -0,0 +1,26 @@ +page + form + + window + row + cell + text text:ELEMENT_NAME + cell class:fx + text var:name + row + cell + text text:GLOBAL_DELETE + cell + checkbox name:delete + row + cell + text text:ELEMENT_DELETE_VALUES + cell + checkbox name:deletevalues + + row + cell colspan:2 + button type:ok + + focus field:delete + + \ No newline at end of file diff --git a/themes/default/templates/element/type.tpl.src.php b/themes/default/templates/element/type.tpl.src.php @@ -0,0 +1,13 @@ +page + form + window name:GLOBAL_NAME + row + cell + text text:ELEMENT_TYPE + cell + selectbox name:type list:types + row + cell colspan:2 class:act + button type:ok + + focus field:type+ \ No newline at end of file diff --git a/themes/default/templates/file/compress.tpl.src.php b/themes/default/templates/file/compress.tpl.src.php @@ -0,0 +1,21 @@ +page + form action:file subaction:docompress + window name:asdf title:asdfdfs + row + cell + text text:type + cell + set var:gz value:gz + selectbox list:formats name:format default:gz + row + cell + cell + set var:field value:replace + radio name:field value:true + text text:replace + newline + radio name:field value:false + text text:createnew + row + cell colspan:2 + button type:ok+ \ No newline at end of file diff --git a/themes/default/templates/file/edit.tpl.src.php b/themes/default/templates/file/edit.tpl.src.php @@ -0,0 +1,7 @@ +page + form action:file subaction:replace enctype:multipart/form-data + window name:asdf title:asdfdfs + row + cell + upload name:file + button type:ok diff --git a/themes/default/templates/file/editvalue.tpl.src.php b/themes/default/templates/file/editvalue.tpl.src.php @@ -0,0 +1,13 @@ +page + form + window + row + cell class:fx + text text:GLOBAL_VALUE + cell class:fx + inputarea cols:60 rows:35 name:value + row + cell class:act colspan:2 + button type:ok + + focus field:value diff --git a/themes/default/templates/file/extract.tpl.src.php b/themes/default/templates/file/extract.tpl.src.php @@ -0,0 +1,12 @@ +page + form action:file subaction:doextract + window name:asdf title:asdfdfs + #row + # cell + # text text:type + # cell + # set var:gz value:gz + # selectbox list:formats name:format default:gz + row + cell colspan:2 + button type:ok+ \ No newline at end of file diff --git a/themes/default/templates/file/prop.tpl.src.php b/themes/default/templates/file/prop.tpl.src.php @@ -0,0 +1,28 @@ +page + + form + window icon:folder widths:50%,50% + row + cell class:fx + text text:global_name + cell class:fx + input name:name size:50 + row + cell class:fx + text text:global_filename + cell class:fx + input name:filename + row + cell class:fx + text text:file_extension + cell class:fx + input name:extension size:10 + row + cell class:fx + text text:global_description + cell class:fx + inputarea name:description + row + cell colspan:2 + button type:ok + focus field:name+ \ No newline at end of file diff --git a/themes/default/templates/file/remove.tpl.src.php b/themes/default/templates/file/remove.tpl.src.php @@ -0,0 +1,20 @@ +page + form + + window icon:group name:GLOBAL_GROUPS + row + cell + text text:GLOBAL_NAME + cell class:fx + text var:name + row + cell + text text:GLOBAL_DELETE + cell + checkbox name:delete + + row + cell colspan:2 + button type:ok + focus field:delete + + \ No newline at end of file diff --git a/themes/default/templates/file/showprop.tpl.src.php b/themes/default/templates/file/showprop.tpl.src.php @@ -0,0 +1,63 @@ +page + + window icon:folder widths:50%,50% + row + cell class:fx + text text:global_name + cell class:fx + text var:name + row + cell class:fx + text text:global_filename + cell class:fx + text var:filename + row + cell class:fx + text text:file_extension + cell class:fx + text var:extension + row + cell class:fx + text text:global_description + cell class:fx + text var:description + row + cell class:fx + text text:global_created + cell class:fx + date date:create_date + text raw:,_ + user user:create_user + row + cell class:fx + text text:global_lastchange + cell class:fx + date date:lastchange_date + text raw:,_ + user user:lastchange_user + + row + cell class:fx + text text:FILE_SIZE + cell class:fx +RAW +<?php echo number_format($size/1000,0,',','.') ?> kB +END + + row + cell class:fx + text text:FILE_mimetype + cell class:fx + text var:mimetype + + row + cell class:fx + text text:FILE_PAGES + cell class:fx + list list:pages extract:true + link url:url target:cms_main + image type:page + text var:name + newline + if empty:pages + text text:GLOBAL_NOT_FOUND diff --git a/themes/default/templates/file/size.tpl.src.php b/themes/default/templates/file/size.tpl.src.php @@ -0,0 +1,42 @@ +page + form + window + + row + cell class:fx + text text:FILE_IMAGE_NEW_WIDTH + cell class:fx + input name:width + + row + cell class:fx + text text:FILE_IMAGE_NEW_HEIGHT + cell class:fx + input name:height + + row + cell class:fx + text text:FILE_IMAGE_FORMAT + cell class:fx + selectbox name:format list:formats + + row + cell class:fx + text text:FILE_IMAGE_JPEG_COMPRESSION + cell class:fx +RAW +<?php + $jpeglist = array(); + for ($i=10; $i<=95; $i+=5) + $jpeglist[$i]=$i.'%'; +?> +END + set var:jpeg_compression value:70 + selectbox list:jpeglist name:jpeg_compression + row + cell class:act colspan:2 + button type:ok + focus field:width + + + diff --git a/themes/default/templates/file/uncompress.tpl.src.php b/themes/default/templates/file/uncompress.tpl.src.php @@ -0,0 +1,21 @@ +page + form action:file subaction:douncompress + window name:asdf title:asdfdfs + #row + # cell + # text text:type + # cell + # set var:gz value:gz + # selectbox list:formats name:format default:gz + row + cell + cell + set var:field value:replace + radio name:field value:true + text text:replace + newline + radio name:field value:false + text text:createnew + row + cell colspan:2 + button type:ok+ \ No newline at end of file diff --git a/themes/default/templates/folder/create.tpl.src.php b/themes/default/templates/folder/create.tpl.src.php @@ -0,0 +1,2 @@ +page + window title:GLOBAL_NEW name:global_new diff --git a/themes/default/templates/folder/createfile.tpl.src.php b/themes/default/templates/folder/createfile.tpl.src.php @@ -0,0 +1,25 @@ +page + form enctype:multipart/form-data + hidden name:type default:file + + window title: name: + row + cell class:fx + text text:global_FILE + cell class:fx + upload name:file + row + cell class:fx + text text:global_NAME + cell class:fx + input name:name size:50 + row + cell class:fx + text text:global_DESCRIPTION + cell class:fx + inputarea rows:5 cols:50 name:description + row + cell class:act colspan:2 + button type:ok + + focus field:name diff --git a/themes/default/templates/folder/createfolder.tpl.src.php b/themes/default/templates/folder/createfolder.tpl.src.php @@ -0,0 +1,19 @@ +page + form + + window title: name: + row + cell class:fx + text text:global_FOLDER + cell class:fx + input name:name size:20 default: + row + cell class:fx + text text:global_DESCRIPTION + cell class:fx + inputarea rows:5 cols:50 name:description + row + cell class:act colspan:2 + button type:ok + + focus field:name+ \ No newline at end of file diff --git a/themes/default/templates/folder/createlink.tpl.src.php b/themes/default/templates/folder/createlink.tpl.src.php @@ -0,0 +1,19 @@ +page + form + + window title: name: + row + cell class:fx + text text:global_NAME + cell class:fx + input name:name size:20 default: + row + cell class:fx + text text:global_DESCRIPTION + cell class:fx + inputarea rows:5 cols:50 name:description + row + cell class:act colspan:2 + button type:ok + + focus field:name+ \ No newline at end of file diff --git a/themes/default/templates/folder/createpage.tpl.src.php b/themes/default/templates/folder/createpage.tpl.src.php @@ -0,0 +1,24 @@ +page + form + + window title: name: + row + cell class:fx + text text:global_TEMPLATE + cell class:fx + selectbox name:templateid list:templates + row + cell class:fx + text text:global_NAME + cell class:fx + input name:name size:20 + row + cell class:fx + text text:global_DESCRIPTION + cell class:fx + inputarea rows:5 cols:50 name:description + row + cell class:act colspan:2 + button type:ok + + focus field:name diff --git a/themes/default/templates/folder/new.tpl.src.php b/themes/default/templates/folder/new.tpl.src.php @@ -1,2 +0,0 @@ -page - window title:GLOBAL_NEW name:global_new diff --git a/themes/default/templates/folder/new/file.tpl.src.php b/themes/default/templates/folder/new/file.tpl.src.php @@ -1,14 +0,0 @@ -page - form action:folder subaction:createnew enctype:multipart/form-data - - window title: name: - row - cell class:fx - text text:global_NAME - cell class:fx - input type:file name:file - row - cell class:act colspan:2 - button type:ok - - focus field:file diff --git a/themes/default/templates/folder/new/folder.tpl.src.php b/themes/default/templates/folder/new/folder.tpl.src.php @@ -1,14 +0,0 @@ -page - form action:folder subaction:createnew - - window title: name: - row - cell class:fx - text text:global_FOLDER - cell class:fx - input name:foldername size:20 default: - row - cell class:act colspan:2 - button type:ok - - focus field:foldername- \ No newline at end of file diff --git a/themes/default/templates/folder/new/link.tpl.src.php b/themes/default/templates/folder/new/link.tpl.src.php @@ -1,14 +0,0 @@ -page - form action:folder subaction:createnew - - window title: name: - row - cell class:fx - text text:global_NAME - cell class:fx - input name:linkname size:20 default: - row - cell class:act colspan:2 - button type:ok - - focus field:pagename- \ No newline at end of file diff --git a/themes/default/templates/folder/new/page.tpl.src.php b/themes/default/templates/folder/new/page.tpl.src.php @@ -1,19 +0,0 @@ -page - form action:folder subaction:createnew - - window title: name: - row - cell class:fx - text text:global_TEMPLATE - cell class:fx - selectbox name:templateid list:templates - row - cell class:fx - text text:global_NAME - cell class:fx - input name:pagename size:20 default: - row - cell class:act colspan:2 - button type:ok - - focus field:pagename diff --git a/themes/default/templates/folder/prop.tpl.src.php b/themes/default/templates/folder/prop.tpl.src.php @@ -1,42 +1,23 @@ -insert file=header +page -form action=folder subaction=save - focus field=name - window name=objectName title=global_prop icon=folder widths=50%,50% width=90% - row - cell class=fx - text text=global_name - cell class=fx - #input name=name type=text size=50 - text var=name - row - cell class=fx - text text=global_filename - cell class=fx - text var=filename - row - cell class=fx - text text=global_description - cell class=fx - text var=description - row - cell class=fx - text text=global_created - cell class=fx - date date=create_date - text raw=,_ - user user=create_user - row - cell class=fx - text text=global_lastchange - cell class=fx - date date=lastchange_date - text raw=,_ - user user=lastchange_user - -RAW -<?php //echo "jetzt ist es ".date('r') -?> -END - -insert file=footer- \ No newline at end of file + form + window name:objectName title:global_prop icon:folder widths:50%,50% width:90% + row + cell class:fx + text text:global_name + cell class:fx + input name:name size:50 + row + cell class:fx + text text:global_filename + cell class:fx + input name:filename + row + cell class:fx + text text:global_description + cell class:fx + inputarea name:description + row + cell colspan:2 + button type:ok + focus field:name+ \ No newline at end of file diff --git a/themes/default/templates/folder/remove.tpl.src.php b/themes/default/templates/folder/remove.tpl.src.php @@ -0,0 +1,23 @@ +page + form + + window icon:group name:GLOBAL_GROUPS + row + cell + text text:GLOBAL_NAME + cell class:fx + text var:name + row + cell + text text:GLOBAL_DELETE + cell + checkbox name:delete + row + cell colspan:2 class:help + text text:GROUP_DELETE_DESC + + row + cell colspan:2 + button type:ok + focus field:delete + + \ No newline at end of file diff --git a/themes/default/templates/folder/rights.tpl.src.php b/themes/default/templates/folder/rights.tpl.src.php @@ -0,0 +1,64 @@ +page + + window title:ACL name:x + + if empty:acls + row + cell class:fx + text text:GLOBAL_NOT_FOUND + if empty:acls invert:y + row + cell class:help + text text:GLOBAL_NAME + cell class:help + text text:GLOBAL_LANGUAGE + //cell +RAW +<?php foreach( $show as $t ) { ?> +<td class="help"><span title="<?php echo lang('ACL_'.strtoupper($t)) ?>"><strong><?php echo lang('ACL_'.strtoupper($t).'_ABBREV') ?></strong></span></td> +<?php } ?> +END + cell class:help + text text:global_delete + + list list:acls key:aclid value:z extract:true + row + //cell +RAW +<?php if ( $z['username'] != '' ) + { ?> +<td width="50%" class="<?php echo $fx ?>"><img src="<?php echo $image_dir.'icon_user'.IMG_EXT ?>" align="left"><?php echo $z['username'] ?></td> +<?php } + elseif ( $z['groupname'] != '' ) + { ?> +<td width="50%" class="<?php echo $fx ?>"><img src="<?php echo $image_dir.'icon_group'.IMG_EXT ?>" align="left"><?php echo $z['groupname'] ?></td> +<?php } + else + { ?> +<td width="50%" class="<?php echo $fx ?>"><img src="<?php echo $image_dir.'icon_group'.IMG_EXT ?>" align="left"><?php echo lang('GLOBAL_ALL') ?></td> +<?php } ?> +END + cell + text var:languagename + + +RAW +<?php foreach( $show as $t ) { ?> +<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z[$t],false,array('title'=>lang('ACL_'.strtoupper($t))) ) ?></td> +<?php } ?> +END + + +RAW +<?php if (isset($z['delete_url'])) + { ?> +<td class="<?php echo $fx ?>"><a href="<?php echo $z['delete_url'] ?>"><?php echo lang('GLOBAL_DELETE') ?></a></td> +<?php } + else + { ?> + +<td class="<?php echo $fx ?>"><?php echo lang('ACL_INHERITED') ?></td> +<?php } ?> +END + +insert file:footer+ \ No newline at end of file diff --git a/themes/default/templates/folder/showprop.tpl.src.php b/themes/default/templates/folder/showprop.tpl.src.php @@ -0,0 +1,33 @@ +page + + window name:objectName title:global_prop icon:folder widths:50%,50% width:90% + row + cell class:fx + text text:global_name + cell class:fx + text var:name + row + cell class:fx + text text:global_filename + cell class:fx + text var:filename + row + cell class:fx + text text:global_description + cell class:fx + text var:description + row + cell class:fx + text text:global_created + cell class:fx + date var:create_date + text raw:,_ + #user user:create_user + row + cell class:fx + text text:global_lastchange + cell class:fx + date var:lastchange_date + text raw:,_ + #user user:lastchange_user + diff --git a/themes/default/templates/frameset/main.tpl.src.php b/themes/default/templates/frameset/main.tpl.src.php @@ -1,6 +0,0 @@ -frameset-page - frameset rows:3,69,*,3 - frame file:frame_src_border - frame file:frame_src_main_menu name:cms_main_menu - frame file:frame_src_main_main name:cms_main_main scrolling:auto - frame file:frame_src_border- \ No newline at end of file diff --git a/themes/default/templates/group/add.tpl.src.php b/themes/default/templates/group/add.tpl.src.php @@ -0,0 +1,12 @@ +page + form method:post + + window icon:group name:GLOBAL_GROUPS + row + cell class:fx + input name:name + row + cell class:act + button type:ok + + focus field:name+ \ No newline at end of file diff --git a/themes/default/templates/group/adduser.tpl.src.php b/themes/default/templates/group/adduser.tpl.src.php @@ -0,0 +1,10 @@ +page + form method:post + + window icon:project name:GLOBAL_GROUPS + row + cell class:fx + selectbox name:userid list:users + row + cell class:act + button type:ok diff --git a/themes/default/templates/group/edit.tpl.src.php b/themes/default/templates/group/edit.tpl.src.php @@ -0,0 +1,14 @@ +page + form method:post + + window icon:group name:GLOBAL_GROUPS + row + cell + text text:GLOBAL_NAME + cell class:fx + input name:name + row + cell colspan:2 + button type:ok + focus field:name + diff --git a/themes/default/templates/group/listing.tpl.src.php b/themes/default/templates/group/listing.tpl.src.php @@ -0,0 +1,8 @@ +page + window icon:group name:GLOBAL_GROUPS + list list:el extract:true + row + cell class:fx + link url:url target:cms_main + image file:icon_group + text var:name diff --git a/themes/default/templates/group/remove.tpl.src.php b/themes/default/templates/group/remove.tpl.src.php @@ -0,0 +1,23 @@ +page + form method:post + + window icon:group name:GLOBAL_GROUPS + row + cell + text text:GLOBAL_NAME + cell class:fx + text var:name + row + cell + text text:GLOBAL_DELETE + cell + checkbox name:delete + row + cell colspan:2 class:help + text text:GROUP_DELETE_DESC + + row + cell colspan:2 + button type:ok + focus field:delete + + \ No newline at end of file diff --git a/themes/default/templates/group/users.tpl.src.php b/themes/default/templates/group/users.tpl.src.php @@ -0,0 +1,10 @@ +page + window icon:user name:GROUP_MEMBERSHIPS + list list:memberships extract:true + row + cell class:fx + image file:icon_user + text var:name + cell + link action:group subaction:deluser id:groupid + text text:GLOBAL_DELETE diff --git a/themes/default/templates/index/projectmenu.tpl.src.php b/themes/default/templates/index/projectmenu.tpl.src.php @@ -0,0 +1,10 @@ +page + window title:GLOBAL_PROJECTS name:login width:400 + + list list:el extract:true + row + cell + link url:url title:TREE_CHOOSE_PROJECT + set var:project value:project + image type:project + text var:name+ \ No newline at end of file diff --git a/themes/default/templates/index/show.tpl.src.php b/themes/default/templates/index/show.tpl.src.php @@ -0,0 +1,25 @@ +frameset-page + + frameset rows:20,5,*,5 + frame file:frame_src_title name:cms_title + frame file:frame_src_background + + frameset columns:5,3,25%,3,5,3,*,3,5 + frame file:frame_src_background + frame file:frame_src_border + frameset rows:3,54,*,3 + frame file:frame_src_border + frame file:frame_src_tree_title name:cms_treemenu + frame file:frame_src_tree name:cms_tree scrolling:auto + //frame file:frame_src_clipboard name:cms_clipboard + frame file:frame_src_border + //frame file:frame_src_tree_menu name:cms_treemenu + //frame file:frame_src_border + frame file:frame_src_border + frame file:frame_src_background + frame file:frame_src_border + frame file:frame_src_main name:cms_main + frame file:frame_src_border + frame file:frame_src_background + frame file:frame_src_background + + \ No newline at end of file diff --git a/themes/default/templates/index/showlogin.tpl.src.php b/themes/default/templates/index/showlogin.tpl.src.php @@ -0,0 +1,71 @@ +page + form action:index subaction:login target:_top + window title:GLOBAL_LOGIN name:login width:400 + + if present:logo + row + cell colspan:2 + if present:logo_url + link url:logo_url target:_top + image url:logo + if empty:logo_url + image url:logo + + if present:motd + row + cell class:motd colspan:2 + text var:motd + + if true:nologin + row + cell class:help colspan:2 + text text:LOGIN_NOLOGIN_DESC + + if true:readonly + row + cell class:help colspan:2 + text text:GLOBAL_READONLY_DESC + + if true:nopublish + row + cell class:help colspan:2 + text text:GLOBAL_NOPUBLISH_DESC + + if false:nologin + row + cell class:fx width:50% + text text:USER_USERNAME + cell class:fx width:50% + input type:text name:login_name value: size:25 + row + cell class:fx width:50% + text text:USER_PASSWORD + cell class:fx width:50% + password name:login_password default: size:25 + + row + cell class:fx width:50% + text text:GLOBAL_DATABASE + cell class:fx width:50% + selectbox name:dbid list:dbids default:actdbid + hidden name:screenwidth default:9999 + #script + row + cell colspan:2 class:act + button type:ok +RAW +<script name="javascript1.2" type="text/javascript"> +<!-- +document.forms[0].screenwidth.value=window.innerWidth; +//--> +</script> +END + + # The GPL licence requires this text, so NEVER remove nor change it. + + newline + newline + link url:http://www.gnu.org/copyleft/gpl.html target:_top + text text:GLOBAL_GPL + + focus field:login_name diff --git a/themes/default/templates/language/add.tpl.src.php b/themes/default/templates/language/add.tpl.src.php @@ -0,0 +1,10 @@ +page + form method:post + + window icon:project name:GLOBAL_PROJECTS + row + cell class:fx + input name:name + row + cell class:act + button type:ok+ \ No newline at end of file diff --git a/themes/default/templates/language/edit.tpl.php b/themes/default/templates/language/edit.tpl.php @@ -0,0 +1,41 @@ +<?php include( $tpl_dir.'header.tpl.php') ?> + +<!-- $Id$ --> + +<center> + +<?php echo Html::form('language','save',$languageid) ?> + +<table class="main" width="90%" cellspacing="0" cellpadding="4"> + +<tr> + <th colspan="2"><?php echo lang('GLOBAL_LANGUAGE') ?></a></th> +</tr> + +<tr> +<td width="50%" class="f1"><?php echo lang('GLOBAL_LANGUAGE') ?></a></td> +<td width="50%" class="f2"><?php echo Html::selectBox('isocode',$isocodes,strtoupper($act_isocode)) ?></td> +</tr> + +<?php if ( $delete ) + { ?> +<tr> +<td width="50%" class="f2" rowspan="2"><?php echo lang('GLOBAL_DELETE') ?></a></td> +<td width="50%" class="f2"><input type="checkbox" name="delete" value="1"></td> +</tr> +<tr> +<td class="help"><?php echo lang('HELP_LANGUAGE_DELETE') ?></td> +<?php } ?> +</tr> + +<tr> +<td colspan="2" class="act"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>"></a></td> +</tr> +</table> + +</form> +</center> + +<?php Html::focusField('name') ?> + +<?php include( $tpl_dir.'footer.tpl.php') ?>+ \ No newline at end of file diff --git a/themes/default/templates/language/edit.tpl.src.php b/themes/default/templates/language/edit.tpl.src.php @@ -0,0 +1,14 @@ +page + form method:post + + window icon:group name:GLOBAL_GROUPS + row + cell + text text:GLOBAL_NAME + cell class:fx + input name:name + row + cell colspan:2 + button type:ok + focus field:name + diff --git a/themes/default/templates/language/list.tpl.php b/themes/default/templates/language/list.tpl.php @@ -0,0 +1,45 @@ +<?php include( $tpl_dir.'header.tpl.php') ?> + +<!-- $Id$ --> +<center> + +<?php echo Html::form('language','add') ?> + +<table class="main" width="60%" cellspacing="0" cellpadding="4"> +<tr> + <th colspan="3"><?php echo lang('GLOBAL_LANGUAGES') ?></th> +</tr> + +<?php $f1=true; + foreach( $el as $id=>$e ) + { ?> +<tr> +<?php if ( isset($e['url'])) + { ?> +<td width="50%" class="<?php if($f1==true) {echo'f1'; } else{echo'f2'; }?>"><a href="<?php echo $e['url'] ?>"><img src="<?php echo $image_dir.'icon_lang'.IMG_EXT ?>" align="left" border="0" /><?php echo $e['name'] ?></a></td> +<td width="25%" class="<?php if($f1==true) {echo'f1';$f1=false;} else{echo'f2';$f1=true;}?>"><?php if (!isset($e['default_url'])) echo '<strong>'.lang('GLOBAL_default').'</strong>'; else echo '<a href="'.$e['default_url'].'" target="_self">'.lang('GLOBAL_make_default').'</a>' ?></td> +<?php } + else + { ?> +<td width="50%" class="<?php if($f1==true) {echo'f1'; } else{echo'f2'; }?>"><img src="<?php echo $image_dir.'icon_lang.png' ?>" align="left"/><?php echo $e['name'] ?></td> +<td width="25%" class="<?php if($f1==true) {echo'f1';$f1=false;} else{echo'f2';$f1=true;}?>">&nbsp;</td> +<?php } ?> +<td width="25%" class="<?php if($f1==true) {echo'f1';$f1=false;} else{echo'f2';$f1=true;}?>"><?php if (!isset($e['select_url' ])) echo '<strong>'.lang('GLOBAL_selected').'</strong>'; else echo '<a href="'.$e['select_url'].'" target="_top">'.lang('GLOBAL_select').'</a>' ?></td> +</tr> +<?php } ?> + +<?php if (isset($isocodes)) + { ?> +<tr> +<td colspan="3" class="act"><?php echo Html::selectBox( 'isocode',$isocodes ) ?> +<input type="submit" class="submit" value="<?php echo lang('GLOBAL_ADD') ?>"></td> +</tr> +<?php } ?> + +</table> + +</form> + +</center> + +<?php include( $tpl_dir.'footer.tpl.php') ?>+ \ No newline at end of file diff --git a/themes/default/templates/language/listing.tpl.src.php b/themes/default/templates/language/listing.tpl.src.php @@ -0,0 +1,8 @@ +page + window icon:group name:GLOBAL_GROUPS + list list:el extract:true + row + cell class:fx + link url:url target:cms_main + image file:icon_group + text var:name diff --git a/themes/default/templates/language/remove.tpl.src.php b/themes/default/templates/language/remove.tpl.src.php @@ -0,0 +1,23 @@ +page + form method:post + + window icon:group name:GLOBAL_GROUPS + row + cell + text text:GLOBAL_NAME + cell class:fx + text var:name + row + cell + text text:GLOBAL_DELETE + cell + checkbox name:delete + row + cell colspan:2 class:help + text text:GROUP_DELETE_DESC + + row + cell colspan:2 + button type:ok + focus field:delete + + \ No newline at end of file diff --git a/themes/default/templates/link/edit.tpl.src.php b/themes/default/templates/link/edit.tpl.src.php @@ -0,0 +1,11 @@ +page + form + window name:GLOBAL_PROP title:global_link icon:link width:90% widths:40%,60% + + row + cell class:fx + text text:GLOBAL_name + cell class:fx + text var:name + + focus field:name diff --git a/themes/default/templates/link/prop.tpl.src.php b/themes/default/templates/link/prop.tpl.src.php @@ -1,40 +1,20 @@ -insert file:header +page + form + window name:GLOBAL_PROP title:global_link icon:link width:90% widths:40%,60% + + row + cell class:fx + text text:GLOBAL_name + cell class:fx + input name:name + row + cell class:fx + text text:GLOBAL_description + cell class:fx + inputarea name:description + + row + cell colspan:2 class:act + button type:ok -form action:link subaction:save - -window name:GLOBAL_PROP title:global_link icon:link width:90% widths:40%,60% - - row - cell class:fx - text text:GLOBAL_name - cell class:fx - text var:name - row - cell class:fx - text text:GLOBAL_description - cell class:fx - text var:desc - row - cell colspan:2 class:fx - text url:editprop_url text:GLOBAL_CHANGE - row - cell colspan:2 class:help - text raw:_ - row - cell class:fx - text text:global_created - cell class:fx - date date:create_date - text raw:,_ - user user:create_user - row - cell class:fx - text text:global_lastchange - cell class:fx - date date:lastchange_date - text raw:,_ - user user:lastchange_user - -focus field:name - -insert file:footer- \ No newline at end of file + focus field:name diff --git a/themes/default/templates/link/remove.tpl.src.php b/themes/default/templates/link/remove.tpl.src.php @@ -0,0 +1,23 @@ +page + form method:post + + window icon:group name:GLOBAL_PROJECT + row + cell + text text:GLOBAL_NAME + cell class:fx + text var:name + row + cell + text text:GLOBAL_DELETE + cell + checkbox name:delete + row + cell colspan:2 class:help + text text:GROUP_DELETE_DESC + + row + cell colspan:2 + button type:ok + focus field:delete + + \ No newline at end of file diff --git a/themes/default/templates/link/showprop.tpl.src.php b/themes/default/templates/link/showprop.tpl.src.php @@ -0,0 +1,30 @@ +page + window icon:link width:90% widths:40%,60% + + row + cell class:fx + text text:GLOBAL_name + cell class:fx + text var:name + row + cell class:fx + text text:GLOBAL_description + cell class:fx + text var:desc + row + cell colspan:2 class:help + text raw:_ + row + cell class:fx + text text:global_created + cell class:fx + date date:create_date + text raw:,_ + user user:create_user + row + cell class:fx + text text:global_lastchange + cell class:fx + date date:lastchange_date + text raw:,_ + user user:lastchange_user diff --git a/themes/default/templates/main/menu.tpl.src.php b/themes/default/templates/main/menu.tpl.src.php @@ -0,0 +1,32 @@ +page + table padding:5 space:0 width:100% + + row + cell class:menu + image type:type + + list list:path extract:true value:xy + #image type:icon + link url:url title:title class:path target:cms_main + text var:name maxlength:20 + char type:filesep + + text var:text title:text class:title + row + cell class:subaction + list list:windowMenu extract:true + link url:url target:cms_main_main + text var:text + text raw:__ + +RAW +//<?php +// if ( hasLang('MENU_'.$act.'_KEY' ) ) +// { +// $attrAccesskey = ' accesskey="'.lang('MENU_'.$act.'_KEY').'"'; +// $title.=' ('.lang('GLOBAL_KEY').': ALT+'.lang('MENU_'.$act.'_KEY').')'; +// } +// else +// $attrAccesskey = ''; +// ?> +END+ \ No newline at end of file diff --git a/themes/default/templates/main/show.tpl.src.php b/themes/default/templates/main/show.tpl.src.php @@ -0,0 +1,6 @@ +frameset-page + frameset rows:3,54,*,3 + frame file:frame_src_border + frame file:frame_src_main_menu name:cms_main_menu + frame file:frame_src_main_main name:cms_main_main scrolling:auto + frame file:frame_src_border+ \ No newline at end of file diff --git a/themes/default/templates/mainmenu/show.tpl.src.php b/themes/default/templates/mainmenu/show.tpl.src.php @@ -0,0 +1,32 @@ +page + table padding:5 space:0 width:100% + + row + cell class:menu + image type:type + + list list:path extract:true value:xy + #image type:icon + link url:url title:title class:path target:cms_main + text var:name maxlength:20 + char type:filesep + + text var:text title:text class:title + row + cell class:subaction + list list:windowMenu extract:true + link url:url target:cms_main_main + text var:text + text raw:__ + +RAW +//<?php +// if ( hasLang('MENU_'.$act.'_KEY' ) ) +// { +// $attrAccesskey = ' accesskey="'.lang('MENU_'.$act.'_KEY').'"'; +// $title.=' ('.lang('GLOBAL_KEY').': ALT+'.lang('MENU_'.$act.'_KEY').')'; +// } +// else +// $attrAccesskey = ''; +// ?> +END+ \ No newline at end of file diff --git a/themes/default/templates/model/add.tpl.src.php b/themes/default/templates/model/add.tpl.src.php @@ -0,0 +1,10 @@ +page + form method:post + + window icon:project name:GLOBAL_PROJECTS + row + cell class:fx + input name:name + row + cell class:act + button type:ok+ \ No newline at end of file diff --git a/themes/default/templates/model/edit.tpl.php b/themes/default/templates/model/edit.tpl.php @@ -0,0 +1,44 @@ +<?php include( $tpl_dir.'header.tpl.php') ?> + +<!-- $Id$ --> +<center> + +<form action="<?php echo $self ?>" method="post" target="_self"> + +<input type="hidden" name="subaction" value="save"> + +<table class="main" width="90%" cellspacing="0" cellpadding="4"> + +<tr> + <th colspan="2"><?php echo lang('GLOBAL_MODEL') ?></a></th> +</tr> + +<tr> +<td width="50%" class="f1"><?php echo lang('GLOBAL_NAME') ?></td> +<td width="50%" class="f1"><input type="text" name="name" value="<?php echo $name ?>"></td> +</tr> +<?php if ( $delete ) + { ?> +<tr> +<td width="50%" class="f2" rowspan="2"><?php echo lang('GLOBAL_DELETE') ?></a></td> +<td width="50%" class="f2"><input type="checkbox" name="delete" value="1"></td> +</tr> +<tr> +<td class="help"><?php echo lang('HELP_PROJECTMODEL_DELETE') ?></td> +</tr> +<?php } ?> +<tr> +<td colspan="2" class="act"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>"></a></td> +</tr> + +</table> + +</form> + +</center> + +<script name="JavaScript" type="text/javascript"><!-- +document.forms[0].name.focus(); +//--></script> + +<?php include( $tpl_dir.'footer.tpl.php') ?>+ \ No newline at end of file diff --git a/themes/default/templates/model/edit.tpl.src.php b/themes/default/templates/model/edit.tpl.src.php @@ -0,0 +1,14 @@ +page + form method:post + + window icon:group name:GLOBAL_GROUPS + row + cell + text text:GLOBAL_NAME + cell class:fx + input name:name + row + cell colspan:2 + button type:ok + focus field:name + diff --git a/themes/default/templates/model/list.tpl.php b/themes/default/templates/model/list.tpl.php @@ -0,0 +1,53 @@ +<?php include( $tpl_dir.'header.tpl.php') ?> + +<!-- $Id$ --> +<center> + +<?php echo Html::form('model','add') ?> + +<table class="main" width="60%" cellspacing="0" cellpadding="4"> + +<tr> + <th colspan="3"><?php echo lang('GLOBAL_MODELS') ?></th> +</tr> + +<?php $f1=true; + foreach( $el as $id=>$e ) + { ?> +<tr> +<?php if (isset($e['url'])) + { ?> +<td width="50%" class="<?php if($f1==true) {echo'f1'; } else{echo'f2'; }?>"><a href="<?php echo $e['url'] ?>"><?php echo $e['name'] ?></a></td> +<td width="25%" class="<?php if($f1==true) {echo'f1';$f1=false;} else{echo'f2';$f1=true;}?>"><?php if ( !isset($e['default_url'])) echo '<strong>'.lang('GLOBAL_default' ).'</strong>'; else echo '<a href="'.$e['default_url'].'" target="_self">'.lang('GLOBAL_make_default').'</a>' ?></td> +<?php } + else + { ?> +<td width="50%" class="<?php if($f1==true) {echo'f1'; } else{echo'f2'; }?>"><?php echo $e['name'] ?></td> +<td width="25%" class="<?php if($f1==true) {echo'f1';$f1=false;} else{echo'f2';$f1=true;}?>">&nbsp;</td> +<?php } ?> +<td width="25%" class="<?php if($f1==true) {echo'f1';$f1=false;} else{echo'f2';$f1=true;}?>"><?php if ( !isset($e['select_url' ])) echo '<strong>'.lang('GLOBAL_selected').'</strong>'; else echo '<a href="'.$e['select_url' ].'" target="_top" >'.lang('GLOBAL_select' ).'</a>' ?></td> +</tr> +<?php } ?> + +<?php if ($add) + { ?> +<tr> +<td class="act" colspan="3"> + +<?php echo lang('GLOBAL_ADD') ?> <input type="text" name="name" size="30"> +<input type="submit" class="submit" value="<?php echo lang('GLOBAL_ADD') ?>"> +</td> +</tr> +<?php } ?> + +</table> + +</form> + +</center> + +<script name="JavaScript" type="text/javascript"><!-- +document.forms[0].name.focus(); +//--></script> + +<?php include( $tpl_dir.'footer.tpl.php') ?>+ \ No newline at end of file diff --git a/themes/default/templates/model/listing.tpl.src.php b/themes/default/templates/model/listing.tpl.src.php @@ -0,0 +1,16 @@ +page + window icon:group name:GLOBAL_MODELS widths:50%,25%,25% + list list:el extract:true + row + cell class:fx + link url:url target:cms_main + image file:icon_model + text var:name + cell class:fx + link url:default_url target:cms_main + image file:icon_model + text text:GLOBAL_make_default + cell class:fx + link url:select_url target:cms_main + image file:icon_model + text text:GLOBAL_selected diff --git a/themes/default/templates/model/remove.tpl.src.php b/themes/default/templates/model/remove.tpl.src.php @@ -0,0 +1,23 @@ +page + form method:post + + window icon:group name:GLOBAL_GROUPS + row + cell + text text:GLOBAL_NAME + cell class:fx + text var:name + row + cell + text text:GLOBAL_DELETE + cell + checkbox name:delete + row + cell colspan:2 class:help + text text:GROUP_DELETE_DESC + + row + cell colspan:2 + button type:ok + focus field:delete + + \ No newline at end of file diff --git a/themes/default/templates/object/aclform.tpl.src.php b/themes/default/templates/object/aclform.tpl.src.php @@ -1,94 +1,56 @@ -insert file:header +page -form action:action subaction:addacl id:objectid + form - window title:GLOBAL_ADD - - row - cell class:fx - text text:GLOBAL_ALL - cell class:fx - radio name:type value:all default:true - cell class:fx - text raw:_ - row - cell class:fx - text text:GLOBAL_USER - cell class:fx - radio name:type value:user - cell class:fx - selectbox name:userid list:users - if invert:true empty:groups + window title:GLOBAL_ADD + row cell class:fx - text text:GLOBAL_GROUP + text text:GLOBAL_ALL cell class:fx - input type:radio name:type value:group + set var:type value:all + radio name:type value:type default:true cell class:fx - selectbox name:groupid list:groups - row - cell colspan:3 class:help - text raw:_ - row - cell class:fx - text text:GLOBAL_LANGUAGE - cell class:fx - text raw:_ - cell class:fx - selectbox name:languageid list:languages - row - cell colspan:3 class:help - text raw:_ - - list list:show value:t + text raw:_ + row + cell class:fx + text text:GLOBAL_USER + cell class:fx + set var:type value:user + radio name:type value:type + cell class:fx + selectbox name:userid list:users + if present:groups + row + cell class:fx + text text:GLOBAL_GROUP + cell class:fx + set var:type value:group + radio name:type value:type + cell class:fx + selectbox name:groupid list:groups row + cell colspan:3 class:help + text raw:_ + row + cell class:fx + text text:GLOBAL_LANGUAGE + cell class:fx + text raw:_ + cell class:fx + selectbox name:languageid list:languages + row + cell colspan:3 class:help + text raw:_ + + list list:show value:t + row RAW <td class="<?php echo $fx ?>"><?php echo lang('ACL_'.strtoupper($t)) ?></td> <td class="<?php echo $fx ?>" width="20"><?php echo lang('ACL_'.strtoupper($t).'_ABBREV') ?></td> <td class="<?php echo $fx ?>"><?php echo Html::checkBox($t,($t=='read'),($t!='read'),array('title'=>lang('ACL_'.strtoupper($t) )) ) ?></td> END - dummy - row - cell - link url:javascript:mark(); - text text:FOLDER_MARK_ALL - text raw:_|_ - link url:javascript:unmark(); - text text:FOLDER_UNMARK_ALL - text raw:_|_ - link url:javascript:flip(); - text text:FOLDER_FLIP_MARK - row - cell colspan:3 - button type:ok - -dummy -RAW - -<script name="JavaScript"> -<!-- -function mark() -{ -<?php foreach( $show as $t ) { if($t=='read') continue; ?> -document.forms[0].elements['<?php echo $t ?>'].checked=true; -function unmark() -<?php } ?> -} -{ -<?php foreach( $show as $t ) { if($t=='read') continue; ?> -document.forms[0].elements['<?php echo $t ?>'].checked=false; -<?php } ?> -} -function flip() -{ -<?php foreach( $show as $t ) { if($t=='read') continue; ?> -if (document.forms[0].elements['<?php echo $t ?>'].checked==false) - document.forms[0].elements['<?php echo $t ?>'].checked=true; -else document.forms[0].elements['<?php echo $t ?>'].checked=false; -<?php } ?> -} -//--> -</script> -END + row + cell colspan:3 class:act + button type:ok -insert file:footer- \ No newline at end of file diff --git a/themes/default/templates/object/rights.tpl.src.php b/themes/default/templates/object/rights.tpl.src.php @@ -27,15 +27,15 @@ END RAW <?php if ( $z['username'] != '' ) { ?> -<td width="50%" class="<?php echo $fx ?>"><img src="<?php echo $image_dir.'icon_user'.IMG_EXT ?>" align="left"><?php echo $z['username'] ?></td> +<td width="50%" class="<?php echo $fx ?>"><img src="<?php echo $image_dir.'icon_user'.IMG_ICON_EXT ?>" align="left"><?php echo $z['username'] ?></td> <?php } elseif ( $z['groupname'] != '' ) { ?> -<td width="50%" class="<?php echo $fx ?>"><img src="<?php echo $image_dir.'icon_group'.IMG_EXT ?>" align="left"><?php echo $z['groupname'] ?></td> +<td width="50%" class="<?php echo $fx ?>"><img src="<?php echo $image_dir.'icon_group'.IMG_ICON_EXT ?>" align="left"><?php echo $z['groupname'] ?></td> <?php } else { ?> -<td width="50%" class="<?php echo $fx ?>"><img src="<?php echo $image_dir.'icon_group'.IMG_EXT ?>" align="left"><?php echo lang('GLOBAL_ALL') ?></td> +<td width="50%" class="<?php echo $fx ?>"><img src="<?php echo $image_dir.'icon_group'.IMG_ICON_EXT ?>" align="left"><?php echo lang('GLOBAL_ALL') ?></td> <?php } ?> END cell diff --git a/themes/default/templates/page/changetemplate.tpl.src.php b/themes/default/templates/page/changetemplate.tpl.src.php @@ -0,0 +1,20 @@ +page + form + window + row + cell class:fx + text text:page_template + cell class:fx + link url:template_url + image type:template + text var:template_name + row + cell + text text:page_template + cell + selectbox name:templateid list:templates + row + cell colspan:2 class:act + button type:ok + + focus field:templateid+ \ No newline at end of file diff --git a/themes/default/templates/page/changetemplateselectelements.tpl.src.php b/themes/default/templates/page/changetemplateselectelements.tpl.src.php @@ -0,0 +1,15 @@ +page + form + hidden name:newTemplateId default:newTemplateId + window + list list:oldTemplateElements key:oldId value:oldName + row + cell class:fx + text var:oldName + cell class:fx +RAW +<?php $listName = 'newTemplateElementsOf'.$oldId; echo Html::selectBox('from'.$oldId,$$listName) ?> +END + row + cell class:act colspan:2 + button type:ok+ \ No newline at end of file diff --git a/themes/default/templates/page/el.tpl.src.php b/themes/default/templates/page/el.tpl.src.php @@ -0,0 +1,37 @@ +insert file:header + +window name:x title:TEMPLATE_ELEMENTS widths:30%,50%,20% + if empty:el invert:true + row + cell class:help + text text:PAGE_ELEMENT_NAME + cell class:help + text text:PAGE_ELEMENT_VALUE + cell class:help + text text:GLOBAL_ARCHIVE + if empty:el + row + cell + text text:GLOBAL_NOT_FOUND + list list:el extract:true + row + cell class:fx + link url:url title:desc + image elementtype:type align:left + text var:name + cell class:fx + text var:value + text raw:_ + cell class:fx + link url:archive_url + text text:GLOBAL_ARCHIVE + text raw:_( + text var:archive_count + text raw:) + row + cell class:help colspan:3 + text text:PAGE_ELEMENTS_DESC + row + cell colspan:3 + text raw:_ +insert file:footer+ \ No newline at end of file diff --git a/themes/default/templates/page/element.tpl.src.php b/themes/default/templates/page/element.tpl.src.php @@ -1,37 +0,0 @@ -insert file:header - -window name:x title:TEMPLATE_ELEMENTS widths:30%,50%,20% - if empty:el invert:true - row - cell class:help - text text:PAGE_ELEMENT_NAME - cell class:help - text text:PAGE_ELEMENT_VALUE - cell class:help - text text:GLOBAL_ARCHIVE - if empty:el - row - cell - text text:GLOBAL_NOT_FOUND - list list:el extract:true - row - cell class:fx - link url:url title:desc - image type:type align:left - text var:name - cell class:fx - text var:value - text raw:_ - cell class:fx - link url:archive_url - text text:GLOBAL_ARCHIVE - text raw:_( - text var:archive_count - text raw:) - row - cell class:help colspan:3 - text text:PAGE_ELEMENTS_DESC - row - cell colspan:3 - text raw:_ -insert file:footer- \ No newline at end of file diff --git a/themes/default/templates/page/form.tpl.src.php b/themes/default/templates/page/form.tpl.src.php @@ -18,7 +18,7 @@ insert file:header list list:el extract:true row cell class:fx - image type:type + image elementtype:type text var:name cell class:fx checkbox name:id prefix:saveid default:false readonly:false diff --git a/themes/default/templates/page/prop.tpl.src.php b/themes/default/templates/page/prop.tpl.src.php @@ -0,0 +1,23 @@ +page + + form + window icon:page widths:50%,50% + row + cell class:fx + text text:global_name + cell class:fx + input name:name size:50 + row + cell class:fx + text text:global_filename + cell class:fx + input name:filename + row + cell class:fx + text text:global_description + cell class:fx + inputarea name:description + row + cell colspan:2 + button type:ok + focus field:name+ \ No newline at end of file diff --git a/themes/default/templates/page/showprop.tpl.src.php b/themes/default/templates/page/showprop.tpl.src.php @@ -0,0 +1,48 @@ +page + + window icon:folder widths:50%,50% + row + cell class:fx + text text:global_name + cell class:fx + text var:name + row + cell class:fx + text text:global_filename + cell class:fx + text var:filename + row + cell class:fx + text text:global_description + cell class:fx + text var:description + row + cell class:fx + text text:page_template + cell class:fx + if present:template_url + link url:template_url + image file:icon_template + text var:template_name + if empty:template_url + image file:icon_template + text var:template_name + row + cell class:fx + text text:global_full_filename + cell class:fx + text var:full_filename + row + cell class:fx + text text:global_created + cell class:fx + date date:create_date + text raw:,_ + user user:create_user + row + cell class:fx + text text:global_lastchange + cell class:fx + date date:lastchange_date + text raw:,_ + user user:lastchange_user diff --git a/themes/default/templates/page/src.tpl.src.php b/themes/default/templates/page/src.tpl.src.php @@ -0,0 +1,12 @@ +page + window icon:page + row + cell class:fx +RAW +<pre> +END + text var:src +RAW +</pre> +END + + \ No newline at end of file diff --git a/themes/default/templates/pageelement/archive.tpl.src.php b/themes/default/templates/pageelement/archive.tpl.src.php @@ -0,0 +1,54 @@ +page + form + window widths:5%,5%,5%,15%,15%,35%,10%,10% + row + cell class:help + text text:GLOBAL_NR + cell class:help colspan:2 + text text:GLOBAL_COMPARE + cell class:help + text text:DATE + cell class:help + text text:GLOBAL_USER + cell class:help + text text:GLOBAL_VALUE + cell class:help + text raw:_ + cell class:help + text raw:_ + + if empty:el + row + cell class:fx colspan:8 + text text:GLOBAL_NOT_FOUND + + list list:el extract:true + row + cell class:fx + text var:lfd_nr + cell class:fx + radio name:compareid value:lfd_nr + cell class:fx + radio name:withid value:lfd_nr + cell class:fx + text var:date + cell class:fx + text var:user + cell class:fx + text var:value + cell class:fx + if true:public + text text:GLOBAL_PUBLIC + if present:releaseUrl + link url:releaseUrl + text text:GLOBAL_RELEASE + cell class:fx + if true:active + text text:GLOBAL_ACTIVE + if present:useUrl + link url:useUrl + text text:GLOBAL_USE + + row + cell colspan:8 class:act + button type:ok+ \ No newline at end of file diff --git a/themes/default/templates/pageelement/diff.tpl.src.php b/themes/default/templates/pageelement/diff.tpl.src.php @@ -0,0 +1,65 @@ +page + window + row + cell colspan:2 + text text:GLOBAL_COMPARE + text raw:_ + text var:title1 + cell colspan:2 + text text:GLOBAL_WITH + text raw:_ + text var:title2 + +RAW +<?php $fx = fx(''); + if (count($text1) > 0) + { + $i=0; + while( isset($text1[$i]) || isset($text2[$i]) ) + { + $fx = fx($fx); + ?> + <tr> + + <?php + if ( isset($text1[$i]['text']) ) + { + ?> + <td class="<?php echo $fx ?>" width="5%" ><?php echo $text1[$i]['line'] ?></td> + <td class="diff_<?php echo $text1[$i]['type'] ?>" width="45%"><?php echo $text1[$i]['text'] ?></td> + <?php + } + else + { + ?> + <td colspan="2" class="help" with="50%">&nbsp;</td> + <?php + } + + if ( isset($text2[$i]['text']) ) + { + ?> + <td class="<?php echo $fx ?>" width="5%" ><?php echo $text2[$i]['line'] ?></td> + <td class="diff_<?php echo $text2[$i]['type'] ?>" width="45%"><?php echo $text2[$i]['text'] ?></td> + <?php + } + else + { + ?> + <td colspan="2" class="help" with="50%">&nbsp;</td> + <?php + } + ?> + </tr> + <?php + $i++; + } + } + else + { ?> +<tr> + <td class="f1" colspan="4"><strong><?php echo lang('GLOBAL_NO_DIFFERENCES_FOUND') ?></strong></td> +</tr> +<?php } ?> +END + diff --git a/themes/default/templates/pageelement/editdate.tpl.src.php b/themes/default/templates/pageelement/editdate.tpl.src.php @@ -0,0 +1,31 @@ +page + form + window name:element + row + cell colspan:2 class:help + text var:desc + + row + cell colspan:2 class:fx + input size:25 maxlength:25 class:ansidate name:ansidate + + if present:release + row + cell colspan:2 class:fx + checkbox name:release + text raw:_ + text text:GLOBAL_RELEASE + + if present:publish + row + cell colspan:2 class:fx + checkbox name:publish + text raw:_ + text text:PAGE_PUBLISH_AFTER_SAVE + + row + cell colspan:2 class:act + button type:ok + + focus field:text + diff --git a/themes/default/templates/pageelement/editdatecalendar.tpl.src.php b/themes/default/templates/pageelement/editdatecalendar.tpl.src.php @@ -0,0 +1,110 @@ +page + form + window name:element + row + cell colspan:2 class:help + text var:desc +RAW +<tr> + <th colspan="7"><?php echo $name ?> (<?php echo $title ?>)</th> +</tr> + +<?php + + echo '<tr>'; + for ( $wday=0; $wday<=6; $wday++ ) + { + echo '<td class="help">'.lang('DATE_WEEKDAY'.$wday).'</th>'; + } + echo '</tr>'; + + $d = 0; + $begin = false; + do + { + echo '<tr>'; + for ( $wday=0; $wday<=6; $wday++ ) + { + + if (!$begin) + { + if ($wday == $first_weekday) + { + $begin = true; + } + } + + if ($begin && $d < $days ) + { + echo '<td class="f1">'; + + $d++; + if ($d == $day) + echo "<strong>$d</strong>"; + else echo '<a href="'.Html::url('pageelement','edit','-',array('year'=>$year,'month'=>$month,'day'=>$d,'hour'=>$hour,'minute'=>$minute,'second'=>$second)).'">'.$d.'</a>'; + echo '</td>'; + } + else echo '<td></td'; + } + echo '</tr>'; + } + while( $d < $days-1 ) +?> + + + +<tr> +<?php + $lastyear = $year-1; + echo '<td colspan="3"><a href="'.Html::url('pageelement','edit','-',array('year'=>$lastyear,'month'=>$month,'day'=>$day,'hour'=>$hour,'minute'=>$minute,'second'=>$second)).'">'.lang('DATE_LAST_YEAR').'</a>&nbsp;&laquo;&nbsp;'; + + $lastyear = $year; + $lastmonth = $month - 1; + + if ( $lastmonth == 0 ) + { + $lastyear--; + $lastmonth = 12; + } + echo '&nbsp;&nbsp;<a href="'.Html::url('pageelement','edit','-',array('year'=>$lastyear,'month'=>$lastmonth,'day'=>$day,'hour'=>$hour,'minute'=>$minute,'second'=>$second)).'">'.lang('DATE_LAST_MONTH').'</a>&nbsp;&laquo;&nbsp;</td>'; + + // Link auf heutiges Datum + echo '<td style="text-align:center"><a href="'.$todayurl.'">'.lang('DATE_TODAY').'</a></td>'; + + $nextyear = $year; + $nextmonth = $month + 1; + + if ( $nextmonth == 13 ) + { + $nextyear++; + $nextmonth = 1; + } + echo '<td colspan="3" style="text-align:right">&raquo;&nbsp;<a href="'.Html::url('pageelement','edit','-',array('year'=>$lastyear,'month'=>$nextmonth,'day'=>$day,'hour'=>$hour,'minute'=>$minute,'second'=>$second)).'">'.lang('DATE_NEXT_MONTH').'</a>'; + + $nextyear = $year+1; + echo '&nbsp;&nbsp;&raquo;&nbsp;<a href="'.Html::url('pageelement','edit','-',array('year'=>$nextyear,'month'=>$month,'day'=>$day,'hour'=>$hour,'minute'=>$minute,'second'=>$second)).'">'.lang('DATE_NEXT_YEAR').'</a></td>'; +?> + +</tr> +END + + if present:release + row + cell colspan:2 class:fx + checkbox name:release + text raw:_ + text text:GLOBAL_RELEASE + + if present:publish + row + cell colspan:2 class:fx + checkbox name:publish + text raw:_ + text text:PAGE_PUBLISH_AFTER_SAVE + + row + cell colspan:2 class:act + button type:ok + + focus field:text + diff --git a/themes/default/templates/pageelement/editdateform.tpl.src.php b/themes/default/templates/pageelement/editdateform.tpl.src.php @@ -0,0 +1,47 @@ +page + form + window name:element + row + cell colspan:2 class:help + text var:desc + + row + cell class:fx + text text:date + cell class:fx + selectbox name:year list:all_years + text raw:_-_ + selectbox name:month list:all_months + text raw:_-_ + selectbox name:day list:all_days + + row + cell class:fx + text text:date_time + cell class:fx + selectbox name:hour list:all_hours + text raw:_:_ + selectbox name:minute list:all_minutes + text raw:_:_ + selectbox name:second list:all_seconds + + if present:release + row + cell colspan:2 class:fx + checkbox name:release + text raw:_ + text text:GLOBAL_RELEASE + + if present:publish + row + cell colspan:2 class:fx + checkbox name:publish + text raw:_ + text text:PAGE_PUBLISH_AFTER_SAVE + + row + cell colspan:2 class:act + button type:ok + + focus field:text + diff --git a/themes/default/templates/pageelement/editlink.tpl.src.php b/themes/default/templates/pageelement/editlink.tpl.src.php @@ -0,0 +1,30 @@ +page + form + window name:element + row + cell colspan:2 class:help + text var:desc + + row + cell colspan:2 class:fx + selectbox list:objects name:linkobjectid + + if present:release + row + cell colspan:2 class:fx + checkbox name:release + text raw:_ + text text:GLOBAL_RELEASE + + if present:publish + row + cell colspan:2 class:fx + checkbox name:publish + text raw:_ + text text:PAGE_PUBLISH_AFTER_SAVE + + row + cell colspan:2 class:act + button type:ok + + focus field:linkobjectid+ \ No newline at end of file diff --git a/themes/default/templates/pageelement/editlist.tpl.src.php b/themes/default/templates/pageelement/editlist.tpl.src.php @@ -0,0 +1,30 @@ +page + form + window name:element + row + cell colspan:2 class:help + text var:desc + + row + cell colspan:2 class:fx + selectbox list:objects name:linkobjectid + + if present:release + row + cell colspan:2 class:fx + checkbox name:release + text raw:_ + text text:GLOBAL_RELEASE + + if present:publish + row + cell colspan:2 class:fx + checkbox name:publish + text raw:_ + text text:PAGE_PUBLISH_AFTER_SAVE + + row + cell colspan:2 class:act + button type:ok + + focus field:linkobjectid+ \ No newline at end of file diff --git a/themes/default/templates/pageelement/editlongtext.tpl.src.php b/themes/default/templates/pageelement/editlongtext.tpl.src.php @@ -0,0 +1,117 @@ +page + form + +RAW +<?php + function editBar() + { + global $image_dir,$objects; + ?> +<tr> + <td colspan="2" class="f1"> + <table> + <tr> + <noscript><input type="text" name="addtext" size="10" /></noscript> + <td><noscript><?php echo Html::Checkbox('strong') ?></noscript><a href="javascript:strong();" title="<?php echo lang('PAGE_EDITOR_ADD_STRONG') ?>"><img src="<?php echo $image_dir ?>/editor/bold.png" border"0" /></a></td> + <td><noscript><?php echo Html::Checkbox('emphatic') ?></noscript><a href="javascript:emphatic();" title="<?php echo lang('PAGE_EDITOR_ADD_EMPHATIC') ?>"><img src="<?php echo $image_dir ?>/editor/italic.png" border"0" /></a></td> + <td>&nbsp;&nbsp;&nbsp;&nbsp;</td> + <td><noscript><?php echo Html::Checkbox('table') ?></noscript><a href="javascript:table();" title="<?php echo lang('PAGE_EDITOR_ADD_TABLE') ?>"><img src="<?php echo $image_dir ?>/editor/table.png" border"0" /></a></td> + <td>&nbsp;&nbsp;&nbsp;&nbsp;</td> + <td><noscript><?php echo Html::Checkbox('list') ?></noscript><a href="javascript:list();" title="<?php echo lang('PAGE_EDITOR_ADD_LIST') ?>"><img src="<?php echo $image_dir ?>/editor/list.png" border"0" /></a></td> + <td><noscript><?php echo Html::Checkbox('numlist') ?></noscript><a href="javascript:numlist();" title="<?php echo lang('PAGE_EDITOR_ADD_NUMLIST') ?>"><img src="<?php echo $image_dir ?>/editor/numlist.png" border"0" /></a></td> + <td>&nbsp;&nbsp;&nbsp;&nbsp;</td> + <td><noscript><?php echo Html::Checkbox('image') ?></noscript><a href="javascript:image();" title="<?php echo lang('PAGE_EDITOR_ADD_IMAGE') ?>"><img src="<?php echo $image_dir ?>/editor/image.png" border"0" /></a></td> + <td><noscript><?php echo Html::Checkbox('link') ?></noscript><a href="javascript:link();" title="<?php echo lang('PAGE_EDITOR_ADD_LINK') ?>"><img src="<?php echo $image_dir ?>/editor/link.png" border"0" /></a></td> + <td><?php echo Html::selectBox('objectid',$objects) ?><noscript>&nbsp;&nbsp;&nbsp;<input type="submit" class="submit" name="addmarkup" value="<?php echo lang('GLOBAL_ADD') ?>"/></noscript></td> + </tr> + </table> + </td> +</tr> + +<?php } ?> + +<script name="Javascript" type="text/javascript" src="<?php echo $tpl_dir ?>../js/editor.js"></script> +<script name="JavaScript" type="text/javascript"> +<!-- + +function strong() +{ + insert('text','*','*'); +} + + +function emphatic() +{ + insert('text','_','_'); +} + + +function link() +{ + insert('text','"','"->"'+document.forms[0].objectid.value+'"'); +} + + +function image() +{ + insert('text','','{"'+document.forms[0].objectid.value+'"}'); +} + + +function list() +{ + insert('text',"\n\n- ","\n- \n- \n"); +} + + +function numlist() +{ + insert('text',"\n\n# ","\n# \n# \n"); +} + + +function table() +{ + insert('text',"\n|","| |\n| | |\n"); +} + + +//--> +--> +</script> +END + + window name:element + row + cell colspan:2 class:help + text var:desc + + if present:preview_text + row + cell colspan:2 class:fx + text var:preview_text +RAW +<?php editBar() ?> +END + + row + cell colspan:2 class:fx + inputarea class:longtext name:text + +RAW +<tr> + <td class="f2"><?php if ( $release ) echo Html::checkBox('release',true).' '.lang('GLOBAL_RELEASE') ?></td> + <td class="f2"><?php echo Html::checkBox('html',$html,false) ?> <span title="<?php echo lang('EL_PROP_HTML_DESC') ?>"><?php echo lang('EL_PROP_HTML') ?></span></td> +</tr> + +<tr> + <td class="f2"><?php if ( $publish ) echo Html::checkBox('publish',false).' '.lang('PAGE_PUBLISH_AFTER_SAVE') ?>&nbsp;</td> + <td class="f2" rowspan="2"><?php echo Html::checkBox('wiki',$wiki,false) ?> <span title="<?php echo lang('EL_PROP_WIKI_DESC') ?>"><?php echo lang('EL_PROP_WIKI') ?></span><?php if ($wiki) echo '<br/>'.lang('PAGE_LONGTEXT_WIKI_DESC') ?></td> +</tr> +END + + row + cell colspan:2 class:act + button type:ok + + focus field:text+ \ No newline at end of file diff --git a/themes/default/templates/pageelement/editnumber.tpl.src.php b/themes/default/templates/pageelement/editnumber.tpl.src.php @@ -0,0 +1,37 @@ +page + form + window name:element + row + cell colspan:2 class:help + text var:desc + + row + cell colspan:2 class:fx + hidden name:decimals default:decimals + input size:15 maxlength:20 name:number + + row + cell class:fx + text text:global_decimals + cell class:fx + text var:decimals + + if present:release + row + cell colspan:2 class:fx + checkbox name:release + text raw:_ + text text:GLOBAL_RELEASE + + if present:publish + row + cell colspan:2 class:fx + checkbox name:publish + text raw:_ + text text:PAGE_PUBLISH_AFTER_SAVE + + row + cell colspan:2 class:act + button type:ok + + focus field:text+ \ No newline at end of file diff --git a/themes/default/templates/pageelement/editselect.tpl.src.php b/themes/default/templates/pageelement/editselect.tpl.src.php @@ -0,0 +1,30 @@ +page + form + window name:element + row + cell colspan:2 class:help + text var:desc + + row + cell colspan:2 class:fx + selectbox list:items name:text + + if present:release + row + cell colspan:2 class:fx + checkbox name:release + text raw:_ + text text:GLOBAL_RELEASE + + if present:publish + row + cell colspan:2 class:fx + checkbox name:publish + text raw:_ + text text:PAGE_PUBLISH_AFTER_SAVE + + row + cell colspan:2 class:act + button type:ok + + focus field:text+ \ No newline at end of file diff --git a/themes/default/templates/pageelement/edittext.tpl.src.php b/themes/default/templates/pageelement/edittext.tpl.src.php @@ -0,0 +1,30 @@ +page + form + window name:element + row + cell colspan:2 class:help + text var:desc + + row + cell colspan:2 class:fx + input size:50 maxlength:255 class:ansidate name:text + + if present:release + row + cell colspan:2 class:fx + checkbox name:release + text raw:_ + text text:GLOBAL_RELEASE + + if present:publish + row + cell colspan:2 class:fx + checkbox name:publish + text raw:_ + text text:PAGE_PUBLISH_AFTER_SAVE + + row + cell colspan:2 class:act + button type:ok + + focus field:text+ \ No newline at end of file diff --git a/themes/default/templates/profile/edit.tpl.src.php b/themes/default/templates/profile/edit.tpl.src.php @@ -0,0 +1,41 @@ +page + form method:post + window icon:user name:user_profile + row + cell + text text:user_username + cell class:fx + text var:name + + row + cell + text text:user_fullname + cell class:fx + input name:fullname size:40 maxlength:128 + + row + cell + text text:user_tel + cell class:fx + input name:tel size:40 maxlength:128 + row + cell + text text:user_mail + cell class:fx + input name:mail size:40 maxlength:128 + row + cell + text text:user_desc + cell class:fx + input name:desc size:40 maxlength:128 + + row + cell + text text:user_style + cell class:fx + selectbox name:style list:allstyles default:style + + row + cell colspan:2 class:act + button type:ok + focus field:fullname+ \ No newline at end of file diff --git a/themes/default/templates/profile/pwchange.tpl.src.php b/themes/default/templates/profile/pwchange.tpl.src.php @@ -0,0 +1,23 @@ +page + form method:post + window icon:user name:user_profile + row + cell + text text:user_password + cell + password name:act_password + row + cell + text text:user_new_password + cell + password name:password1 + row + cell + text text:user_new_password_repeat + cell + password name:password2 + row + cell colspan:2 + button type:ok + + focus field:act_password+ \ No newline at end of file diff --git a/themes/default/templates/project/add.tpl.src.php b/themes/default/templates/project/add.tpl.src.php @@ -0,0 +1,10 @@ +page + form method:post + + window icon:project name:GLOBAL_PROJECTS + row + cell class:fx + input name:name + row + cell class:act + button type:ok+ \ No newline at end of file diff --git a/themes/default/templates/project/edit.tpl.src.php b/themes/default/templates/project/edit.tpl.src.php @@ -0,0 +1,46 @@ +page + window icon:project name:GLOBAL_PROJECT + row + cell + text text:PROJECT_NAME + cell class:fx + input name:name size:50 + + row + cell + text text:PROJECT_TARGET_DIR + cell class:fx + input class:filename name:target_dir size:50 + + row + cell + text text:PROJECT_FTP_URL + cell class:fx + input name:ftp_url + + row + cell + text text:PROJECT_FTP_PASSIVE + cell class:fx + checkbox name:ftp_passive + + row + cell + text text:PROJECT_CMD_AFTER_PUBLISH + cell class:fx + input name:cmd_after_publish + + row + cell + text text:PROJECT_CONTENT_NEGOTIATION + cell class:fx + checkbox name:content_negotiation + + row + cell + text text:PROJECT_CUT_INDEX + cell class:fx + checkbox name:cut_index + row + cell colspan:2 + button type:ok+ \ No newline at end of file diff --git a/themes/default/templates/project/listing.tpl.src.php b/themes/default/templates/project/listing.tpl.src.php @@ -0,0 +1,11 @@ +page + window icon:project name:GLOBAL_PROJECTS + list list:el extract:true + row + cell class:fx + link url:url target:cms_main + image file:icon_project + text var:name + cell class:fx + link url:use_url target:_top + text text:GLOBAL_SELECT diff --git a/themes/default/templates/project/remove.tpl.src.php b/themes/default/templates/project/remove.tpl.src.php @@ -0,0 +1,23 @@ +page + form method:post + + window icon:group name:GLOBAL_PROJECT + row + cell + text text:GLOBAL_NAME + cell class:fx + text var:name + row + cell + text text:GLOBAL_DELETE + cell + checkbox name:delete + row + cell colspan:2 class:help + text text:GROUP_DELETE_DESC + + row + cell colspan:2 + button type:ok + focus field:delete + + \ No newline at end of file diff --git a/themes/default/templates/project/select.tpl.src.php b/themes/default/templates/project/select.tpl.src.php @@ -0,0 +1,10 @@ +page + window title:GLOBAL_PROJECTS name:login width:400 + + list list:el extract:true + row + cell + link url:url title:TREE_CHOOSE_PROJECT + set var:project value:project + image type:project + text var:name+ \ No newline at end of file diff --git a/themes/default/templates/template/add.tpl.src.php b/themes/default/templates/template/add.tpl.src.php @@ -0,0 +1,10 @@ +page + form + window name:GLOBAL_TEMPLATES + + row + cell class:act + input name:name + button type:ok + + focus field:name+ \ No newline at end of file diff --git a/themes/default/templates/template/addel.tpl.src.php b/themes/default/templates/template/addel.tpl.src.php @@ -0,0 +1,28 @@ +page + form + window name:GLOBAL_TEMPLATES + + row + cell class:fx + text text:global_name + cell class:fx + input name:name + + row + cell class:fx + text text:global_description + cell class:fx + inputarea name:description + + row + cell class:fx + text text:element_type + cell class:fx + set var:text value:text + selectbox list:types default:text name:type + + row + cell class:act colspan:2 + button type:ok + + focus field:name+ \ No newline at end of file diff --git a/themes/default/templates/template/edit.tpl.src.php b/themes/default/templates/template/edit.tpl.src.php @@ -0,0 +1,11 @@ +page + window name:TEMPLATE_SHOW + row + cell class:fx +RAW +<code> +END + text var:text +RAW +<code> +END diff --git a/themes/default/templates/template/el.tpl.src.php b/themes/default/templates/template/el.tpl.src.php @@ -0,0 +1,15 @@ +page + window name:TEMPLATE_ELEMENTS + list list:el extract:true + row + cell class:fx + link url:url title:desc + image type:type + text var:name + cell class:fx + text text:type + + if empty:el + row + cell colspan:2 class:fx + text text:GLOBAL_NOT_FOUND+ \ No newline at end of file diff --git a/themes/default/templates/template/extension.tpl.src.php b/themes/default/templates/template/extension.tpl.src.php @@ -0,0 +1,13 @@ +page + form + window name:GLOBAL_PROP + row + cell class:fx + text text:TEMPLATE_extension + cell class:fx + input name:extension size:10 + row + cell colspan:2 + button type:ok + + focus field:extension+ \ No newline at end of file diff --git a/themes/default/templates/template/listing.tpl.src.php b/themes/default/templates/template/listing.tpl.src.php @@ -0,0 +1,14 @@ +page + window name:GLOBAL_TEMPLATES + + list list:templates extract:true + row + cell class:fx + link url:url target:cms_main + text var:name + + if empty:templates + row + cell class:help + text text:GLOBAL_NO_TEMPLATES_AVAILABLE_DESC + diff --git a/themes/default/templates/template/name.tpl.src.php b/themes/default/templates/template/name.tpl.src.php @@ -0,0 +1,41 @@ +page + form + window name:GLOBAL_PROP + row + cell class:fx + text text:TEMPLATE_NAME + cell class:fx + input name:name + row + cell colspan:2 + button type:ok + +RAW +<!-- +<tr> + <th colspan="2"><?php echo lang('GLOBAL_PAGES') ?></th> +</tr> + +<?php $f1=true; + foreach( $pages as $id=>$p ) + { ?> +<tr> +<td class="f1"><a href="<?php echo $p['url'] ?>" target="cms_main"><img src="<?php echo $image_dir.'icon_page'.IMG_EXT ?>" border="0" align="left"><?php echo $p['name'] ?></a></td> +</tr> +<?php } + if ( count($pages)==0) + { ?> +<tr> +<td class="f1"><?php echo lang('GLOBAL_NOT_FOUND') ?></td> +</tr> +<?php } ?> + + +</table> + + +</center> +--> +END + + focus field:name+ \ No newline at end of file diff --git a/themes/default/templates/template/remove.tpl.src.php b/themes/default/templates/template/remove.tpl.src.php @@ -0,0 +1,21 @@ +page + form + + window icon:template + row + cell + text text:GLOBAL_NAME + cell class:fx + text var:name + row + cell + text text:GLOBAL_DELETE + cell + checkbox name:delete + + row + cell colspan:2 + button type:ok + + focus field:delete + + \ No newline at end of file diff --git a/themes/default/templates/template/src.tpl.src.php b/themes/default/templates/template/src.tpl.src.php @@ -0,0 +1,12 @@ +page + + form + window name:TEMPLATE_SOURCE + row + cell + inputarea rows:25 cols:80 name:src + + row + cell class:act + button type:ok + focus field:src+ \ No newline at end of file diff --git a/themes/default/templates/template/srcelement.tpl.src.php b/themes/default/templates/template/srcelement.tpl.src.php @@ -0,0 +1,35 @@ +page + + form + window + if present:elements + row + cell class:fx + checkbox name:addelement + cell class:fx + selectbox name:elementid list:elements + + if present:icon_elements + row + cell class:fx + checkbox name:addicon + cell class:fx + selectbox name:iconid list:icon_elements + + if present:ifempty_elements + row + cell class:fx + checkbox name:addifempty + cell class:fx + selectbox name:ifemptyid list:ifempty_elements + + if present:ifnotempty_elements + row + cell class:fx + checkbox name:addifnotempty + cell class:fx + selectbox name:ifnotemptyid list:ifnotempty_elements + + row + cell colspan:2 class:act + button type:ok+ \ No newline at end of file diff --git a/themes/default/templates/title/show.tpl.src.php b/themes/default/templates/title/show.tpl.src.php @@ -0,0 +1,19 @@ +page + + table padding:5 space:0 width:100% + row + cell class:title width:40% + text class:title title:USER_LOGINAS var:userfullname + text raw:_( + text title:dbid var:dbname + text raw:_|_ + link url:showtree_url target:_parent + text var:showtree_text + cell class:title width:20% style:text-align:center; + text var:cms_title + cell class:title width:40% style:text-align:right; + link title:USER_PROFILE_DESC url:profile_url target:cms_main_main + text text:USER_YOURPROFILE + text raw:_|_ + link title:USER_LOGOUT_DESC url:logout_url target:_top + text text:USER_LOGOUT diff --git a/themes/default/templates/treemenu/show.tpl.src.php b/themes/default/templates/treemenu/show.tpl.src.php @@ -0,0 +1,12 @@ +page class:treemenu + form action:index subaction:project target:_parent method:get + selectbox name:projectid list:projects onchange:submit() title:PROJECT_SELECT_DESC class:treemenu default:act_projectid + text raw:_ +RAW +<noscript> +END + button type:ok +RAW +</noscript> +END + + \ No newline at end of file diff --git a/themes/default/templates/treetitle/show.tpl.src.php b/themes/default/templates/treetitle/show.tpl.src.php @@ -0,0 +1,32 @@ +page + table padding:5 space:0 width:100% + + row + cell class:menu + image type:type + + list list:path extract:true value:xy + #image type:icon + link url:url title:title class:path target:cms_main + text var:name maxlength:20 + char type:filesep + + text var:text title:text class:title + row + cell class:subaction + list list:windowMenu extract:true + link url:url target:_parent + text var:text + text raw:__ + +RAW +//<?php +// if ( hasLang('MENU_'.$act.'_KEY' ) ) +// { +// $attrAccesskey = ' accesskey="'.lang('MENU_'.$act.'_KEY').'"'; +// $title.=' ('.lang('GLOBAL_KEY').': ALT+'.lang('MENU_'.$act.'_KEY').')'; +// } +// else +// $attrAccesskey = ''; +// ?> +END+ \ No newline at end of file diff --git a/themes/default/templates/treetitle/xxxshow.tpl.src.php b/themes/default/templates/treetitle/xxxshow.tpl.src.php @@ -0,0 +1,12 @@ +page class:treemenu + form action:index subaction:project target:_parent method:get + selectbox name:projectid list:projects onchange:submit() title:PROJECT_SELECT_DESC class:treemenu default:act_projectid + text raw:_ +RAW +<noscript> +END + button type:ok +RAW +</noscript> +END + + \ No newline at end of file