|
|
|
@ -50,7 +50,7 @@ |
|
|
|
<script> |
|
|
|
<script> |
|
|
|
LIL_SERVER_TIME = "{% now 'U' %}"; |
|
|
|
LIL_SERVER_TIME = "{% now 'U' %}"; |
|
|
|
LIL_SERVER_TIME_DIFF = Math.floor((new Date().getTime()) / 1000) - parseInt(LIL_SERVER_TIME); |
|
|
|
LIL_SERVER_TIME_DIFF = Math.floor((new Date().getTime()) / 1000) - parseInt(LIL_SERVER_TIME); |
|
|
|
{% if request.user.auth_token %} |
|
|
|
{% if request.user.is_authenticated and request.user.auth_token %} |
|
|
|
AUTH_TOKEN = "{{ request.user.auth_token }}" |
|
|
|
AUTH_TOKEN = "{{ request.user.auth_token }}" |
|
|
|
{% else %} |
|
|
|
{% else %} |
|
|
|
AUTH_TOKEN = null |
|
|
|
AUTH_TOKEN = null |
|
|
|
|