Optimize window size of registered popups in appregistry

This commit is contained in:
Hadi Nategh 2016-05-06 15:12:27 +00:00
parent 8708d598ff
commit c558d1667d
5 changed files with 15 additions and 15 deletions

View File

@ -60,7 +60,7 @@ class addressbook_hooks
),
'Advanced search' => "javascript:egw_openWindowCentered2('".
Egw::link('/index.php',array('menuaction' => 'addressbook.addressbook_ui.search'),false).
"','_blank',870,480,'yes')",
"','_blank',870,610,'yes')",
'Placeholders' => Egw::link('/index.php','menuaction=api.EGroupware\\Api\\Contacts\\Merge.show_replacements')
);
display_sidebox($appname,lang('Addressbook menu'),$file);
@ -342,13 +342,13 @@ class addressbook_hooks
'menuaction' => 'addressbook.addressbook_ui.edit'
),
'edit_id' => 'contact_id',
'edit_popup' => '859x550',
'edit_popup' => '870x610',
'add' => array(
'menuaction' => 'addressbook.addressbook_ui.edit'
),
'add_app' => 'link_app',
'add_id' => 'link_id',
'add_popup' => '859x550',
'add_popup' => '870x610',
'file_access_user' => true, // file_access supports 4th parameter $user
'file_access'=> 'api.EGroupware\\Api\\Contacts.file_access',
'default_types' => array('n' => array('name' => 'contact', 'options' => array('icon' => 'navbar.png','template' => 'addressbook.edit'))),

View File

@ -170,10 +170,10 @@
</grid>
</template>
<template id="addressbook.index.left" template="" lang="" group="0" version="1.7.001">
<buttononly align="right" statustext="Add a new contact" id="add" onclick="egw(window).openPopup(egw::link('/index.php','menuaction=addressbook.addressbook_ui.edit'),'850','440','_blank','addressbook',null,true); return false;"/>
<buttononly align="right" statustext="Add a new contact" id="add" onclick="egw(window).openPopup(egw::link('/index.php','menuaction=addressbook.addressbook_ui.edit'),'870','610','_blank','addressbook',null,true); return false;"/>
</template>
<template id="addressbook.index.row" template="" lang="" group="0" version="1.3.001">
<buttononly align="right" statustext="Advanced search" image="advanced-search" background_image="1" id="advanced-search" onclick="egw(window).openPopup(egw::link('/index.php','menuaction=addressbook.addressbook_ui.search'),'850','440','_blank','addressbook',null,true); return false;"/>
<buttononly align="right" statustext="Advanced search" image="advanced-search" background_image="1" id="advanced-search" onclick="egw(window).openPopup(egw::link('/index.php','menuaction=addressbook.addressbook_ui.search'),'870','610','_blank','addressbook',null,true); return false;"/>
<select statustext="Select a view" id="org_view" no_lang="1" rows="1" empty_label="All contacts"/>
</template>
<template id="addressbook.index.right" template="" lang="" group="0" version="1.7.001">

View File

@ -36,8 +36,8 @@ class calendar_hooks
'menuaction' => 'calendar.calendar_uiforms.edit',
),
'view_id' => 'cal_id',
'view_popup' => '790x400',
'edit_popup' => '790x400',
'view_popup' => '850x590',
'edit_popup' => '850x590',
'list' => array(
'menuaction' => 'calendar.calendar_uiviews.index',
'view' => 'listview',
@ -48,7 +48,7 @@ class calendar_hooks
),
'add_app' => 'link_app',
'add_id' => 'link_id',
'add_popup' => '790x400',
'add_popup' => '850x590',
'file_access' => 'calendar.calendar_bo.file_access',
'file_access_user' => true, // file_access supports 4th parameter $user
'mime' => array(
@ -56,7 +56,7 @@ class calendar_hooks
'menuaction' => 'calendar.calendar_uiforms.edit',
'mime_data' => 'ical_data',
'mime_url' => 'ical_url',
'mime_popup' => '790x400',
'mime_popup' => '850x590',
'mime_target' => '_blank'
),
),

View File

@ -53,7 +53,7 @@ class infolog_hooks
'menuaction' => 'infolog.infolog_ui.edit',
),
'view_id' => 'info_id',
'view_popup' => '750x580',
'view_popup' => '760x570',
'list' => array(
'menuaction' => 'infolog.infolog_ui.index',
'ajax' => 'true'
@ -64,14 +64,14 @@ class infolog_hooks
),
'add_app' => 'action',
'add_id' => 'action_id',
'add_popup' => '750x550',
'add_popup' => '760x570',
'file_access'=> 'infolog.infolog_bo.file_access',
'file_access_user' => true, // file_access supports 4th parameter $user
'edit' => array(
'menuaction' => 'infolog.infolog_ui.edit',
),
'edit_id' => 'info_id',
'edit_popup' => '750x580',
'edit_popup' => '760x570',
'merge' => true,
);
}

View File

@ -52,8 +52,8 @@ class timesheet_hooks
'menuaction' => TIMESHEET_APP.'.timesheet_ui.edit',
),
'view_id' => 'ts_id',
'view_popup' => '600x425',
'edit_popup' => '600x425',
'view_popup' => '630x480',
'edit_popup' => '630x480',
'index' => array(
'menuaction' => 'timesheet.timesheet_ui.index',
),
@ -62,7 +62,7 @@ class timesheet_hooks
),
'add_app' => 'link_app',
'add_id' => 'link_id',
'add_popup' => '600x425',
'add_popup' => '630x480',
'file_access'=> TIMESHEET_APP.'.timesheet_bo.file_access',
'file_access_user' => true, // file_access supports 4th parameter $user
'notify' => TIMESHEET_APP.'.timesheet_bo.notify',