mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-17 04:00:45 +01:00
8c6cb48d85
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.
98 lines
3.4 KiB
XML
98 lines
3.4 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.3.001">
|
|
<grid width="100%">
|
|
<columns>
|
|
<column width="35%"/>
|
|
<column/>
|
|
<column width="35%"/>
|
|
</columns>
|
|
<rows>
|
|
<row class="noPrint">
|
|
<template id="@header_left"/>
|
|
<hbox align="center" class="nextmatch-range">
|
|
<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 class="noPrint" disabled="!@lettersearch">
|
|
<hbox span="all" id="lettersearch">
|
|
<description value="All" align="right" id="all" needed="1" class="lettersearch_active"/>
|
|
</hbox>
|
|
</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 { font-weight: bold; }
|
|
.inactiv_sortcolumn { font-weight: normal; }
|
|
.lettersearch,.lettersearch_active {
|
|
background-color: #D3DCE3;
|
|
width: 25px;
|
|
border: 1px solid #D3DCE3;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
}
|
|
.lettersearch_active {
|
|
font-weight: bold;
|
|
background-color: #E8F0F0;
|
|
}
|
|
.lettersearch_active,.lettersearch:hover {
|
|
border: 1px solid black;
|
|
background-color: #E8F0F0;
|
|
}
|
|
|
|
</styles>
|
|
</template>
|
|
</overlay> |