Skip to content
This repository has been archived by the owner on Sep 3, 2018. It is now read-only.

Commit

Permalink
[FIX] Layout for login module "header" mode (inline form) wasn't impl…
Browse files Browse the repository at this point in the history
…emented.

git-svn-id: https://svn.code.sf.net/p/tikiwiki/code/branches/14.x@55595 b456876b-0849-0410-b77d-98878d47e9d5
  • Loading branch information
chibaguy committed May 29, 2015
1 parent b6c2ae9 commit e1d62dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/modules/mod-login_box.tpl
Expand Up @@ -123,7 +123,7 @@ if (jqueryTiki.no_cookie) {
{capture assign="close_tags"}</div></div></div>{$close_tags}{/capture}
{/if}

<form name="loginbox" class="form" id="loginbox-{$module_logo_instance}" action="{$login_module.login_url|escape}"
<form name="loginbox" class="form{if $mode eq "header"} form-inline{/if}" id="loginbox-{$module_logo_instance}" action="{$login_module.login_url|escape}"
method="post" {if $prefs.feature_challenge eq 'y'}onsubmit="doChallengeResponse()"{/if}
{if $prefs.desactive_login_autocomplete eq 'y'} autocomplete="off"{/if}
>
Expand Down Expand Up @@ -225,7 +225,7 @@ if (jqueryTiki.no_cookie) {
{if $module_params.show_forgot eq 'y' or $module_params.show_register eq 'y'}
<div {if $mode eq 'header'}class="text-right" style="display:inline;"{/if}>
{strip}
<div><ul {if $mode eq 'popup'}class="list-unstyled nav"{/if}>
<div {if $mode eq 'header'}style="display: inline-block"{/if}><ul class="{if $mode neq 'header'}list-unstyled nav"{else}list-inline"{/if}>
{if $module_params.show_forgot eq 'y' && $prefs.forgotPass eq 'y'}
<li class="pass"><a href="tiki-remind_password.php" title="{tr}Click here if you've forgotten your password{/tr}">{tr}I forgot my password{/tr}</a></li>
{/if}
Expand Down

0 comments on commit e1d62dd

Please sign in to comment.