2015-01-19, 06:58 AM
Right next to my "Login or create account" http://puu.sh/eIW39/54c1c483dc.jpg
I want "Login with twitter" to be to the left of it next to it.
Header_welcomeblock_guest code:
Thank you
I want "Login with twitter" to be to the left of it next to it.
Header_welcomeblock_guest code:
<ul>
<li><a style="border:none;"> Login or create an account</a>
<ul style="right:10%;float:right;">
<li><a style="border:none;" href="{$mybb->settings['bburl']}/member.php?action=login" onclick="$('#quick_login').modal({ fadeDuration: 250, keepelement: true }); return false;" class="login">Login</a></li>
<li><a style="border:none;" href="{$mybb->settings['bburl']}/mytwconnect.php?action=login">Login with Twitter</a></li>
<li><a style="border:none;" href="{$mybb->settings['bburl']}/member.php?action=register">Create an Account</a></li>
</ul>
</li>
</ul>
<div class="modal" id="quick_login" style="display: none;">
<form method="post" action="{$mybb->settings['bburl']}/member.php">
<input name="action" type="hidden" value="do_login" />
<input name="url" type="hidden" value="" />
<input name="quick_login" type="hidden" value="1" />
<table width="100%" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" border="0" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->login}</strong></td>
</tr>
<tr>
<td class="trow1" width="25%"><strong>{$login_username}</strong></td>
<td class="trow1"><input name="quick_username" id="quick_login_username" type="text" value="" class="textbox initial_focus" /></td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->password}</strong></td>
<td class="trow2">
<input name="quick_password" id="quick_login_password" type="password" value="" class="textbox" /> <a href="{$mybb->settings['bburl']}/member.php?action=lostpw" class="lost_password">{$lang->lost_password}</a>
</td>
</tr>
<tr>
<td class="trow1"> </td>
<td class="trow1 remember_me">
<input name="quick_remember" id="quick_login_remember" type="checkbox" value="yes" class="checkbox" checked="checked" />
<label for="quick_login_remember">{$lang->remember_me}</label>
</td>
</tr>
<tr>
<td class="trow2" colspan="2">
<div align="center"><input name="submit" type="submit" class="button" value="{$lang->login}" /></div>
</td>
</tr>
</table>
</form>
</div>
<script type="text/javascript">
$("#quick_login input[name='url']").val($(location).attr('href'));
</script>
Thank you