Database refactoring and improving blog comments, blog post history and more
This commit is contained in:
@@ -49,8 +49,8 @@
|
||||
<form method="post" enctype="multipart/form-data">
|
||||
<!-- Username -->
|
||||
<div class="form-group">
|
||||
<label for="username">Nutzername</label>
|
||||
<input name="username" id="username" class="form-control"
|
||||
<label for="displayname">Nutzername</label>
|
||||
<input name="displayname" id="displayname" class="form-control"
|
||||
value="<?= isset($data['displayname']) ? $data['displayname'] : '' ?>">
|
||||
<span class="error-message" id="usernameErrorLength">
|
||||
<b>Dein Nutzername ist zu kurz!</b> Er muss mindestens 4 Zeichen lang sein
|
||||
@@ -1093,26 +1093,24 @@
|
||||
</div>
|
||||
<!-- Bio -->
|
||||
<div class="form-group">
|
||||
<label for="biography">Profilbeschreibung/Biographie</label>
|
||||
<textarea class="form-control" name="biography" id="biography">
|
||||
<?= isset($data['about']) ? $data['about'] : "" ?>
|
||||
</textarea>
|
||||
<label for="about">Profilbeschreibung/Biographie</label>
|
||||
<textarea class="form-control" name="about" id="about"><?= isset($data['about']) ? $data['about'] : "" ?></textarea>
|
||||
</div>
|
||||
<!-- Avatar -->
|
||||
<div class="form-group">
|
||||
<label for="avatar">Avatar</label>
|
||||
<?php if (isset($data['profile_picture']) || $data['profile_picture'] != ""): ?>
|
||||
<?php if (isset($data['profilePicture']) || $data['profilePicture'] != ""): ?>
|
||||
<img class="img-fluid img-thumbnail picture-preview d-block"
|
||||
src="<?= $data['profile_picture'] ?>">
|
||||
src="<?= $data['profilePicture'] ?>">
|
||||
<?php endif; ?>
|
||||
<input type="file" name="avatar" id="avatar">
|
||||
</div>
|
||||
<!-- Header -->
|
||||
<div class="form-group">
|
||||
<label for="header">Header</label>
|
||||
<?php if (isset($data['header_image']) || $data['header_image'] != ""): ?>
|
||||
<?php if (isset($data['headerImage']) || $data['headerImage'] != ""): ?>
|
||||
<img class="img-fluid img-thumbnail picture-preview d-block"
|
||||
src="<?= $data['header_image'] ?>">
|
||||
src="<?= $data['headerImage'] ?>">
|
||||
<?php endif; ?>
|
||||
<input type="file" name="header" id="header">
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user