dreamjob/app/View/User/settings_imageUpload.ctp

21 lines
611 B
PHP

<?php
/*
*
*/
?>
<div class="box">
<h1><?=__('dreamjob.image.edit');?></h1>
<?php
$default_Form['type']='file';
echo $this->Form->create('AppUser',$default_Form);
echo $this->Form->input('AppUser.avatar',array('type'=>'file','label'=>array('text'=>__("dreamjob.avatar"),"class"=>$default_Form['inputDefaults']['label']['class']));
?>
<div class="buttonrow">
<?=$this->Form->button('<span class="glyphicon glyphicon-floppy-disk"></span> '.__('dreamjob.settings.save'),array('div' => false,'class'=>"btn btn-primary ",'type' => 'submit'));?>
</div>
<?php
echo $this->Form->end();
?>
</div>