element("personal_settings");?> form->create('User',array('url'=>'/users/profile','onsubmit'=>'return submitProfile()','enctype'=>'multipart/form-data','class'=>'form-horizontal')); ?>
Name:
Short Name:
Email:
Time Zone:
Profile Image:
Format->pub_file_exists(DIR_USER_PHOTOS_S3_FOLDER, trim($userdata['User']['photo']))) { $user_img_exists = 1; } } elseif($this->Format->imageExists(DIR_USER_PHOTOS,trim($userdata['User']['photo']))){ $user_img_exists = 1; } if($user_img_exists) { ?>
Format->generateTemporaryURL(DIR_USER_PHOTOS_S3 . $userdata['User']['photo']); } else { $fileurl = HTTP_ROOT.'files/photos/'.$userdata['User']['photo']; } ?>
Form->hidden('photo', array('class' => 'text_field', 'id' => 'imgName1', 'name' => 'data[User][photo]')); ?> Form->hidden('exst_photo', array('value' => $userdata['User']['photo'], 'class' => 'text_field', 'name' => 'data[User][exst_photo]')); ?>
Form->input('',array('label'=>FALSE,'name'=>'data[User][isemail]','type'=>'checkbox','style'=>'margin-top:- 10px;margin-left:120px;margin-right:10px;','div'=>FALSE,'checked'=>($userdata['User']['isemail'])?true:false));?>
Keep me upto date with new features
Update */ ?> or Cancel
Form->end(); ?>