Profile_User::showRelationMassiveActionsSubForm PHP Method

showRelationMassiveActionsSubForm() static public method

See also: CommonDBRelation::showRelationMassiveActionsSubForm()
static public showRelationMassiveActionsSubForm ( MassiveAction $ma, $peer_number )
$ma MassiveAction
    static function showRelationMassiveActionsSubForm(MassiveAction $ma, $peer_number)
    {
        if ($ma->getAction() == 'add' && $peer_number == 2) {
            echo "<br><br>" . sprintf(__('%1$s: %2$s'), _n('Entity', 'Entities', 1), '');
            Entity::dropdown(array('entity' => $_SESSION['glpiactiveentities']));
            echo "<br><br>" . sprintf(__('%1$s: %2$s'), __('Recursive'), '');
            Html::showCheckbox(array('name' => 'is_recursive'));
        }
    }