2016-05-08 01:31:30 +02:00
|
|
|
|
|
|
|
{{* 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 *}}
|
2017-10-20 15:21:42 +02:00
|
|
|
<script type="text/javascript">
|
2016-05-08 01:31:30 +02:00
|
|
|
var updateInterval = {{$update_interval}};
|
|
|
|
|
|
|
|
var localUser = {{if $local_user}}{{$local_user}}{{else}}false{{/if}};
|
|
|
|
var aStr = {
|
2023-01-09 17:23:39 +01:00
|
|
|
'delitem' : "{{$delitem|escape:'javascript' nofilter}}",
|
|
|
|
'blockAuthor' : "{{$blockAuthor|escape:'javascript' nofilter}}",
|
|
|
|
'ignoreAuthor' : "{{$ignoreAuthor|escape:'javascript' nofilter}}",
|
2016-05-08 01:31:30 +02:00
|
|
|
};
|
2023-03-11 19:23:48 +01:00
|
|
|
var aActErr = {
|
|
|
|
'like' : "{{$likeError}}",
|
|
|
|
'dislike' : "{{$dislikeError}}",
|
|
|
|
'announce' : "{{$announceError}}",
|
2023-03-23 23:23:23 +01:00
|
|
|
'attendyes' : "{{$attendError}}",
|
|
|
|
'attendno' : "{{$attendError}}",
|
|
|
|
'attendmaybe' : "{{$attendError}}",
|
2023-03-11 17:26:00 +01:00
|
|
|
};
|
2023-03-11 19:23:48 +01:00
|
|
|
var aErrType = {
|
|
|
|
'srvErr' : "{{$srvError}}",
|
|
|
|
'netErr' : "{{$netError}}",
|
2023-03-11 17:26:00 +01:00
|
|
|
};
|
2016-05-08 01:31:30 +02:00
|
|
|
</script>
|