]> git.mxchange.org Git - friendica.git/blob - view/theme/frio/templates/js_strings.tpl
Merge remote-tracking branch 'upstream/2023.03-rc' into remove-media
[friendica.git] / view / theme / frio / templates / js_strings.tpl
1
2 {{* Strings which are needed for some js functions (e.g. translation or the interval for page update)
3 They are loaded into the html <head> so that js functions can use them *}}
4 <script type="text/javascript">
5         var updateInterval = {{$update_interval}};
6
7         var localUser = {{if $local_user}}{{$local_user}}{{else}}false{{/if}};
8         var aStr = {
9                 'delitem'      : "{{$delitem|escape:'javascript' nofilter}}",
10                 'blockAuthor'  : "{{$blockAuthor|escape:'javascript' nofilter}}",
11                 'ignoreAuthor' : "{{$ignoreAuthor|escape:'javascript' nofilter}}",
12         };
13         var aActErr = {
14                'like'          : "{{$likeError}}",
15                'dislike'       : "{{$dislikeError}}",
16                'announce'      : "{{$announceError}}",
17         };
18         var aErrType = {
19                'srvErr'        : "{{$srvError}}",
20                'netErr'        : "{{$netError}}",
21         };
22 </script>