[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [6971] property: Popup Windows: left & top
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [6971] property: Popup Windows: left & top |
Date: |
Fri, 11 Feb 2011 09:02:28 +0000 |
Revision: 6971
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=6971
Author: sigurdne
Date: 2011-02-11 09:02:27 +0000 (Fri, 11 Feb 2011)
Log Message:
-----------
property: Popup Windows: left & top
Modified Paths:
--------------
trunk/property/inc/class.bolocation.inc.php
trunk/property/inc/class.custom_fields.inc.php
trunk/property/inc/class.uigallery.inc.php
trunk/property/inc/class.uiinvoice.inc.php
trunk/property/inc/class.uirequest.inc.php
trunk/property/inc/class.uiresponsible.inc.php
Modified: trunk/property/inc/class.bolocation.inc.php
===================================================================
--- trunk/property/inc/class.bolocation.inc.php 2011-02-11 08:50:24 UTC (rev
6970)
+++ trunk/property/inc/class.bolocation.inc.php 2011-02-11 09:02:27 UTC (rev
6971)
@@ -332,7 +332,7 @@
'name'
=> 'lookup_loc' . ($i+1) . '()',
'filter_level'
=> $i,
'link'
=> $location_link .',type_id:' . ($i+1) .
',lookup_name:' . $i,
- 'action'
=>
'Window1=window.open(strURL,"Search","width=1000,height=700,toolbar=no,scrollbars=yes,resizable=yes");'
+ 'action'
=>
'Window1=window.open(strURL,"Search","left=50,top=100,width=1000,height=700,toolbar=no,scrollbars=yes,resizable=yes");'
);
}
@@ -340,7 +340,7 @@
{
$location['location'][$i]['lookup_link'] = false;
$lookup_functions[$i]['link']
= $location_link .',type_id:' . ($data['no_link']-1) .
',lookup_name:' . ($data['no_link']-2);
- $lookup_functions[$i]['action']
=
'Window1=window.open(strURL,"Search","width=1000,height=700,toolbar=no,scrollbars=yes,resizable=yes");';
+ $lookup_functions[$i]['action']
=
'Window1=window.open(strURL,"Search","left=50,top=100,width=1000,height=700,toolbar=no,scrollbars=yes,resizable=yes");';
$location['location'][$i]['statustext']
= lang('click this link to select') . ' ' .
$location_types[($data['no_link']-2)]['name'];
}
@@ -427,7 +427,7 @@
'name'
=> 'lookup_loc' . ($m+1) . '()',
'filter_level'
=> $m,
'link'
=> $location_link .',lookup_tenant:1,type_id:'
. $config[$j]['location_type'] . ',lookup_name:' . $i,
- 'action'
=>
'Window1=window.open(strURL,"Search","width=1600,height=700,toolbar=no,scrollbars=yes,resizable=yes");'
+ 'action'
=>
'Window1=window.open(strURL,"Search","left=50,top=100,width=1600,height=700,toolbar=no,scrollbars=yes,resizable=yes");'
);
$location['location'][$i]['lookup_link'] = true;
@@ -497,7 +497,7 @@
(
'name' =>
'lookup_entity_' . $entity['id'] .'()',
'link' =>
"menuaction:'property.uilookup.entity',location_type:{$data['type_id']},entity_id:{$entity['id']},location_code:'{$filter_location}',block_query:'{$block_query}'",
- 'action' =>
'Window1=window.open(strURL,"Search","width=1200,height=700,toolbar=no,scrollbars=yes,resizable=yes");'
+ 'action' =>
'Window1=window.open(strURL,"Search","left=50,top=100,width=1200,height=700,toolbar=no,scrollbars=yes,resizable=yes");'
);
$location['location'][$i]['input_type']
= 'text';
Modified: trunk/property/inc/class.custom_fields.inc.php
===================================================================
--- trunk/property/inc/class.custom_fields.inc.php 2011-02-11 08:50:24 UTC
(rev 6970)
+++ trunk/property/inc/class.custom_fields.inc.php 2011-02-11 09:02:27 UTC
(rev 6971)
@@ -120,7 +120,7 @@
$lookup_link
= $GLOBALS['phpgw']->link('/index.php',array('menuaction'=>
'property.uilookup.addressbook', 'column'=> $attributes['name']));
$lookup_functions[$m]['name'] =
'lookup_'. $attributes['name'] .'()';
- $lookup_functions[$m]['action'] =
'Window1=window.open('."'" . $lookup_link ."'"
.',"Search","width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes");';
+ $lookup_functions[$m]['action'] =
'Window1=window.open('."'" . $lookup_link ."'"
.',"Search","left=50,top=100,width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes");';
$clear_functions[$m]['name'] =
"clear_{$attributes['name']}()";
$confirm_msg = lang('delete') . '?';
@@ -162,7 +162,7 @@
$lookup_link
= $GLOBALS['phpgw']->link('/index.php',array('menuaction'=>
'property.uilookup.organisation', 'column'=> $attributes['name']));
$lookup_functions[$m]['name'] =
'lookup_'. $attributes['name'] .'()';
- $lookup_functions[$m]['action'] =
'Window1=window.open('."'" . $lookup_link ."'"
.',"Search","width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes");';
+ $lookup_functions[$m]['action'] =
'Window1=window.open('."'" . $lookup_link ."'"
.',"Search","left=50,top=100,width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes");';
$m++;
}
else if($attributes['datatype'] == 'VENDOR')
@@ -185,7 +185,7 @@
$lookup_link
= $GLOBALS['phpgw']->link('/index.php',array('menuaction'=>
'property.uilookup.vendor', 'column'=> $attributes['name']));
$lookup_functions[$m]['name'] =
'lookup_'. $attributes['name'] .'()';
- $lookup_functions[$m]['action'] =
'Window1=window.open('."'" . $lookup_link ."'"
.',"Search","width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes");';
+ $lookup_functions[$m]['action'] =
'Window1=window.open('."'" . $lookup_link ."'"
.',"Search","left=50,top=100,width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes");';
$m++;
}
else if($attributes['datatype'] == 'user')
@@ -199,7 +199,7 @@
$lookup_link
= $GLOBALS['phpgw']->link('/index.php',array('menuaction'=>
$this->_appname.'.uilookup.phpgw_user', 'column'=> $attributes['name']));
$lookup_functions[$m]['name'] =
'lookup_'. $attributes['name'] .'()';
- $lookup_functions[$m]['action'] =
'Window1=window.open('."'" . $lookup_link ."'"
.',"Search","width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes");';
+ $lookup_functions[$m]['action'] =
'Window1=window.open('."'" . $lookup_link ."'"
.',"Search","left=50,top=100,width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes");';
$m++;
}
else if($attributes['datatype'] == 'R' ||
$attributes['datatype'] == 'CH' || $attributes['datatype'] == 'LB')
@@ -289,7 +289,7 @@
$lookup_functions[$m]['action'] .=
"oArgs['id'] = document.form.{$attributes['name']}.value;";
$lookup_functions[$m]['action'] .=
"}\n";
$lookup_functions[$m]['action'] .= "var
strURL = phpGWLink('index.php', oArgs);\n";
- $lookup_functions[$m]['action'] .=
'Window1=window.open(strURL,"Search","width=800,height=500,toolbar=no,scrollbars=yes,resizable=yes");';
+ $lookup_functions[$m]['action'] .=
'Window1=window.open(strURL,"Search","left=50,top=100,width=800,height=500,toolbar=no,scrollbars=yes,resizable=yes");';
$m++;
}
else if (isset($entity['attributes'][$i]) &&
$entity['attributes'][$i]['datatype']!='I' &&
$entity['attributes'][$i]['value'])
Modified: trunk/property/inc/class.uigallery.inc.php
===================================================================
--- trunk/property/inc/class.uigallery.inc.php 2011-02-11 08:50:24 UTC (rev
6970)
+++ trunk/property/inc/class.uigallery.inc.php 2011-02-11 09:02:27 UTC (rev
6971)
@@ -336,7 +336,7 @@
'id'
=> 'btn_data_search',
'url'
=> "Javascript:window.open('".$GLOBALS['phpgw']->link('/index.php',
array(
-
'menuaction' =>
'property.uiproject.date_search'))."','','width=350,height=250')",
+
'menuaction' =>
'property.uiproject.date_search'))."','','left=50,top=100,width=350,height=250')",
'value' => lang('Date search'),
'tab_index' => 6
),
Modified: trunk/property/inc/class.uiinvoice.inc.php
===================================================================
--- trunk/property/inc/class.uiinvoice.inc.php 2011-02-11 08:50:24 UTC (rev
6970)
+++ trunk/property/inc/class.uiinvoice.inc.php 2011-02-11 09:02:27 UTC (rev
6971)
@@ -463,7 +463,7 @@
array
(
'menuaction' => 'property.uilookup.vendor',
-
))."','Search','width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes')",
+
))."','Search','left=50,top=100,width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes')",
'value' =>
lang('Vendor'),
'tab_index' =>
7,
'style' =>
'filter'
@@ -498,7 +498,7 @@
'lookup' => 1,
'type_id' => 1,
'lookup_name' => 0,
-
))."','Search','width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes')",
+
))."','Search','left=50,top=100,width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes')",
'value' =>
lang('property'),
'tab_index' =>
9,
'style' =>
'filter'
@@ -2132,7 +2132,7 @@
array
(
'menuaction' =>
'property.uilookup.vendor',
-
))."','Search','width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes')",
+
))."','Search','left=50,top=100,width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes')",
'value' =>
lang('Vendor'),
'tab_index' => 7,
'style' =>
'filter'
@@ -2168,7 +2168,7 @@
'lookup'
=> 1,
'type_id'
=> 1,
'lookup_name'
=> 0,
-
))."','Search','width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes')",
+
))."','Search','left=50,top=100,width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes')",
'value' =>
lang('property'),
'tab_index' => 9,
'style' => 'filter'
Modified: trunk/property/inc/class.uirequest.inc.php
===================================================================
--- trunk/property/inc/class.uirequest.inc.php 2011-02-11 08:50:24 UTC (rev
6970)
+++ trunk/property/inc/class.uirequest.inc.php 2011-02-11 09:02:27 UTC (rev
6971)
@@ -312,7 +312,7 @@
'url'
=> "Javascript:window.open('".$GLOBALS['phpgw']->link('/index.php',
array
(
-
'menuaction' =>
'property.uirequest.priority_key'))."','','width=350,height=250')",
+
'menuaction' =>
'property.uirequest.priority_key'))."','','left=50,top=100,width=350,height=250')",
'value' => lang('Priority key'),
'tab_index' => 4
)
Modified: trunk/property/inc/class.uiresponsible.inc.php
===================================================================
--- trunk/property/inc/class.uiresponsible.inc.php 2011-02-11 08:50:24 UTC
(rev 6970)
+++ trunk/property/inc/class.uiresponsible.inc.php 2011-02-11 09:02:27 UTC
(rev 6971)
@@ -1135,7 +1135,7 @@
. "{\r\n"
. ' var oArgs = {' . $lookup_link_contact .
"};\n"
. " var strURL = phpGWLink('index.php',
oArgs);\n"
- . '
Window1=window.open(strURL,"Search","width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes");'
. "\r\n"
+ . '
Window1=window.open(strURL,"Search","left=50,top=100,width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes");'
. "\r\n"
. '}'."\r\n"
// . 'function
lookup_responsibility()' ."\r\n"
// . "{\r\n"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [6971] property: Popup Windows: left & top,
Sigurd Nes <=