pot new
This commit is contained in:
parent
f534087aaa
commit
89a45dad65
|
@ -44,12 +44,12 @@ class HomeController extends AppController {
|
|||
$this->request->data['User']['password'])
|
||||
){
|
||||
$this->MiconwareSession->refreshCache();
|
||||
$this->MiconwareSession->setFlash('dreamjob.loggedin','flash',array('alert'=>'success'));
|
||||
$this->MiconwareSession->setFlash(__('dreamjob.loggedin'),'flash',array('alert'=>'success'));
|
||||
}else{
|
||||
$this->MiconwareSession->setFlash('dreamjob.loggedinError','flash',array('alert'=>'danger'));
|
||||
$this->MiconwareSession->setFlash(__('dreamjob.loggedinError'),'flash',array('alert'=>'danger'));
|
||||
}
|
||||
}else{
|
||||
$this->MiconwareSession->setFlash('dreamjob.loggedinError','flash',array('alert'=>'danger'));
|
||||
$this->MiconwareSession->setFlash(__('dreamjob.loggedinError'),'flash',array('alert'=>'danger'));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -14,6 +14,9 @@ class SearchController extends AppController {
|
|||
'DreamjobListBranch','DreamjobListCity','DreamjobListKindofjob','DreamjobListGraducation');
|
||||
public $components = array('MiconwareSession');
|
||||
|
||||
private static $TYPE_id = array('education'=>5,'academy'=>6,'internship'=>4);
|
||||
|
||||
|
||||
/**
|
||||
* Displays a view
|
||||
*
|
||||
|
@ -47,10 +50,9 @@ class SearchController extends AppController {
|
|||
$this->MiconwareSession->init($this);
|
||||
$this->MiconwareSession->initWeb($this);
|
||||
$profil = $this->MiconwareSession->getWorker();
|
||||
if(!empty($profil) and count($profil) > 0){
|
||||
if(!empty($profil) and count($profil) > 0 and isset(self::$TYPE_id[$type])){
|
||||
$con = $this->MiconwareSession->getOpeningCondition();
|
||||
|
||||
|
||||
$con['DreamjobJobOpening.kindofjob_id'] = self::$TYPE_id[$type];
|
||||
|
||||
|
||||
$openings = $this->DreamjobJobOpening->find('all',array('conditions' => $con));
|
||||
|
@ -87,6 +89,8 @@ class SearchController extends AppController {
|
|||
|
||||
$this->MiconwareSession->initWeb($this);
|
||||
|
||||
echo var_dump($this->request->data);
|
||||
|
||||
$companies = $this->DreamjobCompany->find('all');
|
||||
|
||||
$this->set("branches",$this->DreamjobListBranch->find('list'));
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PROJECT VERSION\n"
|
||||
"POT-Creation-Date: 2014-04-13 21:31+0200\n"
|
||||
"POT-Creation-Date: 2014-04-17 11:09+0200\n"
|
||||
"PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n"
|
||||
"Last-Translator: NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PROJECT VERSION\n"
|
||||
"POT-Creation-Date: 2014-04-13 21:31+0200\n"
|
||||
"POT-Creation-Date: 2014-04-17 11:09+0200\n"
|
||||
"PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n"
|
||||
"Last-Translator: NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PROJECT VERSION\n"
|
||||
"POT-Creation-Date: 2014-04-13 21:31+0200\n"
|
||||
"POT-Creation-Date: 2014-04-17 11:09+0200\n"
|
||||
"PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n"
|
||||
"Last-Translator: NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
|
||||
|
@ -14,32 +14,40 @@ msgstr ""
|
|||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
||||
|
||||
#: Controller/HomeController.php:47
|
||||
msgid "dreamjob.loggedin"
|
||||
msgstr ""
|
||||
|
||||
#: Controller/HomeController.php:49;52
|
||||
msgid "dreamjob.loggedinError"
|
||||
msgstr ""
|
||||
|
||||
#: Controller/RegistrationController.php:63;123
|
||||
#: Controller/UserController.php:292
|
||||
#: Controller/UserController.php:293
|
||||
msgid "dreamjob.error.password.notEqual"
|
||||
msgstr ""
|
||||
|
||||
#: Controller/UserController.php:98;107;201;248;320;354;439;485
|
||||
#: Controller/UserController.php:99;108;202;249;321;355;434;480;509
|
||||
msgid "dreamjob.error.page.notFound"
|
||||
msgstr ""
|
||||
|
||||
#: Controller/UserController.php:219
|
||||
#: Controller/UserController.php:220
|
||||
msgid "dreamjob.error.page.order.saved"
|
||||
msgstr ""
|
||||
|
||||
#: Controller/UserController.php:222
|
||||
#: Controller/UserController.php:223
|
||||
msgid "dreamjob.error.page.order.error"
|
||||
msgstr ""
|
||||
|
||||
#: Controller/UserController.php:349;411
|
||||
#: Controller/UserController.php:350;406
|
||||
msgid "dreamjob.page.save.error"
|
||||
msgstr ""
|
||||
|
||||
#: Controller/UserController.php:397
|
||||
#: Controller/UserController.php:392
|
||||
msgid "dreamjob.page.oneType"
|
||||
msgstr ""
|
||||
|
||||
#: Controller/UserController.php:417
|
||||
#: Controller/UserController.php:412
|
||||
msgid "dreamjob.page.save"
|
||||
msgstr ""
|
||||
|
||||
|
@ -48,34 +56,60 @@ msgstr ""
|
|||
msgid "dreamjob.company.to"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/job_opening_head_extra.ctp:7
|
||||
msgid "dreamjob.opening.titleinfo"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/job_opening_head_extra.ctp:8
|
||||
#: View/Elements/job_opening_item.ctp:66
|
||||
msgid "dreamjob.graducation.company"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/job_company_item.ctp:37
|
||||
#: View/Elements/job_opening_head_extra.ctp:9
|
||||
#: View/Elements/job_opening_item.ctp:67
|
||||
#: View/Elements/job_opening_item.ctp:66
|
||||
#: View/Job/opening_edit.ctp:35
|
||||
#: View/Registration/company.ctp:24
|
||||
#: View/User/company.ctp:71
|
||||
#: View/Search/academy.ctp:23
|
||||
#: View/Search/company.ctp:23
|
||||
#: View/Search/education.ctp:23
|
||||
#: View/Search/internship.ctp:23
|
||||
#: View/Search/opening.ctp:23
|
||||
#: View/User/company.ctp:81
|
||||
#: View/User/settings_account.ctp:67
|
||||
#: View/User/settings_isearch.ctp:29
|
||||
msgid "dreamjob.branch"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/job_company_item.ctp:38
|
||||
#: View/Elements/job_opening_item.ctp:67
|
||||
#: View/Elements/user_worker_item.ctp:40
|
||||
#: View/Job/opening_edit.ctp:45
|
||||
#: View/Registration/company.ctp:32
|
||||
#: View/Registration/worker.ctp:32
|
||||
#: View/Search/academy.ctp:24
|
||||
#: View/Search/company.ctp:24
|
||||
#: View/Search/education.ctp:24
|
||||
#: View/Search/internship.ctp:24
|
||||
#: View/Search/opening.ctp:25
|
||||
#: View/User/settings_account.ctp:76
|
||||
msgid "dreamjob.city"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/job_company_item.ctp:42
|
||||
msgid "dreamjob.company.detail"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/job_opening_head_extra.ctp:7
|
||||
msgid "dreamjob.opening.titleinfo"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/job_opening_head_extra.ctp:8
|
||||
#: View/Elements/job_opening_item.ctp:65
|
||||
msgid "dreamjob.graducation.company"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/job_opening_head_extra.ctp:10
|
||||
#: View/Elements/job_opening_item.ctp:69
|
||||
#: View/Elements/job_opening_item.ctp:68
|
||||
#: View/Job/opening_edit.ctp:33
|
||||
#: View/Search/opening.ctp:27
|
||||
#: View/User/settings_isearch.ctp:31
|
||||
msgid "dreamjob.kindofjob"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/job_opening_head_extra.ctp:11
|
||||
#: View/Elements/job_opening_item.ctp:70
|
||||
#: View/Elements/job_opening_item.ctp:69
|
||||
#: View/Job/opening_edit.ctp:32
|
||||
msgid "dreamjob.opening.enddate"
|
||||
msgstr ""
|
||||
|
@ -99,51 +133,42 @@ msgstr ""
|
|||
|
||||
#: View/Elements/job_opening_head_extra.ctp:18
|
||||
#: View/Registration/company.ctp:23
|
||||
#: View/User/company.ctp:67
|
||||
#: View/User/company.ctp:77
|
||||
#: View/User/settings_account.ctp:66
|
||||
msgid "dreamjob.owner"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/job_opening_head_extra.ctp:21
|
||||
#: View/Job/opening_edit.ctp:42
|
||||
#: View/User/company.ctp:76
|
||||
#: View/User/company.ctp:86
|
||||
msgid "dreamjob.address"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/job_opening_item.ctp:68
|
||||
#: View/Elements/user_worker_item.ctp:41
|
||||
#: View/Job/opening_edit.ctp:45
|
||||
#: View/Registration/company.ctp:32
|
||||
#: View/Registration/worker.ctp:32
|
||||
#: View/User/settings_account.ctp:76
|
||||
msgid "dreamjob.city"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/job_opening_item.ctp:75
|
||||
#: View/Elements/job_opening_item.ctp:74
|
||||
msgid "dreamjob.opening.detail"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/job_opening_item.ctp:78
|
||||
#: View/Elements/user_worker_item.ctp:69
|
||||
#: View/Elements/job_opening_item.ctp:77
|
||||
#: View/Elements/user_worker_item.ctp:68
|
||||
#: View/Job/application.ctp:12;64
|
||||
msgid "dreamjob.application"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/job_opening_item.ctp:79
|
||||
#: View/Elements/job_opening_item.ctp:78
|
||||
msgid "dreamjob.opening.edit"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/job_opening_item.ctp:80
|
||||
#: View/Elements/job_opening_item.ctp:79
|
||||
msgid "dreamjob.opening.delete"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/job_opening_item.ctp:90;92
|
||||
#: View/Elements/user_worker_item.ctp:66
|
||||
#: View/Elements/job_opening_item.ctp:89;91
|
||||
#: View/Elements/user_worker_item.ctp:65
|
||||
#: View/Job/application.ctp:37
|
||||
msgid "dreamjob.applicated"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/job_opening_item.ctp:98
|
||||
#: View/Elements/job_opening_item.ctp:97
|
||||
#: View/Job/opening.ctp:50
|
||||
msgid "dreamjob.applicate"
|
||||
msgstr ""
|
||||
|
@ -156,40 +181,76 @@ msgstr ""
|
|||
msgid "dreamjob.startpage"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/navbar.ctp:9
|
||||
#: View/Elements/navbar.ctp:10;12
|
||||
#: View/Home/home.ctp:9
|
||||
#: View/User/company.ctp:87
|
||||
#: View/Search/academy.ctp:27
|
||||
#: View/Search/company.ctp:27
|
||||
#: View/Search/education.ctp:27
|
||||
#: View/Search/internship.ctp:27
|
||||
#: View/Search/opening.ctp:30
|
||||
#: View/Search/worker.ctp:24
|
||||
#: View/User/company.ctp:97
|
||||
msgid "dreamjob.search"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/navbar.ctp:10
|
||||
#: View/Elements/navbar.ctp:14
|
||||
msgid "dreamjob.service"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/navbar.ctp:11
|
||||
#: View/Elements/navbar.ctp:15
|
||||
msgid "dreamjob.logout"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/navbar.ctp:24
|
||||
#: View/Elements/user_worker_header.ctp:37
|
||||
#: View/Elements/navbar.ctp:28
|
||||
#: View/Elements/user_worker_header.ctp:44
|
||||
#: View/Registration/company.ctp:15
|
||||
#: View/Registration/worker.ctp:15
|
||||
#: View/User/company.ctp:35;58
|
||||
#: View/User/company.ctp:45;68
|
||||
#: View/User/settings_account.ctp:36
|
||||
msgid "dreamjob.mail"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/navbar.ctp:26
|
||||
#: View/Elements/navbar.ctp:30
|
||||
#: View/Registration/company.ctp:16
|
||||
#: View/Registration/worker.ctp:16
|
||||
#: View/User/settings_account.ctp:38
|
||||
msgid "dreamjob.password"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/navbar.ctp:28
|
||||
#: View/Elements/navbar.ctp:32
|
||||
msgid "dreamjob.login"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/search_navbar.ctp:3
|
||||
#: View/Search/opening.ctp:15
|
||||
msgid "dreamjob.search.opening"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/search_navbar.ctp:4
|
||||
#: View/Search/company.ctp:15
|
||||
msgid "dreamjob.search.company"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/search_navbar.ctp:6
|
||||
#: View/Search/auto.ctp:10
|
||||
msgid "dreamjob.search.auto"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/search_navbar.ctp:7
|
||||
#: View/Search/education.ctp:15
|
||||
msgid "dreamjob.search.education"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/search_navbar.ctp:8
|
||||
#: View/Search/academy.ctp:15
|
||||
msgid "dreamjob.search.academy"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/search_navbar.ctp:9
|
||||
#: View/Search/internship.ctp:15
|
||||
msgid "dreamjob.search.internship"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/user_worker_cv.ctp:9
|
||||
#: View/Elements/user_worker_cv_edit.ctp:12
|
||||
#: View/Job/application.ctp:67
|
||||
|
@ -210,7 +271,7 @@ msgstr ""
|
|||
|
||||
#: View/Elements/user_worker_cv.ctp:34
|
||||
#: View/Elements/user_worker_cv_edit.ctp:38
|
||||
#: View/Elements/user_worker_item.ctp:44
|
||||
#: View/Elements/user_worker_item.ctp:43
|
||||
#: View/Registration/worker.ctp:27
|
||||
#: View/User/settings_account.ctp:51
|
||||
msgid "dreamjob.workexperience"
|
||||
|
@ -242,24 +303,31 @@ msgstr ""
|
|||
msgid "dreamjob.between.till"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/user_worker_header.ctp:32
|
||||
#: View/Elements/user_worker_header.ctp:22;23
|
||||
#: View/User/company.ctp:30;31
|
||||
#: View/User/settings_imageUpload.ctp:7
|
||||
msgid "dreamjob.image.edit"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/user_worker_header.ctp:39
|
||||
#: View/Registration/worker.ctp:25
|
||||
#: View/User/settings_account.ctp:49
|
||||
msgid "dreamjob.iam"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/user_worker_item.ctp:42
|
||||
#: View/Elements/user_worker_item.ctp:41
|
||||
#: View/Job/opening_edit.ctp:34
|
||||
#: View/Registration/worker.ctp:26
|
||||
#: View/Search/opening.ctp:26
|
||||
#: View/User/settings_account.ctp:50
|
||||
msgid "dreamjob.graducation"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/user_worker_item.ctp:44
|
||||
#: View/Elements/user_worker_item.ctp:43
|
||||
msgid "dreamjob.years"
|
||||
msgstr ""
|
||||
|
||||
#: View/Elements/user_worker_item.ctp:74
|
||||
#: View/Elements/user_worker_item.ctp:73
|
||||
msgid "dreamjob.details"
|
||||
msgstr ""
|
||||
|
||||
|
@ -287,14 +355,6 @@ msgstr ""
|
|||
msgid "dreamjob.startpage.openings"
|
||||
msgstr ""
|
||||
|
||||
#: View/Home/home.ctp:47
|
||||
msgid "forget password"
|
||||
msgstr ""
|
||||
|
||||
#: View/Home/home.ctp:48
|
||||
msgid "register"
|
||||
msgstr ""
|
||||
|
||||
#: View/Job/application.ctp:10
|
||||
#: View/Job/applicationWorker_list.ctp:7
|
||||
#: View/Job/opening.ctp:28
|
||||
|
@ -302,7 +362,7 @@ msgid "dreamjob.my.application"
|
|||
msgstr ""
|
||||
|
||||
#: View/Job/application.ctp:16
|
||||
#: View/User/company.ctp:97;99;118
|
||||
#: View/User/company.ctp:107;109;128
|
||||
msgid "dreamjob.opening"
|
||||
msgstr ""
|
||||
|
||||
|
@ -386,6 +446,7 @@ msgstr ""
|
|||
#: View/Job/opening_edit.ctp:44
|
||||
#: View/Registration/company.ctp:33
|
||||
#: View/Registration/worker.ctp:33
|
||||
#: View/Search/opening.ctp:24
|
||||
#: View/User/settings_account.ctp:77
|
||||
msgid "dreamjob.postcode"
|
||||
msgstr ""
|
||||
|
@ -485,7 +546,7 @@ msgid "dreamjob.corporateform"
|
|||
msgstr ""
|
||||
|
||||
#: View/Registration/company.ctp:27
|
||||
#: View/User/company.ctp:28;51
|
||||
#: View/User/company.ctp:38;61
|
||||
#: View/User/settings_account.ctp:70
|
||||
msgid "dreamjob.website"
|
||||
msgstr ""
|
||||
|
@ -499,6 +560,7 @@ msgstr ""
|
|||
#: View/Registration/company.ctp:41
|
||||
#: View/Registration/worker.ctp:42
|
||||
#: View/User/settings_account.ctp:83
|
||||
#: View/User/settings_imageUpload.ctp:14
|
||||
#: View/User/settings_pages.ctp:94
|
||||
msgid "dreamjob.settings.save"
|
||||
msgstr ""
|
||||
|
@ -542,22 +604,30 @@ msgstr ""
|
|||
msgid "dreamjob.country"
|
||||
msgstr ""
|
||||
|
||||
#: View/Search/auto.ctp:11
|
||||
msgid "dreamjob.search.auto.text"
|
||||
msgstr ""
|
||||
|
||||
#: View/Search/worker.ctp:14
|
||||
msgid "dreamjob.search.worker"
|
||||
msgstr ""
|
||||
|
||||
#: View/User/settings_account.ctp:18;29
|
||||
#: View/User/settings_account_delete.ctp:4
|
||||
#: View/User/settings_account_delete.ctp:9
|
||||
#: View/User/settings_isearch.ctp:17
|
||||
#: View/User/settings_pages.ctp:35
|
||||
msgid "dreamjob.settings"
|
||||
msgstr ""
|
||||
|
||||
#: View/User/settings_account.ctp:19
|
||||
#: View/User/settings_account_delete.ctp:5
|
||||
#: View/User/settings_account_delete.ctp:10
|
||||
#: View/User/settings_isearch.ctp:18
|
||||
#: View/User/settings_pages.ctp:36;46
|
||||
msgid "dreamjob.settings.pages"
|
||||
msgstr ""
|
||||
|
||||
#: View/User/settings_account.ctp:23
|
||||
#: View/User/settings_account_delete.ctp:9
|
||||
#: View/User/settings_account_delete.ctp:14
|
||||
#: View/User/settings_isearch.ctp:19;22
|
||||
#: View/User/settings_pages.ctp:40
|
||||
msgid "dreamjob.settings.isearch"
|
||||
|
@ -568,19 +638,19 @@ msgid "dreamjob.searchhidden"
|
|||
msgstr ""
|
||||
|
||||
#: View/User/settings_account.ctp:82
|
||||
#: View/User/settings_account_delete.ctp:22
|
||||
#: View/User/settings_account_delete.ctp:27
|
||||
msgid "dreamjob.settings.delete"
|
||||
msgstr ""
|
||||
|
||||
#: View/User/settings_account_delete.ctp:15
|
||||
#: View/User/settings_account_delete.ctp:20
|
||||
msgid "dreamjob.settings.delete.title"
|
||||
msgstr ""
|
||||
|
||||
#: View/User/settings_account_delete.ctp:18
|
||||
#: View/User/settings_account_delete.ctp:23
|
||||
msgid "dreamjob.settings.delete.text"
|
||||
msgstr ""
|
||||
|
||||
#: View/User/settings_account_delete.ctp:21
|
||||
#: View/User/settings_account_delete.ctp:26
|
||||
msgid "dreamjob.settings.to"
|
||||
msgstr ""
|
||||
|
||||
|
|
Loading…
Reference in New Issue