# -- # Copyright (C) 2001-2019 OTRS AG, https://otrs.com/ # -- # This software comes with ABSOLUTELY NO WARRANTY. For details, see # the enclosed file COPYING for license information (GPL). If you # did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt. # --

[% Translate("SQL Box") | html %]

[% BreadcrumbPath = [ { Name => Translate('SQL Box'), }, ] %] [% INCLUDE "Breadcrumb.tt" Path = BreadcrumbPath %]
[% RenderBlockStart("ResultFilter") %]

[% RenderBlockEnd("ResultFilter") %]

[% Translate("Hint") | html %]

[% RenderBlockStart("ExplanationOnlySelect") %]

[% Translate("Here you can enter SQL to send it directly to the application database. It is not possible to change the content of the tables, only select queries are allowed.") | html %]

[% RenderBlockEnd("ExplanationOnlySelect") %] [% RenderBlockStart("ExplanationAllSqlQueries") %]

[% Translate("Here you can enter SQL to send it directly to the application database.") | html %]

[% RenderBlockEnd("ExplanationAllSqlQueries") %]

[% Translate("Options") | html %]

[% Translate("This field is required.") | html %]

[% RenderBlockStart("FieldRequiredServerError") %] [% Translate("This field is required.") | html %] [% RenderBlockEnd("FieldRequiredServerError") %] [% RenderBlockStart("SQLIsNotSelectServerError") %] [% Translate("Only select queries are allowed.") | html %] [% RenderBlockEnd("SQLIsNotSelectServerError") %] [% RenderBlockStart("SQLSyntaxServerError") %] [% Translate("The syntax of your SQL query has a mistake. Please check it.") | html %] [% RenderBlockEnd("SQLSyntaxServerError") %] [% RenderBlockStart("BindParamServerError") %] [% Translate("There is at least one parameter missing for the binding. Please check it.") | html %] [% RenderBlockEnd("BindParamServerError") %]

[% Data.ResultFormatStrg %]
[% RenderBlockStart("Result") %]

[% Translate("%s Results", Data.MatchesFound) | html %]

[% RenderBlockStart("ColumnHead") %] [% RenderBlockEnd("ColumnHead") %] [% RenderBlockStart("NoMatches") %] [% RenderBlockEnd("NoMatches") %] [% RenderBlockStart("NoSelectResult") %] [% RenderBlockEnd("NoSelectResult") %] [% RenderBlockStart("Row") %] [% RenderBlockStart("Cell") %] [% RenderBlockEnd("Cell") %] [% RenderBlockEnd("Row") %]
[% Data.ColumnName | html %]
[% Translate("No matches found.") | html %]
[% Translate("Query is executed.") | html %]
[% Data.Content | truncate(80) | html %]
[% RenderBlockEnd("Result") %]