mirror of
https://github.com/friendica/friendica
synced 2024-12-24 13:20:15 +00:00
25 lines
1 KiB
Smarty
25 lines
1 KiB
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 type="text/javascript">
|
|
var updateInterval = {{$update_interval}};
|
|
|
|
var localUser = {{if $local_user}}{{$local_user}}{{else}}false{{/if}};
|
|
var aStr = {
|
|
'delitem' : "{{$delitem|escape:'javascript' nofilter}}",
|
|
'blockAuthor' : "{{$blockAuthor|escape:'javascript' nofilter}}",
|
|
'ignoreAuthor' : "{{$ignoreAuthor|escape:'javascript' nofilter}}",
|
|
};
|
|
var aActErr = {
|
|
'like' : "{{$likeError}}",
|
|
'dislike' : "{{$dislikeError}}",
|
|
'announce' : "{{$announceError}}",
|
|
'attendyes' : "{{$attendError}}",
|
|
'attendno' : "{{$attendError}}",
|
|
'attendmaybe' : "{{$attendError}}",
|
|
};
|
|
var aErrType = {
|
|
'srvErr' : "{{$srvError}}",
|
|
'netErr' : "{{$netError}}",
|
|
};
|
|
</script>
|