From 2b1f4aed56c5bfbf014f3f871e9dcc336b5a31b7 Mon Sep 17 00:00:00 2001 From: Geo Halkiadakis Date: Wed, 24 May 2023 18:38:04 +0300 Subject: new application form is ready --- public/app/controllers/Auth.php | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'public/app/controllers/Auth.php') diff --git a/public/app/controllers/Auth.php b/public/app/controllers/Auth.php index e191c53..d52b6c9 100644 --- a/public/app/controllers/Auth.php +++ b/public/app/controllers/Auth.php @@ -163,18 +163,9 @@ class Auth { // prepare gendered options to position field $positions = ($user->prefix != 'η') - ? [ - 'Διευθυντής', - 'Υποδιευθυντής', - 'Μόνιμος Καθηγητής', - 'Αναπληρωτής Καθηγητής' - ] - : [ - 'Διευθύντρια', - 'Υποδιευθύντρια', - 'Μόνιμη Καθηγήτρια', - 'Αναπληρώτρια Καθηγήτρια' - ]; + ? GENDERED_POSITIONS['he'] + : GENDERED_POSITIONS['she']; + $gendered_position = json_decode( json_encode( $positions, JSON_UNESCAPED_UNICODE )); // attach gendered options -- cgit v1.2.3