mirror of
https://github.com/openvk/openvk
synced 2024-11-13 10:39:24 +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">
|
||||
<a href="/login">{_header_login}</a>
|
||||
</div>
|
||||
<div n:if="OPENVK_ROOT_CONF['openvk']['preferences']['registration']['enable']" class="link">
|
||||
<div class="link">
|
||||
<a href="/reg">{_header_registration}</a>
|
||||
</div>
|
||||
<div class="link">
|
||||
|
@ -208,7 +208,7 @@
|
|||
<input type="hidden" name="jReturnTo" value="{$_SERVER['REQUEST_URI']}" />
|
||||
<input type="hidden" name="hash" value="{$csrfToken}" />
|
||||
<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>
|
||||
</form>
|
||||
{/ifset}
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
{presenter "openvk!Support->knowledgeBaseArticle", "about"}
|
||||
<center>
|
||||
<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>
|
||||
{* TO-DO: Add statistics about this instance as on mastodon.social *}
|
||||
{/block}
|
||||
|
|
Loading…
Reference in a new issue