summaryrefslogtreecommitdiff
path: root/includes/pages/guest_login.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2019-05-31 04:03:19 +0200
committermsquare <msquare@notrademark.de>2019-06-03 20:33:09 +0200
commit4e709d0d236f9ef9cbf0ce9879a16ad5f1415a92 (patch)
tree5c1faf57059ee7025006c36bdc6559322584e280 /includes/pages/guest_login.php
parente7f10d846e4255f6172835df8a0cb3befa56374f (diff)
Log messages without inline HTML
Diffstat (limited to 'includes/pages/guest_login.php')
-rw-r--r--includes/pages/guest_login.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/includes/pages/guest_login.php b/includes/pages/guest_login.php
index a0aa92a5..b079b9fe 100644
--- a/includes/pages/guest_login.php
+++ b/includes/pages/guest_login.php
@@ -86,10 +86,11 @@ function guest_register()
if ($request->has('nick')) {
$nickValidation = User_validate_Nick($request->input('nick'));
$nick = $nickValidation->getValue();
-
- if(!$nickValidation->isValid()) {
+
+ if (!$nickValidation->isValid()) {
$valid = false;
- $msg .= error(sprintf(__('Please enter a valid nick.') . ' ' . __('Use up to 23 letters, numbers, connecting punctuations or spaces for your nickname.'), $nick), true);
+ $msg .= error(sprintf(__('Please enter a valid nick.') . ' ' . __('Use up to 23 letters, numbers, connecting punctuations or spaces for your nickname.'),
+ $nick), true);
}
if (User::whereName($nick)->count() > 0) {
$valid = false;
@@ -246,7 +247,7 @@ function guest_register()
}
engelsystem_log(
- 'User ' . User_Nick_render($user)
+ 'User ' . User_Nick_render($user, true)
. ' signed up as: ' . join(', ', $user_angel_types_info)
);
success(__('Angel registration successful!'));
@@ -287,7 +288,8 @@ function guest_register()
div('row', [
div('col-sm-4', [
form_text('nick', __('Nick') . ' ' . entry_required(), $nick),
- form_info('', __('Use up to 23 letters, numbers, connecting punctuations or spaces for your nickname.'))
+ form_info('',
+ __('Use up to 23 letters, numbers, connecting punctuations or spaces for your nickname.'))
]),
div('col-sm-8', [
form_email('mail', __('E-Mail') . ' ' . entry_required(), $mail),