Passport Photos
image("placeholder.png", array("alt" => "ProfileImage")); ?>
'. __("Click to change Password",true).'';?>
create('User', array( 'action' =>'updatePass' ));?>
submit(__('Change Password', true), array('url' => array('controller' => 'users', 'action' => 'updatePass'),
'update' => 'storage',
'complete' => '$("#UserUpdatePassForm input[type=password]").val(""); '));
$form->end();?>
Cancel
timeAgoInWords($user['User']['last_login']); ?>
timeAgoInWords($user['User']['birthdate']); ?>
:
element('my_apps' , array('applications' => $applications, 'formms' => $formms));
if($user['User']['id'] == $activeUser['User']['id']){
echo $ajax->editor('email', '/updateItem/'.$user['User']['id'].'/email', array(
'indicator' => 'Saving...',
'cancel' => __('cancel', true),
'submit' => __('save', true),
"onblur" => 'cancel',
'tooltip' => __('Click to edit...', true),
));
echo $ajax->editor('first_name', '/updateItem/'.$user['User']['id'].'/first_name', array(
'indicator' => 'Saving...',
'cancel' => __('cancel', true),
'submit' => __('save', true),
"onblur" => 'cancel',
'tooltip' => __('Click to edit...', true),
));
echo $ajax->editor('middle_name', '/updateItem/'.$user['User']['id'].'/middle_name', array(
'indicator' => 'Saving...',
'cancel' => __('cancel', true),
'submit' => __('save', true),
"onblur" => 'cancel',
'tooltip' => __('Click to edit...', true),
));
echo $ajax->editor('last_name', '/updateItem/'.$user['User']['id'].'/last_name', array(
'indicator' => 'Saving...',
'cancel' => __('cancel', true),
'submit' => __('save', true),
"onblur" => 'cancel',
'tooltip' => __('Click to edit...', true),
));
echo $ajax->editor('nickname', '/updateItem/'.$user['User']['id'].'/nickname', array(
'indicator' => 'Saving...',
'cancel' => __('cancel', true),
'submit' => __('save', true),
"onblur" => 'cancel',
'tooltip' => __('Click to edit...', true),
));
echo $ajax->editor('gender', '/updateItem/'.$user['User']['id'].'/gender', array(
'indicator' => 'Saving...',
'data' => "{'0':'".__('Select One',true)."','1':'".__('Male',true)."','2':'".__('Female',true)."'}",
'type' => 'select',
'cancel' => __('cancel', true),
'submit' => __('save', true),
"onblur" => 'cancel',
'tooltip' => __('Click to edit...', true),
));
echo $ajax->editor('birth_city', '/updateItem/'.$user['User']['id'].'/birth_city', array(
'indicator' => 'Saving...',
'cancel' => __('cancel', true),
'submit' => __('save', true),
"onblur" => 'cancel',
'tooltip' => __('Click to edit...', true),
));
echo $ajax->editor('birth_country', '/updateItem/'.$user['User']['id'].'/birth_country', array(
'indicator' => 'Saving...',
'data' => $countries->asJson(),
'type' => 'select',
'cancel' => __('cancel', true),
'submit' => __('save', true),
"onblur" => 'cancel',
'tooltip' => __('Click to edit...', true),
));
echo $ajax->editor('citizenship', '/updateItem/'.$user['User']['id'].'/citizenship', array(
'indicator' => 'Saving...',
'data' => $countries->asJson(),
'type' => 'select',
'cancel' => __('cancel', true),
'submit' => __('save', true),
"onblur" => 'cancel',
'tooltip' => __('Click to edit...', true),
));
echo $ajax->editor('residence', '/updateItem/'.$user['User']['id'].'/residence', array(
'indicator' => 'Saving...',
'data' => $countries->asJson(),
'type' => 'select',
'cancel' => __('cancel', true),
'submit' => __('save', true),
"onblur" => 'cancel',
'tooltip' => __('Click to edit...', true),
));
echo $ajax->editor('street_1', '/userAddress/'.$user['User']['id'].'/street_1', array(
'indicator' => 'Saving...',
'cancel' => __('cancel', true),
'submit' => __('save', true),
"onblur" => 'cancel',
'tooltip' => __('Click to edit...', true),
));
echo $ajax->editor('street_2', '/userAddress/'.$user['User']['id'].'/street_2', array(
'indicator' => 'Saving...',
'cancel' => __('cancel', true),
'submit' => __('save', true),
"onblur" => 'cancel',
'tooltip' => __('Click to edit...', true),
));
echo $ajax->editor('city', '/userAddress/'.$user['User']['id'].'/city', array(
'indicator' => 'Saving...',
'cancel' => __('cancel', true),
'submit' => __('save', true),
"onblur" => 'cancel',
'tooltip' => __('Click to edit...', true),
));
echo $ajax->editor('state', '/userAddress/'.$user['User']['id'].'/state', array(
'indicator' => 'Saving...',
'cancel' => __('cancel', true),
'submit' => __('save', true),
"onblur" => 'cancel',
'tooltip' => __('Click to edit...', true),
));
echo $ajax->editor('country', '/userAddress/'.$user['User']['id'].'/country', array(
'indicator' => 'Saving...',
'data' => $countries->asJson(),
'type' => 'select',
'cancel' => __('cancel', true),
'submit' => __('save', true),
"onblur" => 'cancel',
'tooltip' => __('Click to edit...', true),
));
echo $ajax->editor('zip', '/userAddress/'.$user['User']['id'].'/zip', array(
'indicator' => 'Saving...',
'cancel' => __('cancel', true),
'submit' => __('save', true),
"onblur" => 'cancel',
'tooltip' => __('Click to edit...', true),
));
echo $ajax->editor('home_phone', '/updateItem/'.$user['User']['id'].'/home_phone', array(
'indicator' => 'Saving...',
'cancel' => __('cancel', true),
'submit' => __('save', true),
"onblur" => 'cancel',
'tooltip' => __('Click to edit...', true),
));
echo $ajax->editor('nearest_airport', '/updateItem/'.$user['User']['id'].'/nearest_airport', array(
'indicator' => 'Saving...',
'cancel' => __('cancel', true),
'submit' => __('save', true),
"onblur" => 'cancel',
'tooltip' => __('Click to edit...', true),
));
echo $ajax->editor('group_id', '/updateItem/'.$user['User']['id'].'/group_id', array(
'indicator' => 'Saving...',
'data' => "{'1':'super-admin','2':'admin','3':'partner','4':'advisor','5':'operator','6':'customer'}",
'type' => 'select',
'cancel' => __('cancel', true),
'submit' => __('save', true),
"onblur" => 'cancel',
'tooltip' => __('Click to edit...', true),
));
}
?>
// elements/my_apps.ctp (this contains the second form
create('Applications', array( 'url' => array('controller' => 'applications', 'action' => 'assign', 'id' => null))); ?>
submit(__('Assign', true));
echo $form->end();?>
link(__('e-mail',true), 'mailto:info@ayusa.de');
?>
|
|
|
|
>
|
timeAgoInWords($application['Application']['created']); ?>
|
%%%%
|
link(__('View', true), array('action' => 'view', $application['Application']['id'])); ?>
link(__('Delete', true), array('action' => 'delete', $application['Application']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $application['Application']['id'])); ?>
|