# -- # 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. # -- ## nofilter(TidyAll::Plugin::OTRS::TT::ScriptUsage)

[% Config("FAQ::FAQHook") %]: [% Data.Number %] [% Data.Title | html %]

[% Translate("FAQ Information") | html %]

[% Translate(Data.CategoryName) | html %]

[% RenderBlockStart("Keywords") %] [% Data.Keyword | html %] [% RenderBlockEnd("Keywords") %]

[% Translate(Data.State) | html %]

[% Translate(Data.Valid, "25") | html %]

[% RenderBlockStart("Language") %]

[% Translate(Data.Language) | html %]

[% RenderBlockEnd("Language") %] [% RenderBlockStart("ViewApproval") %]

[% Translate(Data.Approval) | html %]

[% RenderBlockEnd("ViewApproval") %] [% RenderBlockStart("ViewRating") %]
[% RenderBlockStart("RateStars") %]
[% RenderBlockEnd("RateStars") %] [% RenderBlockStart("RateStarsCount") %]
[% Data.Stars | html %] [% Translate("out of 5") | html %]
[% RenderBlockEnd("RateStarsCount") %]
[% RenderBlockEnd("ViewRating") %] [% RenderBlockStart("ViewVotes") %]

[% Data.Votes | html %]

[% RenderBlockEnd("ViewVotes") %] [% RenderBlockStart("ViewNoVotes") %]

[% Translate("No votes found! Be the first one to rate this FAQ article.") | html %]

[% RenderBlockEnd("ViewNoVotes") %]

[% Data.Created | Localize("TimeShort") %] ([% Data.CreatedByLogin | html %])

[% Data.Changed | Localize("TimeShort") %] ([% Data.CreatedByLogin | html %])

[% RenderBlockStart("FAQContent") %]

[% Translate(Data.Caption) | html %]

[% RenderBlockStart("FAQContentHTML") %] # execute IFrame JS asynchronously. Otherwise it could happen before our API was loaded # the following JS code must be within the template, otherwise it could happen, that also this code itself is not loaded yet
# Use the HTML5 sandbox attribute to prevent plugins and scripts from being executed in the browser. # Append session info to URL because IE will not send cookies. # Set 'allow-popups' to allow IE10+ to open links. ref: http://www.w3.org/html/wg/wiki/ChangeProposals/sandbox_allow_popups
[% RenderBlockEnd("FAQContentHTML") %] [% RenderBlockStart("FAQContentPlain") %]
[% Data.Content %]
[% RenderBlockEnd("FAQContentPlain") %]
[% RenderBlockEnd("FAQContent") %]
[% RenderBlockStart("UpdateArticleSubject") %] [% RenderBlockEnd("UpdateArticleSubject") %] [% RenderBlockStart("InsertText") %] [% RenderBlockEnd("InsertText") %] [% RenderBlockStart("InsertFull") %] [% RenderBlockEnd("InsertFull") %] [% RenderBlockStart("InsertLink") %] [% RenderBlockEnd("InsertLink") %] [% RenderBlockStart("InsertTextAndLink") %] [% RenderBlockEnd("InsertTextAndLink") %] [% RenderBlockStart("InsertFullAndLink") %] [% RenderBlockEnd("InsertFullAndLink") %] [% RenderBlockStart("Or") %] [% Translate("or") | html %] [% RenderBlockEnd("Or") %] [% Translate("Cancel & close") | html %]