mirror of
https://github.com/openvk/openvk
synced 2024-12-23 09:01:15 +03:00
DO NOT hide Reg. button when reg. is disabled
This commit is contained in:
parent
dee3942aef
commit
116a12a90a
2 changed files with 3 additions and 3 deletions
|
@ -129,7 +129,7 @@
|
||||||
<div class="link">
|
<div class="link">
|
||||||
<a href="/login">{_header_login}</a>
|
<a href="/login">{_header_login}</a>
|
||||||
</div>
|
</div>
|
||||||
<div n:if="OPENVK_ROOT_CONF['openvk']['preferences']['registration']['enable']" class="link">
|
<div class="link">
|
||||||
<a href="/reg">{_header_registration}</a>
|
<a href="/reg">{_header_registration}</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="link">
|
<div class="link">
|
||||||
|
@ -208,7 +208,7 @@
|
||||||
<input type="hidden" name="jReturnTo" value="{$_SERVER['REQUEST_URI']}" />
|
<input type="hidden" name="jReturnTo" value="{$_SERVER['REQUEST_URI']}" />
|
||||||
<input type="hidden" name="hash" value="{$csrfToken}" />
|
<input type="hidden" name="hash" value="{$csrfToken}" />
|
||||||
<input type="submit" value="{_log_in}" class="button" style="display: inline-block;" />
|
<input type="submit" value="{_log_in}" class="button" style="display: inline-block;" />
|
||||||
<a n:if="OPENVK_ROOT_CONF['openvk']['preferences']['registration']['enable']" href="/reg" class="button" style="display: inline-block;">{_registration}</a><br><br>
|
<a href="/reg" class="button" style="display: inline-block;">{_registration}</a><br><br>
|
||||||
<a href="/restore">{_forgot_password}</a>
|
<a href="/restore">{_forgot_password}</a>
|
||||||
</form>
|
</form>
|
||||||
{/ifset}
|
{/ifset}
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
{presenter "openvk!Support->knowledgeBaseArticle", "about"}
|
{presenter "openvk!Support->knowledgeBaseArticle", "about"}
|
||||||
<center>
|
<center>
|
||||||
<a class="button" style="margin-right: 5px;cursor: pointer;" href="/login">{_"log_in"}</a>
|
<a class="button" style="margin-right: 5px;cursor: pointer;" href="/login">{_"log_in"}</a>
|
||||||
<a n:if="OPENVK_ROOT_CONF['openvk']['preferences']['registration']['enable']" class="button" style="cursor: pointer;" href="/reg">{_"registration"}</a>
|
<a class="button" style="cursor: pointer;" href="/reg">{_"registration"}</a>
|
||||||
</center>
|
</center>
|
||||||
{* TO-DO: Add statistics about this instance as on mastodon.social *}
|
{* TO-DO: Add statistics about this instance as on mastodon.social *}
|
||||||
{/block}
|
{/block}
|
||||||
|
|
Loading…
Reference in a new issue