S
S
Serverprom2014-06-17 10:08:51
DLE
Serverprom, 2014-06-17 10:08:51

Why doesn't authorization work in Navbar (Bootstrap)?

Hello! There was such a problem - I remade the standard DLE template for Bootstrap. Replaced the default navigation bar code

<div id="headbar">
    <div id="header">
      <div class="wrapper">
        <div class="container">
          <h1><a class="thide" href="/index.php" title="T5-Craft">T5-Craft</a></h1>
          <div class="loginbox">{login}</div>

          <div class="headlinks">
            <ul class="reset">
              <li><a href="/index.php?do=feedback">Контакты</a></li>
              <li><a href="/rss.xml">RSS</a></li>
              <li><a href="#">Twitter</a></li>
            </ul>
          </div> 
        </div>
      </div>
    </div>
    </div>

On the navbar code from bootstrap
<div class="navbar-wrapper">
      <div class="container">

        <div class="navbar navbar-inverse navbar-static-top" role="navigation">
          <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="http://t5-craft.ru">T5-Craft</a>
        </div>
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
        <form class="navbar-form navbar-left">
        <a class="btn btn-warning" href="http://vk.com/page-33608385_47447218"  role="button"><span class="glyphicon glyphicon-star"></span> Донат</a>
        <a class="btn btn-success" href="http://vk.com/page-33608385_47447214"  role="button"><span class="glyphicon glyphicon-book"></span> Правила</a>
      <!--  <button class="btn btn-info" href="#"><span class="glyphicon glyphicon-envelope"></span> Контакты</button> -->
            
        </form>
           <form class="navbar-form navbar-right" style="margin: 8px 15px 0px 0px;">
             {login} 
               </form>
    </div><!-- /.navbar-collapse -->            
          </div>
        </div>

      </div>
    </div>

After that, the authorization stopped working (the window for entering the login and password pops up, but when you click on the "Login" button, nothing happens. The login.tpl file has not been changed. Please tell me how to fix the authorization?
Site: t5-craft.ru

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question