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 *}}
5 <script type="text/javascript">
6 var updateInterval = {{$update_interval}};
8 var localUser = {{if $local_user}}{{$local_user}}{{else}}false{{/if}};
10 'delitem' : "{{$delitem}}",
13 {{* Create an object with the data which is needed for infinite scroll.
14 For the relevant js part look at function loadContent() in main.js. *}}
15 {{if $infinite_scroll}}
16 var infinite_scroll = {
17 'pageno' : {{$infinite_scroll.pageno}},
18 'reload_uri' : "{{$infinite_scroll.reload_uri}}"