Issue 0000624: Enhanced Links Menu
Add name and features options when new_window is true. (To display a popup for example) git-svn-id: http://piwigo.org/svn/trunk@1743 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
ee5dbaefbb
commit
767064c9fe
3 changed files with 20 additions and 2 deletions
|
|
@ -76,7 +76,13 @@ foreach ($conf['links'] as $url => $url_data)
|
|||
);
|
||||
if (!isset($url_data['new_window']) or $url_data['new_window'])
|
||||
{
|
||||
$template->assign_block_vars('links.link.new_window', array('1'=>'1'));
|
||||
$template->assign_block_vars(
|
||||
'links.link.new_window',
|
||||
array(
|
||||
'name' => (isset($url_data['nw_name']) ? $url_data['nw_name'] : ''),
|
||||
'features' => (isset($url_data['nw_features']) ? $url_data['nw_features'] : '')
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue