mirror of
https://gitlab.com/octtspacc/OcttKB
synced 2025-06-06 00:29:12 +02:00
OcttKB Cross-Repo Sync (HTML to Raw)
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
created: 20231105210128175
|
||||
creator: Octt
|
||||
list-after: $:/core/ui/ViewTemplate/tags
|
||||
modified: 20231105234639368
|
||||
modified: 20231107223701057
|
||||
modifier: Octt
|
||||
tags: $:/tags/ViewTemplate
|
||||
title: $:/Styles/View/i18n
|
||||
@ -16,6 +16,7 @@ title: $:/Styles/View/i18n
|
||||
this.parentDomNode.innerHTML += '[' + (TidLangKnown ? TidLangKnown : '?') + '] ';
|
||||
var input = document.createElement('input');
|
||||
input.type = 'text';
|
||||
input.style['max-width'] = '4em';
|
||||
input.value = (window['OcttKB-i18n-current'] ? window['OcttKB-i18n-current'] : 'it');
|
||||
input.onchange = function(){ window['OcttKB-i18n-current'] = input.value };
|
||||
this.parentDomNode.appendChild(input);
|
||||
@ -60,6 +61,6 @@ title: $:/Styles/View/i18n
|
||||
">><<script off>>
|
||||
\end
|
||||
|
||||
<div class="OcttKB-i18n">
|
||||
<div class="OcttKB-i18n" style="font-size: initial;">
|
||||
<<OcttKB-i18n>>
|
||||
</div>
|
Reference in New Issue
Block a user