Version 5.0.6
This commit is contained in:
1 parent
a3a4a9ccbd
commit
b89858b2ff
1214 files changed
+92828
-14859
No files matched your search
@@ -297,7 +297,7 @@ class Controller extends DispatcherController
|
||||
$this->_titleHtml,
|
||||
$this->_descriptionHtml,
|
||||
$node->canAdd(),
|
||||
( $node instanceof $nodeClass ),
|
||||
$this->_canBeRoot( $node ),
|
||||
$this->_getRowHtml( $node ) . $node->ui( 'rowHtml' ),
|
||||
isset( $node->_lockedLang ) ? $node->_lockedLang : null,
|
||||
isset( $class::$featureColumnName ),
|
||||
@@ -354,6 +354,17 @@ class Controller extends DispatcherController
|
||||
return $rows;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines if the node can be a root-level
|
||||
*
|
||||
* @param Model $node
|
||||
* @return bool
|
||||
*/
|
||||
public function _canBeRoot( Model $node ) : bool
|
||||
{
|
||||
return $node instanceof $this->nodeClass;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add/Edit Form
|
||||
*
|
||||
@@ -1198,7 +1209,7 @@ class Controller extends DispatcherController
|
||||
}
|
||||
catch ( OutOfRangeException $e ) { }
|
||||
|
||||
return Theme::i()->getTemplate( 'global', 'core', 'global' )->titleWithLink( $value, $groupLink, 'all_permissions', Member::loggedIn()->language()->addToStack( "all_permissions_group_hovertitle", FALSE, array( 'sprintf' => [ $value ] ) ) );
|
||||
return Theme::i()->getTemplate( 'global', 'core', 'global' )->titleWithLink( $value, $groupLink, 'all_permissions', Member::loggedIn()->language()->addToStack( "all_permissions_group_hovertitle", FALSE, array( 'htmlsprintf' => [ $value ] ) ) );
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user