Skip to content

Commit

Permalink
html leabaithe a neodrú
Browse files Browse the repository at this point in the history
  • Loading branch information
michmech committed Dec 22, 2023
1 parent 750f8fd commit f18f942
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion website/views/termbase-admin/editor.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Screenful Editor</title>
<script type="text/javascript">var rootPath="/../../../";</script>
<script type="text/javascript">var metadataType="<%-metadataType%>";</script>
<script type="text/javascript">var termbaseConfigs=<%-JSON.stringify(termbaseConfigs)%>;</script>
<script type="text/javascript">var termbaseConfigs=<%-JSON.stringify(termbaseConfigs).replace(/</g, "&lt;")%>;</script>

<script type="text/javascript" src="../../../libs/jquery.js"></script>
<link type="text/css" rel="stylesheet" href="../../../libs/screenful/screenful-theme-green.css" />
Expand Down
4 changes: 2 additions & 2 deletions website/views/termbase-admin/navigator.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
<script type="text/javascript" src="../../../libs/screenful/screenful-user.js"></script>
<link type="text/css" rel="stylesheet" href="../../../libs/screenful/screenful-user.css" />
<script type="text/javascript">
var termbaseConfigs=<%-JSON.stringify(termbaseConfigs)%>;
var termbaseMetadata=<%-JSON.stringify(termbaseMetadata)%>;
var termbaseConfigs=<%-JSON.stringify(termbaseConfigs).replace(/</g, "&lt;")%>;
var termbaseMetadata=<%-JSON.stringify(termbaseMetadata).replace(/</g, "&lt;")%>;
</script>
<script type="text/javascript">
Screenful.User.loggedin=<%=(user.loggedin ? "true" : "false")%>;
Expand Down
2 changes: 1 addition & 1 deletion website/views/termbase-config/editor.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

<script type="text/javascript">
uilangs=<%-JSON.stringify(uilangs)%>;
var termbaseConfigs=<%-JSON.stringify(termbaseConfigs)%>;
var termbaseConfigs=<%-JSON.stringify(termbaseConfigs).replace(/</g, "&lt;")%>;
var defaultAbc=<%-JSON.stringify(defaultAbc)%>;
var licences=<%-JSON.stringify(licences)%>;
</script>
Expand Down
4 changes: 2 additions & 2 deletions website/views/termbase-edit/navigator.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
<script type="text/javascript" src="../../libs/screenful/screenful-user.js"></script>
<link type="text/css" rel="stylesheet" href="../../libs/screenful/screenful-user.css" />
<script type="text/javascript">
var termbaseConfigs=<%-JSON.stringify(termbaseConfigs)%>;
var termbaseMetadata=<%-JSON.stringify(termbaseMetadata)%>;
var termbaseConfigs=<%-JSON.stringify(termbaseConfigs).replace(/</g, "&lt;")%>;
var termbaseMetadata=<%-JSON.stringify(termbaseMetadata).replace(/</g, "&lt;")%>;
</script>
<script type="text/javascript">
Screenful.User.loggedin=<%=(user.loggedin ? "true" : "false")%>;
Expand Down
4 changes: 2 additions & 2 deletions website/views/xnet/navigator.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
<script type="text/javascript" src="../../libs/screenful/screenful-user.js"></script>
<link type="text/css" rel="stylesheet" href="../../libs/screenful/screenful-user.css" />
<script type="text/javascript">
var termbaseConfigs=<%-JSON.stringify(termbaseConfigs)%>;
var termbaseMetadata=<%-JSON.stringify(termbaseMetadata)%>;
var termbaseConfigs=<%-JSON.stringify(termbaseConfigs).replace(/</g, "&lt;")%>;
var termbaseMetadata=<%-JSON.stringify(termbaseMetadata).replace(/</g, "&lt;")%>;
</script>
<script type="text/javascript">
Screenful.User.loggedin=<%=(user.loggedin ? "true" : "false")%>;
Expand Down

0 comments on commit f18f942

Please sign in to comment.