Commit 9ec5fa36 authored by Markus Bergt's avatar Markus Bergt

added names to form

parent 1be4db96
...@@ -97,9 +97,9 @@ else{ ...@@ -97,9 +97,9 @@ else{
<form class="" role="form" id="chatbar"> <form class="" role="form" id="chatbar">
<div class="input-group"> <div class="input-group">
<span class="input-group-addon hidden-xs"><?php echo $users['name']; ?>:</span> <span class="input-group-addon hidden-xs"><?php echo $users['name']; ?>:</span>
<input type="text" class="form-control" placeholder="Deine Nachricht..." autofocus> <input type="text" name="text" class="form-control" placeholder="Deine Nachricht..." autofocus>
<span class="input-group-btn dropup"> <span class="input-group-btn dropup">
<button class="btn btn-default" id="sendMessage" name="chatok" type="submit"><span class="glyphicon glyphicon-send" /> <span class="hidden-xs">Senden</span></button> <button class="btn btn-default" id="sendMessage" name="chatok" value="btn" type="submit"><span class="glyphicon glyphicon-send" /> <span class="hidden-xs">Senden</span></button>
<?php <?php
if($users['admin'] >= 1) if($users['admin'] >= 1)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment