diff --git a/system/src/global.php b/system/src/global.php index e7185cf5..d4bd0cc4 100644 --- a/system/src/global.php +++ b/system/src/global.php @@ -54,6 +54,11 @@ define('HOOK_ACCOUNT_LOGIN_AFTER_REMEMBER_ME', ++$i); define('HOOK_ACCOUNT_LOGIN_AFTER_PAGE', ++$i); define('HOOK_ACCOUNT_LOGIN_POST', ++$i); define('HOOK_ACCOUNT_CREATE_CHARACTER_AFTER', ++$i); +define('HOOK_ACCOUNT_CREATE_CHARACTER_BEFORE_FIRST_TABLE', ++$i); +define('HOOK_ACCOUNT_CREATE_CHARACTER_BEFORE_VOCATIONS', ++$i); +define('HOOK_ACCOUNT_CREATE_CHARACTER_BEFORE_TOWNS', ++$i); +define('HOOK_ACCOUNT_CREATE_CHARACTER_AFTER_TOWNS', ++$i); +define('HOOK_ACCOUNT_CREATE_CHARACTER_AFTER_SECOND_TABLE', ++$i); define('HOOK_ADMIN_HEAD_END', ++$i); define('HOOK_ADMIN_HEAD_START', ++$i); define('HOOK_ADMIN_BODY_START', ++$i); diff --git a/system/templates/account.create_character.html.twig b/system/templates/account.create_character.html.twig index f7d43d7f..5747152e 100644 --- a/system/templates/account.create_character.html.twig +++ b/system/templates/account.create_character.html.twig @@ -23,6 +23,9 @@ In any case the name must not violate the naming conventions stated in the + + {{ hook('HOOK_ACCOUNT_CREATE_CHARACTER_BEFORE_FIRST_TABLE') }} +
@@ -66,6 +69,9 @@ In any case the name must not violate the naming conventions stated in the
+ + {{ hook('HOOK_ACCOUNT_CREATE_CHARACTER_BEFORE_VOCATION') }} +
@@ -90,6 +96,9 @@ In any case the name must not violate the naming conventions stated in the
{% endif %} + + {{ hook('HOOK_ACCOUNT_CREATE_CHARACTER_BEFORE_TOWNS') }} + {% if config.character_towns|length > 1 %} @@ -112,9 +121,15 @@ In any case the name must not violate the naming conventions stated in the {% endif %} + + {{ hook('HOOK_ACCOUNT_CREATE_CHARACTER_AFTER_TOWNS') }} +
+ + {{ hook('HOOK_ACCOUNT_CREATE_CHARACTER_AFTER_SECOND_TABLE') }} +