';
+ public function init($controller){
+ $controller->Security->requireSecure();
+ $this->User = ClassRegistry::init('User');
+ $this->refreshCache();
+ }
+
+ public function initWeb($controller){
+ $controller->set("isLoggedin",$this->isLoggedin());
+ if($this->isLoggedin()){
+ $controller->set("WORKER",($this->self_worker_obj)?$this->self_worker_obj:false);
+ $controller->set("COMPANY",($this->self_company_obj)?$this->self_company_obj:false);
+ }
+ $controller->set("isStaff",$this->isStaff());
+ $controller->set("MEDIA",'/uploads');
+ $controller->set("strip_tags",self::$strip_tags);
+ $controller->set('default_sForm',array(
+ 'inputDefaults' => array(
+ 'div' => array('class' => 'control-group'),
+ 'label' => array('class' => 'control-label'),
+ 'between' => '',
+ 'after' => '
',
+ 'class' => ''))
+ );
+ $controller->set('default_hForm',array(
+ 'inputDefaults' => array(
+ 'div' => true,
+ 'label' => false,
+ 'error' => false,
+ 'class' => 'form-control '),
+ 'class'=>'tableForm'
+ )
+ );
+ $controller->set('default_Form',array(
+ 'inputDefaults' => array(
+ 'div' => array('class' => 'form-group'),
+ 'label' => array('class' => 'col-sm-3 control-label'),
+ 'between' => '',
+ 'after' => '
',
+ 'error' => array('attribute'=>array('wrap'=>'span','class'=>'help-block')),
+ 'class' => 'form-control '))
+ );
+ }
+ public function refreshCache(){
+ if($this->isLoggedin()){
+ $self_company = false;
+ $this->self_worker_obj = $this->getApplication('DreamjobWorker');
+ if(!is_array($this->self_worker_obj) or count($this->self_worker_obj)<= 0){
+ $this->self_company_obj = $this->getApplication('DreamjobCompany');
+ $self_company = true;
+ }
+ }
+ }
+ public function getCompany(){
+ return $this->self_company_obj;
+ }
+
+ public function getWorker(){
+ return $this->self_worker_obj;
+ }
+
+ public function isLoggedin(){
+ return $this->Session->check('user');
+ }
+
+ public function isStaff(){
+ return false;
+ }
+
+ public function login($mail,$password){
+ $users=$this->User->find('first', array(
+ 'fields' => array('User.id','User.password'),
+ 'conditions' => array('User.mail' => $mail,'User.is_active'=>true)
+ ));
+ if($this->validate_password($password,$users['User']['password']) and !$this->isLoggedin()){
+ $this->User->id = $users['User']['id'];
+ $result = $this->User->saveField('last_login', date("Y-m-d H:i:s"));
+ if($result)
+ $result = $this->Session->write('user',$users['User']['id']);
+ return $result;
+ }
+ return false;
+ }
+
+ public function logout(){
+ if($this->isLoggedin()){
+ $this->Session->delete('user');
+ return true;
+ }
+ return false;
+ }
+
+ public function setFlash($message,$element = 'flash',$params = array(),$key = 'flash') {
+ $this->Session->setFlash($message, $element,$params,$key);
+ }
+
+ public function getApplication($appDirectory,$user_id=false){
+ if(!$user_id)
+ $user_id = $this->Session->read('user');
+ $this->$appDirectory = ClassRegistry::init($appDirectory);
+ return $this->$appDirectory->find('first',array(
+ 'conditions' => array('AppUser.user_id' => $user_id)
+ ));
+ }
+
+
+
+ public static function getOpeningCondition(){
+ return array('and'=>array(
+ 'DreamjobJobOpening.active'=>true,
+ 'DreamjobJobOpening.delete'=>false,
+ 'DreamjobJobOpening.startdate <='=> date("Y-m-d"),
+ 'DreamjobJobOpening.enddate >='=> date("Y-m-d", strtotime("+1 day"))
+ ));
+ }
+
+ public static function generateKey($length=8){
+ return md5(mcrypt_create_iv($length, MCRYPT_DEV_URANDOM));
+ }
+
+ /**
+ * PasswordHasg
+ */
+ public function create_hash($password)
+ {
+ $salt = base64_encode(mcrypt_create_iv(8, MCRYPT_DEV_URANDOM));
+ return "pbkdf2_sha1$10000$" . $salt . "$" .base64_encode($this->pbkdf2("sha1",$password,$salt,10000,20,true));
+ }
+
+ private function validate_password($password, $correct_hash)
+ {
+ $params = explode("$", $correct_hash);
+ if(count($params) < 4) return false;
+ $pbkdf2 = base64_decode($params[3]);
+ return $this->slow_equals($pbkdf2,$this->pbkdf2($params[0],$password,$params[2],(int)$params[1],strlen($pbkdf2),true));
+ }
+
+ private function slow_equals($a, $b)
+ {
+ $diff = strlen($a) ^ strlen($b);
+ for($i = 0; $i < strlen($a) && $i < strlen($b); $i++)
+ $diff |= ord($a[$i]) ^ ord($b[$i]);
+ return $diff === 0;
+ }
+
+ private function pbkdf2($algorithm, $password, $salt, $count, $key_length, $raw_output = false)
+ {
+ $algorithm = strtolower(ltrim($algorithm,"pbkdf2_"));
+ if(!in_array($algorithm, hash_algos(), true))
+ die('PBKDF2 ERROR: Invalid hash algorithm.');
+ if($count <= 0 || $key_length <= 0)
+ die('PBKDF2 ERROR: Invalid parameters.');
+ if (function_exists("hash_pbkdf2")) {
+ if (!$raw_output)
+ $key_length = $key_length * 2;
+ return hash_pbkdf2($algorithm, $password, $salt, $count, $key_length, $raw_output);
+ }
+ $hash_length = strlen(hash($algorithm, "", true));
+ $block_count = ceil($key_length / $hash_length);
+ $output = "";
+ for($i = 1; $i <= $block_count; $i++) {
+ $last = $salt . pack("N", $i);
+ $last = $xorsum = hash_hmac($algorithm, $last, $password, true);
+ for ($j = 1; $j < $count; $j++)
+ $xorsum ^= ($last = hash_hmac($algorithm, $last, $password, true));
+ $output .= $xorsum;
+ }
+ if($raw_output)
+ return substr($output, 0, $key_length);
+ else
+ return bin2hex(substr($output, 0, $key_length));
+ }
+}
+?>
diff --git a/app/Controller/Component/empty b/app/Controller/Component/empty
new file mode 100644
index 0000000..e69de29
diff --git a/app/Controller/ExtraController.php b/app/Controller/ExtraController.php
new file mode 100644
index 0000000..1307886
--- /dev/null
+++ b/app/Controller/ExtraController.php
@@ -0,0 +1,88 @@
+request->is('post')) {
+ $Email = new CakeEmail('dreamjobMain');
+ $Email->to('service@dream-job.eu');
+ $Email->from(array($this->request->data['mail']['adresse'] => $this->request->data['mail']['first_name'] . ' ' . $this->request->data['mail']['last_name']));
+ $Email->subject('[Dreamjob-Kontakt]' . $this->request->data['mail']['subject']);
+ $Email->template('contact');
+ $Email->viewVars(array('text' => $this->request->data, 'strip_tags' => $this->MiconwareSession->strip_tags));
+ if ($Email->send())
+ $this->MiconwareSession->setFlash(__('dreamjob.contactSend.success'), 'flash', array('alert' => 'success'));
+ else
+ $this->MiconwareSession->setFlash(__('dreamjob.contactSend.error'), 'flash', array('alert' => 'danger'));
+ }
+ $this->MiconwareSession->init($this);
+ $this->MiconwareSession->initWeb($this);
+ $this->set('title', __('dreamjob.contact'));
+ $this->render('/Extra/contact');
+ }
+ public function cooperators(){
+ $this->MiconwareSession->init($this);
+ $this->MiconwareSession->initWeb($this);
+ $this->set('title',__('dreamjob.cooperators'));
+ $this->render('/Extra/cooperators');
+ }
+ public function team(){
+ $this->MiconwareSession->init($this);
+ $this->MiconwareSession->initWeb($this);
+ $this->set('title',__('dreamjob.team'));
+ $this->render('/Extra/team');
+ }
+ public function company(){
+ $this->MiconwareSession->init($this);
+ $this->MiconwareSession->initWeb($this);
+ $this->set('title',__('dreamjob.extra.company'));
+ $this->render('/Extra/company');
+ }
+ public function worker(){
+ $this->MiconwareSession->init($this);
+ $this->MiconwareSession->initWeb($this);
+ $this->set('title',__('dreamjob.extra.worker'));
+ $this->render('/Extra/worker');
+ }
+ public function premium(){
+ if ($this->request->is('post')) {
+ $Email = new CakeEmail('dreamjobMain');
+ $Email->to('service@dream-job.eu');
+ $Email->from(array($this->request->data['mail']['adresse'] => $this->request->data['mail']['owner'] . ' von ' . $this->request->data['mail']['company']));
+ $Email->subject('[Dreamjob-Kontakt-Premium]');
+ $Email->template('contact');
+ $Email->viewVars(array('text' => $this->request->data, 'strip_tags' => $this->MiconwareSession->strip_tags));
+ if ($Email->send())
+ $this->MiconwareSession->setFlash(__('dreamjob.contactSend.success'), 'flash', array('alert' => 'success'));
+ else
+ $this->MiconwareSession->setFlash(__('dreamjob.contactSend.error'), 'flash', array('alert' => 'danger'));
+ }
+ $this->MiconwareSession->init($this);
+ $this->MiconwareSession->initWeb($this);
+ $this->set('title',__('dreamjob.premium'));
+ $this->render('/Extra/premium');
+ }
+ public function advertise(){
+ if ($this->request->is('post')) {
+ $Email = new CakeEmail('dreamjobMain');
+ $Email->to('service@dream-job.eu');
+ $Email->from(array($this->request->data['mail']['adresse'] => $this->request->data['mail']['owner'] . ' von ' . $this->request->data['mail']['company']));
+ $Email->subject('[Dreamjob-Kontakt-Advertise]' . $this->request->data['mail']['subject']);
+ $Email->template('contact');
+ $Email->viewVars(array('text' => $this->request->data, 'strip_tags' => $this->MiconwareSession->strip_tags));
+ if ($Email->send())
+ $this->MiconwareSession->setFlash(__('dreamjob.contactSend.success'), 'flash', array('alert' => 'success'));
+ else
+ $this->MiconwareSession->setFlash(__('dreamjob.contactSend.error'), 'flash', array('alert' => 'danger'));
+ }
+ $this->MiconwareSession->init($this);
+ $this->MiconwareSession->initWeb($this);
+ $this->set('title',__('dreamjob.advertise'));
+ $this->render('/Extra/advertise');
+ }
+}
\ No newline at end of file
diff --git a/app/Controller/HomeController.php b/app/Controller/HomeController.php
new file mode 100644
index 0000000..12436cf
--- /dev/null
+++ b/app/Controller/HomeController.php
@@ -0,0 +1,124 @@
+Security->unlockedActions[]="login";
+ parent::beforeFilter();
+ }
+
+ public function home() {
+ $this->MiconwareSession->init($this);
+ $this->MiconwareSession->initWeb($this);
+ $c = $this->MiconwareSession->getCompany();
+ if (!empty($c))
+ return $this->redirect(array('controller'=>'home','action' => 'company'));
+ $openings = $this->DreamjobJobOpening->find('all',array('conditions'=>$this->MiconwareSession->getOpeningCondition(),
+ 'order'=>'DreamjobJobOpening.id DESC','limit'=> self::$opening_limit));
+ $this->set('openings',$openings);
+ $this->set('title', __('dreamjob.startpage'));
+ $this->set('MENU_START', true);
+ $this->render('/Home/home');
+ }
+
+
+ public function login(){
+ $this->MiconwareSession->init($this);
+
+ if($this->request->is('post') and isset($this->request->data['User']['mail']) and isset($this->request->data['User']['password'])){
+ if($this->MiconwareSession->login(
+ $this->request->data['User']['mail'],
+ $this->request->data['User']['password'])
+ ){
+ $this->MiconwareSession->refreshCache();
+ $this->MiconwareSession->setFlash(__('dreamjob.loggedin.success'),'flash',array('alert'=>'success'));
+ }else{
+ $this->MiconwareSession->setFlash(__('dreamjob.loggedin.error'),'flash',array('alert'=>'danger'));
+ }
+ }else{
+ if(isset($this->params['url']['mail']) && isset($this->params['url']['password'])){
+ $this->request->data['User']['mail'] = $this->params['url']['mail'];
+ $this->request->data['User']['password'] = $this->params['url']['password'];
+ }
+ }
+
+
+ $this->MiconwareSession->initWeb($this);
+ $this->render('/Home/login');
+ }
+
+ public function logout(){
+ $this->MiconwareSession->init($this);
+
+ if($this->MiconwareSession->logout())
+ $this->MiconwareSession->setFlash(__('dreamjob.loggingout.success'),'flash',array('alert'=>'success'));
+ else
+ $this->MiconwareSession->setFlash(__('dreamjob.loggingout.error'),'flash',array('alert'=>'danger'));
+
+ $this->MiconwareSession->initWeb($this);
+ $openings = $this->DreamjobJobOpening->find('all',array('conditions'=>$this->MiconwareSession->getOpeningCondition(),
+ 'order'=>'DreamjobJobOpening.id DESC','limit'=> self::$opening_limit));
+ $this->set('openings',$openings);
+ $this->set('title', __('dreamjob.startpage'));
+ $this->set('MENU_START', true);
+ $this->render('/Home/home');
+ }
+
+
+ public function impressum() {
+ $this->MiconwareSession->init($this);
+ $this->MiconwareSession->initWeb($this);
+ $this->set('title', __('dreamjob.impressum'));
+ $this->render('/Home/impressum');
+ }
+
+
+ public function agb() {
+ $this->MiconwareSession->init($this);
+ $this->MiconwareSession->initWeb($this);
+ $this->set('title', __('dreamjob.agb'));
+ $this->render('/Home/agb');
+ }
+
+ public function company() {
+ if($this->request->is('post')){
+ $Email = new CakeEmail('dreamjobMain');
+ $Email->to('service@dream-job.eu');
+ $Email->from(array($this->request->data['mail']['adresse'] => $this->request->data['mail']['first_name'].' '.$this->request->data['mail']['last_name']));
+ $Email->subject('[Dreamjob-Kontakt-Firma]'.$this->request->data['mail']['subject']);
+ $Email->template('contact');
+ $Email->viewVars(array('text'=>$this->request->data,'strip_tags'=>$this->MiconwareSession->strip_tags));
+ if($Email->send())
+ $this->MiconwareSession->setFlash(__('dreamjob.contactSend.success'),'flash',array('alert'=>'success'));
+ else
+ $this->MiconwareSession->setFlash(__('dreamjob.contactSend.error'),'flash',array('alert'=>'danger'));
+ }
+ $this->MiconwareSession->init($this);
+ $this->MiconwareSession->initWeb($this);
+ $this->set('MENU_START_company', true);
+ $this->set('title', __('dreamjob.company'));
+ $this->render('/Home/company');
+ }
+}
diff --git a/app/Controller/JobController.php b/app/Controller/JobController.php
new file mode 100644
index 0000000..a8b066b
--- /dev/null
+++ b/app/Controller/JobController.php
@@ -0,0 +1,557 @@
+add(new DateInterval('P'.$interval.'M'))->format("Y-m-d");
+ }
+
+ public function openingList() {
+ $this->MiconwareSession->init($this);
+
+ $this->MiconwareSession->initWeb($this);
+ $self = $this->MiconwareSession->getCompany();
+
+ if (!is_array($self) or count($self) <= 0) {
+ $this->set('error', array('title'=>__('dreamjob.error.noPermision.title'),'text'=>__('dreamjob.error.noPermision.text')));
+ if(!$this->MiconwareSession->isLoggedin())
+ $this->render('/Home/login');
+ else
+ $this->render('/Home/error');
+ } else {
+ if (!empty($this->request->query['del'])) {
+ $o = $this->DreamjobJobOpening->findById($this->request->query['del']);
+ if ($o['AppUser']['id'] == $self['AppUser']['id']) {
+ $o['DreamjobJobOpening']['delete']=true;
+ $o['DreamjobJobOpening']['active']=true;
+ $this->DreamjobJobOpening->save($o);
+ $this->MiconwareSession->setFlash(__('dreamjob.opening.delete.success'), 'flash', array('alert' => 'success'));
+ } else {
+ $this->MiconwareSession->setFlash(__('dreamjob.opening.delete.error'), 'flash', array('alert' => 'danger'));
+ }
+ }
+ $openings = $this->DreamjobJobOpening->find('all', array('conditions' => array('DreamjobJobOpening.company_id' => $self['AppUser']['id'],'DreamjobJobOpening.delete'=>false)));
+ $this->set('openings', $openings);
+ $this->render('/Job/opening_list');
+ }
+ }
+
+ public function openingAdd() {
+ $this->MiconwareSession->init($this);
+ $this->MiconwareSession->initWeb($this);
+ $c = $this->MiconwareSession->getCompany();
+ if (!empty($c)) {
+ if ($this->request->is('post')) {
+ if ($this->request->data['DreamjobJobOpening']['agb']) {
+ unset($this->request->data['DreamjobJobOpening']['agb']);
+ if ($this->request->data['DreamjobJobOpening']['cost']) {
+ unset($this->request->data['DreamjobJobOpening']['cost']);
+ $this->DreamjobJobOpening->create($this->request->data);
+ $this->DreamjobJobOpening->data['DreamjobJobOpening']['company_id'] = $c['AppUser']['id'];
+ $this->DreamjobJobOpening->data['DreamjobJobOpening']['enddate'] = JobController::monthAdd($this->DreamjobJobOpening->data['DreamjobJobOpening']['startdate'],3);
+ $this->request->data['DreamjobJobOpening']['enddate'] = $this->DreamjobJobOpening->data['DreamjobJobOpening']['enddate'];
+ if ($this->DreamjobJobOpening->save()) {
+ $this->MiconwareSession->setFlash(__('dreamjob.opening.save.success'), 'flash', array('alert' => 'success'));
+ if($this->request->data['DreamjobJobOpening']['active'] and $this->request->data['DreamjobJobOpening']['startdate'] <= date("Y-m-d") and $this->request->data['DreamjobJobOpening']['enddate'] >= date("Y-m-d", strtotime("+1 day") ) )
+ return $this->redirect(array('action' => 'openingGet','id'=>$this->DreamjobJobOpening->id));
+ $this->request->data=array();
+ $this->request->data['DreamjobJobOpening']['active']=true;
+ $this->request->data['DreamjobJobOpening']['company_id']=$c['AppUser']['id'];
+ } else {
+ $this->MiconwareSession->setFlash(__('dreamjob.opening.save.error'), 'flash', array('alert' => 'danger'));
+ }
+ }else{
+ $this->MiconwareSession->setFlash(__('dreamjob.cost.error.notAccept'), 'flash', array('alert' => 'danger'));
+ }
+ }else{
+ $this->MiconwareSession->setFlash(__('dreamjob.agb.error.notAccept'), 'flash', array('alert' => 'danger'));
+ }
+ }else{
+ $this->MiconwareSession->setFlash(__('dreamjob.opening.cost'), 'flash', array('alert' => 'danger'));
+ $this->request->data['DreamjobJobOpening']['active']=true;
+ $this->request->data['DreamjobJobOpening']['company_id']=$c['AppUser']['id'];
+ }
+ $this->set('enddate_no',false);
+ $this->set('kindofjobs', $this->DreamjobJobOpening->DreamjobListKindofjob->find('list'));
+ $this->set('graducations', $this->DreamjobJobOpening->DreamjobListGraducation->find('list'));
+ $this->set('branches', $this->DreamjobListBranch->find('list'));
+ $this->set('cities', $this->DreamjobListCity->find('list'));
+ $this->render('/Job/opening_edit');
+ } else {
+ $this->set('error', array('title'=>__('dreamjob.error.noCompany.title'),'text'=>__('dreamjob.error.noCompany.text')));
+ if(!$this->MiconwareSession->isLoggedin())
+ $this->render('/Home/login');
+ else
+ $this->render('/Home/error');
+ }
+ }
+
+ public function openingEdit() {
+ $this->MiconwareSession->init($this);
+ $this->MiconwareSession->initWeb($this);
+
+ $a = $this->MiconwareSession->getCompany();
+ if (empty($a)) {
+ $this->set('error', array('title'=>__('dreamjob.error.noCompany.title'),'text'=>__('dreamjob.error.noCompany.text')));
+ if(!$this->MiconwareSession->isLoggedin())
+ $this->render('/Home/login');
+ else
+ $this->render('/Home/error');
+ }
+ if (!empty($this->request->params['id'])) {
+ $load = $this->DreamjobJobOpening->findById($this->request->params['id']);
+ $cid = $a['AppUser']['id'];
+ if (!empty($load) and $load['DreamjobJobOpening']['company_id'] == $cid and $load['DreamjobJobOpening']['delete']==false) {
+ $enddate_no = ($load['DreamjobJobOpening']['startdate']<=date("Y-m-d",strtotime("-1 day")));
+ $this->set('enddate_no',$enddate_no);
+ if ($this->request->is(array('post', 'put'))) {
+ if ($this->request->data['DreamjobJobOpening']['agb']) {
+ unset($this->request->data['DreamjobJobOpening']['agb']);
+ if ($this->request->data['DreamjobJobOpening']['cost']) {
+ unset($this->request->data['DreamjobJobOpening']['cost']);
+ $addToEnddate = !empty($this->request->data['DreamjobJobOpening']['addToEnddate']);
+ $this->DreamjobJobOpening->create($this->request->data);
+ $this->DreamjobJobOpening->data['DreamjobJobOpening']['id'] = $this->request->params['id'];
+ $this->DreamjobJobOpening->data['DreamjobJobOpening']['company_id'] = $cid;
+ if($enddate_no){
+ $this->DreamjobJobOpening->data['DreamjobJobOpening']['startdate'] = $load['DreamjobJobOpening']['startdate'];
+ if($addToEnddate)
+ $this->DreamjobJobOpening->data['DreamjobJobOpening']['enddate'] = JobController::monthAdd($load['DreamjobJobOpening']['enddate'],1);
+ else
+ $this->DreamjobJobOpening->data['DreamjobJobOpening']['enddate'] = $load['DreamjobJobOpening']['enddate'];
+ }else{
+ $this->DreamjobJobOpening->data['DreamjobJobOpening']['enddate'] = JobController::monthAdd($this->DreamjobJobOpening->data['DreamjobJobOpening']['startdate'],3);
+ $this->request->data['DreamjobJobOpening']['startdate'] = $this->DreamjobJobOpening->data['DreamjobJobOpening']['startdate'];
+ }
+ if ($this->DreamjobJobOpening->save($this->DreamjobJobOpening->data)) {
+ if($this->request->data['DreamjobJobOpening']['active'] and $this->request->data['DreamjobJobOpening']['startdate'] <= date("Y-m-d") and $this->request->data['DreamjobJobOpening']['enddate'] >= date("Y-m-d", strtotime("+1 day") ))
+ return $this->redirect(array('action' => 'openingGet','id'=>$this->request->params['id']));
+ $load = $this->DreamjobJobOpening->findById($this->request->params['id']);
+ $enddate_no = ($load['DreamjobJobOpening']['startdate']<=date("Y-m-d",strtotime("-1 day")));
+ $this->set('enddate_no',$enddate_no);
+ $this->MiconwareSession->setFlash(__('dreamjob.opening.save.success'), 'flash', array('alert' => 'success'));
+ } else
+ $this->MiconwareSession->setFlash(__('dreamjob.opening.save.error'), 'flash', array('alert' => 'danger'));
+ }else{
+ $this->MiconwareSession->setFlash(__('dreamjob.cost.error.notAccept'), 'flash', array('alert' => 'danger'));
+ }
+ }else{
+ $this->MiconwareSession->setFlash(__('dreamjob.agb.error.notAccept'), 'flash', array('alert' => 'danger'));
+ }
+ }else{
+ $this->MiconwareSession->setFlash(__('dreamjob.opening.cost'), 'flash', array('alert' => 'danger'));
+ }
+ }
+ $this->request->data = $load;
+ $this->set('startdate',$load['DreamjobJobOpening']['startdate']);
+ $this->set('enddate',$load['DreamjobJobOpening']['enddate']);
+ $this->set('enddate_next',JobController::monthAdd($load['DreamjobJobOpening']['enddate'],3));
+ $this->set('kindofjobs', $this->DreamjobJobOpening->DreamjobListKindofjob->find('list'));
+ $this->set('graducations', $this->DreamjobJobOpening->DreamjobListGraducation->find('list'));
+ $this->set('branches', $this->DreamjobListBranch->find('list'));
+ $this->set('cities', $this->DreamjobListCity->find('list'));
+ }
+
+ if (empty($this->request->data['DreamjobJobOpening'])) {
+ $this->set('error', array('title'=>__('dreamjob.error.opening.notFound.title'),'text'=>__('dreamjob.error.opening.notFound.text')));
+ $this->render('/Home/error');
+ } elseif ($this->request->data['DreamjobJobOpening']['company_id'] != $a['AppUser']['id']) {
+ $this->set('error', array('title'=>__('dreamjob.error.noPermision.title'),'text'=>__('dreamjob.error.noPermision.text')));
+ $this->render('/Home/error');
+ } else {
+ $this->render('/Job/opening_edit');
+ }
+ }
+
+ public function openingGet() {
+ $this->MiconwareSession->init($this);
+
+ $opening = false;
+
+
+ if (!empty($this->request->params['id'])) {
+ if (!empty($this->request->params['extra'])){
+ if ($this->request->params['extra'] == 'favorite') {
+ $WORKER = $this->MiconwareSession->getWorker();
+ $fav = false;
+ foreach ($WORKER['Favority'] as $val) {
+ if ($val['id'] == $this->request->params['id'])
+ $fav = true;
+ }
+ $data = array('DreamjobJobFavority' => array('opening_id' => $this->request->params['id'], 'worker_id' => $WORKER['AppUser']['id']), 'modified' => false);
+ $data2 = array('DreamjobJobFavority.opening_id' => $this->request->params['id'], 'DreamjobJobFavority.worker_id' => $WORKER['AppUser']['id']);
+ if ($fav) {
+ $this->MiconwareSession->setFlash(__('dreamjob.opening.fav.delete.success'), 'flash', array('alert' => 'success'));
+ $this->DreamjobJobFavority->deleteAll($data2, false);
+ } else {
+ $this->DreamjobJobFavority->create();
+ $this->DreamjobJobFavority->save($data);
+ $this->MiconwareSession->setFlash(__('dreamjob.opening.fav.add.success'), 'flash', array('alert' => 'success'));
+ }
+ $this->set('OPP_NORMAL',true);
+ }elseif ($this->request->params['extra'] == 'openinginfo') {
+ $this->set('OPP_OPENING',true);
+ }elseif ($this->request->params['extra'] == 'companyinfo') {
+ $this->set('OPP_COMPANY',true);
+ }else{
+ $this->set('OPP_NORMAL',true);
+ }
+ }else
+ $this->set('OPP_NORMAL',true);
+ $con = $this->MiconwareSession->getOpeningCondition();
+ $con['DreamjobJobOpening.id'] = $this->request->params['id'];
+ $opening = $this->DreamjobJobOpening->find('first', array('conditions' => $con));
+ }
+
+
+ $this->MiconwareSession->refreshCache();
+ $this->MiconwareSession->initWeb($this);
+
+ if (!is_array($opening) or count($opening) <= 0) {
+ $this->set('error', array('title'=>__('dreamjob.error.opening.notFound.title'),'text'=>__('dreamjob.error.opening.notFound.text')));
+ if(!$this->MiconwareSession->isLoggedin())
+ $this->render('/Home/login');
+ else
+ $this->render('/Home/error');
+ $this->render('/Home/error');
+ } else {
+ $this->set('opening', $opening);
+ $this->render('/Job/opening');
+ }
+ }
+
+ public function favorite() {
+ $this->MiconwareSession->init($this);
+
+ $this->MiconwareSession->initWeb($this);
+ $self = $this->MiconwareSession->getWorker();
+ if (!is_array($self) or count($self) <= 0) {
+ $this->set('error', array('title'=>__('dreamjob.error.noPermision.title'),'text'=>__('dreamjob.error.noPermision.text')));
+ if(!$this->MiconwareSession->isLoggedin())
+ $this->render('/Home/login');
+ else
+ $this->render('/Home/error');
+ } else {
+ $fav_id = array();
+ foreach ($self['Favority'] as $fav)
+ $fav_id[] = $fav['id'];
+ $con = $this->MiconwareSession->getOpeningCondition();
+ $con['DreamjobJobOpening.id'] = $fav_id;
+ $openings = $this->DreamjobJobOpening->find('all', array('conditions' => $con));
+ $this->set('openings', $openings);
+ $this->set('opening_MINI', true);
+ $this->render('/Job/favorite');
+ }
+ }
+
+ public function applicationList() {
+ $this->MiconwareSession->init($this);
+
+ $this->MiconwareSession->initWeb($this);
+ $self = $this->MiconwareSession->getWorker();
+
+ if (!is_array($self) or count($self) <= 0) {
+ $this->set('error', array('title'=>__('dreamjob.error.noPermision.title'),'text'=>__('dreamjob.error.noPermision.text')));
+ if(!$this->MiconwareSession->isLoggedin())
+ $this->render('/Home/login');
+ else
+ $this->render('/Home/error');
+ } else {
+ $applications = $this->DreamjobJobApplication->find('all', array('conditions' => array('DreamjobJobApplication.worker_id' => $self['AppUser']['id'])));
+ $this->set('applications', $applications);
+ $this->set('opening_MINI', true);
+ $this->render('/Job/applicationWorker_list');
+ }
+ }
+
+ public function applicationGet() {
+ $this->MiconwareSession->init($this);
+
+ $this->MiconwareSession->initWeb($this);
+ $WORKER = $this->MiconwareSession->getWorker();
+ $COMPANY = $self = $this->MiconwareSession->getCompany();
+ $application = null;
+ if (isset($this->request->params['id'])) {
+ if (is_array($WORKER) and count($WORKER) > 0)
+ $application = $this->DreamjobJobApplication->find('first', array('conditions' => array('DreamjobJobApplication.worker_id' => $WORKER['AppUser']['id'], 'DreamjobJobApplication.id' => $this->request->params['id'])));
+ if (is_array($COMPANY) and count($COMPANY) > 0)
+ $application = $this->DreamjobJobApplication->find('first', array('conditions' => array('DreamjobJobOpening.company_id' => $COMPANY['AppUser']['id'], 'DreamjobJobApplication.id' => $this->request->params['id'])));
+ }
+
+ if (!is_array($application) or count($application) <= 0) {
+ $this->set('error', array('title'=>__('dreamjob.error.noPermision.title'),'text'=>__('dreamjob.error.noPermision.text')));
+ if(!$this->MiconwareSession->isLoggedin())
+ $this->render('/Home/login');
+ else
+ $this->render('/Home/error');
+ } else {
+ $this->set('page', null);
+ $this->set("edit", false);
+ if (!empty($this->request->params['hiv'])) {
+ $this->DreamjobJobApplication->id = $application['DreamjobJobApplication']['id'];
+ if ($this->DreamjobJobApplication->saveField('closed', !$application['DreamjobJobApplication']['closed'])) {
+ $application = $this->DreamjobJobApplication->find('first', array('conditions' => array('DreamjobJobApplication.id' => $this->request->params['id'])));
+ $this->MiconwareSession->setFlash(__('dreamjob.application.archiv.success'), 'flash', array('alert' => 'success'));
+ } else {
+ $this->MiconwareSession->setFlash(__('dreamjob.application.archiv.error'), 'flash', array('alert' => 'danger'));
+ }
+ }
+ if (!empty($this->request->params['ages'])) {
+ $this->set('msg', true);
+ if ($this->request->is('post')) {
+ $this->DreamjobJobMsg->create($this->request->data);
+ $this->DreamjobJobMsg->data['DreamjobJobMsg']['saw'] = false;
+ $this->DreamjobJobMsg->data['DreamjobJobMsg']['application_id'] = $application['DreamjobJobApplication']['id'];
+ $this->DreamjobJobMsg->data['DreamjobJobMsg']['fromcompany'] = is_array($COMPANY) and count($COMPANY) > 0;
+ if ($this->DreamjobJobMsg->sendMessage()) {
+ $application = $this->DreamjobJobApplication->find('first', array('conditions' => array('DreamjobJobApplication.id' => $this->request->params['id'])));
+ $this->MiconwareSession->setFlash(__('dreamjob.application.msg.success'), 'flash', array('alert' => 'success'));
+ } else {
+ $this->MiconwareSession->setFlash(__('dreamjob.application.msg.error'), 'flash', array('alert' => 'danger'));
+ }
+ }
+ if (is_array($WORKER) and count($WORKER) > 0)
+ $this->DreamjobJobMsg->updateAll(array("saw" => true), array("DreamjobJobMsg.fromcompany" => true, "DreamjobJobMsg.application_id" => $this->request->params['id']));
+ if (is_array($COMPANY) and count($COMPANY) > 0)
+ $this->DreamjobJobMsg->updateAll(array("saw" => true), array("DreamjobJobMsg.fromcompany" => false, "DreamjobJobMsg.application_id" => $this->request->params['id']));
+ }else {
+ $this->set('msg', false);
+ // CV
+ if (!empty($this->request->params['vitea'])) {
+ $cv = $this->DreamjobCvEntry->find('all', array('conditions' => array('worker_id' => $application['DreamjobJobApplication']['worker_id'])));
+ $this->set("cv", $cv);
+ $cvp0 = $this->DreamjobListCvCategory->find('first', array('conditions' => array('DreamjobListCvCategory.position' => 0)));
+ $this->set('cvp0', $cvp0);
+ } else {
+ if (!empty($this->request->params['page'])) {
+ /* $this->set('pageInh',$this->DreamjobJobApplication->Page->find('first',
+ array('conditions' => array("Page.id" => $this->request->params['page']))
+ )); */
+ $page = $this->DreamjobJobApplication->PageText->find('first', array('conditions' => array("PageText.page_ptr_id" => $this->request->params['page']))
+ );
+ if (!is_array($page) or count($page) <= 0)
+ $page = $this->DreamjobJobApplication->PageImage->find('first', array('conditions' => array("PageImage.page_ptr_id" => $this->request->params['page']))
+ );
+ $this->set('page', $page);
+ }
+ }
+ }
+ $this->set('application', $application);
+ $this->render('/Job/application');
+ }
+ }
+
+ public function applicationByOpening() {
+ $this->MiconwareSession->init($this);
+
+ $this->MiconwareSession->initWeb($this);
+ $COMPANY = $self = $this->MiconwareSession->getCompany();
+ $applications = null;
+ $opening = null;
+ if (isset($this->request->params['id'])) {
+ if (is_array($COMPANY) and count($COMPANY) > 0)
+ $opening = $this->DreamjobJobOpening->find('first', array('conditions' => array('DreamjobJobOpening.company_id' => $COMPANY['AppUser']['id'], 'DreamjobJobOpening.id' => $this->request->params['id'])));
+ if (!empty($this->request->query['archiv']) and count($opening) > 0) {
+ $application = $this->DreamjobJobApplication->find('first', array('conditions' => array('DreamjobJobApplication.id' => $this->request->query['archiv'], 'DreamjobJobApplication.opening_id' => $this->request->params['id'])));
+ $this->DreamjobJobApplication->id = $this->request->query['archiv'];
+ if ($this->DreamjobJobApplication->saveField('closed', !$application['DreamjobJobApplication']['closed'])) {
+ $application = $this->DreamjobJobApplication->find('first', array('conditions' => array('DreamjobJobApplication.id' => $this->request->params['id'])));
+ $this->MiconwareSession->setFlash(__('dreamjob.application.archiv.success'), 'flash', array('alert' => 'success'));
+ } else {
+ $this->MiconwareSession->setFlash(__('dreamjob.application.archiv.error'), 'flash', array('alert' => 'danger'));
+ }
+ }
+
+ $filter_current = false;
+ $filter_archiv = false;
+ $condition = array('DreamjobJobOpening.company_id' => $COMPANY['AppUser']['id'], 'DreamjobJobApplication.opening_id' => $this->request->params['id']);
+ if (isset($this->request->query['filter']) and $this->request->query['filter'] == 'all') {
+
+ } elseif (isset($this->request->query['filter']) and $this->request->query['filter'] == 'archiv') {
+ $condition['closed'] = true;
+ $filter_archiv = true;
+ } else {
+ $condition['closed'] = false;
+ $filter_current = true;
+ }
+
+
+ $applications = $this->DreamjobJobApplication->find('all', array('conditions' => $condition));
+ $this->set("filter_archiv", $filter_archiv);
+ $this->set("filter_current", $filter_current);
+ }
+ if (!is_array($opening) or count($opening) <= 0) {
+ $this->set('error', array('title'=>__('dreamjob.error.noPermision.title'),'text'=>__('dreamjob.error.noPermision.text')));
+ if(!$this->MiconwareSession->isLoggedin())
+ $this->render('/Home/login');
+ else
+ $this->render('/Home/error');
+ } else {
+ $this->set('opening', $opening);
+ $this->set('applications', $applications);
+ $this->render('/Job/applicationCompany_list');
+ }
+ }
+
+
+ public function applicationSend() {
+ $this->MiconwareSession->init($this);
+ $this->MiconwareSession->initWeb($this);
+ $w = $this->MiconwareSession->getWorker();
+ if (!empty($w)) {
+ $opening = null;
+ if (!empty($this->request->params['id'])) {
+ $con = $this->MiconwareSession->getOpeningCondition();
+ $con['DreamjobJobOpening.id'] = $this->request->params['id'];
+ $opening = $this->DreamjobJobOpening->find('first', array('conditions' => $con));
+ }
+ if (!is_array($opening) or count($opening) <= 0) {
+ $this->set('error', array('title'=>__('dreamjob.error.opening.notFound.title'),'text'=>__('dreamjob.error.opening.notFound.text')));
+ $this->render('/Home/error');
+ } else {
+ if ($this->request->is('post')) {
+ if ($this->request->data['DreamjobJobApplication']['agb']) {
+ unset($this->request->data['DreamjobJobApplication']['agb']);
+
+ $this->request->data['DreamjobJobApplication']['worker_id'] = $w['AppUser']['id'];
+ $this->request->data['DreamjobJobApplication']['opening_id'] = $this->request->params['id'];
+ $pages = $this->request->data['DreamjobJobApplicationPage']['page_id'];
+ unset($this->request->data['DreamjobJobApplicationPage']['page_id']);
+ foreach ($pages as $id)
+ $this->request->data['DreamjobJobApplicationPage'][] = array('page_id' => $id);
+ $result = $this->DreamjobJobApplication->sendApplication($this->request->data);
+ if ($result) {
+ $this->MiconwareSession->setFlash(__('dreamjob.application.send.success'), 'flash', array('alert' => 'success'));
+ return $this->redirect(array('action' => 'applicationGet','id'=>$this->DreamjobJobApplication->id));
+ } else {
+ $this->MiconwareSession->setFlash(__('dreamjob.application.send.error'), 'flash', array('alert' => 'danger'));
+ }
+ } else {
+ $this->MiconwareSession->setFlash(__('dreamjob.agb.error.notAccept'), 'flash', array('alert' => 'danger'));
+ }
+ }
+ $this->set('pages', $w['DreamjobPageInh']);
+ $this->set('opening', $opening);
+ $this->render('/Job/application_send');
+ }
+ } else {
+ $this->set('error', array('title'=>__('dreamjob.error.noWorker.title'),'text'=>__('dreamjob.error.noWorker.text')));
+ if(!$this->MiconwareSession->isLoggedin())
+ $this->render('/Home/login');
+ else
+ $this->render('/Home/error');
+ }
+ }
+ public function applicationSendExt() {
+ $this->MiconwareSession->init($this);
+ $this->MiconwareSession->initWeb($this);
+ $w = $this->MiconwareSession->getWorker();
+ if (!empty($w)) {
+ if ($this->request->is('post')) {
+ if ($this->request->data['DreamjobJobApplication']['agb']) {
+ unset($this->request->data['DreamjobJobApplication']['agb']);
+
+ $this->request->data['DreamjobJobApplication']['worker_id'] = $w['AppUser']['id'];
+
+ $pages = $this->request->data['DreamjobJobApplicationPage']['page_id'];
+ unset($this->request->data['DreamjobJobApplicationPage']['page_id']);
+ foreach ($pages as $id)
+ $this->request->data['Page'][] = array('id' => $id);
+ //$result = $this->DreamjobJobApplication->sendApplication($this->request->data);
+
+ $this->request->data['WorkerUser'] = $w['User'];
+ $this->request->data['AppUserWorker'] = $w['AppUser'];
+ $this->request->data['DreamjobWorker'] = $w['DreamjobWorker'];
+ $this->request->data['DreamjobUserWorker'] = $w['DreamjobUser'];
+ $this->request->data['Mannerofaddress'] = $w['Mannerofaddress'];
+ $this->request->data['WorkerGraducation'] = $w['DreamjobListGraducation'];
+ $this->request->data['DreamjobWorkerListCity'] = $w['DreamjobListCity'];
+ $this->request->data['PageImage'] = $w['DreamjobListCity'];
+ $this->request->data['PageText'] = $w['DreamjobListCity'];
+
+
+ $view = new View($this, false);
+
+ $view->set('cv',$this->DreamjobCvEntry->find('all',array('conditions' => array('worker_id'=> $w['AppUser']['id']))));
+ $view->set('cvp0',$this->DreamjobListCvCategory->find('first',array('conditions' => array('DreamjobListCvCategory.position' => 0))));
+ $view->set('edit', false);
+ $pageText = $this->DreamjobPageText->find('all',array('conditions' => array('DreamjobPageInh.user_id' =>$w['AppUser']['id'])));
+ $view->set("pageText",$pageText);
+ $pageImage = $this->DreamjobPageImage->find('all',array('conditions' => array('DreamjobPageInh.user_id' =>$w['AppUser']['id'])));
+ $view->set("pageImage",$pageImage);
+
+
+
+ $view->set('application',$this->request->data);
+ $view->set('profil',$w);
+
+ $pdf = $view->render('/Pdf/application_ext','pdf');
+
+ $Email = new CakeEmail('dreamjobMain');
+ $Email->from(array('noreply@dream-job.eu'=> $w['AppUser']['first_name'] .' '. $w['AppUser']['last_name']));
+ $Email->to($this->request->data['DreamjobUser']['mail']);
+ $Email->replyTo(array($w['User']['mail']));
+ $Email->bcc(array($w['User']['mail']));
+ $Email->subject('Bewerbung von '. $w['AppUser']['first_name'] .' '. $w['AppUser']['last_name']);
+ $Email->template('job_application_ext');
+ $Email->viewVars(array('w'=>$w));
+ $Email->attachments(array(__('dreamjob.application.extern.filename.pdf')=>array('data' =>$pdf,'mimetype' => 'application/pdf')));
+
+ if ($Email->send()) {
+ $this->MiconwareSession->setFlash(__('dreamjob.application.send.success'), 'flash', array('alert' => 'success'));
+ } else {
+ $this->MiconwareSession->setFlash(__('dreamjob.application.send.error'), 'flash', array('alert' => 'danger'));
+ }
+ } else {
+ $this->MiconwareSession->setFlash(__('dreamjob.agb.error.notAccept'), 'flash', array('alert' => 'danger'));
+ }
+ }elseif(count($this->request->query)>0){
+ $this->request->data['DreamjobUser']['mail'] = $this->request->query('mail');
+ $this->request->data['AppUser']['nickname'] = $this->request->query('company');
+ $this->request->data['DreamjobUser']['street'] = $this->request->query('street');
+ $this->request->data['DreamjobUser']['postcode'] = $this->request->query('postcode');
+ $this->request->data['DreamjobListCity']['name'] = $this->request->query('city');
+ }
+
+ $this->set('pages', $w['DreamjobPageInh']);
+
+ $this->set('MENU_EXT_APP', true);
+ $this->render('/Job/application_send_ext');
+
+ } else {
+ $this->set('error', array('title'=>__('dreamjob.error.noWorker.title'),'text'=>__('dreamjob.error.noWorker.text')));
+ if(!$this->MiconwareSession->isLoggedin())
+ $this->render('/Home/login');
+ else
+ $this->render('/Home/error');
+ }
+ }
+
+ public function applicationSendExtInfo() {
+ $this->MiconwareSession->init($this);
+
+ $this->MiconwareSession->initWeb($this);
+ $this->set('MENU_EXT_APP', true);
+ $this->render('/Job/application_send_ext_info');
+ }
+}
+
+?>
diff --git a/app/Controller/PdfController.php b/app/Controller/PdfController.php
new file mode 100644
index 0000000..3257a1b
--- /dev/null
+++ b/app/Controller/PdfController.php
@@ -0,0 +1,70 @@
+MiconwareSession->init($this);
+
+ $this->MiconwareSession->initWeb($this);
+
+ $WORKER = $this->MiconwareSession->getWorker();
+ $COMPANY = $self = $this->MiconwareSession->getCompany();
+ $application = null;
+ if(isset($this->request->params['id'])){
+ if(is_array($WORKER) and count($WORKER) > 0)
+ $application = $this->DreamjobJobApplication->find('first',array('conditions' => array('DreamjobJobApplication.worker_id' => $WORKER['AppUser']['id'],'DreamjobJobApplication.id'=> $this->request->params['id'] )));
+ if(is_array($COMPANY) and count($COMPANY) > 0)
+ $application = $this->DreamjobJobApplication->find('first',array('conditions' => array('DreamjobJobOpening.company_id' => $COMPANY['AppUser']['id'],'DreamjobJobApplication.id'=> $this->request->params['id'] )));
+ }
+
+ if(!is_array($application) or count($application) <= 0){
+ $this->set('error', array('title'=>__('dreamjob.error.noPermision.title'),'text'=>__('dreamjob.error.noPermision.text')));
+ if(!$this->MiconwareSession->isLoggedin())
+ $this->render('/Home/login');
+ else
+ $this->render('/Home/error');
+ }else{
+ $this->response->type('application/pdf');
+ $this->set('application',$application);
+ $cv = $this->DreamjobCvEntry->find('all',array('conditions' => array('worker_id'=> $application['DreamjobJobApplication']['worker_id'])));
+ $this->set("cv",$cv);
+ $cvp0 = $this->DreamjobListCvCategory->find('first',array('conditions' => array('DreamjobListCvCategory.position' => 0)));
+ $this->set('cvp0', $cvp0);
+ $this->set('edit', false);
+ $this->layout = 'pdf';
+ $this->render('/Pdf/application');
+ }
+ }
+ public function profilGetPdf(){
+ $this->MiconwareSession->init($this);
+
+ $this->MiconwareSession->initWeb($this);
+ $WORKER = $this->MiconwareSession->getWorker();
+
+ if(!is_array($WORKER) or count($WORKER) <= 0){
+ $this->set('error', array('title'=>__('dreamjob.error.noPermision.title'),'text'=>__('dreamjob.error.noPermision.text')));
+ if(!$this->MiconwareSession->isLoggedin())
+ $this->render('/Home/login');
+ else
+ $this->render('/Home/error');
+ }else{
+ $this->response->type('application/pdf');
+ $cv = $this->DreamjobCvEntry->find('all',array('conditions' => array('worker_id'=> $WORKER['AppUser']['id'])));
+ $this->set("cv",$cv);
+ $cvp0 = $this->DreamjobListCvCategory->find('first',array('conditions' => array('DreamjobListCvCategory.position' => 0)));
+ $this->set('cvp0', $cvp0);
+ $this->set('edit', false);
+
+ $this->set("pageText",$this->DreamjobPageText->find('all',array('DreamjobPageInh.user_id' =>$WORKER['AppUser']['id'])));
+ $this->set("pageImage",$this->DreamjobPageImage->find('all',array('DreamjobPageInh.user_id' =>$WORKER['AppUser']['id'])));
+
+ $this->layout = 'pdf';
+ $this->render('/Pdf/profil');
+ }
+ }
+}
+?>
diff --git a/app/Controller/RegistrationController.php b/app/Controller/RegistrationController.php
new file mode 100644
index 0000000..a5ff110
--- /dev/null
+++ b/app/Controller/RegistrationController.php
@@ -0,0 +1,208 @@
+MiconwareSession->init($this);
+ $this->MiconwareSession->initWeb($this);
+ if (!$this->MiconwareSession->isLoggedin()) {
+ $this->render('/Registration/main');
+ } else {
+ $this->set('error', array('title'=>__('dreamjob.error.loggedin.title'),'text'=>__('dreamjob.error.loggedin.text')));
+ $this->render('/Home/error');
+ }
+ }
+
+ public function company() {
+ $this->MiconwareSession->init($this);
+ $this->MiconwareSession->initWeb($this);
+ if (!$this->MiconwareSession->isLoggedin()) {
+ $regResult = false;
+ if ($this->request->is('post')) {
+ if ($this->request->data['DreamjobCompany']['agb']) {
+ unset($this->request->data['DreamjobCompany']['agb']);
+ if ($this->request->data['User']['password1'] == $this->request->data['User']['password2']) {
+ $data = array();
+ $data['User']['password'] = $this->MiconwareSession->create_hash($this->request->data['User']['password1']);
+ $data['User']['mail'] = $this->request->data['User']['mail'];
+ $data['DreamjobUser']['city_id'] = $this->request->data['DreamjobUser']['city_id'];
+ $data['DreamjobUser']['street'] = $this->request->data['DreamjobUser']['street'];
+ $data['DreamjobUser']['postcode'] = $this->request->data['DreamjobUser']['postcode'];
+ $data['AppUser']['nickname'] = $this->request->data['AppUser']['nickname'];
+ $data['AppUser']['take_systemwide'] = true;
+
+ $data['DreamjobCompany']['corporateform'] = $this->request->data['DreamjobCompany']['corporateform'];
+ $data['DreamjobCompany']['owner'] = $this->request->data['DreamjobCompany']['owner'];
+ $data['DreamjobCompany']['branch_id'] = $this->request->data['DreamjobCompany']['branch_id'];
+ $data['DreamjobCompany']['headcount'] = $this->request->data['DreamjobCompany']['headcount'];
+ $data['DreamjobCompany']['bank_details'] = '';
+ //$data['DreamjobCompany']['bank_details'] = $this->request->data['DreamjobCompany']['bank_details'];
+ $data['DreamjobCompany']['website'] = $this->request->data['DreamjobCompany']['website'];
+ $key = $this->MiconwareSession->generateKey();
+ $data['User']['code'] = "a:" . $key;
+ $data['User']['is_active'] = false;
+
+ $result = $this->DreamjobCompany->registration($data);
+ if ($result) {
+ $regResult = true;
+ $this->MiconwareSession->setFlash(__('dreamjob.registration.success'), 'flash', array('alert' => 'success'));
+ } else {
+ $this->MiconwareSession->setFlash(__('dreamjob.registration.error'), 'flash', array('alert' => 'danger'));
+ }
+ } else if ($this->request->data['User']['password1'] != '' or $this->request->data['User']['password2'] != '') {
+ $this->MiconwareSession->setFlash(__('dreamjob.password.error.notEqual'), 'flash', array('alert' => 'danger'));
+ }
+ } else {
+ $this->MiconwareSession->setFlash(__('dreamjob.agb.error.notAccept'), 'flash', array('alert' => 'danger'));
+ }
+ } else
+ if (empty($this->request->data['DreamjobCompany']['website']))
+ $this->request->data['DreamjobCompany']['website'] = 'http://';
+ $this->set('result', $regResult);
+ $this->set('cities', $this->DreamjobListCity->find('list'));
+ $this->set('branches', $this->DreamjobListBranch->find('list'));
+ $this->render('/Registration/company');
+ }else {
+ $this->set('error', array('title'=>__('dreamjob.error.loggedin.title'),'text'=>__('dreamjob.error.loggedin.text')));
+ $this->render('/Home/error');
+ }
+ }
+
+ public function worker() {
+ $this->MiconwareSession->init($this);
+ $this->MiconwareSession->initWeb($this);
+ if (!$this->MiconwareSession->isLoggedin()) {
+ $regResult = false;
+ if ($this->request->is('post')) {
+ if ($this->request->data['DreamjobWorker']['agb']) {
+ unset($this->request->data['DreamjobWorker']['agb']);
+ if ($this->request->data['User']['password1'] == $this->request->data['User']['password2']) {
+ $data = array();
+ $data['User']['password'] = $this->MiconwareSession->create_hash($this->request->data['User']['password1']);
+ $data['User']['mail'] = $this->request->data['User']['mail'];
+ $data['DreamjobUser']['city_id'] = $this->request->data['DreamjobUser']['city_id'];
+ $data['DreamjobUser']['street'] = $this->request->data['DreamjobUser']['street'];
+ $data['DreamjobUser']['postcode'] = $this->request->data['DreamjobUser']['postcode'];
+ $data['AppUser']['bday'] = $this->request->data['AppUser']['bday'];
+ $data['AppUser']['first_name'] = $this->request->data['AppUser']['first_name'];
+ $data['AppUser']['last_name'] = $this->request->data['AppUser']['last_name'];
+ $data['AppUser']['take_systemwide'] = true;
+
+ //WORKER
+ $data['AppUser']['mannerofaddress_id'] = $this->request->data['AppUser']['mannerofaddress_id'];
+ $data['DreamjobWorker']['country'] = $this->request->data['DreamjobWorker']['country'];
+ $data['DreamjobWorker']['iam'] = $this->request->data['DreamjobWorker']['iam'];
+ $data['DreamjobWorker']['graducation_id'] = $this->request->data['DreamjobWorker']['graducation_id'];
+ $data['DreamjobWorker']['searchhidden'] = true;
+ $data['DreamjobWorker']['workexperience'] = $this->request->data['DreamjobWorker']['workexperience'];
+
+ $key = $this->MiconwareSession->generateKey();
+ $data['User']['code'] = "a:" . $key;
+ $data['User']['is_active'] = false;
+
+ $result = $this->DreamjobWorker->registration($data);
+
+ if ($result) {
+ $regResult = true;
+ $this->MiconwareSession->setFlash(__('dreamjob.registration.success'), 'flash', array('alert' => 'success'));
+ } else {
+ $this->MiconwareSession->setFlash(__('dreamjob.registration.error'), 'flash', array('alert' => 'danger'));
+ }
+ } else if ($this->request->data['User']['password1'] != '' or $this->request->data['User']['password2'] != '') {
+ $this->MiconwareSession->setFlash(__('dreamjob.password.error.notEqual'), 'flash', array('alert' => 'danger'));
+ }
+ } else {
+ $this->MiconwareSession->setFlash(__('dreamjob.agb.error.notAccept'), 'flash', array('alert' => 'danger'));
+ }
+ }
+ $this->set('result', $regResult);
+ $this->set('cities', $this->DreamjobListCity->find('list'));
+ $this->set('mannerofaddresses', $this->Mannerofaddress->find('list'));
+ $this->set('graducations', $this->DreamjobListGraducation->find('list'));
+ $this->render('/Registration/worker');
+ } else {
+ $this->set('error', array('title'=>__('dreamjob.error.loggedin.title'),'text'=>__('dreamjob.error.loggedin.text')));
+ $this->render('/Home/error');
+ }
+ }
+
+ public function active() {
+ $this->MiconwareSession->init($this);
+ $this->MiconwareSession->initWeb($this);
+ if (!$this->MiconwareSession->isLoggedin() and ! empty($this->request->params['code']) and ! empty($this->request->query['mail'])) {
+ $result = $this->User->activeLinkUser($this->request->query['mail'], $this->request->params['code']);
+ $this->set("result", $result);
+ $this->render('/Registration/active');
+ } else {
+ $this->set('error', array('title'=>__('dreamjob.error.loggedin.title'),'text'=>__('dreamjob.error.loggedin.text')));
+ $this->render('/Home/error');
+ }
+ }
+
+ public function password_reset() {
+ $this->MiconwareSession->init($this);
+ $this->MiconwareSession->initWeb($this);
+ if (!$this->MiconwareSession->isLoggedin()) {
+ if ($this->request->is('post')) {
+ $key = $this->MiconwareSession->generateKey();
+ $profil['User']['mail'] = $this->request->data['User']['mail'];
+ $profil['User']['code'] = "f:" . $key;
+ $result = $this->User->sendPasswortReset($profil);
+
+ if ($result) {
+ $this->MiconwareSession->setFlash(__('dreamjob.password_reset.send.success'), 'flash', array('alert' => 'success'));
+ return $this->redirect(array('controller'=>'home','action' => 'home'));
+ } else {
+ $this->MiconwareSession->setFlash(__('dreamjob.password_reset.send.error'), 'flash', array('alert' => 'danger'));
+ }
+ }
+ $this->render('/Registration/password_reset');
+ } else {
+ $this->set('error', array('title'=>__('dreamjob.error.loggedin.title'),'text'=>__('dreamjob.error.loggedin.text')));
+ $this->render('/Home/error');
+ }
+ }
+
+ public function password_replace() {
+ $this->MiconwareSession->init($this);
+ $this->MiconwareSession->initWeb($this);
+ if (!$this->MiconwareSession->isLoggedin() and ! empty($this->request->params['code']) and ! empty($this->request->query['mail'])) {
+ $send = false;
+ $try = $this->User->find('first',array('conditions'=>array('User.code LIKE'=>'_:'.$this->request->params['code'],'User.mail'=>$this->request->query['mail'])));
+ if (count($try)<2) {
+ $this->MiconwareSession->setFlash(__('dreamjob.password_replace.notFound'), 'flash', array('alert' => 'danger'));
+ $send = true;
+ }
+ if (!$send and $this->request->is('post')) {
+ if ($this->request->data['User']['password1'] == $this->request->data['User']['password2']) {
+ $password = $this->MiconwareSession->create_hash($this->request->data['User']['password1']);
+ $result = $this->User->replace_password($try,$password);
+ if ($result) {
+ $this->MiconwareSession->setFlash(__('dreamjob.password_replace.success'), 'flash', array('alert' => 'success'));
+ return $this->redirect(array('controller'=>'home','action' => 'home'));
+ } else {
+ $this->MiconwareSession->setFlash(__('dreamjob.password_replace.error'), 'flash', array('alert' => 'danger'));
+ }
+ }else
+ $this->MiconwareSession->setFlash(__('dreamjob.password.error.notEqual'), 'flash', array('alert' => 'danger'));
+ }
+ $this->render('/Registration/password_replace');
+ } else {
+ $this->set('error', array('title'=>__('dreamjob.error.link.title'),'text'=>__('dreamjob.error.link.text')));
+ $this->render('/Home/error');
+ }
+ }
+
+}
+
+?>
diff --git a/app/Controller/SearchController.php b/app/Controller/SearchController.php
new file mode 100644
index 0000000..fb4ab31
--- /dev/null
+++ b/app/Controller/SearchController.php
@@ -0,0 +1,218 @@
+ 5, 'academy' => 6, 'internship' => 4);
+
+ /**
+ * Displays a view
+ *
+ * @param mixed What page to display
+ * @return void
+ * @throws NotFoundException When the view file could not be found
+ * or MissingViewException in debug mode.
+ */
+ public function beforeFilter() {
+ $this->Security->unlockedActions[] = "opening";
+ $this->Security->unlockedActions[] = "company";
+ $this->Security->unlockedActions[] = "worker";
+ $this->Security->unlockedActions[] = "auto";
+ $this->Security->unlockedActions[] = "education";
+ $this->Security->unlockedActions[] = "academy";
+ $this->Security->unlockedActions[] = "internship";
+ parent::beforeFilter();
+ $this->set('MENU_SEARCH', true);
+ }
+
+ public function choose() {
+ $this->MiconwareSession->init($this);
+
+ $profil = $this->MiconwareSession->getCompany();
+ if (!empty($profil) and count($profil) > 0) {
+ $this->worker();
+ } else {
+ $this->opening();
+ }
+ }
+
+ private function spezial($type) {
+ $this->MiconwareSession->init($this);
+ $this->MiconwareSession->initWeb($this);
+ $profil = $this->MiconwareSession->getWorker();
+ 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];
+
+ if (!empty($this->request->data['DreamjobJobOpening']['branch_id']))
+ $con['DreamjobJobOpening.branch_id'] = $this->request->data['DreamjobJobOpening']['branch_id'];
+
+
+ if (!empty($this->request->data['DreamjobJobOpening']['title']))
+ $con['DreamjobJobOpening.title LIKE'] = '%' . $this->request->data['DreamjobJobOpening']['title'] . '%';
+
+ if (!empty($this->request->data['DreamjobUser']['city']) and $this->request->data['DreamjobUser']['city'] != 48) {
+ $con['DreamjobUser.city_id'] = $this->request->data['DreamjobUser']['city'];
+ }
+
+
+ $openings = $this->DreamjobJobOpening->find('all', array('conditions' => $con));
+ $this->set("branches", $this->DreamjobListBranch->find('list'));
+ $this->set("cities", $this->DreamjobListCity->find('list'));
+ $this->set("openings", $openings);
+ $this->render('/Search/' . $type);
+ } else {
+ $this->set('error', array('title'=>__('dreamjob.error.noPermision.title'),'text'=>__('dreamjob.error.noPermision.text')));
+ if(!$this->MiconwareSession->isLoggedin())
+ $this->render('/Home/login');
+ else
+ $this->render('/Home/error');
+ }
+ }
+
+ public function opening() {
+ $this->MiconwareSession->init($this);
+
+ $this->MiconwareSession->initWeb($this);
+ $con = $this->MiconwareSession->getOpeningCondition();
+
+ if (!empty($this->request->data['DreamjobJobOpening']['branch_id']))
+ $con['DreamjobJobOpening.graducation_id'] = $this->request->data['DreamjobJobOpening']['branch_id'];
+
+ if (!empty($this->request->data['DreamjobJobOpening']['graducation_id']))
+ $con['DreamjobJobOpening.graducation_id'] = $this->request->data['DreamjobJobOpening']['graducation_id'];
+
+ if (!empty($this->request->data['DreamjobJobOpening']['kindofjob_id']))
+ $con['DreamjobJobOpening.kindofjob_id'] = $this->request->data['DreamjobJobOpening']['kindofjob_id'];
+
+ if (!empty($this->request->data['DreamjobJobOpening']['city']) and $this->request->data['DreamjobJobOpening']['city'] != 48) {
+ $con['DreamjobJobOpening.city_id'] = $this->request->data['DreamjobJobOpening']['city'];
+ }
+ if (!empty($this->request->data['DreamjobJobOpening']['postcode']))
+ $con['DreamjobJobOpening.postcode LIKE'] = '%' . $this->request->data['DreamjobJobOpening']['postcode'] . '%';
+
+ if (!empty($this->request->data['DreamjobJobOpening']['title']))
+ $con['DreamjobJobOpening.title LIKE'] = '%' . $this->request->data['DreamjobJobOpening']['title'] . '%';
+
+
+
+ $openings = $this->DreamjobJobOpening->find('all', array('conditions' => $con));
+ $this->set("branches", $this->DreamjobListBranch->find('list'));
+ $this->set("cities", $this->DreamjobListCity->find('list'));
+ $this->set("graducations", $this->DreamjobListGraducation->find('list'));
+ $this->set("kindofjobs", $this->DreamjobListKindofjob->find('list'));
+
+ $this->set("openings", $openings);
+ $this->render('/Search/opening');
+ }
+
+ public function company() {
+ $this->MiconwareSession->init($this);
+
+ $this->MiconwareSession->initWeb($this);
+
+ $con = array();
+ if (!empty($this->request->data['DreamjobCompany']['branch_id']))
+ $con['DreamjobCompany.branch_id'] = $this->request->data['DreamjobCompany']['branch_id'];
+
+ if (!empty($this->request->data['DreamjobUser']['city']) and $this->request->data['DreamjobUser']['city'] != 48) {
+ $con['DreamjobUser.city_id'] = $this->request->data['DreamjobUser']['city'];
+ }
+ if (!empty($this->request->data['AppUser']['nickname']))
+ $con['AppUser.nickname LIKE'] = '%' . $this->request->data['AppUser']['nickname'] . '%';
+
+ $companies = $this->DreamjobCompany->find('all', array('conditions' => $con));
+
+ $this->set("branches", $this->DreamjobListBranch->find('list'));
+ $this->set("cities", $this->DreamjobListCity->find('list'));
+
+ $this->set("companies", $companies);
+ $this->render('/Search/company');
+ }
+
+ public function auto() {
+ $this->MiconwareSession->init($this);
+
+ $this->MiconwareSession->initWeb($this);
+ $profil = $this->MiconwareSession->getWorker();
+ if (!empty($profil) and count($profil) > 0) {
+ $con = $this->MiconwareSession->getOpeningCondition();
+
+
+
+
+ $openings = $this->DreamjobJobOpening->find('all', array('conditions' => $con));
+ $this->set("openings", $openings);
+ $this->render('/Search/auto');
+ } else {
+ $this->set('error', array('title'=>__('dreamjob.error.noPermision.title'),'text'=>__('dreamjob.error.noPermision.text')));
+ if(!$this->MiconwareSession->isLoggedin())
+ $this->render('/Home/login');
+ else
+ $this->render('/Home/error');
+ }
+ }
+
+ public function worker() {
+ $this->MiconwareSession->init($this);
+
+ $this->MiconwareSession->initWeb($this);
+ $profil = $this->MiconwareSession->getCompany();
+ if (!empty($profil) and count($profil) > 0) {
+ $con = array('DreamjobWorker.searchhidden' => true);
+ $con2 = array();
+
+ if (!empty($this->request->data['DreamjobISearch']['branch_id']))
+ $con2['DreamjobISearch.branch_id'] = $this->request->data['DreamjobISearch']['branch_id'];
+
+ if (!empty($this->request->data['DreamjobISearch']['job_id']))
+ $con2['DreamjobISearch.job_id'] = $this->request->data['DreamjobISearch']['job_id'];
+
+ if (!empty($this->request->data['DreamjobISearch']['kindofjob_id']))
+ $con2['DreamjobISearch.kindofjob_id'] = $this->request->data['DreamjobISearch']['kindofjob_id'];
+
+ if(count($con2)>0){
+ $a = $this->DreamjobISearch->find('all',array('fields' => array('worker_id'),'recursive' => -1,'conditions' =>$con2));
+ $c = array();
+ foreach ($a as $b)
+ $c[] = $b['DreamjobISearch']['worker_id'];
+ $con['DreamjobWorker.djaccount_ptr_id'] =$c;
+ }
+ $workers = $this->DreamjobWorker->find('all', array('conditions' => $con));
+
+ $this->set("workers", $workers);
+ $this->set("branches", $this->DreamjobListBranch->find('list'));
+ $this->set("jobs", $this->DreamjobListJob->find('list'));
+ $this->set("kindofjobs", $this->DreamjobListKindofjob->find('list'));
+ $this->render('/Search/worker');
+ }else {
+ $this->set('error', array('title'=>__('dreamjob.error.noPermision.title'),'text'=>__('dreamjob.error.noPermision.text')));
+ if(!$this->MiconwareSession->isLoggedin())
+ $this->render('/Home/login');
+ else
+ $this->render('/Home/error');
+ }
+ }
+
+ public function education() {
+ $this->spezial('education');
+ }
+
+ public function academy() {
+ $this->spezial('academy');
+ }
+
+ public function internship() {
+ $this->spezial('internship');
+ }
+
+}
diff --git a/app/Controller/ServiceController.php b/app/Controller/ServiceController.php
new file mode 100644
index 0000000..b0fa27b
--- /dev/null
+++ b/app/Controller/ServiceController.php
@@ -0,0 +1,33 @@
+MiconwareSession->init($this);
+ $this->MiconwareSession->initWeb($this);
+
+ $this->set('MENU_SERVICE', true);
+ $this->set('SERVICE_CATEGORY', $this->request->param('list'));
+ $this->set('category',$this->DreamjobServiceCategory->find('all'));
+
+ if($this->request->param('list'))
+ $this->set('list',$this->DreamjobService->find('all',array('conditions'=>array('DreamjobService.category'=>$this->request->param('list')))));
+ else
+ $this->set('list',$this->DreamjobService->find('all'));
+
+ $this->render('/Service/index');
+ }
+
+ public function show(){
+ $this->MiconwareSession->init($this);
+ $this->MiconwareSession->initWeb($this);
+
+ $this->set('MENU_SERVICE', true);
+ $this->set('obj',$this->DreamjobService->find('first',array('conditions'=>array('DreamjobService.id'=>$this->request->param('item')))));
+ $this->render('/Service/show');
+ }
+}
diff --git a/app/Controller/UserController.php b/app/Controller/UserController.php
new file mode 100644
index 0000000..a712534
--- /dev/null
+++ b/app/Controller/UserController.php
@@ -0,0 +1,572 @@
+Security->unlockedActions[]="settings_isearch";
+ $this->Security->unlockedActions[]="profil_edit";
+ if($this->request->action=="settings_isearch")
+ unset($this->request->data['_Token']['key']);
+ parent::beforeFilter();
+ }
+
+
+ public function profil() {
+ $this->MiconwareSession->init($this);
+
+ $this->MiconwareSession->initWeb($this);
+ $this->autoRender = true;
+ $this->layout = 'default';
+ $this->RequestHandler->setContent('html', 'application/html' );
+
+ //self check
+ $self_company = false;
+ $self_company_pro = false;
+ $self = $this->MiconwareSession->getWorker();
+ if(!is_array($self) or count($self)<= 0){
+ $self = $this->MiconwareSession->getCompany();
+ $self_company = true;
+
+ $self_company_pro = $self['Pro']['worker_profil'];
+ }
+
+ //get Profil
+ $hard_error = false;
+
+
+ $company = false;
+ $page = null;
+ $profil = null;
+
+ if(empty($this->request->params['id'])){
+ $profil = $self;
+ $company = $self_company;
+ }else{
+ $profil = $this->DreamjobWorker->find('first',array('conditions' => array('AppUser.id' => $this->request->params['id'])));
+ if(!is_array($profil) or count($profil)<= 0){
+ $profil = $this->DreamjobCompany->find('first',array('conditions' => array('AppUser.id' => $this->request->params['id'])));
+ $company = true;
+ }
+ $this->set('id', $this->request->params['id']);
+ }
+ //get Page
+ if(($this->MiconwareSession->isLoggedin()) or ($company) ){
+ if(is_array($profil) or count($profil) > 0){
+ if(!empty($this->request->params['page'])){
+ $page = $this->DreamjobPageText->find('first',
+ array('conditions' => array("DreamjobPageInh.id" => $this->request->params['page'],'DreamjobPageInh.user_id' => $profil['AppUser']['id']))
+ );
+ if(!is_array($page) or count($page)<= 0)
+ $page = $this->DreamjobPageImage->find('first',
+ array('conditions' => array("DreamjobPageInh.id" => $this->request->params['page'],'DreamjobPageInh.user_id' => $profil['AppUser']['id']))
+ );
+ }else{
+ if(isset($profil['DreamjobWorker'])){
+ $cv = $this->DreamjobCvEntry->find('all',array('conditions' => array('worker_id'=> $profil['AppUser']['id'])));
+ if($self_company_pro or $profil['AppUser']['id']==$self['AppUser']['id']){
+ $cvp0 = $this->DreamjobListCvCategory->find('first',array('conditions' => array('DreamjobListCvCategory.position' => 0)));
+ $this->set('cvp0', $cvp0);
+ $this->set("cv",$cv);
+ }
+ }
+ }
+ }
+ }else
+ $hard_error = true;
+ //error
+ $this->set('edit', false);
+ if(!isset( $profil['AppUser']['id']))
+ $hard_error = true;
+ if(!$company and $profil['AppUser']['id'] != $self['AppUser']['id'] or $hard_error){
+ if(($company == $self_company) and !($this->MiconwareSession->isStaff()) or $hard_error){
+ $hard_error = true;
+ $this->MiconwareSession->setFlash(__('dreamjob.error.page.notFound'),'flash',array('alert'=>'danger'));
+ $this->set('error', array('title'=>__('dreamjob.error.noPermision.title'),'text'=>__('dreamjob.error.noPermision.text')));
+ if(!$this->MiconwareSession->isLoggedin())
+ $this->render('/Home/login');
+ else
+ $this->render('/Home/error');
+ }
+ }elseif($profil['AppUser']['id'] == $self['AppUser']['id']){
+ $this->set('edit', true);
+ $this->set('MENU_PROFIL',true);
+ }
+ if(!empty($this->request->params['page']) and (!is_array($page) or count($page)<= 0))
+ $this->MiconwareSession->setFlash(__('dreamjob.error.page.notFound'),'flash',array('alert'=>'danger'));
+ //render
+ $this->set('profil', $profil);
+ $this->set('page',$page);
+ if(!$hard_error)
+ if($company){
+ $con = $this->MiconwareSession->getOpeningCondition();
+ $con['DreamjobJobOpening.company_id'] = $profil['AppUser']['id'];
+ $openings = $this->DreamjobJobOpening->find('all',array('conditions' => $con));
+ $this->set("openings",$openings);
+ $this->render('/User/company');
+ }else
+ $this->render('/User/worker');
+ }
+ public function profil_edit(){
+ $this->MiconwareSession->init($this);
+
+ $this->MiconwareSession->initWeb($this);
+ $this->RequestHandler->setContent('html', 'application/html' );
+ $this->layout = 'default';
+
+ $self = $this->MiconwareSession->getWorker();
+ if(!empty($self) and count($self)> 0){
+ if($this->request->is('post')){
+ $tosave = array();
+ if(isset($this->request->data['DreamjobCvEntry'])){
+ $tosave = $this->request->data['DreamjobCvEntry'];
+ foreach($tosave as $i => $a)
+ $tosave[$i]['worker_id']=$self['AppUser']['id'];
+ }
+ $result = $this->DreamjobCvEntry->saveAndDelete($tosave,$self['DreamjobCvEntry']);
+ if($result){
+ $this->MiconwareSession->setFlash(__('dreamjob.settings.save.success'),'flash',array('alert'=>'success'));
+ }else{
+ $this->MiconwareSession->setFlash(__('dreamjob.settings.save.error'),'flash',array('alert'=>'danger'));
+ }
+ }
+ $cvc = $this->DreamjobListCvCategory->find('all');
+ $cve = $this->DreamjobCvEntry->find('all',array('conditions' => array('worker_id'=> $self['AppUser']['id'])));
+ $cve2 = array('DreamjobCvEntry'=>null);
+ foreach($cve as $i => $data)
+ $cve2['DreamjobCvEntry'][$i] = $data['DreamjobCvEntry'];
+ $this->request->data = $cve2;
+ $this->set('cvc',$cvc);
+ $this->set('cve',$cve);
+ $this->set('profil',$self);
+ $this->set('edit_show',true);
+ $this->render('/User/worker');
+ }else{
+ $this->set('error', array('title'=>__('dreamjob.error.noPermision.title'),'text'=>__('dreamjob.error.noPermision.text')));
+ if(!$this->MiconwareSession->isLoggedin())
+ $this->render('/Home/login');
+ else
+ $this->render('/Home/error');
+ }
+ }
+ /*
+ public function savePageDeleteJson(){
+ $this->MiconwareSession->init($this);
+
+ $this->MiconwareSession->initWeb($this);
+ $this->RequestHandler->setContent('json', 'application/json' );
+
+ $this->set('error', null);
+
+ $profil = $this->MiconwareSession->getWorker();
+ $company = false;
+ if(empty($profil) or count($profil) <= 0){
+ $profil = $this->MiconwareSession->getCompany();
+ $company= true;
+ }
+ if(!empty($profil) and count($profil)> 0 and !empty($this->request->query['id'])){
+ $data2 = array('DreamjobPageInh.id' => $this->request->query['id'],'DreamjobPageInh.user_id'=>$profil['AppUser']['id']);
+ //$this->set('error', !$this->DreamjobPageInh->deleteAll($data2,false));
+ $this->set('error', false);
+ }else{
+ $this->set('error', true);
+ }
+ $this->set('_serialize', array('error'));
+ }*/
+ public function savePageOrder(){
+ $this->MiconwareSession->init($this);
+
+ $this->MiconwareSession->initWeb($this);
+ $this->autoRender = true;
+ $this->layout = 'default';
+ $this->RequestHandler->setContent('html', 'application/html' );
+
+ $this->set('error', null);
+
+ $profil = $this->MiconwareSession->getWorker();
+ $company = false;
+ if(empty($profil) or count($profil) <= 0){
+ $profil = $this->MiconwareSession->getCompany();
+ $company= true;
+ }
+ if(empty($profil) or count($profil) <= 0){
+ $this->MiconwareSession->setFlash(__('dreamjob.error.page.notFound'),'flash',array('alert'=>'danger'));
+ $this->set('error', array('title'=>__('dreamjob.error.noPermision.title'),'text'=>__('dreamjob.error.noPermision.text')));
+ if(!$this->MiconwareSession->isLoggedin())
+ $this->render('/Home/login');
+ else
+ $this->render('/Home/error');
+ }else{
+ if(isset($this->request->query['list']) and is_array($this->request->query['list'])){
+ $i=10;
+ $try = true;
+ foreach($this->request->query['list'] as $pageid){
+ if($try)
+ $try=$this->DreamjobPageInh->updateAll(array('DreamjobPageInh.position'=>$i),array('DreamjobPageInh.id'=>$pageid,'DreamjobPageInh.user_id'=>$profil['AppUser']['id']));
+ $i+=10;
+ }
+ if($try){
+ $this->MiconwareSession->refreshCache();
+ if($company)
+ $profil = $this->MiconwareSession->getCompany();
+ else
+ $profil = $this->MiconwareSession->getWorker();
+ $this->MiconwareSession->setFlash(__('dreamjob.page.order.save.success'),'flash',array('alert'=>'success'));
+ }
+ else
+ $this->MiconwareSession->setFlash(__('dreamjob.page.order.save.error'),'flash',array('alert'=>'danger'));
+ }
+
+ $this->set('profil',$profil);
+ $this->render('/User/settings_pages');
+ }
+ }
+
+ public function settings_account() {
+ $this->MiconwareSession->init($this);
+
+ $this->MiconwareSession->initWeb($this);
+ $this->autoRender = true;
+ $this->layout = 'default';
+ $this->RequestHandler->setContent('html', 'application/html' );
+
+
+
+ $profil = $this->MiconwareSession->getWorker();
+ $company = false;
+ if(empty($profil) or count($profil) <= 0){
+ $profil = $this->MiconwareSession->getCompany();
+ $company= true;
+ }
+
+ if(empty($profil) or count($profil) <= 0){
+ $this->MiconwareSession->setFlash(__('dreamjob.error.page.notFound'),'flash',array('alert'=>'danger'));
+ $this->set('error', array('title'=>__('dreamjob.error.noPermision.title'),'text'=>__('dreamjob.error.noPermision.text')));
+ if(!$this->MiconwareSession->isLoggedin())
+ $this->render('/Home/login');
+ else
+ $this->render('/Home/error');
+ }else{
+ if ($this->request->is('post')){
+ if($this->request->data['User']['password1'] == $this->request->data['User']['password2']) {
+
+ if($this->request->data['User']['password1']!='')
+ $profil['User']['password'] = $this->MiconwareSession->create_hash($this->request->data['User']['password1']);
+
+ $profil['DreamjobUser']['city_id'] = $this->request->data['DreamjobUser']['city_id'];
+ $profil['DreamjobUser']['street'] = $this->request->data['DreamjobUser']['street'];
+ $profil['DreamjobUser']['postcode'] = $this->request->data['DreamjobUser']['postcode'];
+ $profil['AppUser']['bday'] = $this->request->data['AppUser']['bday'];
+ $profil['AppUser']['first_name'] = $this->request->data['AppUser']['first_name'];
+ $profil['AppUser']['last_name'] = $this->request->data['AppUser']['last_name'];
+
+ $result = false;
+ if($company){
+ $profil['AppUser']['nickname'] = $this->request->data['AppUser']['nickname'];
+ $profil['DreamjobCompany']['corporateform'] = $this->request->data['DreamjobCompany']['corporateform'];
+ $profil['DreamjobCompany']['owner'] = $this->request->data['DreamjobCompany']['owner'];
+ $profil['DreamjobCompany']['branch_id'] = $this->request->data['DreamjobCompany']['branch_id'];
+ $profil['DreamjobCompany']['headcount'] = $this->request->data['DreamjobCompany']['headcount'];
+ $profil['DreamjobCompany']['bank_details'] = $this->request->data['DreamjobCompany']['bank_details'];
+ $profil['DreamjobCompany']['website'] = $this->request->data['DreamjobCompany']['website'];
+ $result = $this->DreamjobCompany->saveSettings($profil);
+ }else{
+ $profil['AppUser']['mannerofaddress_id'] = $this->request->data['AppUser']['mannerofaddress_id'];
+ $profil['DreamjobWorker']['country'] = $this->request->data['DreamjobWorker']['country'];
+ $profil['DreamjobWorker']['iam'] = $this->request->data['DreamjobWorker']['iam'];
+ $profil['DreamjobWorker']['graducation_id'] = $this->request->data['DreamjobWorker']['graducation_id'];
+ $profil['DreamjobWorker']['searchhidden'] = $this->request->data['DreamjobWorker']['searchhidden'];
+ $profil['DreamjobWorker']['workexperience'] = $this->request->data['DreamjobWorker']['workexperience'];
+ $result = $this->DreamjobWorker->saveSettings($profil);
+ }
+
+
+ if($result){
+ $this->MiconwareSession->setFlash(__('dreamjob.settings.save.success'),'flash',array('alert'=>'success'));
+ }else{
+ $this->MiconwareSession->setFlash(__('dreamjob.settings.save.error'),'flash',array('alert'=>'danger'));
+ }
+
+ }else if($this->request->data['User']['password1']!='' or $this->request->data['User']['password2']!=''){
+ $this->MiconwareSession->setFlash(__('dreamjob.password.error.notEqual'),'flash',array('alert'=>'danger'));
+ }
+
+ }
+ if(empty($profil['DreamjobCompany']['website']))
+ $profil['DreamjobCompany']['website'] = 'http://';
+ $this->request->data = $profil;
+ $this->set('profil',$profil);
+ $this->set('graducations',$this->DreamjobListGraducation->find('list'));
+ $this->set('branches',$this->DreamjobListBranch->find('list'));
+ $this->set('mannerofaddresses',$this->Mannerofaddress->find('list'));
+ $this->set('cities',$this->DreamjobListCity->find('list'));
+ $this->render('/User/settings_account');
+ }
+ }
+ public function settings_pageInh() {
+
+ $this->MiconwareSession->init($this);
+
+ $this->MiconwareSession->initWeb($this);
+ $this->autoRender = true;
+ $this->layout = 'default';
+ $this->RequestHandler->setContent('html', 'application/html' );
+
+ $result = false;
+
+ $profil = $this->MiconwareSession->getWorker();
+ if(empty($profil) or count($profil) <= 0)
+ $profil = $this->MiconwareSession->getCompany();
+
+ if(empty($profil) or count($profil) <= 0){
+ $this->MiconwareSession->setFlash(__('dreamjob.error.page.notFound'),'flash',array('alert'=>'danger'));
+ $this->set('error', array('title'=>__('dreamjob.error.noPermision.title'),'text'=>__('dreamjob.error.noPermision.text')));
+ if(!$this->MiconwareSession->isLoggedin())
+ $this->render('/Home/login');
+ else
+ $this->render('/Home/error');
+ }else{
+ //PAGE BEARBEITEN
+ if(!empty($this->request->params['page'])){
+ $image = false;
+ $page = $this->DreamjobPageText->find('first',
+ array('conditions' => array("DreamjobPageInh.id" => $this->request->params['page'],'DreamjobPageInh.user_id' => $profil['AppUser']['id']))
+ );
+ if(!is_array($page) or count($page)<= 0){
+ $page = $this->DreamjobPageImage->find('first',
+ array('conditions' => array("DreamjobPageInh.id" => $this->request->params['page'],'DreamjobPageInh.user_id' => $profil['AppUser']['id']))
+ );
+ $image = true;
+ }
+ if(!empty($page) and count($page)> 0){
+ if($this->request->is('post')){
+ var_dump($this->request);
+ $this->request->data['DreamjobPageInh']['user_id']=$profil['AppUser']['id'];
+ if($image){
+ $this->request->data['DreamjobPageInh']['id']=$page['DreamjobPageInh']['id'];
+ $this->request->data['DreamjobPageImage']['page_ptr_id']=$page['DreamjobPageInh']['id'];
+ $result = $this->DreamjobPageImage->saveAndUpload($this->request->data);
+ }else{
+ $this->request->data['DreamjobPageInh']['id']=$page['DreamjobPageInh']['id'];
+ $this->request->data['DreamjobPageText']['page_ptr_id']=$page['DreamjobPageInh']['id'];
+ $result = $this->DreamjobPageText->saveAssociated($this->request->data);
+ }
+ if(!$result)
+ $this->MiconwareSession->setFlash(__('dreamjob.page.save.error'),'flash',array('alert'=>'danger'));
+ }else
+ $this->request->data=$page;
+ $this->set('page',$page);
+ }else
+ $this->MiconwareSession->setFlash(__('dreamjob.error.page.notFound'),'flash',array('alert'=>'danger'));
+ }else{
+ // PAGE LOESCHEN
+ if(!empty($this->request->query['del'])){
+ $image = false;
+ $page = $this->DreamjobPageText->find('first',
+ array('conditions' => array("DreamjobPageInh.id" => $this->request->query['del'],'DreamjobPageInh.user_id' => $profil['AppUser']['id']))
+ );
+ if(!is_array($page) or count($page)<= 0){
+ $page = $this->DreamjobPageImage->find('first',
+ array('conditions' => array("DreamjobPageInh.id" => $this->request->query['del'],'DreamjobPageInh.user_id' => $profil['AppUser']['id']))
+ );
+ $image = true;
+ }
+ $result = false;
+ if(!empty($page) and count($page)> 0){
+ $path = null;
+ if($image){
+ $result = $this->DreamjobPageImage->delete($page,false);
+ }else
+ $result = $this->DreamjobPageText->delete($page['DreamjobPageInh']['id'],false);
+
+ if($result){
+ $this->MiconwareSession->refreshCache();
+
+ if(isset($profil['DreamjobWorker']))
+ $profil = $this->MiconwareSession->getWorker();
+ else
+ $profil = $this->MiconwareSession->getCompany();
+ $this->MiconwareSession->setFlash(__('dreamjob.pages.delete.success'),'flash',array('alert'=>'success'));
+ }else{
+ $this->MiconwareSession->setFlash(__('dreamjob.pages.delete.error'),'flash',array('alert'=>'danger'));
+ }
+ }
+ $result = false;
+ }
+ // NEW PAGE
+ if($this->request->is('post')){
+ if(!empty($this->request->data['DreamjobPageText']['text']) and $this->request->data['DreamjobPageImage']['image']['error']==0){
+ $this->MiconwareSession->setFlash(__('dreamjob.page.oneType.error'),'flash',array('alert'=>'danger'));
+ }else{
+ $this->request->data['DreamjobPageInh']['user_id']=$profil['AppUser']['id'];
+ if($this->request->data['DreamjobPageImage']['image']['error']==0){
+ unset($this->request->data['DreamjobPageText']);
+ $this->DreamjobPageImage->create();
+ $result = $this->DreamjobPageImage->saveAndUpload($this->request->data);
+ }else{
+ unset($this->request->data['DreamjobPageImage']);
+ $this->DreamjobPageText->create();
+ $result = $this->DreamjobPageText->saveAssociated($this->request->data);
+ }
+
+ if(!$result)
+ $this->MiconwareSession->setFlash(__('dreamjob.page.save.error'),'flash',array('alert'=>'danger'));
+ }
+ }
+ }
+ if($result){
+ $this->MiconwareSession->refreshCache();
+ $this->MiconwareSession->setFlash(__('dreamjob.page.save.success'),'flash',array('alert'=>'success'));
+ $profil = $this->MiconwareSession->getWorker();
+ if(empty($profil) or count($profil) <= 0)
+ $profil = $this->MiconwareSession->getCompany();
+ }
+ $this->set('profil',$profil);
+ $this->render('/User/settings_pages');
+ }
+ }
+ public function settings_isearch() {
+ $this->MiconwareSession->init($this);
+
+ $this->MiconwareSession->initWeb($this);
+ $this->autoRender = true;
+ $this->layout = 'default';
+ $this->RequestHandler->setContent('html', 'application/html' );
+
+
+
+ $profil = $this->MiconwareSession->getWorker();
+
+ if(empty($profil) or count($profil) <= 0){
+ $this->MiconwareSession->setFlash(__('dreamjob.error.page.notFound'),'flash',array('alert'=>'danger'));
+ $this->set('error', array('title'=>__('dreamjob.error.noPermision.title'),'text'=>__('dreamjob.error.noPermision.text')));
+ if(!$this->MiconwareSession->isLoggedin())
+ $this->render('/Home/login');
+ else
+ $this->render('/Home/error');
+ }else{
+ if($this->request->is('post')){
+ $tosave = array();
+ if(isset($this->request->data['DreamjobISearch'])){
+ $tosave = $this->request->data['DreamjobISearch'];
+ foreach($tosave as $i => $a)
+ $tosave[$i]['worker_id']=$profil['AppUser']['id'];
+ }
+ $result = $this->DreamjobISearch->saveAndDelete($tosave,$profil['DreamjobISearch']);
+ if($result){
+ $this->MiconwareSession->refreshCache();
+ $profil = $this->MiconwareSession->getWorker();
+ $this->MiconwareSession->setFlash(__('dreamjob.settings.save.success'),'flash',array('alert'=>'success'));
+ }else{
+ $this->MiconwareSession->setFlash(__('dreamjob.settings.save.error'),'flash',array('alert'=>'danger'));
+ }
+ }
+ $this->request->data = $profil;
+ $this->set('kindofjobs',$this->DreamjobListKindofjob->find('list'));
+ $this->set('jobs',$this->DreamjobListJob->find('list'));
+ $this->set('branches',$this->DreamjobListBranch->find('list'));
+ $this->set('profil',$profil);
+ $this->render('/User/settings_isearch');
+ }
+ }
+ public function profil_delete() {
+ $this->MiconwareSession->init($this);
+
+ $this->MiconwareSession->initWeb($this);
+ $this->autoRender = true;
+ $this->layout = 'default';
+ $this->RequestHandler->setContent('html', 'application/html' );
+
+
+
+ $profil = $this->MiconwareSession->getWorker();
+ $company = false;
+ if(empty($profil) or count($profil) <= 0){
+ $profil = $this->MiconwareSession->getCompany();
+ $company= true;
+ }
+
+ if(empty($profil) or count($profil) <= 0){
+ $this->MiconwareSession->setFlash(__('dreamjob.error.page.notFound'),'flash',array('alert'=>'danger'));
+ $this->set('error', array('title'=>__('dreamjob.error.noPermision.title'),'text'=>__('dreamjob.error.noPermision.text')));
+
+ if(!$this->MiconwareSession->isLoggedin())
+ $this->render('/Home/login');
+ else
+ $this->render('/Home/error');
+ }else{
+ if ($this->request->is('post')){
+ $key = $this->MiconwareSession->generateKey();
+ $profil['User']['code'] = "d:".$key;
+ $result = $this->User->sendDelete($profil);
+
+ if($result){
+ $this->MiconwareSession->setFlash(__('dreamjob.settings.delete.agree'),'flash',array('alert'=>'success'));
+ }else{
+ $this->MiconwareSession->setFlash(__('dreamjob.settings.delete.error'),'flash',array('alert'=>'danger'));
+ }
+ }
+ $this->render('/User/settings_account_delete');
+ }
+ }
+ public function avatar_upload() {
+ $this->MiconwareSession->init($this);
+ $this->layout = 'default';
+ $this->MiconwareSession->initWeb($this);
+ $this->RequestHandler->setContent('html', 'application/html' );
+
+
+
+ $profil = $this->MiconwareSession->getApplication('AppUser');
+
+ if(empty($profil) or count($profil) <= 0){
+ $this->MiconwareSession->setFlash(__('dreamjob.error.page.notFound'),'flash',array('alert'=>'danger'));
+ $this->set('error', array('title'=>__('dreamjob.error.noPermision.title'),'text'=>__('dreamjob.error.noPermision.text')));
+ if(!$this->MiconwareSession->isLoggedin())
+ $this->render('/Home/login');
+ else
+ $this->render('/Home/error');
+ }else{
+ if($this->request->is('put') or $this->request->is('post')){
+ $data['AppUser']['id'] = $profil['AppUser']['id'];
+ $data['AppUser']['take_systemwide'] = $profil['AppUser']['take_systemwide'];
+ $data['AppUser']['user_id'] = $profil['AppUser']['user_id'];
+ $data['AppUser']['avatar'] = $this->request->data['AppUser']['avatar'];
+ $result = $this->AppUser->imageUpload($data);
+ if($result){
+ $this->MiconwareSession->setFlash(__('dreamjob.settings.avatar.success'),'flash',array('alert'=>'success'));
+ }else{
+ $this->MiconwareSession->setFlash(__('dreamjob.settings.avatar.error'),'flash',array('alert'=>'danger'));
+ }
+ }
+ $this->request->data = $profil;
+ $this->render('/User/settings_imageUpload');
+ }
+ }
+ public function test() {
+ $this->MiconwareSession->init($this);
+
+ $this->MiconwareSession->initWeb($this);
+// $this->set('data', $this->DreamjobCompany->find('all'));
+ $this->set('data', $this->DreamjobJobMsg->find('first'));
+ $this->render('/User/test');
+ }
+}
diff --git a/app/Lib/empty b/app/Lib/empty
new file mode 100644
index 0000000..e69de29
diff --git a/app/Locale/cake.pot b/app/Locale/cake.pot
new file mode 100644
index 0000000..a86339e
--- /dev/null
+++ b/app/Locale/cake.pot
@@ -0,0 +1,24 @@
+# LANGUAGE translation of CakePHP Application
+# Copyright YEAR NAME
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PROJECT VERSION\n"
+"POT-Creation-Date: 2014-06-16 11:01+0200\n"
+"PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n"
+"Last-Translator: NAME \n"
+"Language-Team: LANGUAGE \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
+
+#: View/Errors/error500.ctp:8
+msgid "Error"
+msgstr ""
+
+#: View/Errors/error500.ctp:9
+msgid "An Internal Error Has Occurred."
+msgstr ""
+
diff --git a/app/Locale/cake_dev.pot b/app/Locale/cake_dev.pot
new file mode 100644
index 0000000..c905661
--- /dev/null
+++ b/app/Locale/cake_dev.pot
@@ -0,0 +1,24 @@
+# LANGUAGE translation of CakePHP Application
+# Copyright YEAR NAME
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PROJECT VERSION\n"
+"POT-Creation-Date: 2014-06-16 11:01+0200\n"
+"PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n"
+"Last-Translator: NAME \n"
+"Language-Team: LANGUAGE \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
+
+#: View/Layouts/error.ctp:19
+msgid "CakePHP: the rapid development php framework"
+msgstr ""
+
+#: webroot/test.php:93
+msgid "Debug setting does not allow access to this url."
+msgstr ""
+
diff --git a/app/Locale/default.pot b/app/Locale/default.pot
new file mode 100644
index 0000000..9d7f10c
--- /dev/null
+++ b/app/Locale/default.pot
@@ -0,0 +1,1345 @@
+# LANGUAGE translation of CakePHP Application
+# Copyright YEAR NAME
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PROJECT VERSION\n"
+"POT-Creation-Date: 2014-06-16 11:01+0200\n"
+"PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n"
+"Last-Translator: NAME \n"
+"Language-Team: LANGUAGE \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
+
+#: Controller/ExtraController.php:19;61;79
+#: Controller/HomeController.php:116
+msgid "dreamjob.contactSend.success"
+msgstr ""
+
+#: Controller/ExtraController.php:21;63;81
+#: Controller/HomeController.php:118
+msgid "dreamjob.contactSend.error"
+msgstr ""
+
+#: Controller/ExtraController.php:25
+#: View/Extra/contact.ctp:7
+#: View/Layouts/default.ctp:118
+msgid "dreamjob.contact"
+msgstr ""
+
+#: Controller/ExtraController.php:31
+#: View/Extra/cooperators.ctp:7
+#: View/Layouts/default.ctp:113
+msgid "dreamjob.cooperators"
+msgstr ""
+
+#: Controller/ExtraController.php:37
+#: View/Extra/team.ctp:7
+#: View/Layouts/default.ctp:112
+msgid "dreamjob.team"
+msgstr ""
+
+#: Controller/ExtraController.php:43
+#: View/Layouts/default.ctp:99
+msgid "dreamjob.extra.company"
+msgstr ""
+
+#: Controller/ExtraController.php:49
+#: View/Layouts/default.ctp:98
+msgid "dreamjob.extra.worker"
+msgstr ""
+
+#: Controller/ExtraController.php:67
+#: View/Extra/premium.ctp:7
+#: View/Layouts/default.ctp:105
+msgid "dreamjob.premium"
+msgstr ""
+
+#: Controller/ExtraController.php:85
+#: View/Extra/advertise.ctp:7
+#: View/Layouts/default.ctp:106
+msgid "dreamjob.advertise"
+msgstr ""
+
+#: Controller/HomeController.php:41;69;86
+#: View/Elements/barleft.ctp:93
+#: View/Elements/navbar.ctp:3;6
+msgid "dreamjob.startpage"
+msgstr ""
+
+#: Controller/HomeController.php:56
+msgid "dreamjob.loggedin.success"
+msgstr ""
+
+#: Controller/HomeController.php:58;61
+msgid "dreamjob.loggedin.error"
+msgstr ""
+
+#: Controller/HomeController.php:78
+msgid "dreamjob.loggingout.success"
+msgstr ""
+
+#: Controller/HomeController.php:80
+msgid "dreamjob.loggingout.error"
+msgstr ""
+
+#: Controller/HomeController.php:95
+#: View/Layouts/default.ctp:119
+msgid "dreamjob.impressum"
+msgstr ""
+
+#: Controller/HomeController.php:103
+#: View/Job/application_send.ctp:43
+#: View/Layouts/default.ctp:120
+#: View/Registration/company.ctp:38
+#: View/Registration/worker.ctp:41
+msgid "dreamjob.agb"
+msgstr ""
+
+#: View/Registration/worker.ctp:41
+msgid "dreamjob.cost"
+msgstr ""
+
+#: Controller/HomeController.php:123
+#: View/Elements/job_opening_head_extra.ctp:16
+#: View/Registration/company.ctp:19
+#: View/User/settings_account.ctp:67
+msgid "dreamjob.company"
+msgstr ""
+
+#: Controller/JobController.php:29;113;169;191;216;315
+#: Controller/PdfController.php:25;46
+#: Controller/SearchController.php:74;154;192
+#: Controller/UserController.php:100;157;203;250;326;442;488;517
+msgid "dreamjob.error.noPermision.title"
+msgstr ""
+
+#: Controller/JobController.php:29;113;169;191;216;315
+#: Controller/PdfController.php:25;46
+#: Controller/SearchController.php:74;154;192
+#: Controller/UserController.php:100;157;203;250;326;442;488;517
+msgid "dreamjob.error.noPermision.text"
+msgstr ""
+
+#: Controller/JobController.php:36
+msgid "dreamjob.opening.delete.success"
+msgstr ""
+
+#: Controller/JobController.php:38
+msgid "dreamjob.opening.delete.error"
+msgstr ""
+
+#: Controller/JobController.php:56;95
+msgid "dreamjob.opening.save.success"
+msgstr ""
+
+#: Controller/JobController.php:60;99
+msgid "dreamjob.opening.save.error"
+msgstr ""
+
+#: Controller/JobController.php:71;82
+msgid "dreamjob.error.noCompany.title"
+msgstr ""
+
+#: Controller/JobController.php:71;82
+msgid "dreamjob.error.noCompany.text"
+msgstr ""
+
+#: Controller/JobController.php:110;155;336
+msgid "dreamjob.error.opening.notFound.title"
+msgstr ""
+
+#: Controller/JobController.php:110;155;336
+msgid "dreamjob.error.opening.notFound.text"
+msgstr ""
+
+#: Controller/JobController.php:137
+msgid "dreamjob.opening.fav.delete.success"
+msgstr ""
+
+#: Controller/JobController.php:142
+msgid "dreamjob.opening.fav.add.success"
+msgstr ""
+
+#: Controller/JobController.php:225;290
+msgid "dreamjob.application.archiv.success"
+msgstr ""
+
+#: Controller/JobController.php:227;292
+msgid "dreamjob.application.archiv.error"
+msgstr ""
+
+#: Controller/JobController.php:239
+msgid "dreamjob.application.msg.success"
+msgstr ""
+
+#: Controller/JobController.php:241
+msgid "dreamjob.application.msg.error"
+msgstr ""
+
+#: Controller/JobController.php:351
+msgid "dreamjob.application.send.success"
+msgstr ""
+
+#: Controller/JobController.php:354
+msgid "dreamjob.application.send.error"
+msgstr ""
+
+#: Controller/JobController.php:357
+#: Controller/RegistrationController.php:66;125
+msgid "dreamjob.agb.error.notAccept"
+msgstr ""
+
+#: Controller/JobController.php:357
+#: Controller/RegistrationController.php:66;125
+msgid "dreamjob.cost.error.notAccept"
+msgstr ""
+
+#: Controller/JobController.php:365
+msgid "dreamjob.error.noWorker.title"
+msgstr ""
+
+#: Controller/JobController.php:365
+msgid "dreamjob.error.noWorker.text"
+msgstr ""
+
+#: Controller/RegistrationController.php:21;76;134;147;171
+msgid "dreamjob.error.loggedin.title"
+msgstr ""
+
+#: Controller/RegistrationController.php:21;76;134;147;171
+msgid "dreamjob.error.loggedin.text"
+msgstr ""
+
+#: Controller/RegistrationController.php:58;117
+msgid "dreamjob.registration.success"
+msgstr ""
+
+#: Controller/RegistrationController.php:60;119
+msgid "dreamjob.registration.error"
+msgstr ""
+
+#: Controller/RegistrationController.php:63;122;197
+#: Controller/UserController.php:294
+msgid "dreamjob.password.error.notEqual"
+msgstr ""
+
+#: Controller/RegistrationController.php:163
+msgid "dreamjob.password_reset.send.success"
+msgstr ""
+
+#: Controller/RegistrationController.php:166
+msgid "dreamjob.password_reset.send.error"
+msgstr ""
+
+#: Controller/RegistrationController.php:183
+msgid "dreamjob.password_replace.notFound"
+msgstr ""
+
+#: Controller/RegistrationController.php:191
+msgid "dreamjob.password_replace.success"
+msgstr ""
+
+#: Controller/RegistrationController.php:194
+msgid "dreamjob.password_replace.error"
+msgstr ""
+
+#: Controller/RegistrationController.php:201
+msgid "dreamjob.error.link.title"
+msgstr ""
+
+#: Controller/RegistrationController.php:201
+msgid "dreamjob.error.link.text"
+msgstr ""
+
+#: Controller/UserController.php:99;108;202;249;325;360;441;487;516
+msgid "dreamjob.error.page.notFound"
+msgstr ""
+
+#: Controller/UserController.php:140;288;456
+msgid "dreamjob.settings.save.success"
+msgstr ""
+
+#: Controller/UserController.php:142;290;458
+msgid "dreamjob.settings.save.error"
+msgstr ""
+
+#: Controller/UserController.php:220
+msgid "dreamjob.page.order.save.success"
+msgstr ""
+
+#: Controller/UserController.php:223
+msgid "dreamjob.page.order.save.error"
+msgstr ""
+
+#: Controller/UserController.php:355;413
+msgid "dreamjob.page.save.error"
+msgstr ""
+
+#: Controller/UserController.php:389
+msgid "dreamjob.pages.delete.success"
+msgstr ""
+
+#: Controller/UserController.php:391
+msgid "dreamjob.pages.delete.error"
+msgstr ""
+
+#: Controller/UserController.php:399
+msgid "dreamjob.page.oneType.error"
+msgstr ""
+
+#: Controller/UserController.php:419
+msgid "dreamjob.page.save.success"
+msgstr ""
+
+#: Controller/UserController.php:497
+msgid "dreamjob.settings.delete.agree"
+msgstr ""
+
+#: Controller/UserController.php:499
+msgid "dreamjob.settings.delete.error"
+msgstr ""
+
+#: Controller/UserController.php:527
+msgid "dreamjob.settings.avatar.success"
+msgstr ""
+
+#: Controller/UserController.php:529
+msgid "dreamjob.settings.avatar.error"
+msgstr ""
+
+#: View/Elements/barleft.ctp:30
+msgid "dreamjob.my.profil"
+msgstr ""
+
+#: View/Elements/barleft.ctp:32
+#: View/Job/opening_list.ctp:7
+msgid "dreamjob.my.opening"
+msgstr ""
+
+#: View/Elements/barleft.ctp:34
+#: View/Job/application.ctp:10
+#: View/Job/applicationWorker_list.ctp:7
+#: View/Job/opening.ctp:28
+msgid "dreamjob.my.application"
+msgstr ""
+
+#: View/Elements/barleft.ctp:35
+#: View/Job/favorite.ctp:7
+msgid "dreamjob.my.favority"
+msgstr ""
+
+#: View/Elements/barleft.ctp:37
+#: View/User/settings_account.ctp:17;32
+#: View/User/settings_account_delete.ctp:9
+#: View/User/settings_isearch.ctp:17
+#: View/User/settings_pages.ctp:35
+msgid "dreamjob.settings"
+msgstr ""
+
+#: View/Elements/barleft.ctp:66
+msgid "dreamjob.company.startpage"
+msgstr ""
+
+#: View/Elements/job_company_item.ctp:37
+#: View/Elements/job_opening_head_extra.ctp:9
+#: View/Elements/job_opening_item.ctp:66
+#: View/Job/opening_edit.ctp:35
+#: View/Registration/company.ctp:24
+#: 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/Search/worker.ctp:23
+#: View/User/company.ctp:81
+#: View/User/settings_account.ctp:72
+#: 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_cv.ctp:43
+#: View/Elements/user_worker_cv_edit.ctp:49
+#: View/Elements/user_worker_cv_pdf.ctp:47
+#: View/Elements/user_worker_item.ctp:40
+#: View/Job/opening_edit.ctp:45
+#: View/Registration/company.ctp:32
+#: 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:81
+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:68
+#: View/Job/opening_edit.ctp:33
+#: View/Search/opening.ctp:28
+#: View/Search/worker.ctp:25
+#: View/User/settings_isearch.ctp:31
+msgid "dreamjob.kindofjob"
+msgstr ""
+
+#: View/Elements/job_opening_head_extra.ctp:11
+#: View/Elements/job_opening_item.ctp:69
+#: View/Job/opening_edit.ctp:32
+msgid "dreamjob.opening.enddate"
+msgstr ""
+
+#: View/Elements/job_opening_head_extra.ctp:15
+msgid "dreamjob.company.titleinfo"
+msgstr ""
+
+#: View/Elements/job_opening_head_extra.ctp:17
+#: View/Registration/company.ctp:25
+#: View/User/settings_account.ctp:73
+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:71
+msgid "dreamjob.owner"
+msgstr ""
+
+#: View/Elements/job_opening_head_extra.ctp:21
+#: View/Job/opening_edit.ctp:42
+#: View/User/company.ctp:86
+msgid "dreamjob.address"
+msgstr ""
+
+#: View/Elements/job_opening_item.ctp:74
+msgid "dreamjob.opening.detail"
+msgstr ""
+
+#: View/Elements/job_opening_item.ctp:77
+#: View/Elements/user_worker_item.ctp:68
+#: View/Job/application.ctp:12
+#: View/Pdf/application.ctp:38
+msgid "dreamjob.application"
+msgstr ""
+
+#: View/Elements/job_opening_item.ctp:78
+msgid "dreamjob.opening.edit"
+msgstr ""
+
+#: View/Elements/job_opening_item.ctp:79
+msgid "dreamjob.opening.delete"
+msgstr ""
+
+#: View/Elements/job_opening_item.ctp:89;91
+msgid "dreamjob.applicated"
+msgstr ""
+
+#: View/Elements/job_opening_item.ctp:97
+#: View/Job/application.ctp:37
+#: View/Job/opening.ctp:50
+msgid "dreamjob.applicate"
+msgstr ""
+
+#: View/Elements/navbar.ctp:4;7
+#: View/Home/home.ctp:9
+#: 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:28
+msgid "dreamjob.search"
+msgstr ""
+
+#: View/Elements/navbar.ctp:9
+msgid "dreamjob.service"
+msgstr ""
+
+#: View/Elements/navbar.ctp:9
+msgid "dreamjob.service.overview"
+msgstr ""
+
+#: View/Elements/navbar.ctp:9
+msgid "dreamjob.service.overview.to"
+msgstr ""
+
+#: View/Elements/navbar.ctp:9
+msgid "dreamjob.service.infotext"
+msgstr ""
+
+#: View/Elements/navbar.ctp:9
+msgid "dreamjob.service.link.to"
+msgstr ""
+
+#: View/Elements/navbar.ctp:11
+msgid "dreamjob.logout"
+msgstr ""
+
+#: View/Elements/navbar.ctp:24
+#: View/Elements/user_worker_header.ctp:43
+#: View/Registration/company.ctp:15
+#: View/Registration/password_reset.ctp:8
+#: View/Registration/worker.ctp:15
+#: View/User/company.ctp:45;68
+#: View/User/settings_account.ctp:39
+msgid "dreamjob.mail"
+msgstr ""
+
+#: View/Elements/navbar.ctp:26
+#: View/Registration/company.ctp:16
+#: View/Registration/password_replace.ctp:8
+#: View/Registration/worker.ctp:16
+#: View/User/settings_account.ctp:41
+msgid "dreamjob.password"
+msgstr ""
+
+#: View/Elements/navbar.ctp:29
+msgid "dreamjob.login"
+msgstr ""
+
+#: View/Elements/navbar.ctp:33
+msgid "dreamjob.password.forget"
+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:16
+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:10
+#: View/Elements/user_worker_cv_edit.ctp:12
+#: View/Job/application.ctp:67
+#: View/Pdf/application.ctp:64
+#: View/Pdf/profil.ctp:46
+#: View/User/worker.ctp:23;25
+msgid "dreamjob.cv"
+msgstr ""
+
+#: View/Elements/user_worker_cv.ctp:12
+msgid "dreamjob.edit"
+msgstr ""
+
+#: View/Elements/user_worker_cv.ctp:24
+#: View/Elements/user_worker_cv_edit.ctp:27
+#: View/Elements/user_worker_cv_pdf.ctp:28
+#: View/Registration/worker.ctp:24
+#: View/User/settings_account.ctp:51
+msgid "dreamjob.bday"
+msgstr ""
+
+#: View/Elements/user_worker_cv.ctp:35
+#: View/Elements/user_worker_cv_edit.ctp:39
+#: View/Elements/user_worker_cv_pdf.ctp:39
+#: View/Elements/user_worker_item.ctp:43
+#: View/Registration/worker.ctp:29
+#: View/User/settings_account.ctp:56
+msgid "dreamjob.workexperience"
+msgstr ""
+
+#: View/Elements/user_worker_cv.ctp:36
+#: View/Elements/user_worker_cv_edit.ctp:40
+#: View/Elements/user_worker_cv_pdf.ctp:40
+#: View/Elements/user_worker_item.ctp:43
+msgid "dreamjob.years"
+msgstr ""
+
+#: View/Elements/user_worker_cv.ctp:39
+#: View/Elements/user_worker_cv_edit.ctp:44
+#: View/Elements/user_worker_cv_pdf.ctp:43
+msgid "dreamjob.graducation.worker"
+msgstr ""
+
+#: View/Elements/user_worker_cv.ctp:47
+#: View/Elements/user_worker_cv_edit.ctp:54
+#: View/Elements/user_worker_cv_pdf.ctp:51
+msgid "dreamjob.country.worker"
+msgstr ""
+
+#: View/Elements/user_worker_cv_edit.ctp:13
+msgid "dreamjob.edit.end"
+msgstr ""
+
+#: View/Elements/user_worker_cv_edit.ctp:66;94;126;154
+msgid "dreamjob.between"
+msgstr ""
+
+#: View/Elements/user_worker_cv_edit.ctp:66;72;76;94;98;102;126;132;136;154;158;162
+msgid "dreamjob.chooseOne.date"
+msgstr ""
+
+#: View/Elements/user_worker_cv_edit.ctp:66;94;126;154
+msgid "dreamjob.between.till"
+msgstr ""
+
+#: View/Elements/user_worker_cv_edit.ctp:183
+#: View/Job/application.ctp:134
+#: View/Job/opening_edit.ctp:49
+#: View/Registration/password_replace.ctp:12
+#: View/User/settings_account.ctp:88
+#: View/User/settings_imageUpload.ctp:14
+#: View/User/settings_isearch.ctp:60
+#: View/User/settings_pages.ctp:113
+msgid "dreamjob.save"
+msgstr ""
+
+#: 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:27
+#: View/User/settings_account.ctp:54
+msgid "dreamjob.iam"
+msgstr ""
+
+#: View/Elements/user_worker_header.ctp:45
+#: View/User/company.ctp:47;70
+msgid "dreamjob.mail.contact"
+msgstr ""
+
+#: View/Elements/user_worker_header.ctp:47
+msgid "dreamjob.profil.mappePDF"
+msgstr ""
+
+#: View/Elements/user_worker_header.ctp:49
+#: View/Job/application.ctp:32
+msgid "dreamjob.application.mappePDF"
+msgstr ""
+
+#: View/Elements/user_worker_item.ctp:41
+#: View/Job/opening_edit.ctp:34
+#: View/Registration/worker.ctp:28
+#: View/Search/opening.ctp:27
+#: View/User/settings_account.ctp:55
+msgid "dreamjob.graducation"
+msgstr ""
+
+#: View/Elements/user_worker_item.ctp:53
+#: View/Job/application.ctp:27
+msgid "dreamjob.application.close"
+msgstr ""
+
+#: View/Elements/user_worker_item.ctp:57
+#: View/Job/application.ctp:29
+msgid "dreamjob.application.close.actived"
+msgstr ""
+
+#: View/Elements/user_worker_item.ctp:65
+msgid "dreamjob.applicated.to"
+msgstr ""
+
+#: View/Elements/user_worker_item.ctp:73
+msgid "dreamjob.details"
+msgstr ""
+
+#: View/Emails/html/delete_order.ctp:2
+#: View/User/test.ctp:12
+msgid "dreamjob.regisration.active.link"
+msgstr ""
+
+#: View/Home/company.ctp:11
+#: View/Home/home.ctp:22
+msgid "dreamjob.registration.to"
+msgstr ""
+
+#: View/Home/home.ctp:13
+msgid "dreamjob.search.opening.startpage.placeholder"
+msgstr ""
+
+#: View/Home/home.ctp:26
+msgid "dreamjob.search.to"
+msgstr ""
+
+#: View/Home/home.ctp:32
+msgid "dreamjob.startpage.openings"
+msgstr ""
+
+#: View/Job/application.ctp:16
+#: View/User/company.ctp:111;113;132
+msgid "dreamjob.opening"
+msgstr ""
+
+#: View/Job/application.ctp:39
+msgid "dreamjob.message.send"
+msgstr ""
+
+#: View/Job/application.ctp:64;118
+#: View/Pdf/application.ctp:47
+msgid "dreamjob.application.why"
+msgstr ""
+
+#: View/Job/application.ctp:131
+msgid "dreamjob.message"
+msgstr ""
+
+#: View/Job/applicationCompany_list.ctp:13
+msgid "dreamjob.application.archiv.activ"
+msgstr ""
+
+#: View/Job/applicationCompany_list.ctp:14
+msgid "dreamjob.application.archiv"
+msgstr ""
+
+#: View/Job/applicationCompany_list.ctp:15
+msgid "dreamjob.application.archiv.all"
+msgstr ""
+
+#: View/Job/applicationCompany_list.ctp:18
+msgid "dreamjob.applications"
+msgstr ""
+
+#: View/Job/application_send.ctp:13
+msgid "dreamjob.application.form"
+msgstr ""
+
+#: View/Job/application_send.ctp:13
+msgid "dreamjob.application.extern"
+msgstr ""
+
+#: View/Job/application_send.ctp:13
+msgid "dreamjob.application.extern.pdf"
+msgstr ""
+
+
+#: View/Job/application_send.ctp:13
+msgid "dreamjob.application.extern.why"
+msgstr ""
+
+#: View/Job/application_send.ctp:13
+msgid "dreamjob.application.extern.to.doing"
+msgstr ""
+
+#: View/Job/application_send.ctp:13
+msgid "dreamjob.application.extern.title"
+msgstr ""
+
+
+#: View/Job/application_send.ctp:13
+msgid "dreamjob.application.extern.filename.pdf"
+msgstr ""
+
+#: View/Job/application_send.ctp:13
+msgid "dreamjob.application.extern.to"
+msgstr ""
+
+#: View/Job/application_send.ctp:13
+msgid "dreamjob.application.receiver"
+msgstr ""
+
+#: View/Job/application_send.ctp:27
+msgid "dreamjob.opening.subject.placeholder"
+msgstr ""
+
+#: View/Job/application_send.ctp:31
+msgid "dreamjob.application.addPages"
+msgstr ""
+
+#: View/Job/application_send.ctp:43
+#: View/Registration/company.ctp:38
+#: View/Registration/worker.ctp:41
+msgid "dreamjob.agb.accept"
+msgstr ""
+
+#: View/Registration/worker.ctp:41
+msgid "dreamjob.cost.accept"
+msgstr ""
+
+#: View/Job/application_send.ctp:46
+msgid "dreamjob.application.send"
+msgstr ""
+
+#: View/Job/opening.ctp:20
+msgid "dreamjob.company.to"
+msgstr ""
+
+#: View/Job/opening.ctp:31
+msgid "dreamjob.favority.adding"
+msgstr ""
+
+#: View/Job/opening.ctp:33
+msgid "dreamjob.favority.removeing"
+msgstr ""
+
+#: View/Job/opening_edit.ctp:27
+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 ""
+
+#: View/Job/opening_edit.ctp:31
+msgid "dreamjob.opening.startdate"
+msgstr ""
+
+#: View/Job/opening_edit.ctp:37;39
+msgid "dreamjob.opening.active"
+msgstr ""
+
+#: View/Job/opening_edit.ctp:43
+#: View/Registration/company.ctp:31
+#: View/Registration/worker.ctp:33
+#: View/User/settings_account.ctp:80
+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:80
+msgid "dreamjob.street"
+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:82
+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:82
+msgid "dreamjob.postcode"
+msgstr ""
+
+#: View/Job/opening_edit.ctp:46
+msgid "dreamjob.text"
+msgstr ""
+
+#: View/Job/opening_list.ctp:11
+msgid "dreamjob.opening.add"
+msgstr ""
+
+#: View/Layouts/default.ctp:8
+msgid "dreamjob"
+msgstr ""
+
+#: View/Layouts/default.ctp:26
+msgid "dreamjob.close"
+msgstr ""
+
+#: View/Pdf/application.ctp:38
+msgid "dreamjob.application.for"
+msgstr ""
+
+#: View/Pdf/profil.ctp:36
+msgid "dreamjob.application.mappe"
+msgstr ""
+
+#: View/Registration/active.ctp:4
+msgid "dreamjob.active"
+msgstr ""
+
+#: View/Registration/active.ctp:7
+msgid "dreamjob.active.done"
+msgstr ""
+
+#: View/Registration/active.ctp:9
+msgid "dreamjob.active.error"
+msgstr ""
+
+#: View/Registration/company.ctp:7
+#: View/Registration/main.ctp:11
+msgid "dreamjob.registration.company"
+msgstr ""
+
+#: View/Registration/company.ctp:13
+#: View/Registration/worker.ctp:13
+#: View/User/settings_account.ctp:37
+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/password_replace.ctp:9
+#: View/Registration/worker.ctp:17
+#: View/User/settings_account.ctp:42
+msgid "dreamjob.password2"
+msgstr ""
+
+#: View/Registration/company.ctp:21
+#: View/User/settings_account.ctp:69
+msgid "dreamjob.nickname.placeholder"
+msgstr ""
+
+#: View/Registration/company.ctp:21
+#: View/User/settings_account.ctp:69
+msgid "dreamjob.company.nickname"
+msgstr ""
+
+#: View/Registration/company.ctp:22
+#: View/User/settings_account.ctp:70
+msgid "dreamjob.corporateform.placeholder"
+msgstr ""
+
+#: View/Registration/company.ctp:22
+#: View/User/settings_account.ctp:70
+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:75
+msgid "dreamjob.website.placeholder"
+msgstr ""
+
+#: View/Registration/company.ctp:27
+#: View/User/company.ctp:38;61
+#: View/User/settings_account.ctp:75
+msgid "dreamjob.website"
+msgstr ""
+
+#: View/Registration/company.ctp:29
+#: View/Registration/worker.ctp:31
+#: View/User/settings_account.ctp:78
+msgid "dreamjob.addresse"
+msgstr ""
+
+#: View/Registration/company.ctp:41
+#: View/Registration/worker.ctp:44
+msgid "dreamjob.save.registration"
+msgstr ""
+
+#: View/Registration/company.ctp:47
+#: View/Registration/worker.ctp:50
+msgid "dreamjob.registration.done.text"
+msgstr ""
+
+#: View/Registration/main.ctp:7
+msgid "dreamjob.registration"
+msgstr ""
+
+#: View/Registration/main.ctp:9
+#: View/Registration/worker.ctp:7
+msgid "dreamjob.registration.worker"
+msgstr ""
+
+#: View/Registration/password_replace.ctp:5
+msgid "dreamjob.password.replace"
+msgstr ""
+
+#: View/Registration/password_reset.ctp:5
+msgid "dreamjob.password.reset"
+msgstr ""
+
+#: View/Registration/password_reset.ctp:11
+msgid "dreamjob.password.reset.send"
+msgstr ""
+
+#: View/Registration/worker.ctp:19
+#: View/User/settings_account.ctp:46
+msgid "dreamjob.worker"
+msgstr ""
+
+#: View/Registration/worker.ctp:21
+#: View/User/settings_account.ctp:48
+msgid "dreamjob.mannerofaddress"
+msgstr ""
+
+#: View/Registration/worker.ctp:22
+#: View/User/settings_account.ctp:49
+msgid "dreamjob.first_name.placeholder"
+msgstr ""
+
+#: View/Registration/worker.ctp:22
+#: View/User/settings_account.ctp:49
+msgid "dreamjob.first_name"
+msgstr ""
+
+#: View/Registration/worker.ctp:23
+#: View/User/settings_account.ctp:50
+msgid "dreamjob.last_name.placeholder"
+msgstr ""
+
+#: View/Registration/worker.ctp:23
+#: View/User/settings_account.ctp:50
+msgid "dreamjob.last_name"
+msgstr ""
+
+#: View/Registration/worker.ctp:27
+#: View/User/settings_account.ctp:54
+msgid "dreamjob.iam.placeholder"
+msgstr ""
+
+#: View/Registration/worker.ctp:29
+#: View/User/settings_account.ctp:56
+msgid "dreamjob.workexperience.placeholder"
+msgstr ""
+
+#: View/Registration/worker.ctp:36
+#: View/User/settings_account.ctp:84
+msgid "dreamjob.country.placeholder"
+msgstr ""
+
+#: View/Registration/worker.ctp:36
+#: View/User/settings_account.ctp:84
+msgid "dreamjob.country"
+msgstr ""
+
+#: View/Search/academy.ctp:20
+msgid "dreamjob.search.opening.academy.placeholder"
+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
+#: View/Search/worker.ctp:23;24;25
+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:20
+msgid "dreamjob.search.opening.education.placeholder"
+msgstr ""
+
+#: View/Search/education.ctp:24
+msgid "dreamjob.branch.placeholder"
+msgstr ""
+
+#: View/Search/education.ctp:25
+msgid "dreamjob.city.placeholder"
+msgstr ""
+
+#: View/Search/internship.ctp:20
+msgid "dreamjob.search.opening.internship.placeholder"
+msgstr ""
+
+#: View/Search/opening.ctp:20
+msgid "dreamjob.search.opening.placeholder"
+msgstr ""
+
+#: View/Search/worker.ctp:14
+msgid "dreamjob.search.worker"
+msgstr ""
+
+#: View/Search/worker.ctp:19
+msgid "dreamjob.search.worker.placeholder"
+msgstr ""
+
+#: View/Search/worker.ctp:24
+#: View/User/settings_isearch.ctp:30
+msgid "dreamjob.job"
+msgstr ""
+
+#: View/User/settings_account.ctp:21
+#: View/User/settings_account_delete.ctp:13
+#: View/User/settings_isearch.ctp:18
+#: View/User/settings_pages.ctp:39;52
+msgid "dreamjob.settings.pages"
+msgstr ""
+
+#: View/User/settings_account.ctp:22
+#: View/User/settings_account_delete.ctp:14
+#: View/User/settings_isearch.ctp:19;22
+#: View/User/settings_pages.ctp:40
+msgid "dreamjob.settings.isearch"
+msgstr ""
+
+#: View/User/settings_account.ctp:26
+#: View/User/settings_account_delete.ctp:18
+#: View/User/settings_pages.ctp:44;54
+msgid "dreamjob.settings.pages.company"
+msgstr ""
+
+#: View/User/settings_account.ctp:59;61
+msgid "dreamjob.searchhidden"
+msgstr ""
+
+#: View/User/settings_account.ctp:71
+msgid "dreamjob.owner.placeholder"
+msgstr ""
+
+#: View/User/settings_account.ctp:73
+msgid "dreamjob.headcount.placeholder"
+msgstr ""
+
+#: View/User/settings_account.ctp:87
+#: View/User/settings_account_delete.ctp:31
+msgid "dreamjob.settings.delete"
+msgstr ""
+
+#: View/User/settings_account_delete.ctp:24
+msgid "dreamjob.settings.delete.title"
+msgstr ""
+
+#: View/User/settings_account_delete.ctp:27
+msgid "dreamjob.settings.delete.text"
+msgstr ""
+
+#: View/User/settings_account_delete.ctp:30
+msgid "dreamjob.settings.to"
+msgstr ""
+
+#: View/User/settings_imageUpload.ctp:11
+msgid "dreamjob.avatar"
+msgstr ""
+
+#: View/User/settings_isearch.ctp:32
+msgid "dreamjob.options"
+msgstr ""
+
+#: View/User/settings_isearch.ctp:42;44;45;52;53;54
+msgid "dreamjob.form.chooseOne"
+msgstr ""
+
+#: View/User/settings_pages.ctp:69
+msgid "dreamjob.pages.new"
+msgstr ""
+
+#: View/User/settings_pages.ctp:71
+msgid "dreamjob.pages.company.new"
+msgstr ""
+
+#: View/User/settings_pages.ctp:85
+msgid "dreamjob.pages.title.placeholder"
+msgstr ""
+
+#: View/User/settings_pages.ctp:87
+msgid "dreamjob.pages.company.title.placeholder"
+msgstr ""
+
+#: View/User/settings_pages.ctp:88
+msgid "dreamjob.page.title"
+msgstr ""
+
+#: View/User/settings_pages.ctp:91
+msgid "dreamjob.pages.types"
+msgstr ""
+
+#: View/User/settings_pages.ctp:95
+msgid "dreamjob.page.image"
+msgstr ""
+
+#: View/User/settings_pages.ctp:104
+msgid "dreamjob.page.text"
+msgstr ""
+
+#: View/User/settings_pages.ctp:110
+msgid "dreamjob.page.del"
+msgstr ""
+
+#: View/User/worker.ctp:56
+msgid "dreamjob.company.nopro.title"
+msgstr ""
+
+#: View/User/worker.ctp:57
+msgid "dreamjob.company.nopro"
+msgstr ""
+
+
+
+#: View/User/worker.ctp:56
+msgid "dreamjob.opening.enddatum_description"
+msgstr ""
+
+#: View/User/worker.ctp:56
+msgid "dreamjob.opening.enddatum_description (%s)"
+msgstr ""
+
+#: View/User/worker.ctp:56
+msgid "dreamjob.opening.addToEnddate"
+msgstr ""
+
+#: View/User/worker.ctp:56
+msgid "dreamjob.opening.cost"
+msgstr ""
+
+
+#: Model/AppUser.php:validation for field id
+#: Model/DreamjobListBranch.php:validation for field id
+#: Model/DreamjobListCity.php:validation for field id
+#: Model/DreamjobListCountry.php:validation for field id
+#: Model/DreamjobListGraducation.php:validation for field id
+#: Model/DreamjobListJob.php:validation for field id
+#: Model/DreamjobListKindofjob.php:validation for field id
+#: Model/DreamjobPageInh.php:validation for field id;validation for field user_id
+#: Model/Mannerofaddress.php:validation for field id
+#: Model/User.php:validation for field id
+msgid "naturalNumber"
+msgstr ""
+
+#: Model/AppUser.php:validation for field user_id
+#: Model/DreamjobCompany.php:validation for field djaccount_ptr_id;validation for field branch_id;validation for field pro_user
+#: Model/DreamjobCvEntry.php:validation for field category_id
+#: Model/DreamjobISearch.php:validation for field worker_id;validation for field branch_id;validation for field job_id;validation for field kindofjob_id
+#: Model/DreamjobJobApplication.php:validation for field id;validation for field stars;validation for field worker_id;validation for field opening_id
+#: Model/DreamjobJobApplicationPage.php:validation for field id;validation for field application_id;validation for field page_id
+#: Model/DreamjobJobFavority.php:validation for field worker_id;validation for field opening_id
+#: Model/DreamjobJobMsg.php:validation for field application_id
+#: Model/DreamjobJobOpening.php:validation for field id;validation for field company_id;validation for field branch_id;validation for field graducation_id;validation for field kindofjob_id
+#: Model/DreamjobPageImage.php:validation for field page_ptr_id
+#: Model/DreamjobPageInh.php:validation for field position
+#: Model/DreamjobPageText.php:validation for field page_ptr_id
+#: Model/DreamjobUser.php:validation for field micapplication_ptr_id
+#: Model/DreamjobWorker.php:validation for field djaccount_ptr_id
+msgid "numeric"
+msgstr ""
+
+#: Model/AppUser.php:validation for field take_systemwide
+#: Model/DreamjobJobApplication.php:validation for field closed;validation for field offered;validation for field saw
+#: Model/DreamjobJobMsg.php:validation for field fromcompany;validation for field saw
+#: Model/DreamjobJobOpening.php:validation for field active
+#: Model/DreamjobListCvCategory.php:validation for field enddate;validation for field startdate;validation for field place
+#: Model/DreamjobWorker.php:validation for field searchhidden;validation for field advertising;validation for field leadership_ability
+#: Model/User.php:validation for field is_staff;validation for field is_active;validation for field is_superuser
+msgid "boolean"
+msgstr ""
+
+#: Model/DreamjobCompany.php:validation for field djaccount_ptr_id
+#: Model/DreamjobJobFavority.php:validation for field worker_id;validation for field opening_id
+#: Model/DreamjobListBranch.php:validation for field id;validation for field name
+#: Model/DreamjobListCity.php:validation for field id;validation for field name
+#: Model/DreamjobListCountry.php:validation for field id;validation for field name
+#: Model/DreamjobListGraducation.php:validation for field id;validation for field name
+#: Model/DreamjobListJob.php:validation for field id;validation for field name
+#: Model/DreamjobListKindofjob.php:validation for field id;validation for field name
+#: Model/DreamjobPageImage.php:validation for field page_ptr_id
+#: Model/DreamjobPageInh.php:validation for field id
+#: Model/DreamjobPageText.php:validation for field page_ptr_id
+#: Model/DreamjobUser.php:validation for field micapplication_ptr_id
+#: Model/DreamjobWorker.php:validation for field djaccount_ptr_id
+#: Model/Mannerofaddress.php:validation for field id;validation for field name
+#: Model/User.php:validation for field id
+msgid "multiple"
+msgstr ""
+
+#: Model/DreamjobCompany.php:validation for field corporateform;validation for field owner
+#: Model/DreamjobCvEntry.php:validation for field title;validation for field place
+#: Model/DreamjobJobApplication.php:validation for field text
+#: Model/DreamjobJobMsg.php:validation for field text
+#: Model/DreamjobJobOpening.php:validation for field street;validation for field postcode;validation for field title;validation for field text
+#: Model/DreamjobListBranch.php:validation for field name
+#: Model/DreamjobListCity.php:validation for field name
+#: Model/DreamjobListCountry.php:validation for field name
+#: Model/DreamjobListCvCategory.php:validation for field name;validation for field place_str;validation for field title_str
+#: Model/DreamjobListGraducation.php:validation for field name
+#: Model/DreamjobListJob.php:validation for field name
+#: Model/DreamjobListKindofjob.php:validation for field name
+#: Model/DreamjobPageInh.php:validation for field user_id;validation for field title
+#: Model/DreamjobUser.php:validation for field street;validation for field postcode
+#: Model/DreamjobWorker.php:validation for field djaccount_ptr_id;validation for field country;validation for field iam
+#: Model/Mannerofaddress.php:validation for field name
+#: Model/User.php:validation for field first_name;validation for field last_name;validation for field password;validation for field code;validation for field comment
+msgid "notEmpty"
+msgstr ""
+
+#: Model/DreamjobCvEntry.php:validation for field startdate;validation for field enddate
+#: Model/DreamjobJobOpening.php:validation for field startdate;validation for field enddate
+#: Model/User.php:validation for field bday
+msgid "date"
+msgstr ""
+
+#: Model/DreamjobCvEntry.php:validation for field startdate
+msgid "compare"
+msgstr ""
+
+#: Model/DreamjobPageImage.php:validation for field image
+msgid "Something went wrong with the file upload"
+msgstr ""
+
+#: Model/DreamjobPageImage.php:validation for field image
+msgid "Invalid file, only images allowed"
+msgstr ""
+
+#: Model/User.php:validation for field last_login;validation for field date_joined
+msgid "datetime"
+msgstr ""
+
+#: Model/User.php:validation for field mail
+msgid "email"
+msgstr ""
+
+#: Model/User.php:validation for field avatar
+msgid "url"
+msgstr ""
+
+#: View/Errors/error500.ctp:8
+msgid "Error"
+msgstr ""
+
+#: View/Errors/error500.ctp:9
+msgid "An Internal Error Has Occurred."
+msgstr ""
+
+#: View/Layouts/error.ctp:19
+msgid "CakePHP: the rapid development php framework"
+msgstr ""
+
+#: webroot/test.php:93
+msgid "Debug setting does not allow access to this url."
+msgstr ""
+
diff --git a/app/Locale/deu/LC_MESSAGES/cake.mo b/app/Locale/deu/LC_MESSAGES/cake.mo
new file mode 100644
index 0000000..2991226
Binary files /dev/null and b/app/Locale/deu/LC_MESSAGES/cake.mo differ
diff --git a/app/Locale/deu/LC_MESSAGES/cake.po b/app/Locale/deu/LC_MESSAGES/cake.po
new file mode 100644
index 0000000..f9a0f96
--- /dev/null
+++ b/app/Locale/deu/LC_MESSAGES/cake.po
@@ -0,0 +1,60 @@
+# LANGUAGE translation of CakePHP Application
+# Copyright YEAR NAME
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PROJECT VERSION\n"
+"POT-Creation-Date: 2014-04-29 22:09+0200\n"
+"PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n"
+"Last-Translator: NAME \n"
+"Language-Team: LANGUAGE \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
+
+#: View/Errors/error500.ctp:8
+msgid "Error"
+msgstr ""
+
+#: View/Errors/error500.ctp:9
+msgid "An Internal Error Has Occurred."
+msgstr ""
+
+msgid "January"
+msgstr "Januar"
+
+msgid "February"
+msgstr "Februar"
+
+msgid "March"
+msgstr "März"
+
+msgid "April"
+msgstr "April"
+
+msgid "May"
+msgstr "Mai"
+
+msgid "June"
+msgstr "Juni"
+
+msgid "July"
+msgstr "Juli"
+
+msgid "August"
+msgstr "August"
+
+msgid "September"
+msgstr "September"
+
+msgid "October"
+msgstr "Oktober"
+
+msgid "November"
+msgstr "November"
+
+msgid "December"
+msgstr "Dezember"
+
diff --git a/app/Locale/deu/LC_MESSAGES/default.mo b/app/Locale/deu/LC_MESSAGES/default.mo
new file mode 100644
index 0000000..60b70e6
Binary files /dev/null and b/app/Locale/deu/LC_MESSAGES/default.mo differ
diff --git a/app/Locale/deu/LC_MESSAGES/default.po b/app/Locale/deu/LC_MESSAGES/default.po
new file mode 100644
index 0000000..57387c9
--- /dev/null
+++ b/app/Locale/deu/LC_MESSAGES/default.po
@@ -0,0 +1,1207 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"POT-Creation-Date: 2014-06-16 11:01+0200\n"
+"PO-Revision-Date: \n"
+"Last-Translator: \n"
+"Language-Team: LANGUAGE \n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.7.5\n"
+
+#: Controller/ExtraController.php:19;61;79 Controller/HomeController.php:116
+msgid "dreamjob.contactSend.success"
+msgstr "Nachricht wurde versendet"
+
+#: Controller/ExtraController.php:21;63;81 Controller/HomeController.php:118
+msgid "dreamjob.contactSend.error"
+msgstr "Bewerbung konnte nicht versendet werden"
+
+#: Controller/ExtraController.php:25 View/Extra/contact.ctp:7 View/Layouts/default.ctp:118
+msgid "dreamjob.contact"
+msgstr "Kontakt"
+
+#: Controller/ExtraController.php:31 View/Extra/cooperators.ctp:7 View/Layouts/default.ctp:113
+msgid "dreamjob.cooperators"
+msgstr "Kooperationspartner"
+
+#: Controller/ExtraController.php:37 View/Extra/team.ctp:7 View/Layouts/default.ctp:112
+msgid "dreamjob.team"
+msgstr "Team"
+
+#: Controller/ExtraController.php:43 View/Layouts/default.ctp:99
+msgid "dreamjob.extra.company"
+msgstr "für Arbeitgeber"
+
+#: Controller/ExtraController.php:49 View/Layouts/default.ctp:98
+msgid "dreamjob.extra.worker"
+msgstr "für Suchende"
+
+#: Controller/ExtraController.php:67 View/Extra/premium.ctp:7 View/Layouts/default.ctp:105
+msgid "dreamjob.premium"
+msgstr "Premium Account"
+
+#: Controller/ExtraController.php:85 View/Extra/advertise.ctp:7 View/Layouts/default.ctp:106
+msgid "dreamjob.advertise"
+msgstr "Werbung schalten"
+
+#: Controller/HomeController.php:41;69;86 View/Elements/barleft.ctp:93 View/Elements/navbar.ctp:5;8
+msgid "dreamjob.startpage"
+msgstr "Info"
+
+#: Controller/HomeController.php:56
+msgid "dreamjob.loggedin.success"
+msgstr "Sie sind nun angemeldet"
+
+#: Controller/HomeController.php:58;61
+msgid "dreamjob.loggedin.error"
+msgstr "Sie konnten nicht angemeldet werden (bitte überprüfen Sie Ihre Eingabe)"
+
+#: Controller/HomeController.php:78
+msgid "dreamjob.loggingout.success"
+msgstr "Sie wurden erfolgreich abgemeldet"
+
+#: Controller/HomeController.php:80
+msgid "dreamjob.loggingout.error"
+msgstr "Sie konnten nicht abgemeldet werden (bitte überprüfen Sie, ob sie angemeldet sind)"
+
+#: Controller/HomeController.php:95 View/Layouts/default.ctp:119
+msgid "dreamjob.impressum"
+msgstr "Impressum"
+
+#: Controller/HomeController.php:103 View/Job/application_send.ctp:43 View/Layouts/default.ctp:120
+#: View/Registration/company.ctp:38 View/Registration/worker.ctp:41
+msgid "dreamjob.agb"
+msgstr "AGBs"
+
+msgid "dreamjob.cost"
+msgstr "Kosten"
+
+#: Controller/HomeController.php:123 View/Elements/job_opening_head_extra.ctp:16 View/Registration/company.ctp:19
+#: View/User/settings_account.ctp:67
+msgid "dreamjob.company"
+msgstr "Unternehmen"
+
+#: Controller/JobController.php:29;113;169;191;216;315 Controller/PdfController.php:25;46
+#: Controller/SearchController.php:74;154;192 Controller/UserController.php:100;157;203;250;326;442;488;517
+msgid "dreamjob.error.noPermision.title"
+msgstr "Zugriff verweigert"
+
+#: Controller/JobController.php:29;113;169;191;216;315 Controller/PdfController.php:25;46
+#: Controller/SearchController.php:74;154;192 Controller/UserController.php:100;157;203;250;326;442;488;517
+msgid "dreamjob.error.noPermision.text"
+msgstr "Sie haben hier keine Rechte."
+
+#: Controller/JobController.php:36
+msgid "dreamjob.opening.delete.success"
+msgstr "Stellenausschreibung wurde gelöscht"
+
+#: Controller/JobController.php:38
+msgid "dreamjob.opening.delete.error"
+msgstr "Stellenausschreibung konnte nicht gelöscht werden"
+
+#: Controller/JobController.php:56;95
+msgid "dreamjob.opening.save.success"
+msgstr "Änderung wurde gespeichert"
+
+#: Controller/JobController.php:60;99
+msgid "dreamjob.opening.save.error"
+msgstr "Seite konnte nicht gespeichert werden"
+
+#: Controller/JobController.php:71;82
+msgid "dreamjob.error.noCompany.title"
+msgstr "Sie sind keine registrierte Firma"
+
+#: Controller/JobController.php:71;82
+msgid "dreamjob.error.noCompany.text"
+msgstr "Zugriff verweigert, da Sie keinen Firmen-Account verwenden "
+
+#: Controller/JobController.php:110;155;336
+msgid "dreamjob.error.opening.notFound.title"
+msgstr "Stellenausschreibung wurde nicht gefunden"
+
+#: Controller/JobController.php:110;155;336
+msgid "dreamjob.error.opening.notFound.text"
+msgstr "Stellenausschreibung scheint nicht mehr zu existieren"
+
+#: Controller/JobController.php:137
+msgid "dreamjob.opening.fav.delete.success"
+msgstr "Favorit wurde entfernt"
+
+#: Controller/JobController.php:142
+msgid "dreamjob.opening.fav.add.success"
+msgstr "Stelle wurde zu Favoriten hinzugefügt"
+
+#: Controller/JobController.php:225;290
+msgid "dreamjob.application.archiv.success"
+msgstr "Bewerbung wurde abgelegte."
+
+#: Controller/JobController.php:227;292
+msgid "dreamjob.application.archiv.error"
+msgstr "Vorgang fehlgeschlagen"
+
+#: Controller/JobController.php:239
+msgid "dreamjob.application.msg.success"
+msgstr "Nachricht wurde erfolgreich versenden"
+
+#: Controller/JobController.php:241
+msgid "dreamjob.application.msg.error"
+msgstr "Nachricht konnte nicht gesendet werden"
+
+#: Controller/JobController.php:351
+msgid "dreamjob.application.send.success"
+msgstr "Bewerbung wurde erfolgreich versenden"
+
+#: Controller/JobController.php:354
+msgid "dreamjob.application.send.error"
+msgstr "Bewerbung konnte nicht versendet werden"
+
+#: Controller/JobController.php:357 Controller/RegistrationController.php:66;125
+msgid "dreamjob.agb.error.notAccept"
+msgstr "AGBs wurde nicht akzeptiert "
+
+#: Controller/JobController.php:357 Controller/RegistrationController.php:66;125
+msgid "dreamjob.cost.error.notAccept"
+msgstr "Bitte akzeptieren sie unsere aktuelle Kosten!"
+
+#: Controller/JobController.php:365
+msgid "dreamjob.error.noWorker.title"
+msgstr "Zugriff verweigert"
+
+#: Controller/JobController.php:365
+msgid "dreamjob.error.noWorker.text"
+msgstr "Sie haben hier keine Rechte."
+
+#: Controller/RegistrationController.php:21;76;134;147;171
+msgid "dreamjob.error.loggedin.title"
+msgstr "Sie sind bereits angemeldet"
+
+#: Controller/RegistrationController.php:21;76;134;147;171
+msgid "dreamjob.error.loggedin.text"
+msgstr "Bitte melden Sie sich ab, um diesen Vorgang durchzuführen"
+
+#: Controller/RegistrationController.php:58;117
+msgid "dreamjob.registration.success"
+msgstr "Registrierung wurde erfolgreich abgeschlossen"
+
+#: Controller/RegistrationController.php:60;119
+msgid "dreamjob.registration.error"
+msgstr "Registrierung fehgeschlagen"
+
+#: Controller/RegistrationController.php:63;122;197 Controller/UserController.php:294
+msgid "dreamjob.password.error.notEqual"
+msgstr "Passwörter stimmen nicht überein"
+
+#: Controller/RegistrationController.php:163
+msgid "dreamjob.password_reset.send.success"
+msgstr "E-Mail wurde an Sie versendet"
+
+#: Controller/RegistrationController.php:166
+msgid "dreamjob.password_reset.send.error"
+msgstr "E-Mail konnte nicht an Sie versendet werden"
+
+#: Controller/RegistrationController.php:183
+msgid "dreamjob.password_replace.notFound"
+msgstr "Passwort konnte nicht geändert werden"
+
+#: Controller/RegistrationController.php:191
+msgid "dreamjob.password_replace.success"
+msgstr "Passwort wurde erfolgreich geändert"
+
+#: Controller/RegistrationController.php:194
+msgid "dreamjob.password_replace.error"
+msgstr "Passwort konnte nicht geändert werden"
+
+#: Controller/RegistrationController.php:201
+msgid "dreamjob.error.link.title"
+msgstr "Fehlerhafter Link"
+
+#: Controller/RegistrationController.php:201
+msgid "dreamjob.error.link.text"
+msgstr "Dieser Link wurde möglicherweise schonmal benutzt."
+
+#: Controller/UserController.php:99;108;202;249;325;360;441;487;516
+msgid "dreamjob.error.page.notFound"
+msgstr "Seite wurde nicht gefunden"
+
+#: Controller/UserController.php:140;288;456
+msgid "dreamjob.settings.save.success"
+msgstr "Änderung wurde gespeichert"
+
+#: Controller/UserController.php:142;290;458
+msgid "dreamjob.settings.save.error"
+msgstr "Einstellungen konnten nicht gespeichert werden"
+
+#: Controller/UserController.php:220
+msgid "dreamjob.page.order.save.success"
+msgstr "Profilseitenreihenfolge wurde gespeichert"
+
+#: Controller/UserController.php:223
+msgid "dreamjob.page.order.save.error"
+msgstr "Seitenreihenfolge konnte nicht gespeichert werden"
+
+#: Controller/UserController.php:355;413
+msgid "dreamjob.page.save.error"
+msgstr "Seite konnte nicht gespeichert werden"
+
+#: Controller/UserController.php:389
+msgid "dreamjob.pages.delete.success"
+msgstr "Seite wurde erfolgreich gelöscht"
+
+#: Controller/UserController.php:391
+msgid "dreamjob.pages.delete.error"
+msgstr "Seite konnte nicht gelöscht werden"
+
+#: Controller/UserController.php:399
+msgid "dreamjob.page.oneType.error"
+msgstr "Bitte wählen Sie eine Bilddatei oder verwenden Sie den Texteditor"
+
+#: Controller/UserController.php:419
+msgid "dreamjob.page.save.success"
+msgstr "Seite wurde gespeichert"
+
+#: Controller/UserController.php:497
+msgid "dreamjob.settings.delete.agree"
+msgstr "Profil wurde zur Löschung freigegeben, wiederufen können Sie durch den Link den Sie per E-Mail erhalten"
+
+#: Controller/UserController.php:499
+msgid "dreamjob.settings.delete.error"
+msgstr "Ihr Profil konnte nicht zur Löschung freigegeben werden."
+
+#: Controller/UserController.php:527
+msgid "dreamjob.settings.avatar.success"
+msgstr "Bilddatei wurde erfolgreich geändert"
+
+#: Controller/UserController.php:529
+msgid "dreamjob.settings.avatar.error"
+msgstr "Bilddatei konnte nicht gespeichert werden"
+
+#: View/Elements/barleft.ctp:30
+msgid "dreamjob.my.profil"
+msgstr "Mein Profil"
+
+#: View/Elements/barleft.ctp:32 View/Job/opening_list.ctp:7
+msgid "dreamjob.my.opening"
+msgstr "Meine Stellenausschreibungen"
+
+#: View/Elements/barleft.ctp:34 View/Job/application.ctp:10 View/Job/applicationWorker_list.ctp:7 View/Job/opening.ctp:28
+msgid "dreamjob.my.application"
+msgstr "Meine Bewerbungen"
+
+#: View/Elements/barleft.ctp:35 View/Job/favorite.ctp:7
+msgid "dreamjob.my.favority"
+msgstr "Meine Favoriten"
+
+#: View/Elements/barleft.ctp:37 View/User/settings_account.ctp:17;32 View/User/settings_account_delete.ctp:9
+#: View/User/settings_isearch.ctp:17 View/User/settings_pages.ctp:35
+msgid "dreamjob.settings"
+msgstr "Einstellungen"
+
+#: View/Elements/barleft.ctp:66
+msgid "dreamjob.company.startpage"
+msgstr "für Arbeitgeber"
+
+#: View/Elements/job_company_item.ctp:37 View/Elements/job_opening_head_extra.ctp:9 View/Elements/job_opening_item.ctp:66
+#: View/Job/opening_edit.ctp:35 View/Registration/company.ctp:24 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/Search/worker.ctp:23
+#: View/User/company.ctp:81 View/User/settings_account.ctp:72 View/User/settings_isearch.ctp:29
+msgid "dreamjob.branch"
+msgstr "Branche"
+
+#: View/Elements/job_company_item.ctp:38 View/Elements/job_opening_item.ctp:67 View/Elements/user_worker_cv.ctp:43
+#: View/Elements/user_worker_cv_edit.ctp:49 View/Elements/user_worker_cv_pdf.ctp:47 View/Elements/user_worker_item.ctp:40
+#: View/Job/opening_edit.ctp:45 View/Registration/company.ctp:32 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:81
+msgid "dreamjob.city"
+msgstr "Stadt"
+
+#: View/Elements/job_company_item.ctp:42
+msgid "dreamjob.company.detail"
+msgstr "zum Unternehmen"
+
+#: View/Elements/job_opening_head_extra.ctp:7
+msgid "dreamjob.opening.titleinfo"
+msgstr "Informationen zur Stellenausschreibung"
+
+#: View/Elements/job_opening_head_extra.ctp:8 View/Elements/job_opening_item.ctp:65
+msgid "dreamjob.graducation.company"
+msgstr "vorausgesetzter Abschluss"
+
+#: 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:28 View/Search/worker.ctp:25 View/User/settings_isearch.ctp:31
+msgid "dreamjob.kindofjob"
+msgstr "Jobart"
+
+#: View/Elements/job_opening_head_extra.ctp:11 View/Elements/job_opening_item.ctp:69 View/Job/opening_edit.ctp:32
+msgid "dreamjob.opening.enddate"
+msgstr "Ausschreibungsende"
+
+#: View/Elements/job_opening_head_extra.ctp:15
+msgid "dreamjob.company.titleinfo"
+msgstr "Informationen zum Unternehmen"
+
+#: View/Elements/job_opening_head_extra.ctp:17 View/Registration/company.ctp:25 View/User/settings_account.ctp:73
+msgid "dreamjob.headcount"
+msgstr "Mitarbeiteranzahl"
+
+#: View/Elements/job_opening_head_extra.ctp:18 View/Registration/company.ctp:23 View/User/company.ctp:77
+#: View/User/settings_account.ctp:71
+msgid "dreamjob.owner"
+msgstr "Ansprechpartner"
+
+#: View/Elements/job_opening_head_extra.ctp:21 View/Job/opening_edit.ctp:42 View/User/company.ctp:86
+msgid "dreamjob.address"
+msgstr "Adresse"
+
+#: View/Elements/job_opening_item.ctp:74
+msgid "dreamjob.opening.detail"
+msgstr "Details"
+
+#: View/Elements/job_opening_item.ctp:77 View/Elements/user_worker_item.ctp:68 View/Job/application.ctp:12
+#: View/Pdf/application.ctp:38
+msgid "dreamjob.application"
+msgstr "Bewerbungen"
+
+#: View/Elements/job_opening_item.ctp:78
+msgid "dreamjob.opening.edit"
+msgstr "bearbeiten"
+
+#: View/Elements/job_opening_item.ctp:79
+msgid "dreamjob.opening.delete"
+msgstr "löschen"
+
+#: View/Elements/job_opening_item.ctp:89;91
+msgid "dreamjob.applicated"
+msgstr "Zur Bewerbung"
+
+#: View/Elements/job_opening_item.ctp:97 View/Job/application.ctp:37 View/Job/opening.ctp:50
+msgid "dreamjob.applicate"
+msgstr "bewerben"
+
+#: View/Elements/navbar.ctp:4;7 View/Home/home.ctp:9 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:28
+msgid "dreamjob.search"
+msgstr "Jobs "
+
+#: View/Elements/navbar.ctp:9
+msgid "dreamjob.service"
+msgstr "Service+"
+
+#: View/Elements/navbar.ctp:11
+msgid "dreamjob.logout"
+msgstr "Abmelden"
+
+#: View/Elements/navbar.ctp:24 View/Elements/user_worker_header.ctp:43 View/Registration/company.ctp:15
+#: View/Registration/password_reset.ctp:8 View/Registration/worker.ctp:15 View/User/company.ctp:45;68
+#: View/User/settings_account.ctp:39
+msgid "dreamjob.mail"
+msgstr "E-Mail"
+
+#: View/Elements/navbar.ctp:26 View/Registration/company.ctp:16 View/Registration/password_replace.ctp:8
+#: View/Registration/worker.ctp:16 View/User/settings_account.ctp:41
+msgid "dreamjob.password"
+msgstr "Passwort"
+
+#: View/Elements/navbar.ctp:29
+msgid "dreamjob.login"
+msgstr "Login"
+
+#: View/Elements/navbar.ctp:33
+msgid "dreamjob.password.forget"
+msgstr "Passwort vergessen?"
+
+#: View/Elements/search_navbar.ctp:3 View/Search/opening.ctp:15
+msgid "dreamjob.search.opening"
+msgstr "Stellensuche"
+
+#: View/Elements/search_navbar.ctp:4 View/Search/company.ctp:16
+msgid "dreamjob.search.company"
+msgstr "Firmensuche"
+
+#: View/Elements/search_navbar.ctp:6 View/Search/auto.ctp:10
+msgid "dreamjob.search.auto"
+msgstr "Qualifikationssuche"
+
+#: View/Elements/search_navbar.ctp:7 View/Search/education.ctp:15
+msgid "dreamjob.search.education"
+msgstr "Ausbildungsplatz-Suche"
+
+#: View/Elements/search_navbar.ctp:8 View/Search/academy.ctp:15
+msgid "dreamjob.search.academy"
+msgstr "duale Studienplätze-Suche"
+
+#: View/Elements/search_navbar.ctp:9 View/Search/internship.ctp:15
+msgid "dreamjob.search.internship"
+msgstr "Praktika-Suche"
+
+#: View/Elements/user_worker_cv.ctp:10 View/Elements/user_worker_cv_edit.ctp:12 View/Job/application.ctp:67
+#: View/Pdf/application.ctp:64 View/Pdf/profil.ctp:46 View/User/worker.ctp:23;25
+msgid "dreamjob.cv"
+msgstr "Lebenslauf"
+
+#: View/Elements/user_worker_cv.ctp:12
+msgid "dreamjob.edit"
+msgstr "editieren"
+
+#: View/Elements/user_worker_cv.ctp:24 View/Elements/user_worker_cv_edit.ctp:27 View/Elements/user_worker_cv_pdf.ctp:28
+#: View/Registration/worker.ctp:24 View/User/settings_account.ctp:51
+msgid "dreamjob.bday"
+msgstr "Geburtstag"
+
+#: View/Elements/user_worker_cv.ctp:35 View/Elements/user_worker_cv_edit.ctp:39 View/Elements/user_worker_cv_pdf.ctp:39
+#: View/Elements/user_worker_item.ctp:43 View/Registration/worker.ctp:29 View/User/settings_account.ctp:56
+msgid "dreamjob.workexperience"
+msgstr "Berufserfahrung"
+
+#: View/Elements/user_worker_cv.ctp:36 View/Elements/user_worker_cv_edit.ctp:40 View/Elements/user_worker_cv_pdf.ctp:40
+#: View/Elements/user_worker_item.ctp:43
+msgid "dreamjob.years"
+msgstr "Jahre"
+
+#: View/Elements/user_worker_cv.ctp:39 View/Elements/user_worker_cv_edit.ctp:44 View/Elements/user_worker_cv_pdf.ctp:43
+msgid "dreamjob.graducation.worker"
+msgstr "letzter Abschluss"
+
+#: View/Elements/user_worker_cv.ctp:47 View/Elements/user_worker_cv_edit.ctp:54 View/Elements/user_worker_cv_pdf.ctp:51
+msgid "dreamjob.country.worker"
+msgstr "Staatsangehörigkeit"
+
+#: View/Elements/user_worker_cv_edit.ctp:13
+msgid "dreamjob.edit.end"
+msgstr "editieren beenden "
+
+#: View/Elements/user_worker_cv_edit.ctp:66;94;126;154
+msgid "dreamjob.between"
+msgstr "von"
+
+#: View/Elements/user_worker_cv_edit.ctp:66;72;76;94;98;102;126;132;136;154;158;162
+msgid "dreamjob.chooseOne.date"
+msgstr " "
+
+#: View/Elements/user_worker_cv_edit.ctp:66;94;126;154
+msgid "dreamjob.between.till"
+msgstr "bis"
+
+#: View/Elements/user_worker_cv_edit.ctp:183 View/Job/application.ctp:134 View/Job/opening_edit.ctp:49
+#: View/Registration/password_replace.ctp:12 View/User/settings_account.ctp:88 View/User/settings_imageUpload.ctp:14
+#: View/User/settings_isearch.ctp:60 View/User/settings_pages.ctp:113
+msgid "dreamjob.save"
+msgstr "Speichern"
+
+#: 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 "Profilbild editieren"
+
+#: View/Elements/user_worker_header.ctp:39 View/Registration/worker.ctp:27 View/User/settings_account.ctp:54
+msgid "dreamjob.iam"
+msgstr "Ich bin"
+
+#: View/Elements/user_worker_header.ctp:45 View/User/company.ctp:47;70
+msgid "dreamjob.mail.contact"
+msgstr "kontaktieren"
+
+#: View/Elements/user_worker_header.ctp:47
+msgid "dreamjob.profil.mappePDF"
+msgstr "Profil als Bewerbungsmappe downloaden"
+
+#: View/Elements/user_worker_header.ctp:49 View/Job/application.ctp:32
+msgid "dreamjob.application.mappePDF"
+msgstr "Bewerbungsmappe downloaden"
+
+#: View/Elements/user_worker_item.ctp:41 View/Job/opening_edit.ctp:34 View/Registration/worker.ctp:28
+#: View/Search/opening.ctp:27 View/User/settings_account.ctp:55
+msgid "dreamjob.graducation"
+msgstr "letzter Abschluss"
+
+#: View/Elements/user_worker_item.ctp:53 View/Job/application.ctp:27
+msgid "dreamjob.application.close"
+msgstr "zu aktuellen Bewerbung hinzufügen"
+
+#: View/Elements/user_worker_item.ctp:57 View/Job/application.ctp:29
+msgid "dreamjob.application.close.actived"
+msgstr "Bewerbung ablegen"
+
+#: View/Elements/user_worker_item.ctp:65
+msgid "dreamjob.applicated.to"
+msgstr "zur Bewerbung"
+
+#: View/Elements/user_worker_item.ctp:73
+msgid "dreamjob.details"
+msgstr "Details"
+
+#: View/Emails/html/delete_order.ctp:2 View/User/test.ctp:12
+msgid "dreamjob.regisration.active.link"
+msgstr "Aktivierungslink"
+
+#: View/Home/company.ctp:11 View/Home/home.ctp:22
+msgid "dreamjob.registration.to"
+msgstr "zur Registrierung"
+
+#: View/Home/home.ctp:13
+msgid "dreamjob.search.opening.startpage.placeholder"
+msgstr "Jobtitel, Berufsfeld, Berufsbezeichnung.."
+
+#: View/Home/home.ctp:26
+msgid "dreamjob.search.to"
+msgstr "zur Stellensuche"
+
+#: View/Home/home.ctp:32
+msgid "dreamjob.startpage.openings"
+msgstr "Stellenausschreibungen"
+
+#: View/Job/application.ctp:16 View/User/company.ctp:111;113;132
+msgid "dreamjob.opening"
+msgstr "Stellenausschreibung"
+
+#: View/Job/application.ctp:39
+msgid "dreamjob.message.send"
+msgstr "Nachrichten"
+
+#: View/Job/application.ctp:64;118 View/Pdf/application.ctp:47
+msgid "dreamjob.application.why"
+msgstr "Anschreiben"
+
+#: View/Job/application.ctp:131
+msgid "dreamjob.message"
+msgstr "Nachrichten"
+
+#: View/Job/applicationCompany_list.ctp:13
+msgid "dreamjob.application.archiv.activ"
+msgstr "aktuelle Bewerbungen"
+
+#: View/Job/applicationCompany_list.ctp:14
+msgid "dreamjob.application.archiv"
+msgstr "abgelegte Bewerbungen"
+
+#: View/Job/applicationCompany_list.ctp:15
+msgid "dreamjob.application.archiv.all"
+msgstr "alle Bewerbungen"
+
+#: View/Job/applicationCompany_list.ctp:18
+msgid "dreamjob.applications"
+msgstr "Bewerbungen"
+
+#: View/Job/application_send.ctp:13
+msgid "dreamjob.application.form"
+msgstr "Anschreiben"
+
+#: View/Job/application_send.ctp:27
+msgid "dreamjob.opening.subject.placeholder"
+msgstr "Bewerbung auf ..."
+
+#: View/Job/application_send.ctp:31
+msgid "dreamjob.application.addPages"
+msgstr "Anhänge"
+
+#: View/Job/application_send.ctp:43 View/Registration/company.ctp:38 View/Registration/worker.ctp:41
+msgid "dreamjob.agb.accept"
+msgstr "AGBs akzeptieren"
+
+#: View/Registration/worker.ctp:41
+msgid "dreamjob.cost.accept"
+msgstr "Kosten akzeptieren"
+
+#: View/Job/application_send.ctp:46
+msgid "dreamjob.application.send"
+msgstr "bewerben"
+
+#: View/Job/opening.ctp:20
+msgid "dreamjob.company.to"
+msgstr "zum Unternehmen"
+
+#: View/Job/opening.ctp:31
+msgid "dreamjob.favority.adding"
+msgstr "zu Favoriten hinzufügen"
+
+#: View/Job/opening.ctp:33
+msgid "dreamjob.favority.removeing"
+msgstr "aus Favoriten entfernen"
+
+#: View/Job/opening_edit.ctp:27
+msgid "dreamjob.opening.addForm"
+msgstr "Neue Stellenausschreibung"
+
+#: View/Job/opening_edit.ctp:30
+msgid "dreamjob.opening.title.placeholder"
+msgstr "Mit diesem Titel erscheint die Stellenausschreibung in der Suche"
+
+#: View/Job/opening_edit.ctp:30
+msgid "dreamjob.title"
+msgstr "Name der Stellenausschreibung"
+
+#: View/Job/opening_edit.ctp:31
+msgid "dreamjob.opening.startdate"
+msgstr "Ausschreibungsbeginn"
+
+#: View/Job/opening_edit.ctp:37;39
+msgid "dreamjob.opening.active"
+msgstr "Stellenausschreibung für Suchende sichtbar machen"
+
+#: View/Job/opening_edit.ctp:43 View/Registration/company.ctp:31 View/Registration/worker.ctp:33
+#: View/User/settings_account.ctp:80
+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:80
+msgid "dreamjob.street"
+msgstr "Straße"
+
+#: 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:82
+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:82
+msgid "dreamjob.postcode"
+msgstr "PLZ"
+
+#: View/Job/opening_edit.ctp:46
+msgid "dreamjob.text"
+msgstr "Inhalt der Stellenausschreibung"
+
+#: View/Job/opening_list.ctp:11
+msgid "dreamjob.opening.add"
+msgstr "Stellenausschreibung erstellen"
+
+#: View/Layouts/default.ctp:8
+msgid "dreamjob"
+msgstr "dreamJOB"
+
+#: View/Layouts/default.ctp:26
+msgid "dreamjob.close"
+msgstr "schließen"
+
+#: View/Pdf/application.ctp:38
+msgid "dreamjob.application.for"
+msgstr "Auf die Stellenausschreibung:"
+
+#: View/Pdf/profil.ctp:36
+msgid "dreamjob.application.mappe"
+msgstr "Bewerbungsmappe"
+
+#: View/Registration/active.ctp:4
+msgid "dreamjob.active"
+msgstr "Profilaktivierung"
+
+#: View/Registration/active.ctp:7
+msgid "dreamjob.active.done"
+msgstr "Profil wurde aktiviert, Sie können sich nun anmelden"
+
+#: View/Registration/active.ctp:9
+msgid "dreamjob.active.error"
+msgstr "Profil konnte nicht aktiviert werden(wenden Sie sich an service@dream-JOB.eu) "
+
+#: View/Registration/company.ctp:7 View/Registration/main.ctp:11
+msgid "dreamjob.registration.company"
+msgstr "Unternehmensregistrierung"
+
+#: View/Registration/company.ctp:13 View/Registration/worker.ctp:13 View/User/settings_account.ctp:37
+msgid "dreamjob.account"
+msgstr "Benutzereinstellungen"
+
+#: View/Registration/company.ctp:15 View/Registration/worker.ctp:15
+msgid "dreamjob.mail.placeholder"
+msgstr " "
+
+#: View/Registration/company.ctp:17 View/Registration/password_replace.ctp:9 View/Registration/worker.ctp:17
+#: View/User/settings_account.ctp:42
+msgid "dreamjob.password2"
+msgstr "Passwort Wiederholung"
+
+#: View/Registration/company.ctp:21 View/User/settings_account.ctp:69
+msgid "dreamjob.nickname.placeholder"
+msgstr " "
+
+#: View/Registration/company.ctp:21 View/User/settings_account.ctp:69
+msgid "dreamjob.company.nickname"
+msgstr "Unternehmensname"
+
+#: View/Registration/company.ctp:22 View/User/settings_account.ctp:70
+msgid "dreamjob.corporateform.placeholder"
+msgstr " "
+
+#: View/Registration/company.ctp:22 View/User/settings_account.ctp:70
+msgid "dreamjob.corporateform"
+msgstr "Gesellschaftsform"
+
+#: 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:75
+msgid "dreamjob.website.placeholder"
+msgstr " "
+
+#: View/Registration/company.ctp:27 View/User/company.ctp:38;61 View/User/settings_account.ctp:75
+msgid "dreamjob.website"
+msgstr "Internetseite"
+
+#: View/Registration/company.ctp:29 View/Registration/worker.ctp:31 View/User/settings_account.ctp:78
+msgid "dreamjob.addresse"
+msgstr "Adresse"
+
+#: View/Registration/company.ctp:41 View/Registration/worker.ctp:44
+msgid "dreamjob.save.registration"
+msgstr "anmelden"
+
+#: View/Registration/company.ctp:47 View/Registration/worker.ctp:50
+msgid "dreamjob.registration.done.text"
+msgstr ""
+"Vielen Dank für Ihre Registrierung bei dreamJOBSie erhalten per Mail einen Aktivierungslink von uns.
Bitte "
+"beachten Sie das diese Mail in Ihrem Junk-/Spam-Mail Ordner gelangen könnte."
+
+#: View/Registration/main.ctp:7
+msgid "dreamjob.registration"
+msgstr "Registrierung"
+
+#: View/Registration/main.ctp:9 View/Registration/worker.ctp:7
+msgid "dreamjob.registration.worker"
+msgstr "Jobsuchenden Registrierung"
+
+#: View/Registration/password_replace.ctp:5
+msgid "dreamjob.password.replace"
+msgstr "Passwort ersetzen"
+
+#: View/Registration/password_reset.ctp:5
+msgid "dreamjob.password.reset"
+msgstr "Passwort zurücksetzen"
+
+#: View/Registration/password_reset.ctp:11
+msgid "dreamjob.password.reset.send"
+msgstr "Passwort ändern"
+
+#: View/Registration/worker.ctp:19 View/User/settings_account.ctp:46
+msgid "dreamjob.worker"
+msgstr "personbezogene Daten"
+
+#: View/Registration/worker.ctp:21 View/User/settings_account.ctp:48
+msgid "dreamjob.mannerofaddress"
+msgstr "Anrede"
+
+#: View/Registration/worker.ctp:22 View/User/settings_account.ctp:49
+msgid "dreamjob.first_name.placeholder"
+msgstr " "
+
+#: View/Registration/worker.ctp:22 View/User/settings_account.ctp:49
+msgid "dreamjob.first_name"
+msgstr "Vorname"
+
+#: View/Registration/worker.ctp:23 View/User/settings_account.ctp:50
+msgid "dreamjob.last_name.placeholder"
+msgstr " "
+
+#: View/Registration/worker.ctp:23 View/User/settings_account.ctp:50
+msgid "dreamjob.last_name"
+msgstr "Nachname"
+
+#: View/Registration/worker.ctp:27 View/User/settings_account.ctp:54
+msgid "dreamjob.iam.placeholder"
+msgstr "Berufsbezeichnung (Bsp.:Fachinformatiker, Schüler, Student)"
+
+#: View/Registration/worker.ctp:29 View/User/settings_account.ctp:56
+msgid "dreamjob.workexperience.placeholder"
+msgstr "Berufserfahrung in Jahren angeben (Ziffer)"
+
+#: View/Registration/worker.ctp:36 View/User/settings_account.ctp:84
+msgid "dreamjob.country.placeholder"
+msgstr " "
+
+#: View/Registration/worker.ctp:36 View/User/settings_account.ctp:84
+msgid "dreamjob.country"
+msgstr "Staatsangehörigkeit"
+
+#: View/Search/academy.ctp:20
+msgid "dreamjob.search.opening.academy.placeholder"
+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 View/Search/worker.ctp:23;24;25
+msgid "dreamjob.chooseOne"
+msgstr " "
+
+#: View/Search/auto.ctp:11
+msgid "dreamjob.search.auto.text"
+msgstr "Die Ergebnisse dieser Suche "
+
+#: View/Search/company.ctp:21
+msgid "dreamjob.search.company.placeholder"
+msgstr "Firmenname"
+
+#: View/Search/education.ctp:20
+msgid "dreamjob.search.opening.education.placeholder"
+msgstr "Ausbildungsberuf"
+
+#: View/Search/education.ctp:24
+msgid "dreamjob.branch.placeholder"
+msgstr " "
+
+#: View/Search/education.ctp:25
+msgid "dreamjob.city.placeholder"
+msgstr " "
+
+#: View/Search/internship.ctp:20
+msgid "dreamjob.search.opening.internship.placeholder"
+msgstr "Jobtitel, Berufsgruppe"
+
+#: View/Search/opening.ctp:20
+msgid "dreamjob.search.opening.placeholder"
+msgstr "Jobtitel, Berufsfeld, Berusfbezeichnung,..."
+
+#: View/Search/worker.ctp:14
+msgid "dreamjob.search.worker"
+msgstr "Arbeitnehmer-Suche"
+
+#: View/Search/worker.ctp:19
+msgid "dreamjob.search.worker.placeholder"
+msgstr " "
+
+#: View/Search/worker.ctp:24 View/User/settings_isearch.ctp:30
+msgid "dreamjob.job"
+msgstr "Berufsbezeichnung"
+
+#: View/User/settings_account.ctp:21 View/User/settings_account_delete.ctp:13 View/User/settings_isearch.ctp:18
+#: View/User/settings_pages.ctp:39;52
+msgid "dreamjob.settings.pages"
+msgstr "Anhänge"
+
+#: View/User/settings_account.ctp:22 View/User/settings_account_delete.ctp:14 View/User/settings_isearch.ctp:19;22
+#: View/User/settings_pages.ctp:40
+msgid "dreamjob.settings.isearch"
+msgstr "Ich suche"
+
+#: View/User/settings_isearch.ctp:19;22 View/User/settings_pages.ctp:40
+msgid "dreamjob.settings.isearch.info"
+msgstr "Sag dreamJOB was du suchst und dir werden passende Stellen angezeigt!"
+
+#: View/User/settings_account.ctp:26 View/User/settings_account_delete.ctp:18 View/User/settings_pages.ctp:44;54
+msgid "dreamjob.settings.pages.company"
+msgstr "Profilseiten"
+
+#: View/User/settings_account.ctp:59;61
+msgid "dreamjob.searchhidden"
+msgstr "Ich möchte für Unternehmen sichtbar sein"
+
+#: View/User/settings_account.ctp:71
+msgid "dreamjob.owner.placeholder"
+msgstr " "
+
+#: View/User/settings_account.ctp:73
+msgid "dreamjob.headcount.placeholder"
+msgstr "Mitarbeiteranzahl (Ziffer)"
+
+#: View/User/settings_account.ctp:87 View/User/settings_account_delete.ctp:31
+msgid "dreamjob.settings.delete"
+msgstr "Profil löschen"
+
+#: View/User/settings_account_delete.ctp:24
+msgid "dreamjob.settings.delete.title"
+msgstr "Profil löschen"
+
+#: View/User/settings_account_delete.ctp:27
+msgid "dreamjob.settings.delete.text"
+msgstr "Möchten Sie wirklich Ihr Profil löschen"
+
+#: View/User/settings_account_delete.ctp:30
+msgid "dreamjob.settings.to"
+msgstr "Einstellungen"
+
+#: View/User/settings_imageUpload.ctp:11
+msgid "dreamjob.avatar"
+msgstr "Bilddatei"
+
+#: View/User/settings_isearch.ctp:32
+msgid "dreamjob.options"
+msgstr "Optionen"
+
+#: View/User/settings_isearch.ctp:42;44;45;52;53;54
+msgid "dreamjob.form.chooseOne"
+msgstr " "
+
+#: View/User/settings_pages.ctp:69
+msgid "dreamjob.pages.new"
+msgstr "Anhang hinzufügen"
+
+#: View/User/settings_pages.ctp:71
+msgid "dreamjob.pages.company.new"
+msgstr "Profilseite hinzufügen"
+
+#: View/User/settings_pages.ctp:85
+msgid "dreamjob.pages.title.placeholder"
+msgstr "Überschrift der Seite"
+
+#: View/User/settings_pages.ctp:87
+msgid "dreamjob.pages.company.title.placeholder"
+msgstr "Überschrift der Seite "
+
+#: View/User/settings_pages.ctp:88
+msgid "dreamjob.page.title"
+msgstr "Titel"
+
+#: View/User/settings_pages.ctp:91
+msgid "dreamjob.pages.types"
+msgstr "Wählen Sie eine Bilddatei oder verwenden Sie den Texteditor"
+
+#: View/User/settings_pages.ctp:95
+msgid "dreamjob.page.image"
+msgstr "Bilddatei"
+
+#: View/User/settings_pages.ctp:104
+msgid "dreamjob.page.text"
+msgstr "Texteditor"
+
+#: View/User/settings_pages.ctp:110
+msgid "dreamjob.page.del"
+msgstr "Anhang löschen"
+
+#: View/User/worker.ctp:56
+msgid "dreamjob.company.nopro.title"
+msgstr "Nur sichtbar für Premium-Nutzer"
+
+#: View/User/worker.ctp:57
+msgid "dreamjob.company.nopro"
+msgstr "Mehr Infos zum Premium-Account, finden Sie im unteren Menü unter Premium-Account"
+
+#: Model/AppUser.php:validation for field id Model/DreamjobListBranch.php:validation
+#: Model/DreamjobListCity.php:validation Model/DreamjobListCountry.php:validation
+#: Model/DreamjobListGraducation.php:validation Model/DreamjobListJob.php:validation
+#: Model/DreamjobListKindofjob.php:validation Model/DreamjobPageInh.php:validation id;validation user_id
+#: Model/Mannerofaddress.php:validation Model/User.php:validation
+msgid "naturalNumber"
+msgstr ""
+
+#: Model/AppUser.php:validation for field user_id Model/DreamjobCompany.php:validation djaccount_ptr_id;validation
+#: branch_id;validation pro_user Model/DreamjobCvEntry.php:validation category_id Model/DreamjobISearch.php:validation
+#: worker_id;validation job_id;validation kindofjob_id Model/DreamjobJobApplication.php:validation id;validation
+#: stars;validation opening_id Model/DreamjobJobApplicationPage.php:validation application_id;validation page_id
+#: Model/DreamjobJobFavority.php:validation Model/DreamjobJobMsg.php:validation application_id
+#: Model/DreamjobJobOpening.php:validation company_id;validation graducation_id;validation
+#: Model/DreamjobPageImage.php:validation page_ptr_id Model/DreamjobPageInh.php:validation position
+#: Model/DreamjobPageText.php:validation Model/DreamjobUser.php:validation micapplication_ptr_id
+#: Model/DreamjobWorker.php:validation djaccount_ptr_id
+msgid "numeric"
+msgstr ""
+
+#: Model/AppUser.php:validation for field take_systemwide Model/DreamjobJobApplication.php:validation closed;validation
+#: offered;validation saw Model/DreamjobJobMsg.php:validation fromcompany;validation
+#: Model/DreamjobJobOpening.php:validation active Model/DreamjobListCvCategory.php:validation enddate;validation
+#: startdate;validation place Model/DreamjobWorker.php:validation searchhidden;validation advertising;validation
+#: leadership_ability Model/User.php:validation is_staff;validation is_active;validation is_superuser
+msgid "boolean"
+msgstr ""
+
+#: Model/DreamjobCompany.php:validation for field djaccount_ptr_id Model/DreamjobJobFavority.php:validation
+#: worker_id;validation opening_id Model/DreamjobListBranch.php:validation id;validation name
+#: Model/DreamjobListCity.php:validation Model/DreamjobListCountry.php:validation
+#: Model/DreamjobListGraducation.php:validation Model/DreamjobListJob.php:validation
+#: Model/DreamjobListKindofjob.php:validation Model/DreamjobPageImage.php:validation page_ptr_id
+#: Model/DreamjobPageInh.php:validation id Model/DreamjobPageText.php:validation Model/DreamjobUser.php:validation
+#: micapplication_ptr_id Model/DreamjobWorker.php:validation Model/Mannerofaddress.php:validation
+#: Model/User.php:validation
+msgid "multiple"
+msgstr ""
+
+#: Model/DreamjobCompany.php:validation for field corporateform;validation owner Model/DreamjobCvEntry.php:validation
+#: title;validation place Model/DreamjobJobApplication.php:validation text Model/DreamjobJobMsg.php:validation
+#: Model/DreamjobJobOpening.php:validation street;validation postcode;validation Model/DreamjobListBranch.php:validation
+#: name Model/DreamjobListCity.php:validation Model/DreamjobListCountry.php:validation
+#: Model/DreamjobListCvCategory.php:validation name;validation place_str;validation title_str
+#: Model/DreamjobListGraducation.php:validation Model/DreamjobListJob.php:validation
+#: Model/DreamjobListKindofjob.php:validation Model/DreamjobPageInh.php:validation user_id;validation title
+#: Model/DreamjobUser.php:validation postcode Model/DreamjobWorker.php:validation djaccount_ptr_id;validation
+#: country;validation iam Model/Mannerofaddress.php:validation Model/User.php:validation first_name;validation
+#: last_name;validation password;validation code;validation comment
+msgid "notEmpty"
+msgstr ""
+
+#: Model/DreamjobCvEntry.php:validation for field startdate;validation enddate Model/DreamjobJobOpening.php:validation
+#: Model/User.php:validation bday
+msgid "date"
+msgstr ""
+
+#: Model/DreamjobCvEntry.php:validation for field startdate
+msgid "compare"
+msgstr ""
+
+#: Model/DreamjobPageImage.php:validation for field image
+msgid "Something went wrong with the file upload"
+msgstr ""
+
+#: Model/DreamjobPageImage.php:validation for field image
+msgid "Invalid file, only images allowed"
+msgstr ""
+
+#: Model/User.php:validation for field last_login;validation date_joined
+msgid "datetime"
+msgstr ""
+
+#: Model/User.php:validation for field mail
+msgid "email"
+msgstr ""
+
+#: Model/User.php:validation for field avatar
+msgid "url"
+msgstr ""
+
+#: View/Errors/error500.ctp:8
+msgid "Error"
+msgstr ""
+
+#: View/Errors/error500.ctp:9
+msgid "An Internal Error Has Occurred."
+msgstr ""
+
+#: View/Layouts/error.ctp:19
+msgid "CakePHP: the rapid development php framework"
+msgstr ""
+
+#: webroot/test.php:93
+msgid "Debug setting does not allow access to this url."
+msgstr ""
+
+#: View/Job/application_send.ctp:13
+msgid "dreamjob.application.extern"
+msgstr "Bewerbung"
+
+#: View/Job/application_send.ctp:13
+msgid "dreamjob.application.extern.to"
+msgstr "Externe Bewerbung (new)"
+
+#: View/Job/application_send.ctp:13
+msgid "dreamjob.application.extern.pdf"
+msgstr "Bewerbung"
+
+#: View/Job/application_send.ctp:13
+msgid "dreamjob.application.extern.why"
+msgstr "Bewerbung"
+
+#: View/Job/application_send.ctp:13
+msgid "dreamjob.application.extern.to.doing"
+msgstr "extern bewerben"
+
+#: View/Job/application_send.ctp:13
+msgid "dreamjob.application.extern.info.title"
+msgstr "dreamJOB Bewerbungs-Mailer"
+
+#: View/Job/application_send.ctp:13
+msgid "dreamjob.application.extern.info.bold"
+msgstr "Überall bewerben,
mit dem dreamJOB Bewerbungs-Mailer"
+
+#: View/Job/application_send.ctp:13
+msgid "dreamjob.application.extern.info.text"
+msgstr ""
+"Du bist bei uns nicht fündig geworden ?
Kein Problem !
Nutze jetzt den dreamJOB Bewerbungsmailer um dich auf "
+"Stellen zu bewerben, die du nicht auf dreamJOB gefunden hast.
Und bewerbe dich auf diese Stellen genauso einfach."
+"
Du benötugst ledeglich die E-Mail des Unternehmen und die Anschrift.
Du gibst oben die E-Mail des "
+"Unternehmen an,
trägst die Anschrift des Unternehmen ein
und schreibst wie gewohnt deine Bewerbung "
+"(Anschreiben)
Deckblatt,Lebenslauf und Anhänge werden wie sonst auch aus deinem Profil übernommen
und fertig
Jetzt ausprobieren
und deinen dreamJOB finden"
+
+#: View/Job/application_send.ctp:13
+msgid "dreamjob.application.extern.title"
+msgstr "Bewerbungs-Mailer"
+
+#: View/Job/application_send.ctp:13
+msgid "dreamjob.application.extern.filename.pdf"
+msgstr "Bewerbung.pdf"
+
+#: View/Job/application_send.ctp:13
+msgid "dreamjob.application.receiver"
+msgstr "Empfänger"
+
+#: View/Elements/navbar.ctp:9
+msgid "dreamjob.service.overview"
+msgstr "Übersicht"
+
+#: View/Elements/navbar.ctp:9
+msgid "dreamjob.service.overview.to"
+msgstr "zur Übersicht"
+
+#: View/Elements/navbar.ctp:9
+msgid "dreamjob.service.infotext"
+msgstr ""
+"dreamJOB+ bietet Ihnen eine Übersicht von Angeboten
die unseres ergänzten oder für Jobsuchende interessant sein "
+"könnte "
+
+#: View/Elements/navbar.ctp:9
+msgid "dreamjob.service.link.to"
+msgstr "zur Webseite"
+
+#: View/User/worker.ctp:56
+msgid "dreamjob.opening.enddatum_description"
+msgstr "Ihre Stellenausschreibung endet 3 Monate nach Ausschreibungsbeginn"
+
+#: View/User/worker.ctp:56
+msgid "dreamjob.opening.enddatum_description (%s)"
+msgstr "Ihre Stellenausschreibung endet am \"%s\" (Ausschreibungsdauer beträgt 3 Monate)."
+
+#: View/User/worker.ctp:56
+msgid "dreamjob.opening.addToEnddate"
+msgstr "Ausschreibung um einen Monat verlängern?"
+
+#: View/User/worker.ctp:56
+msgid "dreamjob.opening.cost"
+msgstr ""
+"Achtung
Die folgende Stellenausschreibung ist nicht kostenlos
Erhalten Sie innerhalb der Ausschreibungszeit "
+"Bewerbungen, so wirdIhnen diese laut Angebot in Rechnung gestellt.
Die Rechnung erhalten Sie nach Abshluss der "
+"Stellenausschreuibung per E-Mail von uns
Erhalten Sie keine Bewerbungen über dreamJOB, so war diese "
+"Stellenausschreibung für Sie kostenlos.
Unser Team wünscht Ihnen viel Erfolg
"
+
+#~ msgid "dreamjob.settings.save"
+#~ msgstr "Änderung wurde gespeichert"
+
+#~ msgid "dreamjob.password.reset.link"
+#~ msgstr "Passwort zurücksetzen"
+
+#~ msgid "dreamjob.password.send"
+#~ msgstr "Passwort übernehmen"
+
+#~ msgid "dreamjob.opening.save.add"
+#~ msgstr "Stellenausschreibung wurde angelegt"
+
+#~ msgid "dreamjob.application.msg.add"
+#~ msgstr "Nachricht wurde gesendet"
+
+#~ msgid "dreamjob.registration.done"
+#~ msgstr "Registrierung war erfolgreich"
+
+#~ msgid "dreamjob.error.page.order.error"
+#~ msgstr "Profilseite konnte nicht gespeichert werden"
+
+#~ msgid "dreamjob.application.subject"
+#~ msgstr "Betreff"
+
+#~ msgid "dreamjob.help"
+#~ msgstr "Hilfe"
+
+#~ msgid "dreamjob.faq"
+#~ msgstr "FAQ"
+
+#~ msgid "dreamjob.sponsorus"
+#~ msgstr "Sponsoren"
+
+#~ msgid "dreamjob.advertisers"
+#~ msgstr "Werbepartner"
+
+#~ msgid "dreamjob.uscompany"
+#~ msgstr "zum Unternehmen"
+
+#~ msgid "dreamjob.advbyus"
+#~ msgstr "Werbung auf dreamJOB schalten"
+
+#~ msgid "dreamjob.admin"
+#~ msgstr "Admin-Ansicht"
+
+#~ msgid "forget password"
+#~ msgstr "Passwort vergessen"
+
+#~ msgid "register"
+#~ msgstr "registrieren"
diff --git a/app/Locale/eng/LC_MESSAGES/default.mo b/app/Locale/eng/LC_MESSAGES/default.mo
new file mode 100644
index 0000000..6a2d3ba
Binary files /dev/null and b/app/Locale/eng/LC_MESSAGES/default.mo differ
diff --git a/app/Locale/eng/LC_MESSAGES/default.po b/app/Locale/eng/LC_MESSAGES/default.po
new file mode 100644
index 0000000..d2c66f9
--- /dev/null
+++ b/app/Locale/eng/LC_MESSAGES/default.po
@@ -0,0 +1,1416 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR , YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-01-13 08:48-0600\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME \n"
+"Language-Team: LANGUAGE \n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: dreamjob/account/forms.py:12 dreamjob/account/models.py:11
+#: dreamjob/jobs/forms.py:35 dreamjob/settings/forms.py:37
+#: dreamjob/settings/forms.py:96
+msgid "street"
+msgstr ""
+
+#: dreamjob/account/forms.py:15 dreamjob/account/models.py:13
+#: dreamjob/jobs/forms.py:44 dreamjob/search/forms.py:12
+#: dreamjob/settings/forms.py:40 dreamjob/settings/forms.py:99
+msgid "postcode"
+msgstr ""
+
+#: dreamjob/account/forms.py:21 dreamjob/account/models.py:12
+#: dreamjob/jobs/forms.py:41 dreamjob/list/models.py:65
+#: dreamjob/list/models.py:69 dreamjob/list/models.py:70
+#: dreamjob/search/forms.py:18 dreamjob/search/forms.py:125
+#: dreamjob/search/forms.py:139 dreamjob/settings/forms.py:46
+#: dreamjob/settings/forms.py:105
+#: dreamjob/templates/dreamjob/jobs/opening_item.html:8
+#: dreamjob/templates/dreamjob/jobs/worker_item.html:6
+msgid "city"
+msgstr ""
+
+#: dreamjob/account/forms.py:30 system/forms.py:21
+msgid "passwords are not the same"
+msgstr ""
+
+#: dreamjob/account/forms.py:42 dreamjob/account/forms.py:71
+#: dreamjob/account/forms.py:103 dreamjob/account/models.py:49
+#: dreamjob/account/models.py:62 dreamjob/jobs/forms.py:25
+#: dreamjob/jobs/models.py:26 dreamjob/list/models.py:10
+#: dreamjob/list/models.py:14 dreamjob/list/models.py:15
+#: dreamjob/search/forms.py:33 dreamjob/search/forms.py:73
+#: dreamjob/search/forms.py:102 dreamjob/search/forms.py:120
+#: dreamjob/search/forms.py:134 dreamjob/settings/forms.py:19
+#: dreamjob/templates/dreamjob/jobs/application.html:106
+#: dreamjob/templates/dreamjob/jobs/company_item.html:6
+#: dreamjob/templates/dreamjob/jobs/opening_item.html:7
+#: dreamjob/templates/dreamjob/jobs/opening_short.html:10
+#: dreamjob/templates/dreamjob/jobs/opening_short.html:20
+#: dreamjob/templates/dreamjob/jobs/worker_item.html:7
+#: dreamjob/templates/dreamjob/profil/company.html:26
+#: dreamjob/templates/dreamjob/search/incBranch.html:6
+msgid "branch"
+msgstr ""
+
+#: dreamjob/account/forms.py:47 dreamjob/account/forms.py:108
+#: dreamjob/account/models.py:50 dreamjob/list/models.py:43
+#: dreamjob/list/models.py:47 dreamjob/list/models.py:48
+#: dreamjob/search/forms.py:77
+#: dreamjob/templates/dreamjob/jobs/application.html:109
+msgid "job"
+msgstr ""
+
+#: dreamjob/account/forms.py:51 dreamjob/account/forms.py:112
+#: dreamjob/jobs/forms.py:33 dreamjob/list/models.py:54
+#: dreamjob/list/models.py:58 dreamjob/list/models.py:59
+#: dreamjob/search/forms.py:46 dreamjob/search/forms.py:82
+#: dreamjob/templates/dreamjob/jobs/opening_item.html:9
+#: dreamjob/templates/dreamjob/jobs/opening_short.html:11
+#: dreamjob/templates/dreamjob/search/incKindofJob.html:6
+msgid "kindofjob"
+msgstr ""
+
+#: dreamjob/account/forms.py:60 dreamjob/account/forms.py:164
+#: dreamjob/settings/forms.py:10
+msgid "name"
+msgstr ""
+
+#: dreamjob/account/forms.py:62 dreamjob/account/models.py:61
+#: dreamjob/settings/forms.py:13
+#: dreamjob/templates/dreamjob/jobs/opening_short.html:18
+#: dreamjob/templates/dreamjob/profil/company.html:23
+msgid "owner"
+msgstr ""
+
+#: dreamjob/account/forms.py:65 dreamjob/account/forms.py:92
+msgid "account.agb"
+msgstr ""
+
+#: dreamjob/account/forms.py:66 dreamjob/account/forms.py:94
+msgid "account.agb.help_text"
+msgstr ""
+
+#: dreamjob/account/forms.py:73 dreamjob/account/models.py:63
+#: dreamjob/settings/forms.py:21
+#: dreamjob/templates/dreamjob/jobs/opening_short.html:23
+#: dreamjob/templates/dreamjob/profil/company.html:29
+msgid "headcount"
+msgstr ""
+
+#: dreamjob/account/forms.py:76 dreamjob/settings/forms.py:24
+#: dreamjob/templates/dreamjob/profil/company.html:41
+msgid "website"
+msgstr ""
+
+#: dreamjob/account/forms.py:79 dreamjob/account/models.py:60
+#: dreamjob/settings/forms.py:31
+msgid "corporateform"
+msgstr ""
+
+#: dreamjob/account/forms.py:98 dreamjob/jobs/forms.py:29
+#: dreamjob/list/models.py:32 dreamjob/list/models.py:36
+#: dreamjob/list/models.py:37 dreamjob/settings/forms.py:66
+#: dreamjob/templates/dreamjob/jobs/application.html:112
+#: dreamjob/templates/dreamjob/jobs/opening_item.html:6
+#: dreamjob/templates/dreamjob/jobs/opening_short.html:9
+#: dreamjob/templates/dreamjob/jobs/worker_item.html:8
+#: dreamjob/templates/dreamjob/profil/worker.html:26
+msgid "graducation"
+msgstr ""
+
+#: dreamjob/account/forms.py:118 dreamjob/account/models.py:33
+#: dreamjob/list/models.py:21 dreamjob/list/models.py:25
+#: dreamjob/list/models.py:26 dreamjob/settings/forms.py:71
+#: dreamjob/templates/dreamjob/jobs/application.html:115
+#: dreamjob/templates/dreamjob/profil/worker.html:29
+msgid "country"
+msgstr ""
+
+#: dreamjob/account/forms.py:122 dreamjob/settings/forms.py:75
+#: system/models.py:20 system/models.py:24 system/models.py:25
+msgid "mannerofaddress"
+msgstr ""
+
+#: dreamjob/account/forms.py:124 dreamjob/settings/forms.py:58
+#: system/models.py:166
+msgid "first_name"
+msgstr ""
+
+#: dreamjob/account/forms.py:127 dreamjob/settings/forms.py:61
+#: system/models.py:167
+msgid "last_name"
+msgstr ""
+
+#: dreamjob/account/forms.py:130 dreamjob/account/models.py:30
+#: dreamjob/settings/forms.py:80
+msgid "searchhidden"
+msgstr ""
+
+#: dreamjob/account/forms.py:133 dreamjob/settings/forms.py:77
+#: dreamjob/templates/dreamjob/jobs/application.html:98
+#: dreamjob/templates/dreamjob/profil/worker.html:18 system/models.py:56
+#: system/models.py:168
+msgid "bday"
+msgstr ""
+
+#: dreamjob/account/forms.py:136 dreamjob/account/models.py:28
+#: dreamjob/search/forms.py:96 dreamjob/settings/forms.py:83
+#: dreamjob/templates/dreamjob/jobs/application.html:101
+#: dreamjob/templates/dreamjob/jobs/worker_item.html:10
+#: dreamjob/templates/dreamjob/profil/worker.html:22
+msgid "workexperience"
+msgstr ""
+
+#: dreamjob/account/forms.py:142 dreamjob/account/models.py:35
+#: dreamjob/settings/forms.py:93
+#: dreamjob/templates/dreamjob/profil/worker.html:33
+msgid "iam"
+msgstr ""
+
+#: dreamjob/account/forms.py:153 dreamjob/account/models.py:64
+#: dreamjob/settings/forms.py:29
+msgid "bank_details"
+msgstr ""
+
+#: dreamjob/account/models.py:31
+msgid "advertising"
+msgstr ""
+
+#: dreamjob/account/models.py:32
+msgid "leadership_ability"
+msgstr ""
+
+#: dreamjob/account/views.py:28
+msgid "you are logout now"
+msgstr ""
+
+#: dreamjob/account/views.py:28
+msgid "popuptype:you are logout now"
+msgstr ""
+
+#: dreamjob/account/views.py:42
+msgid "you are login now"
+msgstr ""
+
+#: dreamjob/account/views.py:42
+msgid "popuptype:you are login now"
+msgstr ""
+
+#: dreamjob/account/views.py:44
+msgid "your account is not active"
+msgstr ""
+
+#: dreamjob/account/views.py:44
+msgid "popuptype:your account is not active"
+msgstr ""
+
+#: dreamjob/account/views.py:46
+msgid "error on login"
+msgstr ""
+
+#: dreamjob/account/views.py:46
+msgid "popuptype:error on login"
+msgstr ""
+
+#: dreamjob/account/views.py:51
+msgid "error on active account"
+msgstr ""
+
+#: dreamjob/account/views.py:51
+msgid "popuptype:error on active account"
+msgstr ""
+
+#: dreamjob/account/views.py:58
+msgid "company account is active now"
+msgstr ""
+
+#: dreamjob/account/views.py:58
+msgid "popuptype:company account is active now"
+msgstr ""
+
+#: dreamjob/account/views.py:60
+msgid "worker account is active now"
+msgstr ""
+
+#: dreamjob/account/views.py:60
+msgid "popuptype:worker account is active now"
+msgstr ""
+
+#: dreamjob/account/views.py:70 dreamjob/account/views.py:104
+#: dreamjob/account/views.py:144
+msgid "you are logged in and dont need to register again"
+msgstr ""
+
+#: dreamjob/account/views.py:70 dreamjob/account/views.py:104
+#: dreamjob/account/views.py:144
+msgid "popuptype:you are logged in and dont need to register again"
+msgstr ""
+
+#: dreamjob/account/views.py:91
+msgid "worker registration completed"
+msgstr ""
+
+#: dreamjob/account/views.py:91
+msgid "popuptype:worker registration completed"
+msgstr ""
+
+#: dreamjob/account/views.py:98 dreamjob/account/views.py:137
+msgid "registration form is not complete filled"
+msgstr ""
+
+#: dreamjob/account/views.py:98 dreamjob/account/views.py:137
+msgid "popuptype:registration form is not complete filled"
+msgstr ""
+
+#: dreamjob/account/views.py:131
+msgid "company registration completed"
+msgstr ""
+
+#: dreamjob/account/views.py:131
+msgid "popuptype:company registration completed"
+msgstr ""
+
+#: dreamjob/account/views.py:150 dreamjob/account/views.py:170
+msgid "you are logged in and dont need to reset your password"
+msgstr ""
+
+#: dreamjob/account/views.py:150 dreamjob/account/views.py:170
+msgid "popuptype:you are logged in and dont need to reset your password"
+msgstr ""
+
+#: dreamjob/account/views.py:162
+msgid "link was send per mail"
+msgstr ""
+
+#: dreamjob/account/views.py:162
+msgid "popuptype:link was send per mail"
+msgstr ""
+
+#: dreamjob/account/views.py:164
+msgid "you could not be found"
+msgstr ""
+
+#: dreamjob/account/views.py:164
+msgid "popuptype:you could not be found"
+msgstr ""
+
+#: dreamjob/account/views.py:185
+msgid "password reset done"
+msgstr ""
+
+#: dreamjob/account/views.py:185
+msgid "popuptype:password reset done"
+msgstr ""
+
+#: dreamjob/account/views.py:187 dreamjob/account/views.py:191
+#: dreamjob/account/views.py:193
+msgid "code for password reset denied"
+msgstr ""
+
+#: dreamjob/account/views.py:187 dreamjob/account/views.py:191
+#: dreamjob/account/views.py:193
+msgid "popuptype:code for password reset denied"
+msgstr ""
+
+#: dreamjob/doc/templates/dreamjob/doc/search.html:3
+#: dreamjob/doc/templates/dreamjob/doc/search.html:21
+#: dreamjob/doc/templates/dreamjob/doc/search.html:22
+#: dreamjob/search/forms.py:7 dreamjob/templates/dreamjob/base/base.html:45
+#: dreamjob/templates/dreamjob/base/base.html:52
+#: dreamjob/templates/dreamjob/jobs/search.html:3
+#: dreamjob/templates/dreamjob/jobs/search.html:72
+#: dreamjob/templates/dreamjob/search/base.html:3
+#: dreamjob/templates/dreamjob/search/companyByWorker.html:35
+#: dreamjob/templates/dreamjob/search/educationByWorker.html:22
+#: dreamjob/templates/dreamjob/search/educationByWorker.html:38
+#: dreamjob/templates/dreamjob/search/old.html:28
+#: dreamjob/templates/dreamjob/search/openingByWorker.html:32
+#: dreamjob/templates/dreamjob/search/workerByCompany.html:40
+msgid "search"
+msgstr ""
+
+#: dreamjob/extra/models.py:13 dreamjob/extra/models.py:26
+#: dreamjob/pages/models.py:40
+msgid "image"
+msgstr ""
+
+#: dreamjob/extra/models.py:16 dreamjob/extra/models.py:29
+msgid "count"
+msgstr ""
+
+#: dreamjob/extra/models.py:17 dreamjob/extra/models.py:30
+msgid "important"
+msgstr ""
+
+#: dreamjob/extra/models.py:19
+msgid "place"
+msgstr ""
+
+#: dreamjob/extra/models.py:38
+msgid "icon"
+msgstr ""
+
+#: dreamjob/jobs/forms.py:12 dreamjob/jobs/models.py:22
+#: dreamjob/pages/models.py:12
+msgid "title"
+msgstr ""
+
+#: dreamjob/jobs/forms.py:16 dreamjob/jobs/models.py:30
+msgid "startdate"
+msgstr ""
+
+#: dreamjob/jobs/forms.py:19 dreamjob/jobs/models.py:31
+msgid "enddate"
+msgstr ""
+
+#: dreamjob/jobs/forms.py:46 dreamjob/jobs/models.py:32
+msgid "opening.active"
+msgstr ""
+
+#: dreamjob/jobs/forms.py:47
+msgid "opening.active.help_text"
+msgstr ""
+
+#: dreamjob/jobs/forms.py:57
+msgid "application.text"
+msgstr ""
+
+#: dreamjob/jobs/forms.py:60
+msgid "application.agb"
+msgstr ""
+
+#: dreamjob/jobs/forms.py:61
+msgid "application.agb.help_text"
+msgstr ""
+
+#: dreamjob/jobs/forms.py:65 dreamjob/jobs/forms.py:71
+#: dreamjob/templates/dreamjob/jobs/application.html:141
+#: dreamjob/templates/dreamjob/jobs/application_worker_form_end.html:20
+#: dreamjob/templates/dreamjob/settings/main.html:13
+#: dreamjob/templates/dreamjob/settings/page.html:26
+msgid "pages"
+msgstr ""
+
+#: dreamjob/jobs/forms.py:80
+msgid "message.text"
+msgstr ""
+
+#: dreamjob/jobs/models.py:34 dreamjob/jobs/models.py:58
+#: dreamjob/jobs/models.py:78 dreamjob/pages/models.py:27
+msgid "text"
+msgstr ""
+
+#: dreamjob/jobs/models.py:34
+msgid "jobopeningtext.help_text"
+msgstr ""
+
+#: dreamjob/jobs/models.py:47
+msgid "stars"
+msgstr ""
+
+#: dreamjob/jobs/models.py:48
+msgid "application.closed"
+msgstr ""
+
+#: dreamjob/jobs/models.py:49
+msgid "application.offerd"
+msgstr ""
+
+#: dreamjob/jobs/models.py:50 dreamjob/jobs/models.py:76
+msgid "saw"
+msgstr ""
+
+#: dreamjob/jobs/models.py:52 dreamjob/jobs/models.py:75
+msgid "createdtime"
+msgstr ""
+
+#: dreamjob/jobs/models.py:58
+msgid "applicationtext.help_text"
+msgstr ""
+
+#: dreamjob/jobs/models.py:78
+msgid "messagestext.help_text"
+msgstr ""
+
+#: dreamjob/jobs/views.py:30 dreamjob/jobs/views.py:65
+msgid "popuptype:company not found"
+msgstr ""
+
+#: dreamjob/jobs/views.py:30 dreamjob/jobs/views.py:65
+msgid "company not found"
+msgstr ""
+
+#: dreamjob/jobs/views.py:44 dreamjob/profil/views.py:88
+msgid "popuptype:unknown error"
+msgstr ""
+
+#: dreamjob/jobs/views.py:44 dreamjob/profil/views.py:88
+#, python-format
+msgid "unknown error %(nr)s"
+msgstr ""
+
+#: dreamjob/jobs/views.py:73
+msgid "popuptype:opening not aktiv"
+msgstr ""
+
+#: dreamjob/jobs/views.py:73
+msgid "opening not aktiv"
+msgstr ""
+
+#: dreamjob/jobs/views.py:81
+msgid "popuptype:opening not found"
+msgstr ""
+
+#: dreamjob/jobs/views.py:81
+msgid "opening not found"
+msgstr ""
+
+#: dreamjob/jobs/views.py:96 dreamjob/jobs/views.py:120
+#: dreamjob/jobs/views.py:145 dreamjob/jobs/views.py:171
+#: dreamjob/jobs/views.py:199 dreamjob/jobs/views.py:243
+#: dreamjob/search/views.py:102
+msgid "popuptype:you are not a company"
+msgstr ""
+
+#: dreamjob/jobs/views.py:96 dreamjob/jobs/views.py:120
+#: dreamjob/jobs/views.py:145 dreamjob/jobs/views.py:171
+#: dreamjob/jobs/views.py:199 dreamjob/jobs/views.py:243
+#: dreamjob/search/views.py:102
+msgid "you are not a company"
+msgstr ""
+
+#: dreamjob/jobs/views.py:98 dreamjob/jobs/views.py:122
+#: dreamjob/jobs/views.py:147 dreamjob/jobs/views.py:173
+#: dreamjob/jobs/views.py:201 dreamjob/jobs/views.py:245
+#: dreamjob/jobs/views.py:369 dreamjob/jobs/views.py:399
+#: dreamjob/jobs/views.py:414 dreamjob/pages/views.py:60
+#: dreamjob/pages/views.py:87 dreamjob/pages/views.py:110
+#: dreamjob/pages/views.py:138 dreamjob/pages/views.py:168
+#: dreamjob/pages/views.py:180 dreamjob/profil/views.py:45
+#: dreamjob/profil/views.py:91 dreamjob/search/views.py:246
+#: dreamjob/settings/views.py:38 dreamjob/settings/views.py:63
+#: dreamjob/settings/views.py:86 dreamjob/settings/views.py:106
+msgid "popuptype:you are not login"
+msgstr ""
+
+#: dreamjob/jobs/views.py:98 dreamjob/jobs/views.py:122
+#: dreamjob/jobs/views.py:147 dreamjob/jobs/views.py:173
+#: dreamjob/jobs/views.py:201 dreamjob/jobs/views.py:245
+#: dreamjob/jobs/views.py:369 dreamjob/jobs/views.py:399
+#: dreamjob/jobs/views.py:414 dreamjob/pages/views.py:60
+#: dreamjob/pages/views.py:87 dreamjob/pages/views.py:110
+#: dreamjob/pages/views.py:138 dreamjob/pages/views.py:168
+#: dreamjob/pages/views.py:180 dreamjob/profil/views.py:45
+#: dreamjob/profil/views.py:91 dreamjob/search/views.py:246
+#: dreamjob/settings/views.py:38 dreamjob/settings/views.py:63
+#: dreamjob/settings/views.py:86 dreamjob/settings/views.py:106
+msgid "you are not login"
+msgstr ""
+
+#: dreamjob/jobs/views.py:114 dreamjob/jobs/views.py:195
+msgid "popuptype:new opening saved"
+msgstr ""
+
+#: dreamjob/jobs/views.py:114 dreamjob/jobs/views.py:195
+msgid "new opening saved"
+msgstr ""
+
+#: dreamjob/jobs/views.py:137
+msgid "popuptype:opening deleted"
+msgstr ""
+
+#: dreamjob/jobs/views.py:137
+msgid "opening deleted"
+msgstr ""
+
+#: dreamjob/jobs/views.py:142 dreamjob/jobs/views.py:168
+#: dreamjob/jobs/views.py:240
+msgid "popuptype:opening does not exist"
+msgstr ""
+
+#: dreamjob/jobs/views.py:142 dreamjob/jobs/views.py:168
+#: dreamjob/jobs/views.py:240
+msgid "opening does not exist"
+msgstr ""
+
+#: dreamjob/jobs/views.py:166
+msgid "popuptype:opening visibily changed"
+msgstr ""
+
+#: dreamjob/jobs/views.py:166
+msgid "opening visibily changed"
+msgstr ""
+
+#: dreamjob/jobs/views.py:235
+msgid "popuptype:application is closed"
+msgstr ""
+
+#: dreamjob/jobs/views.py:235
+msgid "application is closed"
+msgstr ""
+
+#: dreamjob/jobs/views.py:237
+msgid "popuptype:application is opened"
+msgstr ""
+
+#: dreamjob/jobs/views.py:237
+msgid "application is opened"
+msgstr ""
+
+#: dreamjob/jobs/views.py:266 dreamjob/jobs/views.py:269
+msgid "popuptype:messages send"
+msgstr ""
+
+#: dreamjob/jobs/views.py:266 dreamjob/jobs/views.py:269
+msgid "messages send"
+msgstr ""
+
+#: dreamjob/jobs/views.py:341
+msgid "popuptype:no application found"
+msgstr ""
+
+#: dreamjob/jobs/views.py:341
+msgid "no application found"
+msgstr ""
+
+#: dreamjob/jobs/views.py:363
+msgid "popuptype:that is not your application"
+msgstr ""
+
+#: dreamjob/jobs/views.py:363
+msgid "that is not your application"
+msgstr ""
+
+#: dreamjob/jobs/views.py:365
+msgid "popuptype:application does not found"
+msgstr ""
+
+#: dreamjob/jobs/views.py:365
+msgid "application does not found"
+msgstr ""
+
+#: dreamjob/jobs/views.py:367 dreamjob/search/views.py:244
+#: dreamjob/settings/views.py:104
+msgid "popuptype:you are not a worker or company"
+msgstr ""
+
+#: dreamjob/jobs/views.py:367 dreamjob/search/views.py:244
+#: dreamjob/settings/views.py:104
+msgid "you are not a worker or company"
+msgstr ""
+
+#: dreamjob/jobs/views.py:391
+msgid "popuptype:application send"
+msgstr ""
+
+#: dreamjob/jobs/views.py:391
+msgid "application send"
+msgstr ""
+
+#: dreamjob/jobs/views.py:395
+msgid "popuptype:you send already a application for this opening"
+msgstr ""
+
+#: dreamjob/jobs/views.py:395
+msgid "you send already a application for this opening"
+msgstr ""
+
+#: dreamjob/jobs/views.py:397 dreamjob/jobs/views.py:412
+#: dreamjob/search/views.py:119 dreamjob/settings/views.py:84
+msgid "popuptype:you are not a worker"
+msgstr ""
+
+#: dreamjob/jobs/views.py:397 dreamjob/jobs/views.py:412
+#: dreamjob/search/views.py:119 dreamjob/settings/views.py:84
+msgid "you are not a worker"
+msgstr ""
+
+#: dreamjob/main/mail.py:34
+msgid "mailsubject.active_worker"
+msgstr ""
+
+#: dreamjob/main/mail.py:40
+msgid "mailsubject.active_company"
+msgstr ""
+
+#: dreamjob/main/mail.py:45
+msgid "mailsubject.password_reset"
+msgstr ""
+
+#: dreamjob/main/mail.py:50
+msgid "mailsubject.new_application_worker"
+msgstr ""
+
+#: dreamjob/main/mail.py:55 dreamjob/main/mail.py:60
+msgid "mailsubject.new_message"
+msgstr ""
+
+#: dreamjob/main/mail.py:65
+msgid "mailsubject.remove_profil"
+msgstr ""
+
+#: dreamjob/main/views.py:19
+msgid "news was not found"
+msgstr ""
+
+#: dreamjob/main/views.py:19
+msgid "popuptype:news was not found"
+msgstr ""
+
+#: dreamjob/pages/models.py:13
+msgid "position"
+msgstr ""
+
+#: dreamjob/pages/models.py:13
+msgid "position.help_text"
+msgstr ""
+
+#: dreamjob/pages/models.py:27
+msgid "pagetext.help_text"
+msgstr ""
+
+#: dreamjob/pages/views.py:47
+msgid "popuptype:positions of pages saved"
+msgstr ""
+
+#: dreamjob/pages/views.py:47
+msgid "positions of pages saved"
+msgstr ""
+
+#: dreamjob/pages/views.py:48 dreamjob/pages/views.py:50
+msgid "popuptype:positions of pages could not saved"
+msgstr ""
+
+#: dreamjob/pages/views.py:48 dreamjob/pages/views.py:50
+msgid "positions of pages could not saved"
+msgstr ""
+
+#: dreamjob/pages/views.py:58 dreamjob/pages/views.py:85
+#: dreamjob/pages/views.py:108 dreamjob/pages/views.py:133
+#: dreamjob/pages/views.py:136 dreamjob/pages/views.py:163
+#: dreamjob/pages/views.py:166 dreamjob/pages/views.py:178
+#: dreamjob/profil/views.py:42 dreamjob/settings/views.py:36
+#: dreamjob/settings/views.py:58 dreamjob/settings/views.py:61
+msgid "popuptype:you are not a company or worker"
+msgstr ""
+
+#: dreamjob/pages/views.py:58 dreamjob/pages/views.py:85
+#: dreamjob/pages/views.py:108 dreamjob/pages/views.py:133
+#: dreamjob/pages/views.py:136 dreamjob/pages/views.py:163
+#: dreamjob/pages/views.py:166 dreamjob/pages/views.py:178
+#: dreamjob/profil/views.py:42 dreamjob/settings/views.py:36
+#: dreamjob/settings/views.py:58 dreamjob/settings/views.py:61
+msgid "you are not a company or worker"
+msgstr ""
+
+#: dreamjob/pages/views.py:77
+msgid "popuptype:changes in page saved"
+msgstr ""
+
+#: dreamjob/pages/views.py:77
+msgid "changes in page saved"
+msgstr ""
+
+#: dreamjob/pages/views.py:79 dreamjob/pages/views.py:130
+#: dreamjob/pages/views.py:160
+msgid "popuptype:page form is not complete filled"
+msgstr ""
+
+#: dreamjob/pages/views.py:79 dreamjob/pages/views.py:130
+#: dreamjob/pages/views.py:160
+msgid "page form is not complete filled"
+msgstr ""
+
+#: dreamjob/pages/views.py:82
+msgid "popuptype:page not found"
+msgstr ""
+
+#: dreamjob/pages/views.py:82
+msgid "page not found"
+msgstr ""
+
+#: dreamjob/pages/views.py:128 dreamjob/pages/views.py:158
+msgid "popuptype:new page saved"
+msgstr ""
+
+#: dreamjob/pages/views.py:128 dreamjob/pages/views.py:158
+msgid "new page saved"
+msgstr ""
+
+#: dreamjob/profil/views.py:19
+msgid "popuptype:no start page"
+msgstr ""
+
+#: dreamjob/profil/views.py:19
+msgid "no start page"
+msgstr ""
+
+#: dreamjob/profil/views.py:26
+msgid "popuptype:no page"
+msgstr ""
+
+#: dreamjob/profil/views.py:26
+msgid "no page"
+msgstr ""
+
+#: dreamjob/profil/views.py:63
+msgid "popuptype:worker was not found"
+msgstr ""
+
+#: dreamjob/profil/views.py:63
+msgid "worker was not found"
+msgstr ""
+
+#: dreamjob/profil/views.py:66
+msgid "popuptype:company was not found"
+msgstr ""
+
+#: dreamjob/profil/views.py:66
+msgid "company was not found"
+msgstr ""
+
+#: dreamjob/profil/views.py:68
+msgid "popuptype:you are not allowed to see this user"
+msgstr ""
+
+#: dreamjob/profil/views.py:68
+msgid "you are not allowed to see this user"
+msgstr ""
+
+#: dreamjob/search/forms.py:59 dreamjob/search/forms.py:94
+#: dreamjob/templates/dreamjob/search/incGraducation.html:6
+msgid "graducation.company"
+msgstr ""
+
+#: dreamjob/search/forms.py:114
+msgid "uni course"
+msgstr ""
+
+#: dreamjob/search/forms.py:128
+msgid "qualification job"
+msgstr ""
+
+#: dreamjob/settings/forms.py:119
+#: dreamjob/templates/dreamjob/account/password_forgot.html:9
+#: dreamjob/templates/dreamjob/base/login.html:60
+#: dreamjob/templates/dreamjob/jobs/application.html:126
+#: dreamjob/templates/dreamjob/profil/company.html:46
+#: dreamjob/templates/dreamjob/profil/worker.html:44 system/forms.py:30
+#: system/models.py:49
+msgid "mail"
+msgstr ""
+
+#: dreamjob/settings/views.py:31
+msgid "popuptype:new account saved"
+msgstr ""
+
+#: dreamjob/settings/views.py:31
+msgid "new account saved"
+msgstr ""
+
+#: dreamjob/settings/views.py:33
+msgid "popuptype:account form is not complete filled"
+msgstr ""
+
+#: dreamjob/settings/views.py:33
+msgid "account form is not complete filled"
+msgstr ""
+
+#: dreamjob/settings/views.py:54
+msgid "popuptype:new profil saved"
+msgstr ""
+
+#: dreamjob/settings/views.py:54
+msgid "new profil saved"
+msgstr ""
+
+#: dreamjob/settings/views.py:56
+msgid "popuptype:profil form is not complete filled"
+msgstr ""
+
+#: dreamjob/settings/views.py:56
+msgid "profil form is not complete filled"
+msgstr ""
+
+#: dreamjob/settings/views.py:79
+msgid "popuptype:isearch saved"
+msgstr ""
+
+#: dreamjob/settings/views.py:79
+msgid "isearch saved"
+msgstr ""
+
+#: dreamjob/settings/views.py:81
+msgid "popuptype:isearch is not complete filled"
+msgstr ""
+
+#: dreamjob/settings/views.py:81
+msgid "isearch is not complete filled"
+msgstr ""
+
+#: dreamjob/settings/views.py:101
+msgid "popuptype:profil removed"
+msgstr ""
+
+#: dreamjob/settings/views.py:101
+msgid "profil removed"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/impressum.html:3
+#: dreamjob/templates/dreamjob/impressum.html:10
+#: dreamjob/templates/dreamjob/base/base.html:61
+msgid "impressum"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/account/create_company.html:3
+#: dreamjob/templates/dreamjob/account/create_company.html:11
+#: dreamjob/templates/dreamjob/account/create_user.html:3
+#: dreamjob/templates/dreamjob/account/create_user.html:12
+#: dreamjob/templates/dreamjob/account/register.html:3
+#: dreamjob/templates/dreamjob/account/register.html:6
+msgid "registeration"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/account/create_company.html:11
+#: dreamjob/templates/dreamjob/base/base.html:60
+#: dreamjob/templates/dreamjob/profil/company.html:3
+msgid "company"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/account/create_company.html:46
+#: dreamjob/templates/dreamjob/account/create_user.html:64
+msgid "agb.title"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/account/create_company.html:46
+#: dreamjob/templates/dreamjob/account/create_user.html:64
+msgid "agb.link"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/account/create_company.html:82
+#: dreamjob/templates/dreamjob/account/create_user.html:110
+msgid "register"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/account/create_user.html:12
+#: dreamjob/templates/dreamjob/profil/worker.html:3
+msgid "worker"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/account/create_user.html:48
+#: dreamjob/templates/dreamjob/settings/isearch.html:4
+#: dreamjob/templates/dreamjob/settings/main.html:15
+msgid "isearch"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/account/password_forgot.html:3
+#: dreamjob/templates/dreamjob/account/password_forgot.html:6
+#: dreamjob/templates/dreamjob/account/password_reset.html:3
+#: dreamjob/templates/dreamjob/account/password_reset.html:6
+msgid "forget password"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/account/password_forgot.html:10
+#: dreamjob/templates/dreamjob/account/password_reset.html:13
+#: dreamjob/templates/dreamjob/jobs/application_message.html:28
+#: dreamjob/templates/dreamjob/jobs/application_worker_form.html:23
+msgid "send"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/base/base.html:5
+#: dreamjob/templates/dreamjob/base/base.html:29
+msgid "home"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/base/base.html:30
+msgid "my profil"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/base/base.html:32
+#: dreamjob/templates/dreamjob/jobs/company.html:13
+msgid "my opening"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/base/base.html:35
+msgid "my application"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/base/base.html:39
+msgid "logout"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/base/base.html:41
+msgid "admin"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/base/base.html:44
+#: dreamjob/templates/dreamjob/settings/main.html:3
+msgid "settings"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/base/base.html:59
+msgid "download"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/base/login.html:62 system/forms.py:8
+#: system/models.py:48
+msgid "password"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/base/login.html:65
+msgid "password forgotten"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/base/login.html:67
+msgid "login"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/base/login.html:73
+msgid "to registeration"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/base/news.html:9
+msgid "News"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/application.html:58
+#: dreamjob/templates/dreamjob/jobs/application.html:75
+#: dreamjob/templates/dreamjob/jobs/application_worker_form.html:4
+#: dreamjob/templates/dreamjob/jobs/application_worker_form.html:9
+#: dreamjob/templates/dreamjob/jobs/application_worker_form_end.html:5
+#: dreamjob/templates/dreamjob/jobs/application_worker_form_end.html:9
+#: dreamjob/templates/dreamjob/jobs/opening_edit_list.html:3
+#: dreamjob/templates/dreamjob/jobs/opening_edit_list.html:12
+#: dreamjob/templates/dreamjob/jobs/opening_edit_list.html:16
+#: dreamjob/templates/dreamjob/jobs/opening_form.html:4
+#: dreamjob/templates/dreamjob/jobs/opening_short.html:7
+msgid "opening"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/application.html:66
+#: dreamjob/templates/dreamjob/jobs/application_worker_list.html:4
+#: dreamjob/templates/dreamjob/jobs/application_worker_list.html:10
+#: dreamjob/templates/dreamjob/jobs/opening_item_edit.html:8
+#: dreamjob/templates/dreamjob/pdf/application.html:44
+#: dreamjob/templates/dreamjob/pdf/application.html:67
+msgid "application"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/application.html:68
+#: dreamjob/templates/dreamjob/jobs/application.html:89
+msgid "mappe"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/application.html:70
+#: dreamjob/templates/dreamjob/jobs/application.html:82
+msgid "show messages"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/application.html:72
+#: dreamjob/templates/dreamjob/jobs/application.html:84
+msgid "show application"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/application.html:86
+#: dreamjob/templates/dreamjob/jobs/opening_application_item.html:10
+msgid "application open"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/application.html:86
+#: dreamjob/templates/dreamjob/jobs/opening_application_item.html:14
+msgid "application archiv"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/application.html:119
+#: dreamjob/templates/dreamjob/profil/company.html:33
+#: dreamjob/templates/dreamjob/profil/worker.html:37
+#: dreamjob/templates/dreamjob/search/incAddress.html:6
+msgid "address"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/application.html:144
+#: dreamjob/templates/dreamjob/jobs/application_worker_form_end.html:23
+msgid "no pages found"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/application_message.html:18
+msgid "no messages found"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/application_worker_form.html:18
+msgid "application send help"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/application_worker_form.html:26
+msgid "already send a application"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/application_worker_item.html:19
+msgid "message"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/application_worker_list.html:18
+msgid "no sended application found"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/company_item.html:13
+#: dreamjob/templates/dreamjob/jobs/worker_item.html:18
+#: dreamjob/templates/dreamjob/profil/main.html:3
+#: dreamjob/templates/dreamjob/settings/main.html:12
+#: dreamjob/templates/dreamjob/settings/profil.html:4
+msgid "profil"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/opening_application.html:6
+msgid "show current"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/opening_application.html:8
+msgid "show archiv"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/opening_application.html:9
+msgid "show all"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/opening_application.html:18
+msgid "no applications here, maybe visit all"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/opening_application_item.html:11
+#: dreamjob/templates/dreamjob/jobs/opening_application_item.html:19
+#: dreamjob/templates/dreamjob/jobs/opening_item.html:14
+#: dreamjob/templates/dreamjob/jobs/opening_item_edit.html:13
+msgid "detail"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/opening_application_item.html:17
+#, python-format
+msgid "detail (%(new)s/%(all)s)"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/opening_edit_list.html:10
+msgid "opening add"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/opening_edit_list.html:24
+#: dreamjob/templates/dreamjob/profil/company-job.html:10
+msgid "no job opening found"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/opening_form.html:12
+#: dreamjob/templates/dreamjob/settings/page.html:51
+msgid "save"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/opening_item.html:10
+#: dreamjob/templates/dreamjob/jobs/opening_short.html:12
+msgid "opening.enddate"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/opening_item.html:16
+#: dreamjob/templates/dreamjob/jobs/worker.html:12
+msgid "applicate"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/opening_item_edit.html:10
+#: dreamjob/templates/dreamjob/profil/main.html:11
+msgid "edit"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/opening_item_edit.html:11
+#: dreamjob/templates/dreamjob/jobs/opening_remove.html:11
+msgid "remove"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/opening_item_edit.html:12
+msgid "hide"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/opening_item_edit.html:12
+msgid "show"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/opening_remove.html:7
+#, python-format
+msgid "remove opening text%(title)s"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/opening_short.html:16
+msgid "companyinfo"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/opening_short.html:17
+msgid "companyname"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/opening_short.html:29
+msgid "mainplace"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/opening_short.html:34
+msgid "secondplace"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/search.html:27
+#: dreamjob/templates/dreamjob/jobs/search.html:78
+#: dreamjob/templates/dreamjob/search/old.html:31
+msgid "less search"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/search.html:30
+#: dreamjob/templates/dreamjob/jobs/search.html:78
+#: dreamjob/templates/dreamjob/search/old.html:31
+msgid "more search"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/search.html:47
+msgid "opening search"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/search.html:48
+msgid "company search"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/search.html:64
+#: dreamjob/templates/dreamjob/search/old.html:20
+msgid "addresssearch"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/search.html:110
+#: dreamjob/templates/dreamjob/search/autoByWorker.html:25
+#: dreamjob/templates/dreamjob/search/companyByWorker.html:100
+#: dreamjob/templates/dreamjob/search/educationByWorker.html:57
+#: dreamjob/templates/dreamjob/search/old.html:46
+#: dreamjob/templates/dreamjob/search/openingByWorker.html:55
+#: dreamjob/templates/dreamjob/search/workerByCompany.html:56
+msgid "no searchresult"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/worker.html:15
+msgid "to application"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/worker.html:17
+msgid "to company"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/jobs/worker_item.html:10
+#: dreamjob/templates/dreamjob/profil/worker.html:23
+msgid "years"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/profil/company.html:58
+msgid "job offering"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/search/autoByWorker.html:9
+#: dreamjob/templates/dreamjob/search/baseWorker.html:17
+msgid "autosearch"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/search/autoByWorker.html:11
+msgid "autosearch.help"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/search/base.html:13
+#: dreamjob/templates/dreamjob/search/base.html:21
+msgid "disable"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/search/base.html:27
+#: dreamjob/templates/dreamjob/search/incAddress.html:4
+#: dreamjob/templates/dreamjob/search/incBranch.html:4
+#: dreamjob/templates/dreamjob/search/incGraducation.html:4
+#: dreamjob/templates/dreamjob/search/incISearch.html:4
+#: dreamjob/templates/dreamjob/search/incKindofJob.html:4
+#: dreamjob/templates/dreamjob/search/incProperty.html:4
+msgid "enable"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/search/base.html:50
+msgid "result per page"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/search/baseWorker.html:14
+#: dreamjob/templates/dreamjob/search/openingByWorker.html:27
+msgid "openingsearch"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/search/baseWorker.html:15
+#: dreamjob/templates/dreamjob/search/companyByWorker.html:30
+msgid "companysearch"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/search/baseWorker.html:18
+msgid "eductationsearch"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/search/companyByWorker.html:32
+msgid "companysearch field"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/search/educationByWorker.html:15
+msgid "company education search"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/search/educationByWorker.html:32
+msgid "dual studium search"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/search/incISearch.html:6
+msgid "isearch.company"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/search/incProperty.html:6
+msgid "property"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/search/openingByWorker.html:29
+msgid "openingsearch field"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/search/workerByCompany.html:20
+msgid "workersearch"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/search/workerByCompany.html:21
+msgid "workersearch field"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/settings/account.html:4
+#: dreamjob/templates/dreamjob/settings/main.html:10
+msgid "account"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/settings/account.html:11
+#: dreamjob/templates/dreamjob/settings/isearch.html:27
+#: dreamjob/templates/dreamjob/settings/profil.html:12
+msgid "save change"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/settings/account.html:13
+#: dreamjob/templates/dreamjob/settings/delete.html:11
+msgid "remove profil"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/settings/delete.html:7
+#, python-format
+msgid "remove profil text%(name)s"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/settings/page.html:42
+msgid "addpage"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/settings/page.html:56
+msgid "pagetype choice"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/settings/page.html:59
+msgid "imagepage.help_text"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/settings/page.html:64
+msgid "textpage.help_text"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/settings/page.html:72
+#, python-format
+msgid "remove page text%(title)s"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/settings/page.html:76
+msgid "remove page"
+msgstr ""
+
+#: dreamjob/templates/dreamjob/settings/page.html:79
+msgid "no page choose"
+msgstr ""
+
+#: system/forms.py:11
+msgid "repeat password"
+msgstr ""
+
+#: system/forms.py:37
+msgid "old password"
+msgstr ""
+
+#: system/forms.py:42
+msgid "old password wrong"
+msgstr ""
+
+#: system/models.py:34
+msgid "first name"
+msgstr ""
+
+#: system/models.py:35
+msgid "last name"
+msgstr ""
+
+#: system/models.py:36
+msgid "staff status"
+msgstr ""
+
+#: system/models.py:37
+msgid "Designates whether the user can log into this admin site."
+msgstr ""
+
+#: system/models.py:39
+msgid "active"
+msgstr ""
+
+#: system/models.py:40
+msgid ""
+"Designates whether this user should be treated as active. Unselect this "
+"instead of deleting accounts."
+msgstr ""
+
+#: system/models.py:42
+msgid "superuser status"
+msgstr ""
+
+#: system/models.py:43
+msgid ""
+"Designates that this user has all permissions without explicitly assigning "
+"them."
+msgstr ""
+
+#: system/models.py:45
+msgid "last login"
+msgstr ""
+
+#: system/models.py:46
+msgid "date joined"
+msgstr ""
+
+#: system/models.py:50
+msgid "activecode"
+msgstr ""
+
+#: system/models.py:54 system/models.py:163
+msgid "avatar"
+msgstr ""
+
+#: system/models.py:55 system/models.py:164
+msgid "alias"
+msgstr ""
+
+#: system/models.py:58
+msgid "comment"
+msgstr ""
+
+#: templates/admin/base_site.html:4
+msgid "site admin title"
+msgstr ""
diff --git a/app/Model/AppModel.php b/app/Model/AppModel.php
new file mode 100644
index 0000000..2783646
--- /dev/null
+++ b/app/Model/AppModel.php
@@ -0,0 +1,33 @@
+getDataSource();
+ $dataSource->begin();
+ $this->id = $data["AppUser"]['id'];
+ $this->User->id = $data["AppUser"]['user_id'];
+ $filename = $this->id . "_-profil.". pathinfo($data[$this->alias]['avatar']['name'], PATHINFO_EXTENSION);
+ $filename = WWW_ROOT . $this->uploadDir . DS . $filename;
+ if(file_exists($filename)){
+ chmod($filename,0755); //Change the file permissions if allowed
+ unlink($filename); //remove the file
+ }
+ if (!move_uploaded_file($data[$this->alias]['avatar']['tmp_name'], $filename)) {
+ $result = false;
+ } else {
+ $result = $this->saveField('avatar', str_replace(DS, "/", str_replace(WWW_ROOT.$this->uploadDir.DS, "", $filename) ));
+ }
+
+ if ($result) {
+ $dataSource->commit();
+ return true;
+ } else {
+ $dataSource->rollback();
+ }
+ return false;
+ }
+
+ public $validate = array(
+ 'id' => array(
+ 'naturalNumber' => array(
+ 'rule' => array('naturalNumber'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'user_id' => array(
+ 'numeric' => array(
+ 'rule' => array('numeric'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'take_systemwide' => array(
+ 'boolean' => array(
+ 'rule' => array('boolean'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ );
+
+
+ public $belongsTo = array(
+ 'User' => array(
+ 'className' => 'User',
+ 'foreignKey' => 'user_id'
+ ),
+ 'Mannerofaddress' => array(
+ 'className' => 'Mannerofaddress',
+ 'foreignKey' => 'mannerofaddress_id',
+ 'conditions' => '',
+ 'fields' => '',
+ 'order' => ''
+ )
+ );
+}
diff --git a/app/Model/Behavior/empty b/app/Model/Behavior/empty
new file mode 100644
index 0000000..e69de29
diff --git a/app/Model/Datasource/empty b/app/Model/Datasource/empty
new file mode 100644
index 0000000..e69de29
diff --git a/app/Model/DreamjobCompany.php b/app/Model/DreamjobCompany.php
new file mode 100644
index 0000000..3713aa3
--- /dev/null
+++ b/app/Model/DreamjobCompany.php
@@ -0,0 +1,269 @@
+to($data['User']['mail']);
+ $Email->subject('Willkommen bei dreamJOB');
+ $Email->template('registration_company');
+ $key = substr($data['User']['code'],2);
+ $Email->viewVars(array('data'=>$data,'key'=>$key));
+ $Email->attachments(array('dak.jpg' => WWW_ROOT.DS.'mail'.DS.'dak.jpg'));
+ return $Email->send();
+ }
+
+ public function registration($data){
+ $dataSource = $this->getDataSource();
+
+ $dataSource->begin();
+
+ if($data['AppUser']['nickname'])
+ $data['User']['nickname'] = $data['AppUser']['nickname'];
+ else
+ $data['AppUser']['nickname'] = $data['User']['nickname'];
+
+
+
+ $data['User']['date_joined'] = date("Y-m-d H:i:s");
+ $this->User->create(array('User'=>$data['User']));
+ $result=$this->User->save();
+ if($result){
+ $data['User']['id']=$this->User->id;
+ $data['AppUser']['user_id']=$this->User->id;
+ $this->AppUser->create(array('AppUser'=>$data['AppUser']));
+ $result=$this->AppUser->save();
+ }
+
+ if($result){
+ $data['AppUser']['id']=$this->AppUser->id;
+ $data['DreamjobUser']['micapplication_ptr_id']=$this->AppUser->id;
+ $this->DreamjobUser->create(array('DreamjobUser'=>$data['DreamjobUser']));
+ $result=$this->DreamjobUser->save();
+ }
+
+ if($result){
+ $data['DreamjobCompany']['djaccount_ptr_id']=$this->AppUser->id;
+ $this->create(array('DreamjobCompany'=>$data['DreamjobCompany']));
+ $result=$this->save();
+ }
+ if($result)
+ $result = self::sendMail($data);
+ if ($result) {
+ $dataSource->commit();
+ return true;
+ } else {
+ $dataSource->rollback();
+ }
+ return false;
+ }
+
+
+ public function saveSettings($data){
+ $dataSource = $this->getDataSource();
+ $dataSource->begin();
+
+ $this->id = $data['AppUser']['id'];
+ $this->User->id = $data['User']['id'];
+ $this->AppUser->id = $data['AppUser']['id'];
+ $this->DreamjobUser->id = $data['AppUser']['id'];
+
+
+ $result = $this->User->saveField('password',$data['User']['password']);
+
+ if($result)
+ $result = $this->AppUser->saveField('nickname',$data['AppUser']['nickname']);
+ if($result)
+ $result = $this->AppUser->saveField('first_name',$data['AppUser']['first_name']);
+ if($result)
+ $result = $this->AppUser->saveField('last_name',$data['AppUser']['last_name']);
+ if($result)
+ $result = $this->AppUser->saveField('bday',$data['AppUser']['bday']);
+ if($result)
+ $result = $this->AppUser->saveField('mannerofaddress_id',$data['AppUser']['mannerofaddress_id']);
+ if($result)
+ $result = $this->DreamjobUser->saveField('street',$data['DreamjobUser']['street']);
+ if($result)
+ $result = $this->DreamjobUser->saveField('city_id',$data['DreamjobUser']['city_id']);
+ if($result)
+ $result = $this->DreamjobUser->saveField('postcode',$data['DreamjobUser']['postcode']);
+
+ if($result)
+ $result = $this->saveField('corporateform',$data['DreamjobCompany']['corporateform']);
+ if($result)
+ $result = $this->saveField('owner',$data['DreamjobCompany']['owner']);
+ if($result)
+ $result = $this->saveField('branch_id',$data['DreamjobCompany']['branch_id']);
+ if($result)
+ $result = $this->saveField('headcount',$data['DreamjobCompany']['headcount']);
+ if($result)
+ $result = $this->saveField('bank_details',$data['DreamjobCompany']['bank_details']);
+ if($result)
+ $result = $this->saveField('website',$data['DreamjobCompany']['website']);
+
+ if($result)
+ $result = $this->AppUser->saveField('take_systemwide',$data['AppUser']['take_systemwide']);
+
+
+
+ if ($result) {
+ $dataSource->commit();
+ return true;
+ } else {
+ $dataSource->rollback();
+ }
+ return false;
+ }
+/**
+ * Validation rules
+ *
+ * @var array
+ */
+ public $validate = array(
+ 'djaccount_ptr_id' => array(
+ 'numeric' => array(
+ 'rule' => array('numeric'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ 'multiple' => array(
+ 'rule' => array('multiple'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'corporateform' => array(
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'owner' => array(
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'branch_id' => array(
+ 'numeric' => array(
+ 'rule' => array('numeric'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ );
+ public $belongsTo = array(
+ 'DreamjobListBranch' => array(
+ 'className' => 'DreamjobListBranch',
+ 'foreignKey' => 'branch_id',
+ 'conditions' => '',
+ 'fields' => '',
+ 'order' => ''
+ ),
+ );
+
+ public $hasAndBelongsToMany = array(
+ 'User' =>
+ array(
+ 'className' => 'User',
+ 'with' => 'AppUser',
+ //'joinTable' => 'mic_sys_micapp',
+ 'foreignKey' => 'id',
+ 'associationForeignKey' => 'user_id',
+ 'limit' => 1
+ )
+ );
+ public $hasOne = array(
+ 'DreamjobUser' => array(
+ 'className' => 'DreamjobUser',
+ 'foreignKey' => 'micapplication_ptr_id'
+ ),
+ 'AppUser' => array(
+ 'className' => 'AppUser',
+ 'foreignKey' => 'id'
+ ),
+ 'User' => array(
+ 'className' => 'User',
+ 'foreignKey' => false,
+ 'conditions' => array('DreamjobCompany.djaccount_ptr_id=AppUser.id and User.id = AppUser.user_id'),
+ 'limit' => 1
+ ),
+ 'Pro' => array(
+ 'className' => 'DreamjobCompanyPro',
+ 'foreignKey' => 'company_id',
+ 'limit' => 1,
+ 'conditions'=>array('Pro.till >= CURRENT_DATE()'),
+ 'order'=>'Pro.till DESC'
+ ),
+ 'DreamjobListCity' => array(
+ 'className' => 'DreamjobListCity',
+ 'foreignKey' => false,
+ 'conditions' => array('DreamjobListCity.id=DreamjobUser.city_id'),
+ 'limit' => 1
+ )
+ );
+ public $hasMany = array(
+ 'DreamjobPageInh' => array(
+ 'className' => 'DreamjobPageInh',
+ 'foreignKey' => 'user_id',
+ 'order' => "DreamjobPageInh.position"
+ ),
+ 'DreamjobJobOpening' => array(
+ 'className' => 'DreamjobJobOpening',
+ 'foreignKey' => 'company_id'
+ )
+ );
+}
diff --git a/app/Model/DreamjobCompanyPro.php b/app/Model/DreamjobCompanyPro.php
new file mode 100644
index 0000000..ead5f77
--- /dev/null
+++ b/app/Model/DreamjobCompanyPro.php
@@ -0,0 +1,42 @@
+ array(
+ 'className' => 'DreamjobCompany',
+ 'foreignKey' => 'djaccount_ptr_id'
+ )
+ );
+}
diff --git a/app/Model/DreamjobCvEntry.php b/app/Model/DreamjobCvEntry.php
new file mode 100644
index 0000000..760820c
--- /dev/null
+++ b/app/Model/DreamjobCvEntry.php
@@ -0,0 +1,143 @@
+getDataSource();
+ $dataSource->begin();
+
+ if(count($data)>0)
+ $result = $this->saveMany($data);
+ else $result = true;
+
+ if($result){
+ $array1 = array();
+ $array2 = array();
+ foreach($data as $a)
+ if(isset($a['id']))
+ $array1[]=$a['id'];
+ foreach($old as $a)
+ if(isset($a['id']))
+ $array2[]=$a['id'];
+ $diff=array_diff($array2, $array1);
+ if(count($diff)>0)
+ $result = $this->delete($diff);
+ }
+
+ if ($result) {
+ $dataSource->commit();
+ return true;
+ } else {
+ $dataSource->rollback();
+ }
+ return false;
+ }
+
+/**
+ * Validation rules
+ *
+ * @var array
+ */
+ public $validate = array(
+ 'category_id' => array(
+ 'numeric' => array(
+ 'rule' => array('numeric'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'startdate' => array(
+ 'date' => array(
+ 'rule' => array('date'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ 'compare' => array(
+ 'rule'=>'compareDates'
+ )
+ ),
+ 'enddate' => array(
+ 'date' => array(
+ 'rule' => array('date'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'title' => array(
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'place' => array(
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ );
+
+ //The Associations below have been created with all possible keys, those that are not needed can be removed
+ public function compareDates()
+ {
+ return ($this->data[$this->alias]['startdate'] <= $this->data[$this->alias]['enddate']) ? true : false;
+ }
+/**
+ * belongsTo associations
+ *
+ * @var array
+ */
+ public $belongsTo = array(
+ 'DreamjobListCvCategory' => array(
+ 'className' => 'DreamjobListCvCategory',
+ 'foreignKey' => 'category_id',
+ 'conditions' => '',
+ 'fields' => '',
+ 'order' => ''
+ )
+ );
+}
diff --git a/app/Model/DreamjobISearch.php b/app/Model/DreamjobISearch.php
new file mode 100644
index 0000000..1a8f34d
--- /dev/null
+++ b/app/Model/DreamjobISearch.php
@@ -0,0 +1,147 @@
+getDataSource();
+ $dataSource->begin();
+
+ if(count($data)>0)
+ $result = $this->saveMany($data);
+ else $result = true;
+
+ if($result){
+ $array1 = array();
+ $array2 = array();
+ foreach($data as $a)
+ if(isset($a['id']))
+ $array1[]=$a['id'];
+ foreach($old as $a)
+ if(isset($a['id']))
+ $array2[]=$a['id'];
+ $diff=array_diff($array2, $array1);
+ if(count($diff)>0)
+ $result = $this->delete($diff);
+ }
+
+ if ($result) {
+ $dataSource->commit();
+ return true;
+ } else {
+ $dataSource->rollback();
+ }
+ return false;
+ }
+ public $validate = array(
+ 'worker_id' => array(
+ 'numeric' => array(
+ 'rule' => array('numeric'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'branch_id' => array(
+ 'numeric' => array(
+ 'rule' => array('numeric'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'job_id' => array(
+ 'numeric' => array(
+ 'rule' => array('numeric'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'kindofjob_id' => array(
+ 'numeric' => array(
+ 'rule' => array('numeric'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ );
+
+ //The Associations below have been created with all possible keys, those that are not needed can be removed
+
+/**
+ * belongsTo associations
+ *
+ * @var array
+ */
+ public $belongsTo = array(
+ 'DreamjobWorker' => array(
+ 'className' => 'DreamjobWorker',
+ 'foreignKey' => 'worker_id',
+ 'conditions' => '',
+ 'fields' => '',
+ 'order' => ''
+ ),
+ 'DreamjobListKindofjob' => array(
+ 'className' => 'DreamjobListKindofjob',
+ 'foreignKey' => 'kindofjob_id',
+ 'conditions' => '',
+ 'fields' => '',
+ 'order' => ''
+ ),
+ 'DreamjobListBranch' => array(
+ 'className' => 'DreamjobListBranch',
+ 'foreignKey' => 'branch_id',
+ 'conditions' => '',
+ 'fields' => '',
+ 'order' => ''
+ ),
+ 'DreamjobListJob' => array(
+ 'className' => 'DreamjobListJob',
+ 'foreignKey' => 'job_id',
+ 'conditions' => '',
+ 'fields' => '',
+ 'order' => ''
+ )
+ );
+}
diff --git a/app/Model/DreamjobJobApplication.php b/app/Model/DreamjobJobApplication.php
new file mode 100644
index 0000000..2a9dbbc
--- /dev/null
+++ b/app/Model/DreamjobJobApplication.php
@@ -0,0 +1,298 @@
+to($mail);
+ $Email->subject('Sie haben eine neue Bewerbung auf dreamJOB erhalten');
+ $Email->template('job_application');
+ $Email->viewVars(array('id'=>$id,'data'=>$data));
+ $Email->attachments(array('dak.jpg' => WWW_ROOT.DS.'mail'.DS.'dak.jpg'));
+ return $Email->send();
+ }
+
+ public function sendApplication($data){
+ $dataSource = $this->getDataSource();
+ $dataSource->begin();
+ $result=$this->saveAssociated($data);
+
+ if($result){
+ $open = $this->DreamjobJobOpening->find('first', array('conditions' => array('DreamjobJobOpening.id' => $data['DreamjobJobApplication']['opening_id'])));
+ $result = self::sendMail($open['User']['mail'],array('DreamjobCompany'=>$open['DreamjobCompany']),$this->id);
+
+ }
+ if ($result) {
+ $dataSource->commit();
+ return true;
+ } else {
+ $dataSource->rollback();
+ }
+ return false;
+ }
+ public $validate = array(
+ 'id' => array(
+ 'numeric' => array(
+ 'rule' => array('numeric'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ )
+ ),
+ 'stars' => array(
+ 'numeric' => array(
+ 'rule' => array('numeric'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'closed' => array(
+ 'boolean' => array(
+ 'rule' => array('boolean'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'offered' => array(
+ 'boolean' => array(
+ 'rule' => array('boolean'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'saw' => array(
+ 'boolean' => array(
+ 'rule' => array('boolean'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'worker_id' => array(
+ 'numeric' => array(
+ 'rule' => array('numeric'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'opening_id' => array(
+ 'numeric' => array(
+ 'rule' => array('numeric'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'text' => array(
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ );
+
+ //The Associations below have been created with all possible keys, those that are not needed can be removed
+
+/**
+ * belongsTo associations
+ *
+ * @var array
+ */
+ public $belongsTo = array(
+ 'DreamjobWorker' => array(
+ 'className' => 'DreamjobWorker',
+ 'foreignKey' => 'worker_id'
+ ),
+ 'DreamjobUserWorker' => array(
+ 'className' => 'DreamjobUser',
+ 'foreignKey' => 'worker_id'
+ ),
+ 'AppUserWorker' => array(
+ 'className' => 'AppUser',
+ 'foreignKey' => 'worker_id'
+ ),
+ 'DreamjobJobOpening' => array(
+ 'className' => 'DreamjobJobOpening',
+ 'foreignKey' => 'opening_id'
+ )
+ );
+
+
+ public $hasOne = array(
+ 'Mannerofaddress' => array(
+ 'className' => 'Mannerofaddress',
+ 'foreignKey' => false,
+ 'conditions' => array('AppUserWorker.mannerofaddress_id = Mannerofaddress.id'),
+ 'limit' => 1
+ ),
+ 'WorkerGraducation' => array(
+ 'className' => 'DreamjobListGraducation',
+ 'foreignKey' => false,
+ 'conditions' => array('DreamjobWorker.graducation_id = WorkerGraducation.id'),
+ 'limit' => 1
+ ),
+ 'WorkerUser' => array(
+ 'className' => 'User',
+ 'foreignKey' => false,
+ 'conditions' => array('DreamjobJobApplication.worker_id = AppUserWorker.id and WorkerUser.id = AppUserWorker.user_id'),
+ 'limit' => 1
+ ),
+ 'DreamjobWorkerListCity' => array(
+ 'className' => 'DreamjobListCity',
+ 'foreignKey' => false,
+ 'conditions' => array('DreamjobUserWorker.city_id = DreamjobWorkerListCity.id'),
+ 'limit' => 1
+ ),
+
+
+
+ //achtung
+ 'DreamjobCompany' => array(
+ 'className' => 'DreamjobCompany',
+ 'foreignKey' => false,
+ 'conditions' => array('DreamjobJobOpening.company_id = DreamjobCompany.djaccount_ptr_id'),
+ 'limit' => 1
+ ),
+ 'DreamjobUser' => array(
+ 'className' => 'DreamjobUser',
+ 'foreignKey' => false,
+ 'conditions' => array('DreamjobJobOpening.company_id = DreamjobUser.micapplication_ptr_id'),
+ 'limit' => 1
+ ),
+ 'AppUser' => array(
+ 'className' => 'AppUser',
+ 'foreignKey' => false,
+ 'conditions' => array('DreamjobJobOpening.company_id = AppUser.id'),
+ 'limit' => 1
+ ),
+ 'User' => array(
+ 'className' => 'User',
+ 'foreignKey' => false,
+ 'conditions' => array('DreamjobJobOpening.company_id = AppUser.id and User.id = AppUser.user_id'),
+ 'limit' => 1
+ ),
+ 'DreamjobListKindofjob' => array(
+ 'className' => 'DreamjobListKindofjob',
+ 'foreignKey' => false,
+ 'conditions' => array('DreamjobJobOpening.kindofjob_id = DreamjobListKindofjob.id'),
+ 'limit' => 1
+ ),
+ 'DreamjobCompanyListCity' => array(
+ 'className' => 'DreamjobListCity',
+ 'foreignKey' => false,
+ 'conditions' => array('DreamjobUser.city_id = DreamjobCompanyListCity.id'),
+ 'limit' => 1
+ ),
+
+
+
+ 'DreamjobListGraducation' => array(
+ 'className' => 'DreamjobListGraducation',
+ 'foreignKey' => false,
+ 'conditions' => array('DreamjobJobOpening.graducation_id = DreamjobListGraducation.id'),
+ 'limit' => 1
+ ),
+ 'DreamjobListCity' => array(
+ 'className' => 'DreamjobListCity',
+ 'foreignKey' => false,
+ 'conditions' => array('DreamjobJobOpening.city_id = DreamjobListCity.id'),
+ 'limit' => 1
+ ),
+ 'DreamjobListBranch' => array(
+ 'className' => 'DreamjobListBranch',
+ 'foreignKey' => false,
+ 'conditions' => array('DreamjobJobOpening.branch_id = DreamjobListBranch.id'),
+ 'limit' => 1
+ )
+
+ );
+ public $hasAndBelongsToMany = array(
+ 'PageText' =>
+ array(
+ 'className' => 'DreamjobPageText',
+ 'with' => 'DreamjobJobApplicationPage',
+ 'foreignKey' => 'application_id',
+ 'associationForeignKey' => 'page_id'
+ ),
+ 'PageImage' =>
+ array(
+ 'className' => 'DreamjobPageImage',
+ 'with' => 'DreamjobJobApplicationPage',
+ 'foreignKey' => 'application_id',
+ 'associationForeignKey' => 'page_id'
+ ),
+ 'Page' =>
+ array(
+ 'className' => 'DreamjobPageInh',
+ 'with' => 'DreamjobJobApplicationPage',
+ 'foreignKey' => 'application_id',
+ 'associationForeignKey' => 'page_id'
+ )
+ );
+
+ public $hasMany = array(
+ 'DreamjobJobMsg' => array(
+ 'className' => 'DreamjobJobMsg',
+ 'foreignKey' => 'application_id'
+ ),
+ 'DreamjobJobApplicationPage' => array(
+ 'className' => 'DreamjobJobApplicationPage',
+ 'foreignKey' => 'application_id'
+ ),
+ );
+}
diff --git a/app/Model/DreamjobJobApplicationPage.php b/app/Model/DreamjobJobApplicationPage.php
new file mode 100644
index 0000000..7fbcc88
--- /dev/null
+++ b/app/Model/DreamjobJobApplicationPage.php
@@ -0,0 +1,87 @@
+ array(
+ 'numeric' => array(
+ 'rule' => array('numeric'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'application_id' => array(
+ 'numeric' => array(
+ 'rule' => array('numeric'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'page_id' => array(
+ 'numeric' => array(
+ 'rule' => array('numeric'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ );
+
+ //The Associations below have been created with all possible keys, those that are not needed can be removed
+
+/**
+ * belongsTo associations
+ *
+ * @var array
+ */
+ public $belongsTo = array(
+ 'DreamjobJobApplication' => array(
+ 'className' => 'DreamjobJobApplication',
+ 'foreignKey' => 'application_id'
+ ),
+ 'DreamjobPage' => array(
+ 'className' => 'DreamjobPageInh',
+ 'foreignKey' => 'page_id'
+ ),
+ );
+}
diff --git a/app/Model/DreamjobJobFavority.php b/app/Model/DreamjobJobFavority.php
new file mode 100644
index 0000000..afd0d34
--- /dev/null
+++ b/app/Model/DreamjobJobFavority.php
@@ -0,0 +1,66 @@
+ array(
+ 'numeric' => array(
+ 'rule' => array('numeric'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ 'multiple' => array(
+ 'rule' => array('multiple'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'opening_id' => array(
+ 'numeric' => array(
+ 'rule' => array('numeric'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ 'multiple' => array(
+ 'rule' => array('multiple'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ );
+
+
+ public $belongsTo = array(
+ 'DreamjobWorker' => array(
+ 'className' => 'DreamjobWorker',
+ 'foreignKey' => 'worker_id'
+ ),
+ 'DreamjobJobOpening' => array(
+ 'className' => 'DreamjobJobOpening',
+ 'foreignKey' => 'opening_id'
+ )
+ );
+}
+
diff --git a/app/Model/DreamjobJobMsg.php b/app/Model/DreamjobJobMsg.php
new file mode 100644
index 0000000..c58c1e1
--- /dev/null
+++ b/app/Model/DreamjobJobMsg.php
@@ -0,0 +1,174 @@
+to($mail);
+ if ($fromcompany) {
+ $Email->subject('Du hast eine neue Nachricht bei dreamJOB');
+ $Email->template('job_application_msg_worker');
+ } else {
+ $Email->subject('Sie haben eine neue Nachricht auf dreamJOB');
+ $Email->template('job_application_msg_company');
+ }
+ $Email->attachments(array('dak.jpg' => WWW_ROOT . DS . 'mail' . DS . 'dak.jpg'));
+ $Email->viewVars(array('id' => $id, 'data' => $data));
+ return $Email->send();
+ }
+
+ public function sendMessage() {
+ $dataSource = $this->getDataSource();
+ $dataSource->begin();
+ $result = $this->save();
+ if ($result) {
+ $app = $this->DreamjobJobApplication->find('first', array('conditions' => array('DreamjobJobApplication.id' => $result["DreamjobJobMsg"]["application_id"])));
+
+ if ($result["DreamjobJobMsg"]['fromcompany'])
+ $result = self::sendMail($app['WorkerUser']['mail'], $result["DreamjobJobMsg"]['application_id'], array('User' => $app['WorkerUser'], 'AppUser' => $app['AppUserWorker']),true);
+ else
+ $result = self::sendMail($app['User']['mail'], $result["DreamjobJobMsg"]['application_id'], array('DreamjobCompany' => $app['DreamjobCompany']));
+ }
+ if ($result) {
+ $dataSource->commit();
+ return true;
+ } else {
+ $dataSource->rollback();
+ }
+ return false;
+ }
+
+ public $validate = array(
+ 'application_id' => array(
+ 'numeric' => array(
+ 'rule' => array('numeric'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'fromcompany' => array(
+ 'boolean' => array(
+ 'rule' => array('boolean'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'saw' => array(
+ 'boolean' => array(
+ 'rule' => array('boolean'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'text' => array(
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ );
+
+ //The Associations below have been created with all possible keys, those that are not needed can be removed
+
+ /**
+ * belongsTo associations
+ *
+ * @var array
+ *//*
+ public $belongsTo = array(
+ 'Application' => array(
+ 'className' => 'DreamjobJobApplication',
+ 'foreignKey' => 'application_id',
+ 'conditions' => '',
+ 'fields' => '',
+ 'order' => ''
+ )
+ ); */
+ public $hasOne = array(
+ 'DreamjobJobApplication' => array(
+ 'className' => 'DreamjobJobApplication',
+ 'foreignKey' => false,
+ 'conditions' => array('DreamjobJobApplication.id = DreamjobJobMsg.application_id'),
+ 'fields' => '',
+ 'order' => ''
+ ),
+ 'Opening' => array(
+ 'className' => 'DreamjobJobOpening',
+ 'foreignKey' => false,
+ 'conditions' => array('Opening.id = DreamjobJobApplication.opening_id'),
+ 'limit' => 1
+ ),
+ 'AppUserWorker' => array(
+ 'className' => 'AppUser',
+ 'foreignKey' => false,
+ 'conditions' => array('DreamjobJobApplication.worker_id = AppUserWorker.id'),
+ 'limit' => 1
+ ),
+ 'Worker' => array(
+ 'className' => 'User',
+ 'foreignKey' => false,
+ 'conditions' => array('DreamjobJobApplication.worker_id = AppUserWorker.id and Worker.id = AppUserWorker.user_id'),
+ 'limit' => 1
+ ),
+ 'AppUserCompany' => array(
+ 'className' => 'AppUser',
+ 'foreignKey' => false,
+ 'conditions' => array('Opening.company_id = AppUserCompany.id'),
+ 'limit' => 1
+ ),
+ 'Company' => array(
+ 'className' => 'User',
+ 'foreignKey' => false,
+ 'conditions' => array('Opening.company_id = AppUserCompany.id and Company.id = AppUserWorker.user_id'),
+ 'limit' => 1
+ ),
+ );
+
+}
diff --git a/app/Model/DreamjobJobOpening.php b/app/Model/DreamjobJobOpening.php
new file mode 100644
index 0000000..f374611
--- /dev/null
+++ b/app/Model/DreamjobJobOpening.php
@@ -0,0 +1,227 @@
+ array(
+ 'numeric' => array(
+ 'rule' => array('numeric'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ )
+ ),
+ 'street' => array(
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'postcode' => array(
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'title' => array(
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'company_id' => array(
+ 'numeric' => array(
+ 'rule' => array('numeric'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'branch_id' => array(
+ 'numeric' => array(
+ 'rule' => array('numeric'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'graducation_id' => array(
+ 'numeric' => array(
+ 'rule' => array('numeric'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'kindofjob_id' => array(
+ 'numeric' => array(
+ 'rule' => array('numeric'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'startdate' => array(
+ 'date' => array(
+ 'rule' => array('date'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'enddate' => array(
+ 'date' => array(
+ 'rule' => array('date'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'active' => array(
+ 'boolean' => array(
+ 'rule' => array('boolean'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'text' => array(
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ );
+
+ //The Associations below have been created with all possible keys, those that are not needed can be removed
+
+/**
+ * belongsTo associations
+ *
+ * @var array
+ */
+ public $belongsTo = array(
+ 'DreamjobCompany' => array(
+ 'className' => 'DreamjobCompany',
+ 'foreignKey' => 'company_id'
+ ),
+ 'DreamjobUser' => array(
+ 'className' => 'DreamjobUser',
+ 'foreignKey' => 'company_id'
+ ),
+ 'AppUser' => array(
+ 'className' => 'AppUser',
+ 'foreignKey' => 'company_id'
+ ),
+ 'DreamjobListGraducation' => array(
+ 'className' => 'DreamjobListGraducation',
+ 'foreignKey' => 'graducation_id',
+ 'conditions' => '',
+ 'fields' => '',
+ 'order' => ''
+ ),
+ 'DreamjobListKindofjob' => array(
+ 'className' => 'DreamjobListKindofjob',
+ 'foreignKey' => 'kindofjob_id',
+ 'conditions' => '',
+ 'fields' => '',
+ 'order' => ''
+ ),
+ 'DreamjobListBranch' => array(
+ 'className' => 'DreamjobListBranch',
+ 'foreignKey' => 'branch_id',
+ 'conditions' => '',
+ 'fields' => '',
+ 'order' => ''
+ ),
+ 'DreamjobListCity' => array(
+ 'className' => 'DreamjobListCity',
+ 'foreignKey' => 'city_id',
+ 'conditions' => '',
+ 'fields' => '',
+ 'order' => ''
+ )
+ );
+
+ public $hasOne = array(
+ 'User' => array(
+ 'className' => 'User',
+ 'foreignKey' => false,
+ 'conditions' => array('DreamjobJobOpening.company_id = AppUser.id and User.id = AppUser.user_id'),
+ 'limit' => 1
+ )
+ );
+
+ public $hasMany = array(
+ 'DreamjobJobApplication' => array(
+ 'className' => 'DreamjobJobApplication',
+ 'foreignKey' => 'opening_id'
+ ),
+ );
+}
diff --git a/app/Model/DreamjobListBranch.php b/app/Model/DreamjobListBranch.php
new file mode 100644
index 0000000..ef14939
--- /dev/null
+++ b/app/Model/DreamjobListBranch.php
@@ -0,0 +1,73 @@
+ array(
+ 'multiple' => array(
+ 'rule' => array('multiple'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ 'naturalNumber' => array(
+ 'rule' => array('naturalNumber'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'name' => array(
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ 'multiple' => array(
+ 'rule' => array('multiple'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ )
+ ),
+ );
+}
diff --git a/app/Model/DreamjobListCity.php b/app/Model/DreamjobListCity.php
new file mode 100644
index 0000000..977f4ba
--- /dev/null
+++ b/app/Model/DreamjobListCity.php
@@ -0,0 +1,74 @@
+ array(
+ 'multiple' => array(
+ 'rule' => array('multiple'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ 'naturalNumber' => array(
+ 'rule' => array('naturalNumber'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'name' => array(
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ 'multiple' => array(
+ 'rule' => array('multiple'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ )
+ ),
+ );
+}
diff --git a/app/Model/DreamjobListCountry.php b/app/Model/DreamjobListCountry.php
new file mode 100644
index 0000000..eeffe0d
--- /dev/null
+++ b/app/Model/DreamjobListCountry.php
@@ -0,0 +1,74 @@
+ array(
+ 'multiple' => array(
+ 'rule' => array('multiple'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ 'naturalNumber' => array(
+ 'rule' => array('naturalNumber'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'name' => array(
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ 'multiple' => array(
+ 'rule' => array('multiple'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ )
+ ),
+ );
+}
diff --git a/app/Model/DreamjobListCvCategory.php b/app/Model/DreamjobListCvCategory.php
new file mode 100644
index 0000000..1fabd5d
--- /dev/null
+++ b/app/Model/DreamjobListCvCategory.php
@@ -0,0 +1,98 @@
+ array(
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'enddate' => array(
+ 'boolean' => array(
+ 'rule' => array('boolean'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'startdate' => array(
+ 'boolean' => array(
+ 'rule' => array('boolean'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'place' => array(
+ 'boolean' => array(
+ 'rule' => array('boolean'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'place_str' => array(
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'title_str' => array(
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ );
+}
diff --git a/app/Model/DreamjobListGraducation.php b/app/Model/DreamjobListGraducation.php
new file mode 100644
index 0000000..8bf7df9
--- /dev/null
+++ b/app/Model/DreamjobListGraducation.php
@@ -0,0 +1,74 @@
+ array(
+ 'multiple' => array(
+ 'rule' => array('multiple'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ 'naturalNumber' => array(
+ 'rule' => array('naturalNumber'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'name' => array(
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ 'multiple' => array(
+ 'rule' => array('multiple'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ )
+ ),
+ );
+}
diff --git a/app/Model/DreamjobListJob.php b/app/Model/DreamjobListJob.php
new file mode 100644
index 0000000..9ff8120
--- /dev/null
+++ b/app/Model/DreamjobListJob.php
@@ -0,0 +1,74 @@
+ array(
+ 'multiple' => array(
+ 'rule' => array('multiple'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ 'naturalNumber' => array(
+ 'rule' => array('naturalNumber'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'name' => array(
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ 'multiple' => array(
+ 'rule' => array('multiple'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ )
+ ),
+ );
+}
diff --git a/app/Model/DreamjobListKindofjob.php b/app/Model/DreamjobListKindofjob.php
new file mode 100644
index 0000000..8f12a6e
--- /dev/null
+++ b/app/Model/DreamjobListKindofjob.php
@@ -0,0 +1,74 @@
+ array(
+ 'multiple' => array(
+ 'rule' => array('multiple'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ 'naturalNumber' => array(
+ 'rule' => array('naturalNumber'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'name' => array(
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ 'multiple' => array(
+ 'rule' => array('multiple'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ )
+ ),
+ );
+}
diff --git a/app/Model/DreamjobPageImage.php b/app/Model/DreamjobPageImage.php
new file mode 100644
index 0000000..b94e1c9
--- /dev/null
+++ b/app/Model/DreamjobPageImage.php
@@ -0,0 +1,190 @@
+ array(
+ 'numeric' => array(
+ 'rule' => array('numeric'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ 'multiple' => array(
+ 'rule' => array('multiple'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'image' => array(
+ // http://book.cakephp.org/2.0/en/models/data-validation.html#Validation::uploadError
+ 'uploadError' => array(
+ 'rule' => 'uploadError',
+ 'message' => 'Something went wrong with the file upload',
+ 'required' => FALSE,
+ 'allowEmpty' => TRUE,
+ ),
+ // http://book.cakephp.org/2.0/en/models/data-validation.html#Validation::mimeType
+ 'mimeType' => array(
+ 'rule' => array('mimeType', array('image/gif','image/png','image/jpg','image/jpeg')),
+ 'message' => 'Invalid file, only images allowed',
+ 'required' => FALSE,
+ 'allowEmpty' => TRUE,
+ ),
+ 'processUpload' => array(
+ 'rule' => 'processUpload',
+ 'message' => 'Something went wrong with the file upload',
+ 'required' => FALSE,
+ 'allowEmpty' => TRUE,
+ 'last' => TRUE,
+ )
+ )
+ );
+
+ //The Associations below have been created with all possible keys, those that are not needed can be removed
+ /**
+* Upload Directory relative to WWW_ROOT
+* @param string
+*/
+public $uploadDir = 'uploads';
+
+/**
+* Before Validation Callback
+* @param array $options
+* @return boolean
+*/
+public function beforeValidate($options = array()) {
+ // ignore empty file - causes issues with form validation when file is empty and optional
+ if (!empty($this->data[$this->alias]['image']['error']) && $this->data[$this->alias]['image']['error']==4 && $this->data[$this->alias]['image']['size']==0) {
+ unset($this->data[$this->alias]['image']);
+ }
+ return parent::beforeValidate($options);
+}
+
+/**
+ * Process the Upload
+ * @param array $check
+ * @return boolean
+ */
+public function processUpload($check=array()) {
+ // deal with uploaded file
+ if (!empty($check['image']['tmp_name'])) {
+
+ // check file is uploaded
+ if (!is_uploaded_file($check['image']['tmp_name'])) {
+ return FALSE;
+ }
+ $this->data[$this->alias]['image'] = "onUpload";
+ }
+ return TRUE;
+}
+
+public function delete($id = NULL, $cascade = false){
+ $dataSource = $this->getDataSource();
+ $dataSource->begin();
+
+ $result = parent::delete($id['DreamjobPageInh']['id'],$cascade);
+ if($result){
+ $result = $this->DreamjobPageInh->delete($id['DreamjobPageInh']['id'],$cascade);
+ }
+ if($result){
+ $filename = WWW_ROOT . $this->uploadDir . DS .$id['DreamjobPageImage']['image'];
+ chmod($filename,0755);
+ $result = unlink($filename);
+ }
+ if ($result) {
+ $dataSource->commit();
+ return true;
+ } else {
+ $dataSource->rollback();
+ }
+ return false;
+}
+public function saveAndUpload($data){
+ $dataSource = $this->getDataSource();
+ $dataSource->begin();
+ $result = $this->saveAssociated($data);
+ if($result){
+ $filename = $data["DreamjobPageInh"]['user_id'] . "_-page-_" . $this->id .".". pathinfo($data[$this->alias]['image']['name'], PATHINFO_EXTENSION);
+ $filename = WWW_ROOT . $this->uploadDir . DS . $filename;
+
+ if(file_exists($filename)){
+ chmod($filename,0755); //Change the file permissions if allowed
+ unlink($filename); //remove the file
+ }
+
+ if (!move_uploaded_file($data[$this->alias]['image']['tmp_name'], $filename)) {
+ $result = false;
+ } else {
+ $result = $this->saveField('image', str_replace(DS, "/", str_replace(WWW_ROOT.$this->uploadDir.DS, "", $filename) ));
+ }
+ }
+
+ if ($result) {
+ $dataSource->commit();
+ return true;
+ } else {
+ $dataSource->rollback();
+ }
+ return false;
+}
+/**
+ * belongsTo associations
+ *
+ * @var array
+ */
+ public $belongsTo = array(
+ 'DreamjobPageInh' => array(
+ 'className' => 'DreamjobPageInh',
+ 'foreignKey' => 'page_ptr_id',
+ 'conditions' => '',
+ 'fields' => '',
+ 'order' => ''
+ )
+ );
+}
diff --git a/app/Model/DreamjobPageInh.php b/app/Model/DreamjobPageInh.php
new file mode 100644
index 0000000..0b55428
--- /dev/null
+++ b/app/Model/DreamjobPageInh.php
@@ -0,0 +1,94 @@
+ array(
+ 'naturalNumber' => array(
+ 'rule' => array('naturalNumber'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ 'multiple' => array(
+ 'rule' => array('multiple'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'user_id' => array(
+ 'naturalNumber' => array(
+ 'rule' => array('naturalNumber'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'title' => array(
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'position' => array(
+ 'numeric' => array(
+ 'rule' => array('numeric'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ );
+}
diff --git a/app/Model/DreamjobPageText.php b/app/Model/DreamjobPageText.php
new file mode 100644
index 0000000..f15a9ab
--- /dev/null
+++ b/app/Model/DreamjobPageText.php
@@ -0,0 +1,97 @@
+getDataSource();
+ $dataSource->begin();
+
+ $result = parent::delete($id,$cascade);
+ if($result){
+ $result = $this->DreamjobPageInh->delete($id,$cascade);
+ }
+ if ($result) {
+ $dataSource->commit();
+ return true;
+ } else {
+ $dataSource->rollback();
+ }
+ return false;
+ }
+ public $validate = array(
+ 'page_ptr_id' => array(
+ 'numeric' => array(
+ 'rule' => array('numeric'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ 'multiple' => array(
+ 'rule' => array('multiple'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+// 'text' => array(),
+ );
+
+ //The Associations below have been created with all possible keys, those that are not needed can be removed
+
+/**
+ * belongsTo associations
+ *
+ * @var array
+ */
+ public $belongsTo = array(
+ 'DreamjobPageInh' => array(
+ 'className' => 'DreamjobPageInh',
+ 'foreignKey' => 'page_ptr_id',
+ 'conditions' => '',
+ 'fields' => '',
+ 'order' => ''
+ )
+ );
+}
diff --git a/app/Model/DreamjobService.php b/app/Model/DreamjobService.php
new file mode 100644
index 0000000..107a148
--- /dev/null
+++ b/app/Model/DreamjobService.php
@@ -0,0 +1,75 @@
+ array(
+ 'multiple' => array(
+ 'rule' => array('multiple'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ 'naturalNumber' => array(
+ 'rule' => array('naturalNumber'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'title' => array(
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ )
+ ),
+ );
+ public $belongsTo = array(
+ 'Category' => array(
+ 'className' => 'DreamjobServiceCategory',
+ 'foreignKey' => 'category',
+ 'conditions' => '',
+ 'fields' => '',
+ 'order' => ''
+ ),
+ );
+}
diff --git a/app/Model/DreamjobServiceCategory.php b/app/Model/DreamjobServiceCategory.php
new file mode 100644
index 0000000..9d27c8f
--- /dev/null
+++ b/app/Model/DreamjobServiceCategory.php
@@ -0,0 +1,81 @@
+ array(
+ 'multiple' => array(
+ 'rule' => array('multiple'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ 'naturalNumber' => array(
+ 'rule' => array('naturalNumber'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'title' => array(
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ 'multiple' => array(
+ 'rule' => array('multiple'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ )
+ ),
+ );
+ public $hasMany = array(
+ 'Service' => array(
+ 'className' => 'DreamjobService',
+ 'foreignKey' => 'category',
+ 'dependent' => true
+ )
+ );
+}
diff --git a/app/Model/DreamjobUser.php b/app/Model/DreamjobUser.php
new file mode 100644
index 0000000..8b05cfd
--- /dev/null
+++ b/app/Model/DreamjobUser.php
@@ -0,0 +1,106 @@
+ array(
+ 'numeric' => array(
+ 'rule' => array('numeric'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ 'multiple' => array(
+ 'rule' => array('multiple'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'street' => array(
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'postcode' => array(
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ );
+
+
+ public $hasOne = array(
+ 'AppUser' => array(
+ 'className' => 'AppUser',
+ 'foreignKey' => 'id'
+ ),
+ 'User' => array(
+ 'className' => 'User',
+ 'foreignKey' => false,
+ 'conditions' => array('DreamjobWorker.djaccount_ptr_id=AppUser.id and User.id = AppUser.user_id'),
+ 'limit' => 1
+ ),
+ 'DreamjobListCity' => array(
+ 'className' => 'DreamjobListCity',
+ 'foreignKey' => 'city_id',
+ 'conditions' => '',
+ 'fields' => '',
+ 'order' => ''
+ )
+ );
+}
diff --git a/app/Model/DreamjobWorker.php b/app/Model/DreamjobWorker.php
new file mode 100644
index 0000000..435497a
--- /dev/null
+++ b/app/Model/DreamjobWorker.php
@@ -0,0 +1,329 @@
+to($data['User']['mail']);
+ $Email->subject('Willkommen bei dreamJOB');
+ $Email->template('registration_worker');
+ $key = substr($data['User']['code'],2);
+ $Email->viewVars(array('data'=>$data,'key'=>$key));
+ $Email->attachments(array('dak.jpg' => WWW_ROOT.DS.'mail'.DS.'dak.jpg'));
+ return $Email->send();
+ }
+
+
+ public function registration($data){
+ $dataSource = $this->getDataSource();
+
+ $dataSource->begin();
+
+ if($data['AppUser']['mannerofaddress_id'])
+ $data['User']['mannerofaddress_id'] = $data['AppUser']['mannerofaddress_id'];
+ else
+ $data['AppUser']['mannerofaddress_id'] = $data['User']['mannerofaddress_id'];
+
+ if($data['AppUser']['first_name'])
+ $data['User']['first_name'] = $data['AppUser']['first_name'];
+ else
+ $data['AppUser']['first_name'] = $data['User']['first_name'];
+
+ if($data['AppUser']['last_name'])
+ $data['User']['last_name'] = $data['AppUser']['last_name'];
+ else
+ $data['AppUser']['last_name'] = $data['User']['last_name'];
+
+ if($data['AppUser']['bday'])
+ $data['User']['bday'] = $data['AppUser']['bday'];
+ else
+ $data['AppUser']['bday'] = $data['User']['bday'];
+
+
+ $data['User']['date_joined'] = date("Y-m-d H:i:s");
+ $this->User->create(array('User'=>$data['User']));
+ $result=$this->User->save();
+ if($result){
+ $data['User']['id']=$this->User->id;
+ $data['AppUser']['user_id']=$this->User->id;
+ $this->AppUser->create(array('AppUser'=>$data['AppUser']));
+ $result=$this->AppUser->save();
+ }
+
+ if($result){
+ $data['AppUser']['id']=$this->AppUser->id;
+ $data['DreamjobUser']['micapplication_ptr_id']=$this->AppUser->id;
+ $this->DreamjobUser->create(array('DreamjobUser'=>$data['DreamjobUser']));
+ $result=$this->DreamjobUser->save();
+ }
+
+ if($result){
+ $data['DreamjobWorker']['djaccount_ptr_id']=$this->AppUser->id;
+ $this->create(array('DreamjobWorker'=>$data['DreamjobWorker']));
+ $result=$this->save();
+ }
+ if($result)
+ $result = self::sendMail($data);
+
+ if ($result) {
+ $dataSource->commit();
+ return true;
+ } else {
+ $dataSource->rollback();
+ }
+ return false;
+ }
+
+
+ public function saveSettings($data){
+ $dataSource = $this->getDataSource();
+ $dataSource->begin();
+
+ $this->id = $data['AppUser']['id'];
+ $this->User->id = $data['User']['id'];
+ $this->AppUser->id = $data['AppUser']['id'];
+ $this->DreamjobUser->id = $data['AppUser']['id'];
+
+
+ $result = $this->User->saveField('password',$data['User']['password']);
+
+ if($result)
+ $result = $this->AppUser->saveField('nickname',$data['AppUser']['nickname']);
+ if($result)
+ $result = $this->AppUser->saveField('first_name',$data['AppUser']['first_name']);
+ if($result)
+ $result = $this->AppUser->saveField('last_name',$data['AppUser']['last_name']);
+ if($result)
+ $result = $this->AppUser->saveField('bday',$data['AppUser']['bday']);
+ if($result)
+ $result = $this->AppUser->saveField('mannerofaddress_id',$data['AppUser']['mannerofaddress_id']);
+ if($result)
+ $result = $this->DreamjobUser->saveField('street',$data['DreamjobUser']['street']);
+ if($result)
+ $result = $this->DreamjobUser->saveField('city_id',$data['DreamjobUser']['city_id']);
+ if($result)
+ $result = $this->DreamjobUser->saveField('postcode',$data['DreamjobUser']['postcode']);
+
+ if($result)
+ $result = $this->saveField('iam',$data['DreamjobWorker']['iam']);
+ if($result)
+ $result = $this->saveField('country',$data['DreamjobWorker']['country']);
+ if($result)
+ $result = $this->saveField('leadership_ability',$data['DreamjobWorker']['leadership_ability']);
+ if($result)
+ $result = $this->saveField('searchhidden',$data['DreamjobWorker']['searchhidden']);
+ if($result)
+ $result = $this->saveField('advertising',$data['DreamjobWorker']['advertising']);
+ if($result)
+ $result = $this->saveField('workexperience',$data['DreamjobWorker']['workexperience']);
+ if($result)
+ $result = $this->saveField('graducation_id',$data['DreamjobWorker']['graducation_id']);
+
+ if($result)
+ $result = $this->AppUser->saveField('take_systemwide',$data['AppUser']['take_systemwide']);
+
+
+ if ($result) {
+ $dataSource->commit();
+ return true;
+ } else {
+ $dataSource->rollback();
+ }
+ return false;
+ }
+/**
+ * Validation rules
+ *
+ * @var array
+ */
+ public $validate = array(
+ 'djaccount_ptr_id' => array(
+ 'numeric' => array(
+ 'rule' => array('numeric'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ 'multiple' => array(
+ 'rule' => array('multiple'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'searchhidden' => array(
+ 'boolean' => array(
+ 'rule' => array('boolean'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'advertising' => array(
+ 'boolean' => array(
+ 'rule' => array('boolean'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'leadership_ability' => array(
+ 'boolean' => array(
+ 'rule' => array('boolean'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'country' => array(
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'iam' => array(
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ );
+
+ public $hasAndBelongsToMany = array(
+ 'User' =>array(
+ 'className' => 'User',
+ 'with' => 'AppUser',
+ 'foreignKey' => 'id',
+ 'associationForeignKey' => 'user_id',
+ 'limit' => 1
+ ),
+ 'Favority' => array(
+ 'className' => 'DreamjobJobOpening',
+ 'with' => 'DreamjobJobFavority',
+ //'joinTable' => 'mic_dj_job_opening_worker',
+ 'foreignKey' => 'worker_id',
+ 'associationForeignKey' => 'opening_id'
+ )
+ );
+ public $belongsTo = array(
+ 'DreamjobListGraducation' => array(
+ 'className' => 'DreamjobListGraducation',
+ 'foreignKey' => 'graducation_id'
+ )
+ );
+ public $hasOne = array(
+ 'DreamjobUser' => array(
+ 'className' => 'DreamjobUser',
+ 'foreignKey' => 'micapplication_ptr_id'
+ ),
+ 'AppUser' => array(
+ 'className' => 'AppUser',
+ 'foreignKey' => 'id'
+ ),
+ 'User' => array(
+ 'className' => 'User',
+ 'foreignKey' => false,
+ 'conditions' => array('DreamjobWorker.djaccount_ptr_id=AppUser.id and User.id = AppUser.user_id'),
+ 'limit' => 1
+ ),
+ 'DreamjobListCity' => array(
+ 'className' => 'DreamjobListCity',
+ 'foreignKey' => false,
+ 'conditions' => array('DreamjobListCity.id=DreamjobUser.city_id'),
+ 'limit' => 1
+ ),
+ 'Mannerofaddress' => array(
+ 'className' => 'Mannerofaddress',
+ 'foreignKey' => false,
+ 'conditions' => array('DreamjobWorker.djaccount_ptr_id=AppUser.id and Mannerofaddress.id=AppUser.mannerofaddress_id'),
+ 'limit' => 1
+ ),
+ );
+ public $hasMany = array(
+ 'DreamjobPageInh' => array(
+ 'className' => 'DreamjobPageInh',
+ 'foreignKey' => 'user_id',
+ 'order' => "DreamjobPageInh.position"
+ ),
+
+
+
+ 'DreamjobJobApplication' => array(
+ 'className' => 'DreamjobJobApplication',
+ 'foreignKey' => 'worker_id'
+ ),
+ 'DreamjobISearch' => array(
+ 'className' => 'DreamjobISearch',
+ 'foreignKey' => 'worker_id'
+ ),
+ 'DreamjobCvEntry' => array(
+ 'className' => 'DreamjobCvEntry',
+ 'foreignKey' => 'worker_id',
+ 'order'=>'category_id'
+ )
+ );
+}
diff --git a/app/Model/Mannerofaddress.php b/app/Model/Mannerofaddress.php
new file mode 100644
index 0000000..76cc8ec
--- /dev/null
+++ b/app/Model/Mannerofaddress.php
@@ -0,0 +1,73 @@
+ array(
+ 'naturalNumber' => array(
+ 'rule' => array('naturalNumber'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ 'multiple' => array(
+ 'rule' => array('multiple'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'name' => array(
+ 'multiple' => array(
+ 'rule' => array('multiple'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ );
+}
diff --git a/app/Model/User.php b/app/Model/User.php
new file mode 100644
index 0000000..e5526e9
--- /dev/null
+++ b/app/Model/User.php
@@ -0,0 +1,241 @@
+to($data['User']['mail']);
+ $Email->subject('Profillöschung');
+ $Email->template('delete_order');
+ $key = substr($data['User']['code'],2);
+ $Email->viewVars(array('data'=>$data,'key'=>$key));
+ $Email->attachments(array('dak.jpg' => WWW_ROOT.DS.'mail'.DS.'dak.jpg'));
+ return $Email->send();
+ }
+ public static function sendPasswortResetMail($data){
+ $Email = new CakeEmail('dreamjobMain');
+ $Email->to($data['User']['mail']);
+ $Email->subject('Passwort zurücksetzen');
+ $Email->template('password_reset');
+ $key = substr($data['User']['code'],2);
+ $Email->viewVars(array('data'=>$data,'key'=>$key));
+ $Email->attachments(array('dak.jpg' => WWW_ROOT.DS.'mail'.DS.'dak.jpg'));
+ return $Email->send();
+ }
+ public function sendDelete($data){
+ $dataSource = $this->getDataSource();
+ $dataSource->begin();
+ $this->id = $data['User']['id'];
+ $result = $this->saveField('code',$data['User']['code']);
+ if($result)
+ $result = $this->saveField('is_active',false);
+ if($result)
+ $result=self::sendDeleteMail($data);
+
+ if($result) {
+ $dataSource->commit();
+ return true;
+ } else {
+ $dataSource->rollback();
+ }
+ return false;
+ }
+ public function sendPasswortReset($data){
+ $dataSource = $this->getDataSource();
+ $dataSource->begin();
+ $result = $this->findByMail($data['User']['mail']);
+ if($result)
+ $this->id = $result['User']['id'];
+ if($result)
+ $result = $this->saveField('code',$data['User']['code']);
+ if($result)
+ $result=self::sendPasswortResetMail($data);
+
+ if($result) {
+ $dataSource->commit();
+ return true;
+ } else {
+ $dataSource->rollback();
+ }
+ return false;
+ }
+ public function replace_password($data,$password){
+ $dataSource = $this->getDataSource();
+ $dataSource->begin();
+ $this->id = $data['User']['id'];
+ $result = $this->saveField('password',$password);
+ if($result)
+ $result = $this->saveField('code','');
+
+ if($result) {
+ $dataSource->commit();
+ return true;
+ } else {
+ $dataSource->rollback();
+ }
+ return false;
+ }
+ public function activeLinkUser($mail,$key){
+ $dataSource = $this->getDataSource();
+
+ $dataSource->begin();
+ $data = $this->find('first',array('conditions' => array(
+ 'mail' => $mail,
+ 'code'=> array('a:'.$key,'d:'.$key)
+ )));
+ $result = false;
+ if(!empty($data) and count($data)>0){
+ $this->id = $data['User']['id'];
+ $result = $this->saveField('code','');
+ if($result)
+ $result = $this->saveField('is_active',true);
+ }
+ if($result) {
+ $dataSource->commit();
+ return true;
+ } else {
+ $dataSource->rollback();
+ }
+ return false;
+ }
+ public $validate = array(
+ 'id' => array(
+ 'multiple' => array(
+ 'rule' => array('multiple'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ 'naturalNumber' => array(
+ 'rule' => array('naturalNumber'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'is_active' => array(
+ 'boolean' => array(
+ 'rule' => array('boolean'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'is_superuser' => array(
+ 'boolean' => array(
+ 'rule' => array('boolean'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'last_login' => array(
+ 'datetime' => array(
+ 'rule' => array('datetime'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'date_joined' => array(
+ 'datetime' => array(
+ 'rule' => array('datetime'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'password' => array(
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ 'mail' => array(
+ 'email' => array(
+ 'rule' => array('email'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ /*
+ * Legend: a=aktivierungscode, d=deaktivier zur Löschund, f=password vergessen
+ */
+ 'code' => array(
+ 'notEmpty' => array(
+ 'rule' => array('notEmpty'),
+ //'message' => 'Your custom message here',
+ //'allowEmpty' => false,
+ //'required' => false,
+ //'last' => false, // Stop validation after this rule
+ //'on' => 'create', // Limit validation to 'create' or 'update' operations
+ ),
+ ),
+ );
+
+ //The Associations below have been created with all possible keys, those that are not needed can be removed
+
+/**
+ * belongsTo associations
+ *
+ * @var array
+ */
+ public $hasMany = array(
+ 'AppUser' => array(
+ 'className' => 'AppUser',
+ 'foreignKey' => 'user_id',
+ 'dependent' => true
+ )
+ );
+}
diff --git a/app/Plugin/empty b/app/Plugin/empty
new file mode 100644
index 0000000..e69de29
diff --git a/app/Test/Case/Controller/Component/empty b/app/Test/Case/Controller/Component/empty
new file mode 100644
index 0000000..e69de29
diff --git a/app/Test/Case/Model/Behavior/empty b/app/Test/Case/Model/Behavior/empty
new file mode 100644
index 0000000..e69de29
diff --git a/app/Test/Case/View/Helper/empty b/app/Test/Case/View/Helper/empty
new file mode 100644
index 0000000..e69de29
diff --git a/app/Test/Fixture/empty b/app/Test/Fixture/empty
new file mode 100644
index 0000000..e69de29
diff --git a/app/Vendor/empty b/app/Vendor/empty
new file mode 100644
index 0000000..e69de29
diff --git a/app/Vendor/tcpdf/CHANGELOG.TXT b/app/Vendor/tcpdf/CHANGELOG.TXT
new file mode 100644
index 0000000..50bbfea
--- /dev/null
+++ b/app/Vendor/tcpdf/CHANGELOG.TXT
@@ -0,0 +1,2758 @@
+6.0.067 (2014-04-21)
+ - startLayer() method signature was changed to include a new "lock" parameter.
+
+6.0.066 (2014-04-20)
+ - Bug #908 "Linebreak is not considered when getting length of the next string" was fixed.
+
+6.0.065 (2014-04-10)
+ - Bug #905 "RGB percentage color bug in convertHTMLColorToDec()" was fixed.
+
+6.0.064 (2014-04-07)
+ - Header and Footer fonts are now set by default.
+ - Bug #904 "PDF corrupted" was fixed.
+
+6.0.063 (2014-04-03)
+ - Method TCPDF_IMAGES::_parsepng() was fixed to support transparency in Indexed images.
+
+6.0.062 (2014-03-02)
+ - The method startLayer() now accepts the NULL value for the $print parameter to not set the print layer option.
+
+6.0.061 (2014-02-18)
+ - Bug #893 "Parsing error on streamed xref for secured pdf" was fixed.
+
+6.0.060 (2014-02-16)
+ - Bug #891 "Error on parsing hexa fields" was fixed.
+ - Bug #892 "Parsing pdf with trailing space at start" was fixed.
+
+6.0.059 (2014-02-03)
+ - SVG 'use' support was imporved.
+
+6.0.058 (2014-01-31)
+ - Bug #886 "Bugs with SVG using and