diff options
| author | Geo Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-05-24 18:38:04 +0300 |
|---|---|---|
| committer | Geo Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-05-24 18:38:04 +0300 |
| commit | 2b1f4aed56c5bfbf014f3f871e9dcc336b5a31b7 (patch) | |
| tree | b6bd5f331497e340c80bc2ae06fd4485e9d13eb2 /public/app/controllers/Auth.php | |
| parent | 63dc17d0abc398c135f6d049d28174c3925416c9 (diff) | |
| download | gyraf1gov-2b1f4aed56c5bfbf014f3f871e9dcc336b5a31b7.tar.gz gyraf1gov-2b1f4aed56c5bfbf014f3f871e9dcc336b5a31b7.tar.bz2 gyraf1gov-2b1f4aed56c5bfbf014f3f871e9dcc336b5a31b7.zip | |
new application form is ready
Diffstat (limited to 'public/app/controllers/Auth.php')
| -rw-r--r-- | public/app/controllers/Auth.php | 15 |
1 files changed, 3 insertions, 12 deletions
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 |
