Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

<div class="users form">
<?php echo $this->Form->create('User'); ?>
        <fieldset>
                <legend><?php echo __('Admin Edit User'); ?></legend>
        <?php
                echo $this->Form->input('id');
                echo $this->Form->input('facebook_id');
                echo $this->Form->input('twitter_id');
                echo $this->Form->input('first_name');
                echo $this->Form->input('last_name');
                echo $this->Form->input('zipcode');
                echo $this->Form->input('dob');
                echo $this->Form->input('username');
                echo $this->Form->input('email');
                echo $this->Form->input('password');
                echo $this->Form->input('gender');
                echo $this->Form->input('address_1');
                echo $this->Form->input('address_2');
                echo $this->Form->input('city');
                echo $this->Form->input('state');
                echo $this->Form->input('country');
                echo $this->Form->input('user_timezone');
                echo $this->Form->input('auth_token');
                echo $this->Form->input('twitter_token');
                echo $this->Form->input('twitter_secret');
                echo $this->Form->input('twitter_screen_name');
                echo $this->Form->input('status');
                echo $this->Form->input('group_id');
                echo $this->Form->input('active');
                echo $this->Form->input('activation_code');
                echo $this->Form->input('password_reset');
                echo $this->Form->input('plan');
                echo $this->Form->input('demo_valid_till');
                echo $this->Form->input('premium_valid_till');
        ?>
        </fieldset>
<?php echo $this->Form->end(__('Submit')); ?>
</div>
<div class="actions">
        <h3><?php echo __('Actions'); ?></h3>
        <ul>

                <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>
                <li><?php echo $this->Html->link(__('List Users'), array('action' => 'index')); ?></li>
                <li><?php echo $this->Html->link(__('List Groups'), array('controller' => 'groups', 'action' => 'index')); ?> </li>
                <li><?php echo $this->Html->link(__('New Group'), array('controller' => 'groups', 'action' => 'add')); ?> </li>
                <li><?php echo $this->Html->link(__('List Profiles'), array('controller' => 'profiles', 'action' => 'index')); ?> </li>
                <li><?php echo $this->Html->link(__('New Profile'), array('controller' => 'profiles', 'action' => 'add')); ?> </li>
                <li><?php echo $this->Html->link(__('List Publishers'), array('controller' => 'publishers', 'action' => 'index')); ?> </li>
                <li><?php echo $this->Html->link(__('New Publisher'), array('controller' => 'publishers', 'action' => 'add')); ?> </li>
        </ul>
</div>