Add login box below header? - Super Mario
Add login box below header?
Do you know how to add a loginbox?
I tried, but it don't look like the rest of the design.
-
- Registered User
- Posts: 363
- Joined: Fri Dec 10, 2004 5:16 pm
- Location: Norway
- Contact:
Re: Add login box below header?
styles/super_mario/template/overall_header
Find:
Code: Select all
<a name="start_here"></a>
Before add:
Code: Select all
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
<form method="post" action="{S_LOGIN_ACTION}" class="headerspace">
<h3><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- IF S_REGISTER_ENABLED --> • <a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF --></h3>
<fieldset class="quick-login">
<label for="username">{L_USERNAME}:</label> <input type="text" name="username" id="username" size="10" class="inputbox" title="{L_USERNAME}" />
<label for="password">{L_PASSWORD}:</label> <input type="password" name="password" id="password" size="10" class="inputbox" title="{L_PASSWORD}" />
<!-- IF S_AUTOLOGIN_ENABLED -->
| <label for="autologin">{L_LOG_ME_IN} <input type="checkbox" name="autologin" id="autologin" /></label>
<!-- ENDIF -->
<input type="submit" name="login" value="{L_LOGIN}" class="button2" />
{S_LOGIN_REDIRECT}
</fieldset>
</form>
<!-- ENDIF -->
- _Vinny_
- Style Customisations
- Posts: 8799
- Joined: Tue Aug 11, 2009 12:45 am
- Location: Brazil
- Name: Marcus Vinicius
- Contact:
Re: Add login box below header?

link removed
-
- Registered User
- Posts: 363
- Joined: Fri Dec 10, 2004 5:16 pm
- Location: Norway
- Contact:
Re: Add login box below header?
I'm trying with this, but I don't get any colours in it.
Code: Select all
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
<form method="post" action="{S_LOGIN_ACTION}">
<table class="header" width="100%" cellspacing="1">
<tr>
<td class="topiclist"><h4><a href="{U_LOGIN_LOGOUT}" class="cattitle">{L_LOGIN_LOGOUT}</a></h4></td>
</tr>
<tr>
<td class="row1" align="center"><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" name="username" size="10" /> <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" name="password" size="10" /><!-- IF S_AUTOLOGIN_ENABLED --> <span class="gensmall">{L_LOG_ME_IN}</span> <input type="checkbox" class="radio" name="autologin" /><!-- ENDIF --> <input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /></td>
</tr>
</table>
{S_LOGIN_REDIRECT}
</form>
<span class="corners-bottom"><span></span></span></div>
<!-- ENDIF -->
-
- Registered User
- Posts: 363
- Joined: Fri Dec 10, 2004 5:16 pm
- Location: Norway
- Contact:
Re: Add login box below header?
But I want it to blend more in with the style.
links removed
Code: Select all
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
<form action="{S_LOGIN_ACTION}" method="post">
<div class="panel">
<div class="inner"><span class="corners-top"><span></span></span>
<div class="content">
<fieldset class="fields1">
<dl>
<dt>
<label for="username">{L_USERNAME}:</label>
<dd><input type="text" tabindex="1" name="username" id="username" size="25" value="{USERNAME}" class="inputbox autowidth" />
<label for="password">{L_PASSWORD}:</label>
<input type="password" tabindex="2" id="password" name="password" size="25" class="inputbox autowidth" />
<!-- IF S_AUTOLOGIN_ENABLED --> <span class="gensmall">{L_LOG_ME_IN}</span> <input type="checkbox" class="radio" name="autologin" /><!-- ENDIF -->
<input type="submit" name="login" tabindex="5" value="{L_LOGIN}" class="button1" /></dd>
</dt>
</dl>
{S_LOGIN_REDIRECT}
</fieldset>
</div>
<span class="corners-bottom"><span></span></span></div>
</div>
</form>
<!-- ENDIF -->
-
- Registered User
- Posts: 363
- Joined: Fri Dec 10, 2004 5:16 pm
- Location: Norway
- Contact:
Re: Add login box below header?
- _Vinny_
- Style Customisations
- Posts: 8799
- Joined: Tue Aug 11, 2009 12:45 am
- Location: Brazil
- Name: Marcus Vinicius
- Contact:
Re: Add login box below header?
Code: Select all
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
<form method="post" action="{S_LOGIN_ACTION}" class="headerspace">
<fieldset class="quick-login">
<div class="forumbg">
<div class="inner"><span class="corners-top"><span></span></span>
<table class="table1" cellspacing="1"><thead><tr>
<th class="name"><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- IF S_REGISTER_ENABLED --> • <a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF --></th></tr></thead>
<tbody><tr class="bg1"><td>
<label for="username">{L_USERNAME}:</label> <input type="text" name="username" id="username" size="20" class="inputbox" title="{L_USERNAME}" />
<label for="password">{L_PASSWORD}:</label> <input type="password" name="password" id="password" size="20" class="inputbox" title="{L_PASSWORD}" />
<!-- IF S_AUTOLOGIN_ENABLED -->
| <label for="autologin">{L_LOG_ME_IN} <input type="checkbox" name="autologin" id="autologin" /></label>
<!-- ENDIF -->
<input type="submit" name="login" value="{L_LOGIN}" class="button2" />
{S_LOGIN_REDIRECT}
</tr></tbody></table>
<span class="corners-bottom"><span></span></span></div>
</div>
</fieldset>
</form>
<!-- ENDIF -->
-
- Registered User
- Posts: 363
- Joined: Fri Dec 10, 2004 5:16 pm
- Location: Norway
- Contact:
Re: Add login box below header?
- _Vinny_
- Style Customisations
- Posts: 8799
- Joined: Tue Aug 11, 2009 12:45 am
- Location: Brazil
- Name: Marcus Vinicius
- Contact: