diff --git a/sources/Forms/FormsException.php b/sources/Forms/FormsException.php index 29cb883e1..9b756bf5d 100644 --- a/sources/Forms/FormsException.php +++ b/sources/Forms/FormsException.php @@ -14,7 +14,7 @@ class FormsException extends Exception { public function __construct(string $message = '', int $code = 0, ?Throwable $previous = null, array $aContext = []) { - IssueLog::Exception(get_class($this).' occurs', $this, null, $aContext); parent::__construct($message, $code, $previous); + IssueLog::Exception(get_class($this).' occurs', $this, null, $aContext); } } \ No newline at end of file diff --git a/templates/application/forms/itop_debug.html.twig b/templates/application/forms/itop_debug.html.twig index 96c0dd7ed..9bf30b874 100644 --- a/templates/application/forms/itop_debug.html.twig +++ b/templates/application/forms/itop_debug.html.twig @@ -1,11 +1,13 @@ {# @copyright Copyright (C) 2010-2025 Combodo SARL #} {# @license http://opensource.org/licenses/AGPL-3.0 #} -{% if aProfilesInfo is not empty %} - {% UIPanel Neutral { sTitle:'Debug' } %} - {% for aProfileInfo in aProfilesInfo %} - {% set aProfileData = aProfileInfo.aProfileData %} - {{ include(aProfileInfo.sTemplate) }} - {% endfor %} - {% EndUIPanel %} -{% endif %} \ No newline at end of file +{% UIContentBlock Standard { sId:"turbo_itop_profiler", aContainerClasses:['ibo-turbo-itop'] } %} + {% if aProfilesInfo is not empty %} + {% UIPanel Neutral { sTitle:'Debug' } %} + {% for aProfileInfo in aProfilesInfo %} + {% set aProfileData = aProfileInfo.aProfileData %} + {{ include(aProfileInfo.sTemplate) }} + {% endfor %} + {% EndUIPanel %} + {% endif %} +{% EndUIContentBlock %} \ No newline at end of file diff --git a/templates/application/forms/itop_error.html.twig b/templates/application/forms/itop_error.html.twig index 3d02fac19..3ab35c138 100644 --- a/templates/application/forms/itop_error.html.twig +++ b/templates/application/forms/itop_error.html.twig @@ -1,7 +1,7 @@ {# @copyright Copyright (C) 2010-2025 Combodo SARL #} {# @license http://opensource.org/licenses/AGPL-3.0 #} -{% UIContentBlock Standard { sId:"turbo_itop_error" } %} +{% UIContentBlock Standard { sId:"turbo_itop_error", aContainerClasses:['ibo-turbo-itop'] } %} {% if sControllerError %} {% UIAlert ForDanger { sTitle:'', sContent:sControllerError } %}{% EndUIAlert %} {% endif %}