Serverupload

This commit is contained in:
Martin Müller 2014-02-23 10:59:00 +01:00
parent d2ce8d11ee
commit d7211b73ae
3 changed files with 16 additions and 2 deletions

View File

@ -20,7 +20,7 @@ class MiconwareSessionComponent extends Component {
} }
$controller->set("isStaff",$this->isStaff()); $controller->set("isStaff",$this->isStaff());
$controller->set("MEDIA_URL","http://dev.dreamjob.cc/media/"); $controller->set("MEDIA_URL","http://dev.dreamjob.cc/media/");
$controller->set('default',array( $controller->set('default_sForm',array(
'inputDefaults' => array( 'inputDefaults' => array(
'div' => array('class' => 'control-group'), 'div' => array('class' => 'control-group'),
'label' => array('class' => 'control-label'), 'label' => array('class' => 'control-label'),
@ -28,6 +28,14 @@ class MiconwareSessionComponent extends Component {
'after' => '</div>', 'after' => '</div>',
'class' => '')) 'class' => ''))
); );
$controller->set('default_Form',array(
'inputDefaults' => array(
'div' => array('class' => 'form-group'),
'label' => array('class' => 'col-lg-3 control-label'),
'between' => '<div class="col-lg-9">',
'after' => '</div>',
'class' => 'form-control '))
);
} }
public function refreshCache(){ public function refreshCache(){
if($this->isLoggedin()){ if($this->isLoggedin()){

View File

@ -10,7 +10,7 @@
<strong><em><span style="font-size: 16.0pt; font-family: 'Times New Roman','serif';">ONWARE</span></em></strong> <strong><em><span style="font-size: 16.0pt; font-family: 'Times New Roman','serif';">ONWARE</span></em></strong>
</p> </p>
<p>Sebastian Imberg, Augusto Capece, Martin M&uuml;ller GbR</p> <p>Sebastian Imberg, Augusto Capece, Martin M&uuml;ller GbR</p>
<p>Hohentorsheerstra&szlig;e 8</p> <p>Huder Stra&szlig;e 2</p>
<p>28199 Bremen</p> <p>28199 Bremen</p>
<p>Inhaber:</p> <p>Inhaber:</p>
<p>Sebastian Imberg, Augusto Capece, Martin M&uuml;ller</p> <p>Sebastian Imberg, Augusto Capece, Martin M&uuml;ller</p>

View File

@ -3,6 +3,7 @@
* *
*/ */
$fav=false; $fav=false;
if(isset($WORKER['Favority']))
foreach($WORKER['Favority'] as $val){ foreach($WORKER['Favority'] as $val){
if($val['id'] == $opening['DreamjobJobOpening']['id']) if($val['id'] == $opening['DreamjobJobOpening']['id'])
$fav=true; $fav=true;
@ -57,4 +58,9 @@
<div> <div>
<?=$opening['DreamjobJobOpening']['text'];?> <?=$opening['DreamjobJobOpening']['text'];?>
</div> </div>
<div style="text-align:right;">
<?php
echo $this->Html->link(__('dreamjob.applicate'),array('controller'=>'job', 'action'=>'openingGet', 'id'=> $opening['DreamjobJobOpening']['id']),array("class" => "btn btn-default"));
?>
</div>
</div> </div>