From 34773026f1d32b108f2fcab470c117e424261d55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20M=C3=BCller?= Date: Mon, 28 Apr 2014 12:53:13 +0200 Subject: [PATCH] placeholder und pot datei --- app/Locale/cake.pot | 2 +- app/Locale/cake_dev.pot | 2 +- app/Locale/default.pot | 236 ++++++++++++++++++++++------- app/View/Home/home.ctp | 2 +- app/View/Job/application_send.ctp | 2 +- app/View/Job/opening_edit.ctp | 6 +- app/View/Registration/company.ctp | 18 +-- app/View/Registration/worker.ctp | 16 +- app/View/Search/academy.ctp | 5 +- app/View/Search/company.ctp | 8 +- app/View/Search/education.ctp | 5 +- app/View/Search/internship.ctp | 5 +- app/View/Search/opening.ctp | 11 +- app/View/Search/worker.ctp | 1 + app/View/User/settings_account.ctp | 26 ++-- app/View/User/settings_pages.ctp | 2 +- 16 files changed, 237 insertions(+), 110 deletions(-) diff --git a/app/Locale/cake.pot b/app/Locale/cake.pot index e1d181e..b93bc2c 100644 --- a/app/Locale/cake.pot +++ b/app/Locale/cake.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" -"POT-Creation-Date: 2014-04-23 22:15+0200\n" +"POT-Creation-Date: 2014-04-28 12:52+0200\n" "PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n" "Last-Translator: NAME \n" "Language-Team: LANGUAGE \n" diff --git a/app/Locale/cake_dev.pot b/app/Locale/cake_dev.pot index 7aa8d9a..25d5d90 100644 --- a/app/Locale/cake_dev.pot +++ b/app/Locale/cake_dev.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" -"POT-Creation-Date: 2014-04-23 22:15+0200\n" +"POT-Creation-Date: 2014-04-28 12:52+0200\n" "PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n" "Last-Translator: NAME \n" "Language-Team: LANGUAGE \n" diff --git a/app/Locale/default.pot b/app/Locale/default.pot index 9d09e50..88bc18a 100644 --- a/app/Locale/default.pot +++ b/app/Locale/default.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" -"POT-Creation-Date: 2014-04-23 22:15+0200\n" +"POT-Creation-Date: 2014-04-28 12:52+0200\n" "PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n" "Last-Translator: NAME \n" "Language-Team: LANGUAGE \n" @@ -22,7 +22,7 @@ msgstr "" msgid "dreamjob.loggedinError" msgstr "" -#: Controller/RegistrationController.php:63;118 +#: Controller/RegistrationController.php:64;121 #: Controller/UserController.php:293 msgid "dreamjob.error.password.notEqual" msgstr "" @@ -60,13 +60,13 @@ msgstr "" #: View/Elements/job_opening_item.ctp:66 #: View/Job/opening_edit.ctp:35 #: View/Registration/company.ctp:24 -#: 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/Search/academy.ctp:24 +#: View/Search/company.ctp:25 +#: View/Search/education.ctp:24 +#: View/Search/internship.ctp:24 +#: View/Search/opening.ctp:24 #: View/User/company.ctp:81 -#: View/User/settings_account.ctp:66 +#: View/User/settings_account.ctp:68 #: View/User/settings_isearch.ctp:29 msgid "dreamjob.branch" msgstr "" @@ -78,13 +78,13 @@ msgstr "" #: 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:75 +#: View/Registration/worker.ctp:34 +#: View/Search/academy.ctp:25 +#: View/Search/company.ctp:26 +#: View/Search/education.ctp:25 +#: View/Search/internship.ctp:25 +#: View/Search/opening.ctp:26 +#: View/User/settings_account.ctp:77 msgid "dreamjob.city" msgstr "" @@ -104,7 +104,7 @@ msgstr "" #: View/Elements/job_opening_head_extra.ctp:10 #: View/Elements/job_opening_item.ctp:68 #: View/Job/opening_edit.ctp:33 -#: View/Search/opening.ctp:27 +#: View/Search/opening.ctp:28 #: View/User/settings_isearch.ctp:31 msgid "dreamjob.kindofjob" msgstr "" @@ -121,20 +121,20 @@ msgstr "" #: View/Elements/job_opening_head_extra.ctp:16 #: View/Registration/company.ctp:19 -#: View/User/settings_account.ctp:61 +#: View/User/settings_account.ctp:63 msgid "dreamjob.company" msgstr "" #: View/Elements/job_opening_head_extra.ctp:17 #: View/Registration/company.ctp:25 -#: View/User/settings_account.ctp:67 +#: View/User/settings_account.ctp:69 msgid "dreamjob.headcount" msgstr "" #: View/Elements/job_opening_head_extra.ctp:18 #: View/Registration/company.ctp:23 #: View/User/company.ctp:77 -#: View/User/settings_account.ctp:65 +#: View/User/settings_account.ctp:67 msgid "dreamjob.owner" msgstr "" @@ -151,7 +151,7 @@ msgstr "" #: View/Elements/job_opening_item.ctp:77 #: View/Elements/user_worker_item.ctp:68 #: View/Job/application.ctp:12 -#: View/Pdf/application.ctp:27 +#: View/Pdf/application.ctp:32 msgid "dreamjob.application" msgstr "" @@ -184,12 +184,12 @@ msgstr "" #: View/Elements/navbar.ctp:10;12 #: View/Home/home.ctp:9 -#: 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/Search/academy.ctp:28 +#: View/Search/company.ctp:29 +#: View/Search/education.ctp:28 +#: View/Search/internship.ctp:28 +#: View/Search/opening.ctp:31 +#: View/Search/worker.ctp:25 msgid "dreamjob.search" msgstr "" @@ -227,7 +227,7 @@ msgid "dreamjob.search.opening" msgstr "" #: View/Elements/search_navbar.ctp:4 -#: View/Search/company.ctp:15 +#: View/Search/company.ctp:16 msgid "dreamjob.search.company" msgstr "" @@ -254,8 +254,8 @@ msgstr "" #: View/Elements/user_worker_cv.ctp:11 #: View/Elements/user_worker_cv_edit.ctp:12 #: View/Job/application.ctp:67 -#: View/Pdf/application.ctp:60 -#: View/Pdf/profil.ctp:34 +#: View/Pdf/application.ctp:65 +#: View/Pdf/profil.ctp:40 #: View/User/worker.ctp:23;25 msgid "dreamjob.cv" msgstr "" @@ -274,8 +274,8 @@ msgstr "" #: View/Elements/user_worker_cv.ctp:38 #: View/Elements/user_worker_cv_edit.ctp:38 #: View/Elements/user_worker_item.ctp:43 -#: View/Registration/worker.ctp:27 -#: View/User/settings_account.ctp:50 +#: View/Registration/worker.ctp:29 +#: View/User/settings_account.ctp:52 msgid "dreamjob.workexperience" msgstr "" @@ -318,8 +318,8 @@ msgid "dreamjob.image.edit" msgstr "" #: View/Elements/user_worker_header.ctp:39 -#: View/Registration/worker.ctp:25 -#: View/User/settings_account.ctp:48 +#: View/Registration/worker.ctp:27 +#: View/User/settings_account.ctp:50 msgid "dreamjob.iam" msgstr "" @@ -338,9 +338,9 @@ msgstr "" #: 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:49 +#: View/Registration/worker.ctp:28 +#: View/Search/opening.ctp:27 +#: View/User/settings_account.ctp:51 msgid "dreamjob.graducation" msgstr "" @@ -360,6 +360,14 @@ msgstr "" msgid "dreamjob.message.send" msgstr "" +#: View/Home/home.ctp:13 +#: View/Search/academy.ctp:20 +#: View/Search/education.ctp:20 +#: View/Search/internship.ctp:20 +#: View/Search/opening.ctp:20 +msgid "dreamjob.search.opening.placeholder" +msgstr "" + #: View/Home/home.ctp:22 msgid "dreamjob.registration.to" msgstr "" @@ -392,7 +400,7 @@ msgid "dreamjob.application.close.actived" msgstr "" #: View/Job/application.ctp:64;118 -#: View/Pdf/application.ctp:37 +#: View/Pdf/application.ctp:42 msgid "dreamjob.application.why" msgstr "" @@ -425,6 +433,10 @@ msgstr "" msgid "dreamjob.application.form" msgstr "" +#: View/Job/application_send.ctp:18 +msgid "dreamjob.opening.subject.placeholder" +msgstr "" + #: View/Job/application_send.ctp:18 msgid "dreamjob.application.subject" msgstr "" @@ -435,14 +447,14 @@ msgstr "" #: View/Job/application_send.ctp:34 #: View/Registration/company.ctp:38 -#: View/Registration/worker.ctp:39 +#: View/Registration/worker.ctp:41 msgid "dreamjob.agb.accept" msgstr "" #: View/Job/application_send.ctp:34 #: View/Layouts/default.ctp:116 #: View/Registration/company.ctp:38 -#: View/Registration/worker.ctp:39 +#: View/Registration/worker.ctp:41 msgid "dreamjob.agb" msgstr "" @@ -462,6 +474,10 @@ msgstr "" msgid "dreamjob.opening.addForm" msgstr "" +#: View/Job/opening_edit.ctp:30 +msgid "dreamjob.opening.title.placeholder" +msgstr "" + #: View/Job/opening_edit.ctp:30 msgid "dreamjob.title" msgstr "" @@ -476,16 +492,31 @@ msgstr "" #: View/Job/opening_edit.ctp:43 #: View/Registration/company.ctp:31 -#: View/Registration/worker.ctp:31 -#: View/User/settings_account.ctp:74 +#: View/Registration/worker.ctp:33 +#: View/User/settings_account.ctp:76 +msgid "dreamjob.street.placeholder" +msgstr "" + +#: View/Job/opening_edit.ctp:43 +#: View/Registration/company.ctp:31 +#: View/Registration/worker.ctp:33 +#: View/User/settings_account.ctp:76 msgid "dreamjob.street" 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:76 +#: View/Registration/worker.ctp:35 +#: View/Search/opening.ctp:25 +#: View/User/settings_account.ctp:78 +msgid "dreamjob.postcode.placeholder" +msgstr "" + +#: View/Job/opening_edit.ctp:44 +#: View/Registration/company.ctp:33 +#: View/Registration/worker.ctp:35 +#: View/Search/opening.ctp:25 +#: View/User/settings_account.ctp:78 msgid "dreamjob.postcode" msgstr "" @@ -545,11 +576,11 @@ msgstr "" msgid "dreamjob.advbyus" msgstr "" -#: View/Pdf/application.ctp:29 +#: View/Pdf/application.ctp:34 msgid "dreamjob.application.for" msgstr "" -#: View/Pdf/profil.ctp:25 +#: View/Pdf/profil.ctp:31 msgid "dreamjob.application.mappe" msgstr "" @@ -576,6 +607,11 @@ msgstr "" msgid "dreamjob.account" msgstr "" +#: View/Registration/company.ctp:15 +#: View/Registration/worker.ctp:15 +msgid "dreamjob.mail.placeholder" +msgstr "" + #: View/Registration/company.ctp:17 #: View/Registration/worker.ctp:17 #: View/User/settings_account.ctp:38 @@ -583,37 +619,60 @@ msgid "dreamjob.password2" msgstr "" #: View/Registration/company.ctp:21 -#: View/User/settings_account.ctp:63 +#: View/User/settings_account.ctp:65 +msgid "dreamjob.nickname.placeholder" +msgstr "" + +#: View/Registration/company.ctp:21 +#: View/User/settings_account.ctp:65 msgid "dreamjob.company.nickname" msgstr "" #: View/Registration/company.ctp:22 -#: View/User/settings_account.ctp:64 +#: View/User/settings_account.ctp:66 +msgid "dreamjob.corporateform.placeholder" +msgstr "" + +#: View/Registration/company.ctp:22 +#: View/User/settings_account.ctp:66 msgid "dreamjob.corporateform" msgstr "" +#: View/Registration/company.ctp:23 +msgid "dreamjob.ownser.placeholder" +msgstr "" + +#: View/Registration/company.ctp:25 +msgid "dreamjob.hreadcount.placeholder" +msgstr "" + +#: View/Registration/company.ctp:27 +#: View/User/settings_account.ctp:71 +msgid "dreamjob.website.placeholder" +msgstr "" + #: View/Registration/company.ctp:27 #: View/User/company.ctp:38;61 -#: View/User/settings_account.ctp:69 +#: View/User/settings_account.ctp:71 msgid "dreamjob.website" msgstr "" #: View/Registration/company.ctp:29 -#: View/Registration/worker.ctp:29 -#: View/User/settings_account.ctp:72 +#: View/Registration/worker.ctp:31 +#: View/User/settings_account.ctp:74 msgid "dreamjob.addresse" msgstr "" #: View/Registration/company.ctp:41 -#: View/Registration/worker.ctp:42 -#: View/User/settings_account.ctp:82 +#: View/Registration/worker.ctp:44 +#: View/User/settings_account.ctp:84 #: View/User/settings_imageUpload.ctp:14 #: View/User/settings_pages.ctp:94 msgid "dreamjob.settings.save" msgstr "" #: View/Registration/company.ctp:47 -#: View/Registration/worker.ctp:48 +#: View/Registration/worker.ctp:50 msgid "dreamjob.registration.done.text" msgstr "" @@ -636,29 +695,78 @@ msgstr "" msgid "dreamjob.mannerofaddress" msgstr "" +#: View/Registration/worker.ctp:22 +#: View/User/settings_account.ctp:45 +msgid "dreamjob.first_name.placeholder" +msgstr "" + #: View/Registration/worker.ctp:22 #: View/User/settings_account.ctp:45 msgid "dreamjob.first_name" msgstr "" +#: View/Registration/worker.ctp:23 +#: View/User/settings_account.ctp:46 +msgid "dreamjob.last_name.placeholder" +msgstr "" + #: View/Registration/worker.ctp:23 #: View/User/settings_account.ctp:46 msgid "dreamjob.last_name" msgstr "" -#: View/Registration/worker.ctp:34 -#: View/User/settings_account.ctp:78 +#: View/Registration/worker.ctp:27 +#: View/User/settings_account.ctp:50 +msgid "dreamjob.iam.placeholder" +msgstr "" + +#: View/Registration/worker.ctp:29 +#: View/User/settings_account.ctp:52 +msgid "dreamjob.workexperience.placeholder" +msgstr "" + +#: View/Registration/worker.ctp:36 +#: View/User/settings_account.ctp:80 +msgid "dreamjob.country.placeholder" +msgstr "" + +#: View/Registration/worker.ctp:36 +#: View/User/settings_account.ctp:80 msgid "dreamjob.country" msgstr "" +#: View/Search/academy.ctp:24;25 +#: View/Search/company.ctp:25;26 +#: View/Search/education.ctp:24;25 +#: View/Search/internship.ctp:24;25 +#: View/Search/opening.ctp:24;26;27;28 +msgid "dreamjob.chooseOne" +msgstr "" + #: View/Search/auto.ctp:11 msgid "dreamjob.search.auto.text" msgstr "" +#: View/Search/company.ctp:21 +msgid "dreamjob.search.company.placeholder" +msgstr "" + +#: View/Search/education.ctp:24 +msgid "dreamjob.branch.placeholder" +msgstr "" + +#: View/Search/education.ctp:25 +msgid "dreamjob.city.placeholder" +msgstr "" + #: View/Search/worker.ctp:14 msgid "dreamjob.search.worker" msgstr "" +#: View/Search/worker.ctp:19 +msgid "dreamjob.search.worker.placeholder" +msgstr "" + #: View/User/settings_account.ctp:17;28 #: View/User/settings_account_delete.ctp:9 #: View/User/settings_isearch.ctp:17 @@ -680,11 +788,19 @@ msgstr "" msgid "dreamjob.settings.isearch" msgstr "" -#: View/User/settings_account.ctp:53;55 +#: View/User/settings_account.ctp:55;57 msgid "dreamjob.searchhidden" msgstr "" -#: View/User/settings_account.ctp:81 +#: View/User/settings_account.ctp:67 +msgid "dreamjob.owner.placeholder" +msgstr "" + +#: View/User/settings_account.ctp:69 +msgid "dreamjob.headcount.placeholder" +msgstr "" + +#: View/User/settings_account.ctp:83 #: View/User/settings_account_delete.ctp:27 msgid "dreamjob.settings.delete" msgstr "" @@ -717,6 +833,10 @@ msgstr "" msgid "dreamjob.page.new" msgstr "" +#: View/User/settings_pages.ctp:69 +msgid "dreamjob.pages.title.placeholder" +msgstr "" + #: View/User/settings_pages.ctp:69 msgid "dreamjob.page.title" msgstr "" diff --git a/app/View/Home/home.ctp b/app/View/Home/home.ctp index 679f8f8..a8ebe46 100755 --- a/app/View/Home/home.ctp +++ b/app/View/Home/home.ctp @@ -10,7 +10,7 @@
Form->create(null,array('inputDefaults'=> array('div' => false,'label'=>false,'class' => 'form-control'),'url'=>array('controller'=>'search', 'action'=>'opening'),'type'=>'get')); ?>
- Form->input('DreamjobJobOpening.title');?> + Form->input('DreamjobJobOpening.title',array('placeholder'=>__('dreamjob.search.opening.placeholder')));?> Form->button('',array('div' => false,'class'=>"btn btn-default",'type' => 'submit')); ?> diff --git a/app/View/Job/application_send.ctp b/app/View/Job/application_send.ctp index c7f19bc..02d0e9f 100644 --- a/app/View/Job/application_send.ctp +++ b/app/View/Job/application_send.ctp @@ -15,7 +15,7 @@ //echo $this->Form->hidden('DreamjobJobApplication.id'); echo $this->Form->hidden('DreamjobJobApplication.opening_id'); echo $this->Form->hidden('DreamjobJobApplication.worker_id'); - echo $this->Form->input('DreamjobJobApplication.subject',array('label'=>array('text'=>__("dreamjob.application.subject"),"class"=>$default_Form['inputDefaults']['label']['class']))).'
'; + echo $this->Form->input('DreamjobJobApplication.subject',array('placeholder'=>__('dreamjob.opening.subject.placeholder'),'label'=>array('text'=>__("dreamjob.application.subject"),"class"=>$default_Form['inputDefaults']['label']['class']))).'
'; echo $this->Form->textarea('DreamjobJobApplication.text',array("class"=>'form-control',"rows"=>10)); ?> diff --git a/app/View/Job/opening_edit.ctp b/app/View/Job/opening_edit.ctp index f508410..c730751 100644 --- a/app/View/Job/opening_edit.ctp +++ b/app/View/Job/opening_edit.ctp @@ -27,7 +27,7 @@ echo $this->Form->create('DreamjobJobOpening',$default_Form); echo __("dreamjob.opening.addForm"); ?> - Form->input('DreamjobJobOpening.title',array('label'=>array('text'=>__("dreamjob.title"),"class"=>$default_Form['inputDefaults']['label']['class']))); + Form->input('DreamjobJobOpening.title',array('placeholder'=>__('dreamjob.opening.title.placeholder'),'label'=>array('text'=>__("dreamjob.title"),"class"=>$default_Form['inputDefaults']['label']['class']))); echo $this->Form->input('DreamjobJobOpening.startdate',array('label'=>array('text'=>__("dreamjob.opening.startdate"),"class"=>$default_Form['inputDefaults']['label']['class']),"style"=>'width:20%;display:inline-block;','dateFormat' => 'DMY','minYear' => date('Y') - 10, 'maxYear' => date('Y')+10)); echo $this->Form->input('DreamjobJobOpening.enddate',array('label'=>array('text'=>__("dreamjob.opening.enddate"),"class"=>$default_Form['inputDefaults']['label']['class']),"style"=>'width:20%;display:inline-block;','dateFormat' => 'DMY','minYear' => date('Y') - 10, 'maxYear' => date('Y')+10)); echo $this->Form->input('DreamjobJobOpening.kindofjob_id',array('label'=>array('text'=>__("dreamjob.kindofjob"),"class"=>$default_Form['inputDefaults']['label']['class']))); @@ -40,8 +40,8 @@ echo $this->Form->create('DreamjobJobOpening',$default_Form);
- Form->input('DreamjobJobOpening.street',array('label'=>array('text'=>__("dreamjob.street"),"class"=>$default_Form['inputDefaults']['label']['class']))); - echo $this->Form->input('DreamjobJobOpening.postcode',array('label'=>array('text'=>__("dreamjob.postcode"),"class"=>$default_Form['inputDefaults']['label']['class']))); + Form->input('DreamjobJobOpening.street',array('placeholder'=>__('dreamjob.street.placeholder'),'label'=>array('text'=>__("dreamjob.street"),"class"=>$default_Form['inputDefaults']['label']['class']))); + echo $this->Form->input('DreamjobJobOpening.postcode',array('placeholder'=>__('dreamjob.postcode.placeholder'),'label'=>array('text'=>__("dreamjob.postcode"),"class"=>$default_Form['inputDefaults']['label']['class']))); echo $this->Form->input('DreamjobJobOpening.city_id',array("label" => array('text'=>__("dreamjob.city"),"class"=>$default_Form['inputDefaults']['label']['class']))); ?> Form->textarea('DreamjobJobOpening.text',array("class"=>'form-control',"rows"=>10)); ?> diff --git a/app/View/Registration/company.ctp b/app/View/Registration/company.ctp index 57ba472..c9b18ca 100644 --- a/app/View/Registration/company.ctp +++ b/app/View/Registration/company.ctp @@ -12,25 +12,25 @@
Form->input('User.mail',array('label'=>array('text'=>__("dreamjob.mail"),"class"=>$default_Form['inputDefaults']['label']['class']))); + echo $this->Form->input('User.mail',array('placeholder'=>__('dreamjob.mail.placeholder'),'label'=>array('text'=>__("dreamjob.mail"),"class"=>$default_Form['inputDefaults']['label']['class']))); echo $this->Form->input('User.password1',array('label'=>array('text'=>__("dreamjob.password"),"class"=>$default_Form['inputDefaults']['label']['class']),'type'=>'password')); echo $this->Form->input('User.password2',array('label'=>array('text'=>__("dreamjob.password2"),"class"=>$default_Form['inputDefaults']['label']['class']),'type'=>'password')); ?> Form->input('AppUser.nickname',array('label'=>array('text'=>__("dreamjob.company.nickname"),"class"=>$default_Form['inputDefaults']['label']['class']))); - echo $this->Form->input('DreamjobCompany.corporateform',array('label'=>array('text'=>__("dreamjob.corporateform"),"class"=>$default_Form['inputDefaults']['label']['class']))); - echo $this->Form->input('DreamjobCompany.owner',array('label'=>array('text'=>__("dreamjob.owner"),"class"=>$default_Form['inputDefaults']['label']['class']))); + echo $this->Form->input('AppUser.nickname',array('placeholder'=>__('dreamjob.nickname.placeholder'),'label'=>array('text'=>__("dreamjob.company.nickname"),"class"=>$default_Form['inputDefaults']['label']['class']))); + echo $this->Form->input('DreamjobCompany.corporateform',array('placeholder'=>__('dreamjob.corporateform.placeholder'),'label'=>array('text'=>__("dreamjob.corporateform"),"class"=>$default_Form['inputDefaults']['label']['class']))); + echo $this->Form->input('DreamjobCompany.owner',array('placeholder'=>__('dreamjob.ownser.placeholder'),'label'=>array('text'=>__("dreamjob.owner"),"class"=>$default_Form['inputDefaults']['label']['class']))); echo $this->Form->input('DreamjobCompany.branch_id',array('label'=>array('text'=>__("dreamjob.branch"),"class"=>$default_Form['inputDefaults']['label']['class']))); - echo $this->Form->input('DreamjobCompany.headcount',array('label'=>array('text'=>__("dreamjob.headcount"),"class"=>$default_Form['inputDefaults']['label']['class']))); - //echo $this->Form->input('DreamjobCompany.bank_details',array('label'=>array('text'=>__("dreamjob.bank_details"),"class"=>$default_Form['inputDefaults']['label']['class']))); - echo $this->Form->input('DreamjobCompany.website',array('label'=>array('text'=>__("dreamjob.website"),"class"=>$default_Form['inputDefaults']['label']['class']))); + echo $this->Form->input('DreamjobCompany.headcount',array('placeholder'=>__('dreamjob.hreadcount.placeholder'),'label'=>array('text'=>__("dreamjob.headcount"),"class"=>$default_Form['inputDefaults']['label']['class']))); + //echo $this->Form->input('DreamjobCompany.bank_details',array('placeholder'=>__('dreamjob.bank_details.placeholder'),'label'=>array('text'=>__("dreamjob.bank_details"),"class"=>$default_Form['inputDefaults']['label']['class']))); + echo $this->Form->input('DreamjobCompany.website',array('placeholder'=>__('dreamjob.website.placeholder'),'label'=>array('text'=>__("dreamjob.website"),"class"=>$default_Form['inputDefaults']['label']['class']))); ?> Form->input('DreamjobUser.street',array('label'=>array('text'=>__("dreamjob.street"),"class"=>$default_Form['inputDefaults']['label']['class']))); + echo $this->Form->input('DreamjobUser.street',array('placeholder'=>__('dreamjob.street.placeholder'),'label'=>array('text'=>__("dreamjob.street"),"class"=>$default_Form['inputDefaults']['label']['class']))); echo $this->Form->input('DreamjobUser.city_id',array('label'=>array('text'=>__("dreamjob.city"),"class"=>$default_Form['inputDefaults']['label']['class']))); - echo $this->Form->input('DreamjobUser.postcode',array('label'=>array('text'=>__("dreamjob.postcode"),"class"=>$default_Form['inputDefaults']['label']['class']))); + echo $this->Form->input('DreamjobUser.postcode',array('placeholder'=>__('dreamjob.postcode.placeholder'),'label'=>array('text'=>__("dreamjob.postcode"),"class"=>$default_Form['inputDefaults']['label']['class']))); ?>
diff --git a/app/View/Registration/worker.ctp b/app/View/Registration/worker.ctp index 1f4e7c2..bf70594 100644 --- a/app/View/Registration/worker.ctp +++ b/app/View/Registration/worker.ctp @@ -12,28 +12,28 @@
Form->input('User.mail',array('label'=>array('text'=>__("dreamjob.mail"),"class"=>$default_Form['inputDefaults']['label']['class']))); + echo $this->Form->input('User.mail',array('placeholder'=>__('dreamjob.mail.placeholder'),'label'=>array('text'=>__("dreamjob.mail"),"class"=>$default_Form['inputDefaults']['label']['class']))); echo $this->Form->input('User.password1',array('label'=>array('text'=>__("dreamjob.password"),"class"=>$default_Form['inputDefaults']['label']['class']),'type'=>'password')); echo $this->Form->input('User.password2',array('label'=>array('text'=>__("dreamjob.password2"),"class"=>$default_Form['inputDefaults']['label']['class']),'type'=>'password')); ?> Form->input('AppUser.mannerofaddress_id',array('label'=>array('text'=>__("dreamjob.mannerofaddress"),"class"=>$default_Form['inputDefaults']['label']['class']))); - echo $this->Form->input('AppUser.first_name',array('label'=>array('text'=>__("dreamjob.first_name"),"class"=>$default_Form['inputDefaults']['label']['class']))); - echo $this->Form->input('AppUser.last_name',array('label'=>array('text'=>__("dreamjob.last_name"),"class"=>$default_Form['inputDefaults']['label']['class']))); + echo $this->Form->input('AppUser.first_name',array('placeholder'=>__('dreamjob.first_name.placeholder'),'label'=>array('text'=>__("dreamjob.first_name"),"class"=>$default_Form['inputDefaults']['label']['class']))); + echo $this->Form->input('AppUser.last_name',array('placeholder'=>__('dreamjob.last_name.placeholder'),'label'=>array('text'=>__("dreamjob.last_name"),"class"=>$default_Form['inputDefaults']['label']['class']))); echo $this->Form->input('AppUser.bday',array('label'=>array('text'=>__("dreamjob.bday"),"class"=>$default_Form['inputDefaults']['label']['class']),"style"=>'width:20%;display:inline-block;','dateFormat' => 'DMY', 'minYear' => date('Y') - 100, 'maxYear' => date('Y') - 14)); - echo $this->Form->input('DreamjobWorker.iam',array('label'=>array('text'=>__("dreamjob.iam"),"class"=>$default_Form['inputDefaults']['label']['class']))); + echo $this->Form->input('DreamjobWorker.iam',array('placeholder'=>__('dreamjob.iam.placeholder'),'label'=>array('text'=>__("dreamjob.iam"),"class"=>$default_Form['inputDefaults']['label']['class']))); echo $this->Form->input('DreamjobWorker.graducation_id',array('label'=>array('text'=>__("dreamjob.graducation"),"class"=>$default_Form['inputDefaults']['label']['class']))); - echo $this->Form->input('DreamjobWorker.workexperience',array('label'=>array('text'=>__("dreamjob.workexperience"),"class"=>$default_Form['inputDefaults']['label']['class']))); + echo $this->Form->input('DreamjobWorker.workexperience',array('placeholder'=>__('dreamjob.workexperience.placeholder'),'label'=>array('text'=>__("dreamjob.workexperience"),"class"=>$default_Form['inputDefaults']['label']['class']))); ?> Form->input('DreamjobUser.street',array('label'=>array('text'=>__("dreamjob.street"),"class"=>$default_Form['inputDefaults']['label']['class']))); + echo $this->Form->input('DreamjobUser.street',array('placeholder'=>__('dreamjob.street.placeholder'),'label'=>array('text'=>__("dreamjob.street"),"class"=>$default_Form['inputDefaults']['label']['class']))); echo $this->Form->input('DreamjobUser.city_id',array('label'=>array('text'=>__("dreamjob.city"),"class"=>$default_Form['inputDefaults']['label']['class']))); - echo $this->Form->input('DreamjobUser.postcode',array('label'=>array('text'=>__("dreamjob.postcode"),"class"=>$default_Form['inputDefaults']['label']['class']))); - echo $this->Form->input('DreamjobWorker.country',array('label'=>array('text'=>__("dreamjob.country"),"class"=>$default_Form['inputDefaults']['label']['class']))); + echo $this->Form->input('DreamjobUser.postcode',array('placeholder'=>__('dreamjob.postcode.placeholder'),'label'=>array('text'=>__("dreamjob.postcode"),"class"=>$default_Form['inputDefaults']['label']['class']))); + echo $this->Form->input('DreamjobWorker.country',array('placeholder'=>__('dreamjob.country.placeholder'),'label'=>array('text'=>__("dreamjob.country"),"class"=>$default_Form['inputDefaults']['label']['class']))); ?>
diff --git a/app/View/Search/academy.ctp b/app/View/Search/academy.ctp index b92b3a7..0c31551 100644 --- a/app/View/Search/academy.ctp +++ b/app/View/Search/academy.ctp @@ -17,11 +17,12 @@ $a = $default_hForm['inputDefaults']; $a['inputDefaults']['between'] = false; $a['inputDefaults']['after'] = false; + $a['placeholder'] = __('dreamjob.search.opening.placeholder'); echo $this->Form->input('DreamjobJobOpening.title',$a); ?>