Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
12345 anikendra 1
<div class="users form">
2
<?php echo $this->Form->create('User'); ?>
3
	<fieldset>
4
		<legend><?php echo __('Admin Edit User'); ?></legend>
5
	<?php
6
		echo $this->Form->input('id');
7
		echo $this->Form->input('facebook_id');
8
		echo $this->Form->input('twitter_id');
9
		echo $this->Form->input('first_name');
10
		echo $this->Form->input('last_name');
11
		echo $this->Form->input('zipcode');
12
		echo $this->Form->input('dob');
13
		echo $this->Form->input('username');
14
		echo $this->Form->input('email');
15
		echo $this->Form->input('password');
16
		echo $this->Form->input('gender');
17
		echo $this->Form->input('address_1');
18
		echo $this->Form->input('address_2');
19
		echo $this->Form->input('city');
20
		echo $this->Form->input('state');
21
		echo $this->Form->input('country');
22
		echo $this->Form->input('user_timezone');
23
		echo $this->Form->input('auth_token');
24
		echo $this->Form->input('twitter_token');
25
		echo $this->Form->input('twitter_secret');
26
		echo $this->Form->input('twitter_screen_name');
27
		echo $this->Form->input('status');
28
		echo $this->Form->input('group_id');
29
		echo $this->Form->input('active');
30
		echo $this->Form->input('activation_code');
31
		echo $this->Form->input('password_reset');
32
		echo $this->Form->input('plan');
33
		echo $this->Form->input('demo_valid_till');
34
		echo $this->Form->input('premium_valid_till');
35
	?>
36
	</fieldset>
37
<?php echo $this->Form->end(__('Submit')); ?>
38
</div>
39
<div class="actions">
40
	<h3><?php echo __('Actions'); ?></h3>
41
	<ul>
42
 
43
		<li><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $this->Form->value('User.id')), null, __('Are you sure you want to delete # %s?', $this->Form->value('User.id'))); ?></li>
44
		<li><?php echo $this->Html->link(__('List Users'), array('action' => 'index')); ?></li>
45
		<li><?php echo $this->Html->link(__('List Groups'), array('controller' => 'groups', 'action' => 'index')); ?> </li>
46
		<li><?php echo $this->Html->link(__('New Group'), array('controller' => 'groups', 'action' => 'add')); ?> </li>
47
		<li><?php echo $this->Html->link(__('List Profiles'), array('controller' => 'profiles', 'action' => 'index')); ?> </li>
48
		<li><?php echo $this->Html->link(__('New Profile'), array('controller' => 'profiles', 'action' => 'add')); ?> </li>
49
		<li><?php echo $this->Html->link(__('List Publishers'), array('controller' => 'publishers', 'action' => 'index')); ?> </li>
50
		<li><?php echo $this->Html->link(__('New Publisher'), array('controller' => 'publishers', 'action' => 'add')); ?> </li>
51
	</ul>
52
</div>