summaryrefslogtreecommitdiff
path: root/public/app/controllers/Auth.php
diff options
context:
space:
mode:
authorGeo Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-05-24 18:38:04 +0300
committerGeo Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-05-24 18:38:04 +0300
commit2b1f4aed56c5bfbf014f3f871e9dcc336b5a31b7 (patch)
treeb6bd5f331497e340c80bc2ae06fd4485e9d13eb2 /public/app/controllers/Auth.php
parent63dc17d0abc398c135f6d049d28174c3925416c9 (diff)
downloadgyraf1gov-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.php15
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