fix problem with custom view style : when user was not able to edit the view, the old style was used.
fix problem with custom view style : when user was not able to edit the view, the old style was used.

centreon/centreon,centreon/centreon,centreon/centreon,centreon/centreon,centreon/centreon,centreon/centreon,centreon/centreon