diff options
| author | fisharebest <fisharebest@gmail.com> | 2012-02-13 22:10:56 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2012-02-13 22:10:56 +0000 |
| commit | 1288ac1bb8443130799926f585cec7c2e8e583c3 (patch) | |
| tree | 872668e5e08c5349b72b53ccc6272eb4b94297d3 /index.php | |
| parent | acba7f7113dd313bda0e5c434ba3391bdbe00b24 (diff) | |
| download | webtrees-1288ac1bb8443130799926f585cec7c2e8e583c3.tar.gz webtrees-1288ac1bb8443130799926f585cec7c2e8e583c3.tar.bz2 webtrees-1288ac1bb8443130799926f585cec7c2e8e583c3.zip | |
Provide better sizes for popup windows.
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -140,12 +140,12 @@ if ($blocks['side']) { // Ensure there is always way to configure the blocks if ($ctype=='user' && !in_array('user_welcome', $blocks['main']) && !in_array('user_welcome', $blocks['side'])) { echo '<div align="center">'; - echo "<a href=\"#\" onclick=\"window.open('index_edit.php?name=".rawurlencode(WT_USER_NAME)."&ctype=user', '_blank', 'top=50,left=10,width=600,height=500,scrollbars=1,resizable=1');\">".WT_I18N::translate('Change the blocks on this page').'</a>'; + echo "<a href=\"#\" onclick=\"window.open('index_edit.php?name=".rawurlencode(WT_USER_NAME)."&ctype=user', '_blank', indx_window_specs);\">".WT_I18N::translate('Change the blocks on this page').'</a>'; echo '</div>'; } if (WT_USER_IS_ADMIN && $ctype=='gedcom' && !in_array('gedcom_block', $blocks['main']) && !in_array('gedcom_block', $blocks['side'])) { echo '<div align="center">'; - echo "<a href=\"#\" onclick=\"window.open('index_edit.php?name=".WT_GEDURL."&ctype=gedcom', '_blank', 'top=50,left=10,width=600,height=500,scrollbars=1,resizable=1');\">".WT_I18N::translate('Change the blocks on this page').'</a>'; + echo "<a href=\"#\" onclick=\"window.open('index_edit.php?name=".WT_GEDURL."&ctype=gedcom', '_blank', indx_window_specs);\">".WT_I18N::translate('Change the blocks on this page').'</a>'; echo '</div>'; } echo '</div>'; // <div id="home-page"> |
