diff options
Diffstat (limited to 'view/tpl')
-rwxr-xr-x | view/tpl/nav.tpl | 20 | ||||
-rw-r--r-- | view/tpl/nav_login.tpl | 13 |
2 files changed, 14 insertions, 19 deletions
diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl index 3fccfaeb7..7fae5cb87 100755 --- a/view/tpl/nav.tpl +++ b/view/tpl/nav.tpl @@ -156,7 +156,7 @@ {{if $nav.login && !$userinfo}} <li class=""> - <a href="#" title="{{$nav.loginmenu.0.3}}" id="{{$nav.loginmenu.0.4}}" data-toggle="modal" data-target="#nav-login">{{$nav.loginmenu.0.1}} <span class="caret" id="loginmenu-caret"></span></a> + <a href="#" title="{{$nav.loginmenu.1.3}}" id="{{$nav.loginmenu.1.4}}" data-toggle="modal" data-target="#nav-login">{{$nav.loginmenu.1.1}} <span class="caret" id="loginmenu-caret"></span></a> </li> {{/if}} @@ -222,24 +222,6 @@ </div> </div> - - {{if $nav.login && !$userinfo}} - - <div id="nav-login" class="modal" role="dialog"> - <div class="modal-dialog"> - <div class="modal-header"><h3>{{$nav.loginmenu.0.1}}</h3></div> - <div class="modal-body"> - <div class="form-group"> - {{$nav.login}} - {{$nav.remote_login}} - </div> - </div> - </div> - </div> - - {{/if}} - - {{if $nav.help.6}} <div id="contextual-help-content" class="contextual-help-content"> {{$nav.help.5}} diff --git a/view/tpl/nav_login.tpl b/view/tpl/nav_login.tpl new file mode 100644 index 000000000..fe93f0aa2 --- /dev/null +++ b/view/tpl/nav_login.tpl @@ -0,0 +1,13 @@ + {{if $nav.login && !$userinfo}} + <div id="nav-login" class="modal" role="dialog"> + <div class="modal-dialog"> + <div class="modal-header"><h3>{{$nav.loginmenu.1.1}}</h3></div> + <div class="modal-body"> + <div class="form-group"> + {{$nav.login}} + {{$nav.remote_login}} + </div> + </div> + </div> + </div> + {{/if}} |