Lars chat #63

Merged
11291680 merged 1 commits from lars-chat into master 2017-01-18 15:55:42 +01:00
2 changed files with 25 additions and 8 deletions

View File

@@ -25,3 +25,16 @@
font-size: 14px; font-size: 14px;
cursor: pointer; cursor: pointer;
} }
.friend-item {
cursor: pointer;
}
.menu button {
background: none;
color: #333;
width: 100%;
height: 100%;
padding: 0;
text-align: left;
}

View File

@@ -34,14 +34,18 @@
// Echo the friend. // Echo the friend.
echo " echo "
<a href='#' class='$extraItem'> <li class='friend-item $extraItem'>
<li class='friend-item'> <form action='profile.php' method='get'>
<div class='friend'> <button type='submit'
<img alt='PF' class='profile-picture' src='$pf'/> name='username'
$username value='$username'>
</div> <div class='friend'>
</li> <img alt='PF' class='profile-picture' src='$pf'/>
</a> $username
</div>
</button>
</form>
</li>
"; ";
} }
if ($i > 1) { if ($i > 1) {