<div class="users view">
<h2><?php echo __('User');?></h2>
<dl><?php $i = 0; $class = ' class="altrow"';?>
<dt<?php if ($i % 2 == 0) echo $class;?>><?php echo __('Id'); ?></dt>
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
<?php echo $user['User']['id']; ?>
</dd>
<dt<?php if ($i % 2 == 0) echo $class;?>><?php echo __('Username'); ?></dt>
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
<?php echo $user['User']['username']; ?>
</dd>
<dt<?php if ($i % 2 == 0) echo $class;?>><?php echo __('Group'); ?></dt>
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
<?php echo $this->Html->link($user['Group']['name'], array('controller'=> 'groups', 'action'=>'view', $user['Group']['id'])); ?>
</dd>
<dt<?php if ($i % 2 == 0) echo $class;?>><?php echo __('Skrij profil'); ?></dt>
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
<?php echo $user['User']['hideprofile']; ?>
</dd>
<dt<?php if ($i % 2 == 0) echo $class;?>><?php echo __('Onemogo?en'); ?></dt>
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
<?php echo $user['User']['ban']; ?>
</dd>
<dt<?php if ($i % 2 == 0) echo $class;?>><?php echo __('Created'); ?></dt>
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
<?php echo $user['User']['created']; ?>
</dd>
<dt<?php if ($i % 2 == 0) echo $class;?>><?php echo __('Modified'); ?></dt>
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
<?php echo $user['User']['modified']; ?>
</dd>
</dl>
</div>
<div class="actions">
<ul>
<li><?php echo $this->Html->link(__('Edit User'), array('action'=>'edit', $user['User']['id'])); ?> </li>
<li><?php echo $this->Html->link(__('Delete User'), array('action'=>'delete', $user['User']['id']), null, sprintf(__('Are you sure you want to delete # %s?'), $user['User']['id'])); ?> </li>
<li><?php echo $this->Html->link(__('List Users'), array('action'=>'index')); ?> </li>
<li><?php echo $this->Html->link(__('New User'), array('action'=>'add')); ?> </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>
|