Style changes

This commit is contained in:
Marijn Jansen
2017-01-31 10:23:47 +01:00
parent 6983aa06a2
commit a6b6d6d747

View File

@@ -4,13 +4,11 @@ $settings = getSettings();
<div class="content"> <div class="content">
<div class="settings"> <div class="settings">
<?php <?php if ($_SERVER["REQUEST_METHOD"] == "POST"): ?>
if ($_SERVER["REQUEST_METHOD"] == "POST") { <div class='platform settings-message <?=$alertClass?>'>
echo "<div class='platform settings-message $alertClass '> <?=$alertMessage?>
$alertMessage </div>
</div>"; <?php endif; ?>
}
?>
<form class="settings-profile platform" method="post"> <form class="settings-profile platform" method="post">
<h5>Profiel Instellingen</h5> <h5>Profiel Instellingen</h5>
<ul> <ul>
@@ -43,10 +41,10 @@ $settings = getSettings();
> >
</li> </li>
<li> <li>
<?php $currentbday = new DateTime($settings["birthdate"]);?> <?php $currentbday = new DateTime($settings["birthdate"]); ?>
<label for="bday">Geboortedatum</label> <label for="bday">Geboortedatum</label>
<select name='day' id="bday"> <select name='day' id="bday">
<?php for ($day = 1; $day <= 31; $day++):?> <?php for ($day = 1; $day <= 31; $day++): ?>
<option value='<?=$day?>' <option value='<?=$day?>'
<?=($day == $currentbday->format("d")) ? "selected" : ""?> <?=($day == $currentbday->format("d")) ? "selected" : ""?>
> >
@@ -65,7 +63,7 @@ $settings = getSettings();
> >
<?=$months[$month - 1]?> <?=$months[$month - 1]?>
</option> </option>
<?php endfor;?> <?php endfor; ?>
</select> </select>
<select name='year' id="bday"> <select name='year' id="bday">
<?php <?php
@@ -77,7 +75,7 @@ $settings = getSettings();
<?=$year?> <?=$year?>
</option> </option>
<?php endfor; ?> <?php endfor; ?>
</select> </select>
</li> </li>
<li> <li>
<label for="showBday">Toon leeftijd</label> <label for="showBday">Toon leeftijd</label>