$attrFormat = isset($options["formats"]["attr"]) ? $options["formats"]["attr"] : null; $leafFormat = $options["formats"]["leaf"]; $actionRename = isset($options["actions"]["rename"]) ? $options["actions"]["rename"] : null; $actionNew = isset($options["actions"]["new"]) ? $options["actions"]["new"] : null; $actionRemove = isset($options["actions"]["remove"]) ? $options["actions"]["remove"] : null; $actionDragNDrop = isset($options["actions"]["dragndrop"]) ? $options["actions"]["dragndrop"] : null; $initJsTree = isset($options["init"]) ? $options["init"]->getRawValue() : array(); $styleMessages = isset($options["styleMessageResultat"]) ? $options["styleMessageResultat"] : 1; $styleMessagesO = isset($options["styleMessageResultatObject"]) ? $options["styleMessageResultatObject"] : ""; $authorizationsRename = isset($options["authorizations"]) && isset($options["authorizations"]["rename"]) ? $options["authorizations"]["rename"]->getRawValue() : array("root", "node", "attr", "leaf"); $authorizationsNew = isset($options["authorizations"]) && isset($options["authorizations"]["new"]) ? $options["authorizations"]["new"]->getRawValue() : array("root", "node", "attr", "leaf"); $authorizationsRemove = isset($options["authorizations"]) && isset($options["authorizations"]["remove"]) ? $options["authorizations"]["remove"]->getRawValue() : array("root", "node", "attr", "leaf"); $authorizationsDragNDrop = isset($options["authorizations"]) && isset($options["authorizations"]["dragndrop"]) ? $options["authorizations"]["dragndrop"]->getRawValue() : array("root", "node", "attr", "leaf"); $authorizedPlugins = array("html_data", "types", "state", "dnd", "contextmenu", "wholerow"); if (count($authorizationsDragNDrop) == 0) { $authorizedPlugins = MyFunction::array_delete($authorizedPlugins, "dnd"); } ?> <div class="container-fluid"> <div class="row"> <div class="col-md-2 cold-md-offset-1 col-xs-2 col-xs-offset-1"> <strong>Tree Legend</strong> </div> <div class="col-md-2 cold-md-offset-1 col-xs-2 col-xs-offset-1"> <img src="<?php echo $rootType["icon"]; ?> " alt="" /> <?php echo ucwords($rootType["name"]);