Author: hnategh
New Revision: 56075
URL: http://svn.stylite.de/viewvc/egroupware?rev=56075&view=rev
Log:
Optimize window size of registered popups in appregistry
Modified:
trunk/addressbook/inc/class.addressbook_hooks.inc.php
trunk/addressbook/templates/default/index.xet
trunk/calendar/inc/class.calendar_hooks.inc.php
trunk/infolog/inc/class.infolog_hooks.inc.php
trunk/timesheet/inc/class.timesheet_hooks.inc.php
trunk/tracker/inc/class.tracker_hooks.inc.php
trunk/tracker/templates/default/index.xet
— trunk/addressbook/inc/class.addressbook_hooks.inc.php (original)
+++ trunk/addressbook/inc/class.addressbook_hooks.inc.php Fri May 6 17:12:27 2016
@@ -60,7 +60,7 @@
),
‘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 @@
‘menuaction’ => ‘addressbook.addressbook_ui.edit’
),
‘edit_id’ => ‘contact_id’,
-
'edit_popup' => '870x610',
'add' => array(
'menuaction' => 'addressbook.addressbook_ui.edit'
),
'add_app' => 'link_app',
'add_id' => 'link_id',
-
'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'))),
— trunk/addressbook/templates/default/index.xet (original)
+++ trunk/addressbook/templates/default/index.xet Fri May 6 17:12:27 2016
@@ -170,10 +170,10 @@
-
<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;"/>
-
<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"/>
— trunk/calendar/inc/class.calendar_hooks.inc.php (original)
+++ trunk/calendar/inc/class.calendar_hooks.inc.php Fri May 6 17:12:27 2016
@@ -36,8 +36,8 @@
‘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 @@
),
‘add_app’ => ‘link_app’,
‘add_id’ => ‘link_id’,
-
'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 @@
‘menuaction’ => ‘calendar.calendar_uiforms.edit’,
‘mime_data’ => ‘ical_data’,
‘mime_url’ => ‘ical_url’,
— trunk/infolog/inc/class.infolog_hooks.inc.php (original)
+++ trunk/infolog/inc/class.infolog_hooks.inc.php Fri May 6 17:12:27 2016
@@ -53,7 +53,7 @@
‘menuaction’ => ‘infolog.infolog_ui.edit’,
),
‘view_id’ => ‘info_id’,
@@ -64,14 +64,14 @@
),
‘add_app’ => ‘action’,
‘add_id’ => ‘action_id’,
-
'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',
— trunk/timesheet/inc/class.timesheet_hooks.inc.php (original)
+++ trunk/timesheet/inc/class.timesheet_hooks.inc.php Fri May 6 17:12:27 2016
@@ -52,8 +52,8 @@
‘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 @@
),
‘add_app’ => ‘link_app’,
‘add_id’ => ‘link_id’,
-
'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',
— trunk/tracker/inc/class.tracker_hooks.inc.php (original)
+++ trunk/tracker/inc/class.tracker_hooks.inc.php Fri May 6 17:12:27 2016
@@ -36,14 +36,14 @@
‘menuaction’ => ‘tracker.tracker_ui.edit’,
),
‘view_id’ => ‘tr_id’,
-
'view_popup' => '760x580',
'view_list' => 'tracker.tracker_ui.index',
'add' => array(
'menuaction' => 'tracker.tracker_ui.edit',
),
'add_app' => 'link_app',
'add_id' => 'link_id',
-
'add_popup' => '760x580',
'file_access' => 'tracker.tracker_bo.file_access',
'file_access_user' => true, // file_access supports 4th parameter $user
'merge' => true,
@@ -338,7 +338,7 @@
}
}
}
- /**
- Mail integration hook to import mail message contents into a tracker entry
-
— trunk/tracker/templates/default/index.xet (original)
+++ trunk/tracker/templates/default/index.xet Fri May 6 17:12:27 2016
@@ -153,7 +153,7 @@
-
<button label="Add" id="add" onclick="window.open(egw::link('/index.php','menuaction=tracker.tracker_ui.edit&tracker={$cont[nm][col_filter][tr_tracker]}'),'_blank','dependent=yes,width=700,height=480,scrollbars=yes,status=yes'); return false;"/>
-
<button label="Add" id="add" onclick="window.open(egw::link('/index.php','menuaction=tracker.tracker_ui.edit&tracker={$cont[nm][col_filter][tr_tracker]}'),'_blank','dependent=yes,width=760,height=560,scrollbars=yes,status=yes'); return false;"/>
<hbox align="right">
<button label="Select action" onclick="if (!egw_globalObjectManager.getObjectById('tracker.index.rows').executeActionImplementation(this, 'popup')) alert(egw::lang('You need to select some entries first!')); return false;;"/>
<button statustext="Check all" label="Check all" id="check_all" needed="1" onclick="egw_globalObjectManager.getObjectById('tracker.index.rows').toggleAllSelected(); return false;" image="arrow_ltr" class="checkAllArrow"/>
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs