forked from extern/egroupware
Revert db10b21fa7
This commit is contained in:
parent
2ebb9ec1e5
commit
8b1a8d38f5
@ -843,10 +843,7 @@ class Nextmatch extends Etemplate\Widget
|
|||||||
'caption' => 'More',
|
'caption' => 'More',
|
||||||
'prefix' => $prefix,
|
'prefix' => $prefix,
|
||||||
// display rest of actions incl. current one as children
|
// display rest of actions incl. current one as children
|
||||||
'children' => self::egw_actions(
|
'children' => array_slice($actions, $max_length-1, count($actions)-$max_length+1, true),
|
||||||
array_slice($actions, $max_length-1, count($actions)-$max_length+1, true),
|
|
||||||
$template_name, $prefix, $action_links, $max_length,$default_attrs
|
|
||||||
)
|
|
||||||
);
|
);
|
||||||
//echo "*** Inserting id=$prefix$id"; _debug_array($action);
|
//echo "*** Inserting id=$prefix$id"; _debug_array($action);
|
||||||
// we break at end of foreach loop, as rest of actions is already dealt with
|
// we break at end of foreach loop, as rest of actions is already dealt with
|
||||||
@ -878,10 +875,7 @@ class Nextmatch extends Etemplate\Widget
|
|||||||
// link or popup action
|
// link or popup action
|
||||||
if ($action['url'])
|
if ($action['url'])
|
||||||
{
|
{
|
||||||
if(strpos($action['url'], 'http') === false)
|
$action['url'] = Api\Framework::link('/index.php',str_replace('$action',$id,$action['url']));
|
||||||
{
|
|
||||||
$action['url'] = Api\Framework::link('/index.php',str_replace('$action',$id,$action['url']));
|
|
||||||
}
|
|
||||||
if ($action['popup'])
|
if ($action['popup'])
|
||||||
{
|
{
|
||||||
list($action['data']['width'],$action['data']['height']) = explode('x',$action['popup']);
|
list($action['data']['width'],$action['data']['height']) = explode('x',$action['popup']);
|
||||||
|
Loading…
Reference in New Issue
Block a user