1
0
Fork 0
friendica_2020-09-1_sharedH.../templates/js_strings.tpl

14 lines
400 B
Smarty

{{* Strings which are needed for some js functions (e.g. translation or the interval for page update)
They are loaded into the html <head> so that js functions can use them *}}
<script>
var updateInterval = {{$update_interval}};
var localUser = {{if $local_user}}{{$local_user}}{{else}}false{{/if}};
var aStr = {
'delitem' : "{{$delitem}}",
'comment' : "{{$comment}}"
};
</script>