Merge branch 'master' into lars-chat
This commit is contained in:
BIN
website/public/img/avatar-standard.png
Normal file
BIN
website/public/img/avatar-standard.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 98 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 24 KiB |
@@ -12,23 +12,28 @@
|
||||
</head>
|
||||
<body>
|
||||
<?php
|
||||
$notImplemented = new settingsMessage("angry", "Deze functie werkt nog niet :(");
|
||||
|
||||
$alertClass;
|
||||
$alertMessage;
|
||||
if ($_SERVER["REQUEST_METHOD"] == "POST") {
|
||||
switch ($_POST["form"]) {
|
||||
case "profile":
|
||||
$result = updateSettings();
|
||||
break;
|
||||
case "password":
|
||||
$result = changePassword();
|
||||
break;
|
||||
case "email":
|
||||
$result = changeEmail();
|
||||
break;
|
||||
case "picture":
|
||||
updateProfilePicture();
|
||||
$result = new settingsMessage("happy", "Deze melding doet nog niks nuttigs.");
|
||||
break;
|
||||
try {
|
||||
switch ($_POST["form"]) {
|
||||
case "profile":
|
||||
updateSettings();
|
||||
break;
|
||||
case "password":
|
||||
changePassword();
|
||||
break;
|
||||
case "email":
|
||||
changeEmail();
|
||||
break;
|
||||
case "picture":
|
||||
updateAvatar();
|
||||
break;
|
||||
|
||||
}
|
||||
} catch (AlertMessage $w) {
|
||||
$alertClass = $w->getClass();
|
||||
$alertMessage = $w->getMessage();
|
||||
}
|
||||
}
|
||||
include("../views/main.php");
|
||||
|
||||
@@ -14,4 +14,16 @@
|
||||
.searchleft, .searchright {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.user-pageselect, .searchleft h4, .group-pageselect, .searchright h4 {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.user-pageselect, .group-pageselect {
|
||||
float: right;
|
||||
}
|
||||
|
||||
li.search-item:hover{
|
||||
background-color: #EEE;
|
||||
}
|
||||
Reference in New Issue
Block a user