Add "Add new button" to Admin ACL index page

This commit is contained in:
Hadi Nategh 2014-04-22 07:58:04 +00:00
parent 801adac6c6
commit a2b7a44b08
2 changed files with 4 additions and 0 deletions

View File

@ -457,6 +457,7 @@ class admin_acl
$GLOBALS['egw_info']['user']['preferences']['admin']['acl_filter']), $GLOBALS['egw_info']['user']['preferences']['admin']['acl_filter']),
'filter2' => !empty($_GET['acl_app']) ? $_GET['acl_app'] : '', 'filter2' => !empty($_GET['acl_app']) ? $_GET['acl_app'] : '',
'lettersearch' => false, 'lettersearch' => false,
'header_row' => 'admin.acl.add',
'order' => 'acl_appname', 'order' => 'acl_appname',
'sort' => 'ASC', 'sort' => 'ASC',
'row_id' => 'id', 'row_id' => 'id',

View File

@ -1,6 +1,9 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!-- $Id$ --> <!-- $Id$ -->
<overlay> <overlay>
<template id="admin.acl.add" template="" lang="" group="0" version="1.9.001">
<buttononly label="Add" id="add" onclick='app.admin.acl({id:"add"},{0:{id:""}})'/>
</template>
<template id="admin.acl.rows" template="" lang="" group="0" version="1.9.001"> <template id="admin.acl.rows" template="" lang="" group="0" version="1.9.001">
<grid width="100%"> <grid width="100%">
<columns> <columns>