Finishing touches
This commit is contained in:
@@ -21,7 +21,7 @@ $settings = getSettings();
|
|||||||
id="fname"
|
id="fname"
|
||||||
placeholder="Voornaam"
|
placeholder="Voornaam"
|
||||||
title="Voornaam"
|
title="Voornaam"
|
||||||
value="<?= $settings["fname"]?>"
|
value="<?=$settings["fname"]?>"
|
||||||
>
|
>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
@@ -30,7 +30,7 @@ $settings = getSettings();
|
|||||||
name="lname"
|
name="lname"
|
||||||
id="lname"
|
id="lname"
|
||||||
placeholder="Achternaam"
|
placeholder="Achternaam"
|
||||||
value="<?= $settings["lname"]?>"
|
value="<?=$settings["lname"]?>"
|
||||||
>
|
>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
@@ -39,18 +39,19 @@ $settings = getSettings();
|
|||||||
name="location"
|
name="location"
|
||||||
id="location"
|
id="location"
|
||||||
placeholder="Locatie"
|
placeholder="Locatie"
|
||||||
value="<?= $settings["location"]?>"
|
value="<?=$settings["location"]?>"
|
||||||
>
|
>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<label for="bday">Geboortedatum</label>
|
|
||||||
<?php $currentbday = new DateTime($settings["birthdate"]);?>
|
<?php $currentbday = new DateTime($settings["birthdate"]);?>
|
||||||
|
<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" : ""?>
|
||||||
><?=$day?></option>";
|
>
|
||||||
|
<?=$day?>
|
||||||
|
</option>
|
||||||
<?php endfor; ?>
|
<?php endfor; ?>
|
||||||
</select>
|
</select>
|
||||||
<select name='month' id="bday">
|
<select name='month' id="bday">
|
||||||
@@ -62,19 +63,19 @@ $settings = getSettings();
|
|||||||
<option value='<?=$month?>'
|
<option value='<?=$month?>'
|
||||||
<?=($month == $currentbday->format("m")) ? "selected" : ""?>
|
<?=($month == $currentbday->format("m")) ? "selected" : ""?>
|
||||||
>
|
>
|
||||||
<?= $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
|
||||||
$now = (new DateTime)->format("Y");
|
$now = (new DateTime)->format("Y");
|
||||||
for ($year = $now; $year >= 1900; $year--): ?>
|
for ($year = $now; $year >= 1900; $year--): ?>
|
||||||
<option value='<?=$year?>'
|
<option value='<?=$year?>'
|
||||||
<?= ($year == $currentbday->format("Y")) ? "selected" : ""?>
|
<?=($year == $currentbday->format("Y")) ? "selected" : ""?>
|
||||||
><?=$year?></option>
|
>
|
||||||
|
<?=$year?>
|
||||||
|
</option>
|
||||||
<?php endfor; ?>
|
<?php endfor; ?>
|
||||||
</select>
|
</select>
|
||||||
</li>
|
</li>
|
||||||
@@ -83,7 +84,7 @@ $settings = getSettings();
|
|||||||
<input type="checkbox"
|
<input type="checkbox"
|
||||||
name="showBday"
|
name="showBday"
|
||||||
id="showBday"
|
id="showBday"
|
||||||
<?= ($settings["showBday"] ? "checked" : "")?>
|
<?=($settings["showBday"] ? "checked" : "")?>
|
||||||
>
|
>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
@@ -91,7 +92,7 @@ $settings = getSettings();
|
|||||||
<input type="checkbox"
|
<input type="checkbox"
|
||||||
name="showEmail"
|
name="showEmail"
|
||||||
id="showEmail"
|
id="showEmail"
|
||||||
<?= ($settings["showEmail"] ? "checked" : "")?>
|
<?=($settings["showEmail"] ? "checked" : "")?>
|
||||||
>
|
>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
@@ -100,7 +101,7 @@ $settings = getSettings();
|
|||||||
rows="5"
|
rows="5"
|
||||||
title="bio"
|
title="bio"
|
||||||
id="bio"
|
id="bio"
|
||||||
><?= $settings["bio"]?></textarea>
|
><?=$settings["bio"]?></textarea>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<label></label>
|
<label></label>
|
||||||
@@ -116,7 +117,7 @@ $settings = getSettings();
|
|||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<label>Huidige profielfoto</label>
|
<label>Huidige profielfoto</label>
|
||||||
<img src="<?= $settings["profilepicture"] ?>"
|
<img src="<?=$settings["profilepicture"]?>"
|
||||||
class="profile-picture"
|
class="profile-picture"
|
||||||
>
|
>
|
||||||
</li>
|
</li>
|
||||||
@@ -183,7 +184,7 @@ $settings = getSettings();
|
|||||||
<label for="email-old">Huidig Email </label>
|
<label for="email-old">Huidig Email </label>
|
||||||
<input type="email"
|
<input type="email"
|
||||||
id="email-old"
|
id="email-old"
|
||||||
value="<?= $settings["email"]?>"
|
value="<?=$settings["email"]?>"
|
||||||
disabled
|
disabled
|
||||||
>
|
>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user