forked from extern/egroupware
Fix resources show rghit header template
This commit is contained in:
parent
f8679b86ba
commit
0756463e96
@ -106,7 +106,6 @@ class resources_ui
|
|||||||
$content = array();
|
$content = array();
|
||||||
$content['msg'] = $msg ? $msg : $_GET['msg'];
|
$content['msg'] = $msg ? $msg : $_GET['msg'];
|
||||||
|
|
||||||
$content['nm']['header_left'] = 'resources.resource_select.header';
|
|
||||||
$content['nm']['header_right'] = 'resources.show.nm_right';
|
$content['nm']['header_right'] = 'resources.show.nm_right';
|
||||||
$content['nm']['get_rows'] = 'resources.resources_bo.get_rows';
|
$content['nm']['get_rows'] = 'resources.resources_bo.get_rows';
|
||||||
$content['nm']['no_filter'] = False;
|
$content['nm']['no_filter'] = False;
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
<columns>
|
<columns>
|
||||||
<column/>
|
<column/>
|
||||||
<column/>
|
<column/>
|
||||||
<column width="3%"/>
|
|
||||||
<column/>
|
<column/>
|
||||||
<column/>
|
<column/>
|
||||||
<column/>
|
<column/>
|
||||||
@ -26,7 +25,7 @@
|
|||||||
<column width="5%"/>
|
<column width="5%"/>
|
||||||
</columns>
|
</columns>
|
||||||
<rows>
|
<rows>
|
||||||
<row class="nmh">
|
<row class="th">
|
||||||
<description/>
|
<description/>
|
||||||
<vbox>
|
<vbox>
|
||||||
<nextmatch-sortheader label="Name" id="name"/>
|
<nextmatch-sortheader label="Name" id="name"/>
|
||||||
@ -46,13 +45,8 @@
|
|||||||
</vbox>
|
</vbox>
|
||||||
<nextmatch-header label="Resource / Accessories"/>
|
<nextmatch-header label="Resource / Accessories"/>
|
||||||
<nextmatch-customfields id="customfields"/>
|
<nextmatch-customfields id="customfields"/>
|
||||||
<hbox align="right">
|
|
||||||
<description/>
|
|
||||||
<description needed="1"/>
|
|
||||||
<button align="right" statustext="Check all" label="Check all" id="check_all" needed="1" onclick="toggle_all(this.form,form::name('nm[rows][checkbox][]'),true); return false;" image="check.png"/>
|
|
||||||
</hbox>
|
|
||||||
</row>
|
</row>
|
||||||
<row class="nmr $row_cont[class]" valign="top">
|
<row class="$row_cont[class]" valign="top">
|
||||||
<button align="center" id="${row}[picture_thumb]" onclick="if('${row}[picture_src]}' == 'own_src') {egw.open('/apps/resources/${row_cont[res_id]}/.picture.jpg','file');} return false;" image="${row}[picture_thumb]" class="thumb"/>
|
<button align="center" id="${row}[picture_thumb]" onclick="if('${row}[picture_src]}' == 'own_src') {egw.open('/apps/resources/${row_cont[res_id]}/.picture.jpg','file');} return false;" image="${row}[picture_thumb]" class="thumb"/>
|
||||||
<vbox>
|
<vbox>
|
||||||
<description id="${row}[name]" no_lang="1"/>
|
<description id="${row}[name]" no_lang="1"/>
|
||||||
@ -75,7 +69,7 @@
|
|||||||
<description id="${row}[storage_info]" no_lang="1"/>
|
<description id="${row}[storage_info]" no_lang="1"/>
|
||||||
</vbox>
|
</vbox>
|
||||||
<vbox no_lang="1">
|
<vbox no_lang="1">
|
||||||
<description id="${row}[accessory_of_label]" no_lang="1" href="resources.resources_ui.edit&res_id=$row_cont[accessory_of]" extra_link_popup="850x600"/>
|
<description extra_link_popup="850x600" href="resources.resources_ui.edit&res_id=$row_cont[accessory_of]" id="${row}[accessory_of_label]" no_lang="1"/>
|
||||||
<grid width="100%" id="${row}[accessories]">
|
<grid width="100%" id="${row}[accessories]">
|
||||||
<columns>
|
<columns>
|
||||||
<column/>
|
<column/>
|
||||||
@ -101,9 +95,6 @@
|
|||||||
<row disabled="!@msg">
|
<row disabled="!@msg">
|
||||||
<description align="center" id="msg" span="all" class="message"/>
|
<description align="center" id="msg" span="all" class="message"/>
|
||||||
</row>
|
</row>
|
||||||
<row disabled="1">
|
|
||||||
<template align="right" id="nm_right"/>
|
|
||||||
</row>
|
|
||||||
<row>
|
<row>
|
||||||
<nextmatch id="nm" no_lang="1" template="resources.show.rows"/>
|
<nextmatch id="nm" no_lang="1" template="resources.show.rows"/>
|
||||||
</row>
|
</row>
|
||||||
@ -113,7 +104,7 @@
|
|||||||
</hbox>
|
</hbox>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<box class="action_popup prompt" id="delete_popup">
|
<box id="delete_popup" class="action_popup prompt">
|
||||||
<vbox class="prompt">
|
<vbox class="prompt">
|
||||||
<description value="Delete" class="promptheader"/>
|
<description value="Delete" class="promptheader"/>
|
||||||
<description value="Delete accessories of selected resources too?"/>
|
<description value="Delete accessories of selected resources too?"/>
|
||||||
@ -126,7 +117,7 @@
|
|||||||
</box>
|
</box>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<box class="action_popup prompt" id="restore_popup">
|
<box id="restore_popup" class="action_popup prompt">
|
||||||
<vbox class="prompt">
|
<vbox class="prompt">
|
||||||
<description value="Un-delete" class="promptheader"/>
|
<description value="Un-delete" class="promptheader"/>
|
||||||
<description value="Un-delete accessories of selected resources too?"/>
|
<description value="Un-delete accessories of selected resources too?"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user