mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Add type and comment columns to command log
This commit is contained in:
parent
9f6a7e3187
commit
522b30c62e
@ -50,7 +50,7 @@ class admin_cmds
|
||||
}
|
||||
|
||||
$row['value'] = $cmd->value;
|
||||
|
||||
|
||||
if(method_exists($cmd, 'summary'))
|
||||
{
|
||||
$row['data'] = $cmd->summary();
|
||||
@ -126,11 +126,14 @@ class admin_cmds
|
||||
0 => 'no',
|
||||
1 => 'yes'
|
||||
);
|
||||
$tpl->exec('admin.admin_cmds.index',$content,array(
|
||||
$sel_options = array(
|
||||
'periodic' => $periodic,
|
||||
'status' => admin_cmd::$stati,
|
||||
'remote_id' => admin_cmd::remote_sites(),
|
||||
),array(),$content);
|
||||
'type' => admin_cmd::get_cmd_labels()
|
||||
);
|
||||
|
||||
$tpl->exec('admin.admin_cmds.index',$content,$sel_options,array(),$content);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -15,11 +15,15 @@
|
||||
<column width="30%" minWidth="120"/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row class="th">
|
||||
<nextmatch-header label="Title" id="title"/>
|
||||
<nextmatch-header label="Requested" id="requested"/>
|
||||
<nextmatch-filterheader empty_label="Type" id="type"/>
|
||||
<nextmatch-accountfilter empty_label="Requested" id="requested"/>
|
||||
<nextmatch-header label="Comment" id="comment"/>
|
||||
<nextmatch-sortheader label="Scheduled" id="scheduled"/>
|
||||
<nextmatch-filterheader empty_label="Periodic" id="periodic"/>
|
||||
<nextmatch-filterheader options="Remote" id="remote_id"/>
|
||||
@ -31,7 +35,9 @@
|
||||
</row>
|
||||
<row class="row $row_cont[class]">
|
||||
<description id="${row}[title]" statustext="$row_cont[data]"/>
|
||||
<select id="${row}[type]" readonly="true"/>
|
||||
<url-email id="${row}[requested_email]" readonly="true" statustext="$row_cont[comment]"/>
|
||||
<description id="${row}[comment]"/>
|
||||
<date-time id="${row}[scheduled]" readonly="true"/>
|
||||
<description id="${row}[rrule]"/>
|
||||
<select id="${row}[remote_id]" readonly="true"/>
|
||||
|
Loading…
Reference in New Issue
Block a user