]> git.mxchange.org Git - friendica.git/blob - view/theme/frio/templates/js_strings.tpl
Move mod/fbrowser to src\Modules\Attachment|Photos\Browser
[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 localNickname = {{if $local_nickname}}"{{$local_nickname|escape:'javascript' nofilter}}"{{else}}false{{/if}};
9         var aStr = {
10                 'delitem'     : "{{$delitem|escape:'javascript' nofilter}}",
11                 'blockAuthor' : "{{$blockAuthor|escape:'javascript' nofilter}}",
12         };
13 </script>