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:
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(' ('); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang('GLOBAL_DEFAULT')))); ?></span> - - <span class="text"><?php echo nl2br(') = '); ?></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(' '); ?></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(' '); ?></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=" OK " /> - </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=" OK " /> - </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(' '); ?></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(' / '); ?></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(' '); ?></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(' '); ?></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(' '); ?></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(' '); ?></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(' '); ?></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(' '); ?></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(' '); ?></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(' '); ?></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="{"action":"folder","subaction":"reorder","id":"<?php echo OR_ID ?>","token":"<?php echo token() ?>","var1":"flip","none":"0"}"> - <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="{"action":"folder","subaction":"reorder","id":"<?php echo OR_ID ?>","token":"<?php echo token() ?>","var1":"type","none":"0"}"> - <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="{"action":"folder","subaction":"reorder","id":"<?php echo OR_ID ?>","token":"<?php echo token() ?>","var1":"name","none":"0"}"> - <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="{"action":"folder","subaction":"reorder","id":"<?php echo OR_ID ?>","token":"<?php echo token() ?>","var1":"lastchange","none":"0"}"> - <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(' '); ?></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(' / '); ?></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(' '); ?></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(' '); ?></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(' '); ?></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(' '); ?></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(' '); ?></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=" OK " /> - </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(' * '); ?></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(' * '); ?></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=" OK " /> - </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="{"action":"language","subaction":"setdefault","id":"<?php echo $id ?>","token":"<?php echo token() ?>","none":"0"}"> - <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="{"action":"start","subaction":"language","id":"<?php echo $id ?>","token":"<?php echo token() ?>","none":"0"}"> - <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="{"action":"model","subaction":"setdefault","id":"<?php echo $id ?>","token":"<?php echo token() ?>","none":"0"}"> - <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="{"action":"start","subaction":"model","id":"<?php echo $id ?>","token":"<?php echo token() ?>","none":"0"}"> - <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="{"action":"<?php echo OR_ACTION ?>","subaction":"delacl","id":"<?php echo OR_ID ?>","token":"<?php echo token() ?>","var1":"<?php echo $aclid ?>","none":"0"}"> - <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(' '); ?></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(' '); ?></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(' '); ?></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(' '); ?></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(' '); ?></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=" Zurück " /> - </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(' '); ?></span> - - <strong class="text"><?php echo nl2br(encodeHtml(htmlentities($monthname))); ?></strong> - - <span class="text"><?php echo nl2br(' '); ?></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(' '); ?></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(' '); ?></span> - - <strong class="text"><?php echo nl2br(encodeHtml(htmlentities($yearname))); ?></strong> - - <span class="text"><?php echo nl2br(' '); ?></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(' '); ?></span> - - <strong class="text"><?php echo nl2br(encodeHtml(htmlentities($nr))); ?></strong> - - <span class="text"><?php echo nl2br(' '); ?></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(' '); ?></span> - - <span class="text"><?php echo nl2br(encodeHtml(htmlentities($nr))); ?></span> - - <span class="text"><?php echo nl2br(' '); ?></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(' - '); ?></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(' - '); ?></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(' - '); ?></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(' - '); ?></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(' '); ?></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(' '); ?></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(' '); ?></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="{"action":"<?php echo OR_ACTION ?>","subaction":"release","id":"<?php echo $objectid ?>","token":"<?php echo token() ?>","var1":"<?php echo $valueid ?>","none":"0"}"> - <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="{"action":"<?php echo OR_ACTION ?>","subaction":"use","id":"<?php echo $objectid ?>","token":"<?php echo token() ?>","var1":"<?php echo $valueid ?>","none":"0"}"> - <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>