commit d040dbbc1d040754e37f8dc321af43e5210c45f2
parent d3692807b92d8cbb94404370166ed4e0c304e2be
Author: dankert <openrat@jandankert.de>
Date: Tue, 15 Mar 2022 20:01:02 +0100
New: Table headline.
Diffstat:
2 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/modules/cms/ui/themes/default/html/views/element/edit.php b/modules/cms/ui/themes/default/html/views/element/edit.php
@@ -5,6 +5,14 @@
</div>
<div class="<?php echo O::escapeHtml('or-table-area') ?>"><?php echo O::escapeHtml('') ?>
<table class="<?php echo O::escapeHtml('or-table') ?>"><?php echo O::escapeHtml('') ?>
+ <tr class="<?php echo O::escapeHtml('or-table-header') ?>"><?php echo O::escapeHtml('') ?>
+ <th><?php echo O::escapeHtml('') ?>
+ <span><?php echo O::escapeHtml('') ?></span>
+ </th>
+ <th><?php echo O::escapeHtml('') ?>
+ <span><?php echo O::escapeHtml(''.@O::lang('value').'') ?></span>
+ </th>
+ </tr>
<tr class="<?php echo O::escapeHtml('or-data') ?>"><?php echo O::escapeHtml('') ?>
<td colspan="<?php echo O::escapeHtml('1') ?>"><?php echo O::escapeHtml('') ?>
<span><?php echo O::escapeHtml(''.@O::lang('type').'') ?></span>
diff --git a/modules/cms/ui/themes/default/html/views/element/edit.tpl.src.xml b/modules/cms/ui/themes/default/html/views/element/edit.tpl.src.xml
@@ -1,6 +1,14 @@
<output xmlns="http://www.openrat.de/template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.openrat.de/template ../../../../../../../template_engine/components/template.xsd">
<table>
+ <row header="true">
+ <column header="true">
+ <text value="" />
+ </column>
+ <column header="true">
+ <text value="${message:value}" />
+ </column>
+ </row>
<row class="data">
<column colspan="1">
<text value="${message:type}"/>