summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2012-02-13 22:10:56 +0000
committerfisharebest <fisharebest@gmail.com>2012-02-13 22:10:56 +0000
commit1288ac1bb8443130799926f585cec7c2e8e583c3 (patch)
tree872668e5e08c5349b72b53ccc6272eb4b94297d3 /index.php
parentacba7f7113dd313bda0e5c434ba3391bdbe00b24 (diff)
downloadwebtrees-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.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index fddb657345..9eb4a94384 100644
--- a/index.php
+++ b/index.php
@@ -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)."&amp;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)."&amp;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."&amp;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."&amp;ctype=gedcom', '_blank', indx_window_specs);\">".WT_I18N::translate('Change the blocks on this page').'</a>';
echo '</div>';
}
echo '</div>'; // <div id="home-page">