mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-04 22:01:05 +01:00
73f0201a96
The select_widget allways used the cats of the current application. That's still the default, but it can be overwritten now via an option. The nextmatch_widget has now and optional parameter 'cat_app', which defaults to the app of the get_rows method.
77 lines
2.9 KiB
XML
77 lines
2.9 KiB
XML
<?xml version="1.0"?>
|
|
<!-- $Id$ -->
|
|
<overlay>
|
|
<template id="etemplate.nextmatch_widget.nm_row" template="" lang="" group="0" version="1.3.001">
|
|
<grid width="100%" spacing="0" padding="5">
|
|
<columns>
|
|
<column width="1%"/>
|
|
<column width="1%"/>
|
|
<column width="30%"/>
|
|
<column width="30%"/>
|
|
<column/>
|
|
<column width="15%"/>
|
|
<column width="5%"/>
|
|
<column/>
|
|
<column width="1%"/>
|
|
<column width="1%"/>
|
|
</columns>
|
|
<rows>
|
|
<row class="th">
|
|
<button image="first.gif" ro_image="first-grey.gif" label="First" id="first" statustext="go to the first entry"/>
|
|
<button image="left.gif" ro_image="left-grey.gif" label="Left" id="left" statustext="go to the previous page of entries"/>
|
|
<menulist>
|
|
<menupopup type="select-cat" options="-1,,,$cont[cat_app]" label="Category" id="cat_id" onchange="1" statustext="select a Category"/>
|
|
</menulist>
|
|
<menulist>
|
|
<menupopup label="@filter_label" align="center" id="filter" onchange="@filter_onchange" statustext="@filter_help"/>
|
|
</menulist>
|
|
<menulist>
|
|
<menupopup label="@filter2_label" align="right" id="filter2" onchange="@filter2_onchange" statustext="@filter2_help"/>
|
|
</menulist>
|
|
<textbox align="right" id="search" onchange="1" statustext="a pattern to be searched for"/>
|
|
<button label="Search" id="start_search" statustext="to start the search"/>
|
|
<menulist>
|
|
<menupopup id="num_rows" no_lang="1" onchange="1" statustext="How many entries should the list show"/>
|
|
</menulist>
|
|
<button image="right.gif" ro_image="right-grey.gif" label="Right" id="right" statustext="go to the next page of entries"/>
|
|
<button image="last.gif" ro_image="last-grey.gif" label="Last" id="last" statustext="go to the last entry"/>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
<styles>
|
|
.thinBorder { border: 1px solid black; }
|
|
</styles>
|
|
</template>
|
|
<template id="etemplate.nextmatch_widget" template="" lang="" group="0" version="1.2.001">
|
|
<grid width="100%">
|
|
<columns>
|
|
<column width="35%"/>
|
|
<column/>
|
|
<column width="35%"/>
|
|
</columns>
|
|
<rows>
|
|
<row class="noPrint">
|
|
<template id="@header_left"/>
|
|
<hbox align="center">
|
|
<description value="showing" no_lang="1" id="range"/>
|
|
<description value="of" no_lang="1" id="total"/>
|
|
</hbox>
|
|
<template align="right" id="@header_right"/>
|
|
</row>
|
|
<row class="noPrint">
|
|
<template span="all" align="center" id="etemplate.nextmatch_widget.nm_row"/>
|
|
</row>
|
|
<row>
|
|
<template content="rows" span="all" align="center" id="@template"/>
|
|
</row>
|
|
<row class="noPrint" disabled="!@bottom_too">
|
|
<template content="bottom" span="all" align="center" id="etemplate.nextmatch_widget.nm_row"/>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
<styles>
|
|
.activ_sortcolumn { color: red; font-weight: bold; }
|
|
.inactiv_sortcolumn { color: green; font-weight: normal; }
|
|
</styles>
|
|
</template>
|
|
</overlay> |