PHP Classes
elePHPant
Icontem

File: View/Users/admin_edit.ctp

Recommend this page to a friend!
  Classes of Andraž  >  pingvincek  >  View/Users/admin_edit.ctp  >  Download  
File: View/Users/admin_edit.ctp
Role: Example script
Content type: text/plain
Description: Example script
Class: pingvincek
Manage a site for organizing dates between people
Author: By
Last change:
Date: 2 years ago
Size: 1,019 bytes
 

 

Contents

Class file image Download
<div class="users form">
<?php echo $this->Form->create('User');?>
<fieldset>
         <legend><?php echo __('Edit User');?></legend>
    <?php
       
echo $this->Form->input('id');
        echo
$this->Form->input('username');
       
//echo $this->Form->input('password');
       
echo $this->Form->input('group_id');
                echo
$this->Form->input('hideprofile');
                echo
$this->Form->input('ban');
   
?>
</fieldset>
<?php echo $this->Form->end('Submit');?>
</div>
<div class="actions">
    <ul>
        <li><?php echo $this->Html->link(__('Delete'), array('action'=>'delete', $this->Form->value('User.id')), null, sprintf(__('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>
    </ul>
</div>