aboutsummaryrefslogtreecommitdiffstats
path: root/include/menubar.inc.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-01-18 22:01:28 +0000
committerrub <rub@piwigo.org>2007-01-18 22:01:28 +0000
commit6381378a8fe8fc260344e93fd24a833aaaa656d0 (patch)
tree81278981ee0baa667d3367cf28c6f24f3b7110b0 /include/menubar.inc.php
parentb6e43df29cdd720ad26477e3df8f35b009098c67 (diff)
Issue 0000624: Enhanced Links Menu
Change default value. By default, a link will be opened on new tab/window. git-svn-id: http://piwigo.org/svn/trunk@1736 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/menubar.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/menubar.inc.php b/include/menubar.inc.php
index 0fcaf1cbc..26e24df16 100644
--- a/include/menubar.inc.php
+++ b/include/menubar.inc.php
@@ -74,7 +74,7 @@ foreach ($conf['links'] as $url => $url_data)
'LABEL' => $url_data['label']
)
);
- if (isset($url_data['new_window']) and $url_data['new_window'])
+ if (!isset($url_data['new_window']) or $url_data['new_window'])
{
$template->assign_block_vars('links.link.new_window', array('1'=>'1'));
}