move use of mail.index.preview template behind its definition, to fix PHP message: EGroupware\Api\Etemplate\Widget\Template::instance('mail.index.preview', '', '', '') template NOT found!

This commit is contained in:
ralf 2023-04-04 20:22:20 +02:00
parent 566dac47af
commit b146452754

View File

@ -1,12 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2.0//EN" "https://www.egroupware.org/etemplate2.0.dtd">
<overlay>
<template id="mail.index.splitter" height="100%" template="" lang="" group="0" version="1.9.001">
<et2-split id="mailSplitter" style="--min: 30%;--max:70%;" vertical="false" primary="start" >
<nextmatch id="nm" onselect="app.mail.mail_preview" class="" template="mail.index.rows.vertical" header_left="mail.index.add" header_right="mail.index.header_right" disable_selection_advance="true"/>
<template id="mail.index.preview"/>
</et2-split>
</template>
<template id="mail.index.preview">
<toolbar id="toolbar" list_header="short"/>
<grid id="mailPreview" width="100%">
@ -111,6 +105,12 @@
<iframe frameborder="1" id="messageIFRAME" scrolling="auto"/>
</et2-box>
</template>
<template id="mail.index.splitter" height="100%" template="" lang="" group="0" version="1.9.001">
<et2-split id="mailSplitter" style="--min: 30%;--max:70%;" vertical="false" primary="start" >
<nextmatch id="nm" onselect="app.mail.mail_preview" class="" template="mail.index.rows.vertical" header_left="mail.index.add" header_right="mail.index.header_right" disable_selection_advance="true"/>
<template id="mail.index.preview"/>
</et2-split>
</template>
<template id="mail.index.nosplitter" template="" lang="" group="0" version="1.9.001">
<nextmatch id="nm" onselect="app.mail.mail_preview" template="mail.index.rows.horizental" header_left="mail.index.add"
header_right="mail.index.header_right"/>