3 {{* Strings which are needed for some js functions (e.g. translation or the interval for page update)
4 They are loaded into the html <head> so that js functions can use them *}}
6 var updateInterval = {{$update_interval}};
8 var localUser = {{if $local_user}}{{$local_user}}{{else}}false{{/if}};
10 'delitem' : "{{$delitem}}",
11 'comment' : "{{$comment}}"
14 {{* Create an object with the data which is needed for infinite scroll.
15 For the relevant js part look at function loadContent() in main.js. *}}
16 {{if $infinite_scroll}}
17 var infinite_scroll = {
18 'pageno' : {{$infinite_scroll.pageno}},
19 'reload_uri' : "{{$infinite_scroll.reload_uri}}"