Skip to content

Commit

Permalink
* ajusted code of login view.
Browse files Browse the repository at this point in the history
  • Loading branch information
catouse committed Mar 13, 2014
1 parent cfe5286 commit 375badb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions module/user/css/login.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ html,body{background-color: #036}
#keeplogin label {font-weight: normal}
.popover {max-width: 500px}
.popover-content {padding: 0}
.btn-submit {min-width: 70px}
2 changes: 1 addition & 1 deletion module/user/view/login.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<button class='btn' data-toggle='dropdown' title='Change Language/更换语言/更換語言'><?php echo $config->langs[$this->app->getClientLang()]; ?> <span class="caret"></span></button>
<ul class='dropdown-menu'>
<?php foreach($config->langs as $key => $value):?>
<li><a href="###" data-value="<?php echo $key; ?>" class="<?php echo $key==$this->app->getClientLang()?'active':''; ?>"><?php echo $value; ?></a></li>
<li class="<?php echo $key==$this->app->getClientLang()?'active':''; ?>"><a href="###" data-value="<?php echo $key; ?>"><?php echo $value; ?></a></li>
<?php endforeach;?>
</ul>
</div>
Expand Down

0 comments on commit 375badb

Please sign in to comment.