wiki-archive/twiki/templates/oopslanguagechanged.tmpl

18 lines
837 B
Cheetah
Raw Normal View History

%TMPL:INCLUDE{"twiki"}%
%TMPL:DEF{"titleaction"}% %MAKETEXT{"(change language)"}% %TMPL:END%
%TMPL:DEF{"webaction"}%%TMPL:END%
%TMPL:DEF{"heading"}%%MAKETEXT{"Change language"}%%TMPL:END%
%TMPL:DEF{"topicaction"}% <a name="Actions"> </a><div class="patternTopicAction"><span class="patternActionButtons"> [[%WEB%.%TOPIC%][%MAKETEXT{"OK"}%]]</span></div> %TMPL:END%
%TMPL:DEF{"content"}%
%SESSION_VARIABLE{"LANGUAGE" set="%URLPARAM{language}%"}%
%MAKETEXT{"Your language will be changed to [_1] from the next screen. You will be redirected to there right now. If you aren't, ~[~[[_2]~]~[click here~]~] to proceed." args="*%SESSION_VARIABLE{LANGUAGE}%*, %SCRIPTURLPATH{"view"}%/%WEB%/%TOPIC%"}%
<script type="text/javascript">
window.location.href = '%SCRIPTURLPATH{"view"}%/%WEB%/%TOPIC%';
</script>
%TMPL:P{"topicinfo"}%
%TMPL:END%