egroupware/admin/templates/default/mainscreen_message.xet

51 lines
2.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2//EN" "http://www.egroupware.org/etemplate2.dtd">
<!-- $Id$ -->
<overlay>
<template id ="admin.mainscreen_message.mainscreen" version="18.1">
<vbox>
<htmlarea id="html_mainscreen" height="500" width="100%" disabled="!$cont[html]"/>
<textbox id="text_mainscreen" disabled="$cont[html]" rows="25" cols="70" class="et2_fullWidth" multiline="true" height="500"/>
</vbox>
</template>
<template id ="admin.mainscreen_message.loginscreen" version="18.1">
<vbox>
<htmlarea id="html_loginscreen" height="500" width="100%" disabled="!$cont[html]"/>
<textbox id="text_loginscreen" disabled="$cont[html]" rows="25" cols="70" class="et2_fullWidth" multiline="true" height="500"/>
</vbox>
</template>
<template id="admin.mainscreen_message" template="" lang="" group="0" version="18.1">
<grid width="100%" height="600">
<columns>
<column/>
<column/>
<column/>
</columns>
<rows>
<row>
<select id="lang" onchange="widget.getInstanceManager().submit()" statustext="Select language to define language based message. Language 'english' is default page for all languages therefore for setting a general message across all languages you only need to set the 'english' page."/>
<checkbox id="html" onchange="widget.getInstanceManager().submit()" label="html/plaintext"/>
</row>
<row>
<tabbox id="tabs" class="et2_nowrap" width="100%" span="all" tab_height="550">
<tabs>
<tab id="loginscreen" label="Login screen"/>
<tab id="mainscreen" label="Main screen"/>
</tabs>
<tabpanels>
<template id="admin.mainscreen_message.loginscreen"/>
<template id="admin.mainscreen_message.mainscreen"/>
</tabpanels>
</tabbox>
</row>
<row>
<hbox span="all">
<button statustext="Save changes" label="Save" id="button[save]" image="save" background_image="1"/>
<button statustext="Apply changes" label="Apply" id="button[apply]" image="check" background_image="1"/>
<button statustext="Cancel changes" label="Cancel" id="button[cancel]" image="cancel" background_image="1"/>
</hbox>
</row>
</rows>
</grid>
</template>
</overlay>