fix: gone are invalid <br /> tags when editing user description in Admin

This commit is contained in:
Martin Ambrus
2017-10-21 23:47:42 +02:00
parent a43afc7233
commit 38a377bec6
2 changed files with 2 additions and 4 deletions
+2 -2
View File
@@ -83,12 +83,12 @@ if(isset($id))
<td colspan="2" class="empty"></td>
</tr>
<tr>
<td colspan="2" class="desc2"><textarea cols="25" rows="14" tabindex="1" name="desc1"><?php echo nl2br($user['desc1']); ?></textarea></td>
<td colspan="2" class="desc2"><textarea cols="25" rows="14" tabindex="1" name="desc1"><?php echo $user['desc1']; ?></textarea></td>
</tr>
</table>
</td>
<td class="desc1">
<textarea tabindex="8" cols="30" rows="20" name="desc2"><?php echo nl2br($user['desc2']); ?></textarea>
<textarea tabindex="8" cols="30" rows="20" name="desc2"><?php echo $user['desc2']; ?></textarea>
</td>
</tr>
<tr>
-2
View File
@@ -1,8 +1,6 @@
- don't show Support & Taskmaster in stats
- add Support login possibility into Admin (ask for password during installation, create Support messages section)
- allow sending Mass Message + System Message from Admin
- fix editing current task from Taskmaster -> number never match the edited quest after save
- remove <br /> tags from profile description and replace them by real new lines when editing players in Admin
- cannot delete a single medal in admin
- add back buttons to Admin where there are not (like editing a user)
- disallow installation if existing data are in place, or world map would end up screwed and villages not showing (because there can be multiple villages/oasis generated for one square then)