From d7211b73ae2977093f01e96dd9297a6e7a94e034 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20M=C3=BCller?=
Date: Sun, 23 Feb 2014 10:59:00 +0100
Subject: [PATCH] Serverupload
---
app/Controller/Component/MiconwareSessionComponent.php | 10 +++++++++-
app/View/Home/impressum.ctp | 2 +-
app/View/Job/opening.ctp | 6 ++++++
3 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/app/Controller/Component/MiconwareSessionComponent.php b/app/Controller/Component/MiconwareSessionComponent.php
index b905d21..ef62e6f 100755
--- a/app/Controller/Component/MiconwareSessionComponent.php
+++ b/app/Controller/Component/MiconwareSessionComponent.php
@@ -20,7 +20,7 @@ class MiconwareSessionComponent extends Component {
}
$controller->set("isStaff",$this->isStaff());
$controller->set("MEDIA_URL","http://dev.dreamjob.cc/media/");
- $controller->set('default',array(
+ $controller->set('default_sForm',array(
'inputDefaults' => array(
'div' => array('class' => 'control-group'),
'label' => array('class' => 'control-label'),
@@ -28,6 +28,14 @@ class MiconwareSessionComponent extends Component {
'after' => '',
'class' => ''))
);
+ $controller->set('default_Form',array(
+ 'inputDefaults' => array(
+ 'div' => array('class' => 'form-group'),
+ 'label' => array('class' => 'col-lg-3 control-label'),
+ 'between' => '',
+ 'after' => '
',
+ 'class' => 'form-control '))
+ );
}
public function refreshCache(){
if($this->isLoggedin()){
diff --git a/app/View/Home/impressum.ctp b/app/View/Home/impressum.ctp
index 2dc2877..3c96e9a 100755
--- a/app/View/Home/impressum.ctp
+++ b/app/View/Home/impressum.ctp
@@ -10,7 +10,7 @@
ONWARE
Sebastian Imberg, Augusto Capece, Martin Müller GbR
-Hohentorsheerstraße 8
+Huder Straße 2
28199 Bremen
Inhaber:
Sebastian Imberg, Augusto Capece, Martin Müller
diff --git a/app/View/Job/opening.ctp b/app/View/Job/opening.ctp
index 6f4474b..21fbbb3 100644
--- a/app/View/Job/opening.ctp
+++ b/app/View/Job/opening.ctp
@@ -3,6 +3,7 @@
*
*/
$fav=false;
+ if(isset($WORKER['Favority']))
foreach($WORKER['Favority'] as $val){
if($val['id'] == $opening['DreamjobJobOpening']['id'])
$fav=true;
@@ -57,4 +58,9 @@
=$opening['DreamjobJobOpening']['text'];?>
+
+ Html->link(__('dreamjob.applicate'),array('controller'=>'job', 'action'=>'openingGet', 'id'=> $opening['DreamjobJobOpening']['id']),array("class" => "btn btn-default"));
+ ?>
+