added login thing
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
{if="$message"}
|
||||
<div class="alert alert-info">{$message}</div>
|
||||
{/if}
|
||||
<form role="form" method="POST">
|
||||
<form role="form" method="POST" action="ucp.php?page=login">
|
||||
<div class="form-group">
|
||||
<label for="InputUsername">Username</label>
|
||||
<input type="text" class="form-control" id="InputUsername" name="user_name" placeholder="Enter username">
|
||||
<input type="text" class="form-control" id="InputUsername" name="username" placeholder="Enter username">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="InputPassword">Password</label>
|
||||
|
@@ -18,8 +18,10 @@
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{$user_name}<b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="ucp.php">Inbox{if="$new_words_count > 0"}{$new_words_count}{/if}</a></li>
|
||||
<li><a href="ucp.php">Inbox{if="$new_words_count > 0"} ({$new_words_count}){/if}</a></li>
|
||||
<li><a href="ucp.php?page=settings">Settings</a></li>
|
||||
<li class="divider"></li>
|
||||
<li><a href="ucp.php?page=logout">Logout</a></li>
|
||||
{else}
|
||||
<li><a href="ucp.php?page=login">Login</a></li>
|
||||
{/if}
|
||||
|
Reference in New Issue
Block a user