Correct variable declaration in latte
This commit is contained in:
parent
753c6c7688
commit
f3d7584a46
|
@ -1,6 +1,6 @@
|
||||||
{extends "body.latte"}
|
{extends "body.latte"}
|
||||||
{var title = __get("ASSIGNER_TITLE")}
|
{var $title = __get("ASSIGNER_TITLE")}
|
||||||
{var navActiveIndex = 2}
|
{var $navActiveIndex = 2}
|
||||||
|
|
||||||
{block content}
|
{block content}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{extends "body.latte"}
|
{extends "body.latte"}
|
||||||
{var title = __get("BANS_TITLE")}
|
{var $title = __get("BANS_TITLE")}
|
||||||
{var navActiveIndex = 3}
|
{var $navActiveIndex = 3}
|
||||||
|
|
||||||
{block content}
|
{block content}
|
||||||
|
|
||||||
|
|
|
@ -191,7 +191,7 @@ $navActiveIndex = isset($navActiveIndex) ? (int) $navActiveIndex : 0;
|
||||||
<!-- Moment.js 2.22.2 -->
|
<!-- Moment.js 2.22.2 -->
|
||||||
{$tplutils::includeScript("{cdnjs}/moment.js/2.24.0/moment.min.js", "sha256-4iQZ6BVL4qNKlQ27TExEhBN1HFPvAvAMbFavKKosSWQ=")}
|
{$tplutils::includeScript("{cdnjs}/moment.js/2.24.0/moment.min.js", "sha256-4iQZ6BVL4qNKlQ27TExEhBN1HFPvAvAMbFavKKosSWQ=")}
|
||||||
|
|
||||||
{var momentjslang = __get("MOMENTJS_LANG", [], true)}
|
{var $momentjslang = __get("MOMENTJS_LANG", [], true)}
|
||||||
{if $momentjslang !== null && $momentjslang !== "en-us"}
|
{if $momentjslang !== null && $momentjslang !== "en-us"}
|
||||||
{$tplutils::includeScript("{cdnjs}/moment.js/2.24.0/locale/$momentjslang.js")}
|
{$tplutils::includeScript("{cdnjs}/moment.js/2.24.0/locale/$momentjslang.js")}
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{extends "body.latte"}
|
{extends "body.latte"}
|
||||||
{var title = "TESTING"}
|
{var $title = "TESTING"}
|
||||||
|
|
||||||
{block content}
|
{block content}
|
||||||
<div class="card card-accent">
|
<div class="card card-accent">
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{extends "body.latte"}
|
{extends "body.latte"}
|
||||||
{var title = __get("FAQ_TITLE")}
|
{var $title = __get("FAQ_TITLE")}
|
||||||
{var navActiveIndex = 5}
|
{var $navActiveIndex = 5}
|
||||||
|
|
||||||
{block content}
|
{block content}
|
||||||
<div class="card card-accent">
|
<div class="card card-accent">
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{extends "body.latte"}
|
{extends "body.latte"}
|
||||||
{var title = __get("HOME_TITLE")}
|
{var $title = __get("HOME_TITLE")}
|
||||||
|
|
||||||
{block content}
|
{block content}
|
||||||
<div class="card card-titleblock card-accent">
|
<div class="card card-titleblock card-accent">
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{ifset $adminStatus}
|
{ifset $adminStatus}
|
||||||
{var offlineHiddenByDefault = $config["adminstatus_offlinehiddenbydefault"]}
|
{var $offlineHiddenByDefault = $config["adminstatus_offlinehiddenbydefault"]}
|
||||||
<div class="card card-accent">
|
<div class="card card-accent">
|
||||||
<div class="card-header d-flex justify-content-between align-items-center">
|
<div class="card-header d-flex justify-content-between align-items-center">
|
||||||
<span>
|
<span>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{extends "body.latte"}
|
{extends "body.latte"}
|
||||||
{var title = $pagetitle}
|
{var $title = $pagetitle}
|
||||||
|
|
||||||
{block content}
|
{block content}
|
||||||
<div class="card card-accent">
|
<div class="card card-accent">
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
<!-- <p class="mb-0">Still not working? Try <a href="#">other login methods</a></p> -->
|
<!-- <p class="mb-0">Still not working? Try <a href="#">other login methods</a></p> -->
|
||||||
|
|
||||||
<!-- Show a small IP debug -->
|
<!-- Show a small IP debug -->
|
||||||
{var utils = Wruczek\TSWebsite\Utils\Utils::class}
|
{var $utils = Wruczek\TSWebsite\Utils\Utils::class}
|
||||||
<span class="loginDebugInfo"
|
<span class="loginDebugInfo"
|
||||||
data-toggle="tooltip"
|
data-toggle="tooltip"
|
||||||
data-html="true" title="Debug info: Your IP<br>Raw: {$utils::getClientIp(false)}<br>CF: {$utils::getClientIp(true)}">
|
data-html="true" title="Debug info: Your IP<br>Raw: {$utils::getClientIp(false)}<br>CF: {$utils::getClientIp(true)}">
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{extends "body.latte"}
|
{extends "body.latte"}
|
||||||
{var title = __get("VIEWER_TITLE")}
|
{var $title = __get("VIEWER_TITLE")}
|
||||||
{var navActiveIndex = 1}
|
{var $navActiveIndex = 1}
|
||||||
|
|
||||||
{block content}
|
{block content}
|
||||||
<div class="card card-accent">
|
<div class="card card-accent">
|
||||||
|
|
Loading…
Reference in New Issue