This commit is contained in:
Martin Müller 2014-05-01 10:57:19 +02:00
parent ed110f1f41
commit f6ce16284a
2 changed files with 5 additions and 1 deletions

View File

@ -1103,6 +1103,10 @@ msgstr ""
msgid "Debug setting does not allow access to this url."
msgstr ""
#: View/User/setings_imageUpload.ctp
msgid "dreamjob.avatar"
msgstr ""
#
# Generierte Fehlermeldungen eigenarbeit!
#

View File

@ -8,7 +8,7 @@
<?php
$default_Form['type']='file';
echo $this->Form->create('AppUser',$default_Form);
echo $this->Form->input('AppUser.avatar',array('type'=>'file'));
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'));?>