2 <div class="box menubox"> <h2>
3 <a href="#" id="toggle-admin-actions">Actions</a>
6 <div class="block" id="admin-actions">
7 <h5><?php echo __('Comments', true); ?></h5>
9 <li><?php echo $this->Html->link(sprintf(__('Edit %s', true), __('Comment', true)), array('action' => 'edit', $comment['Comment']['id'])); ?> </li>
10 <li><?php echo $this->Html->link(sprintf(__('Delete %s', true), __('Comment', true)), array('action' => 'delete', $comment['Comment']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $comment['Comment']['id'])); ?> </li>
11 <li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Comments', true)), array('action' => 'index')); ?> </li>
12 <li><?php echo $this->Html->link(sprintf(__('New %s', true), __('Comment', true)), array('action' => 'add')); ?> </li>
17 <li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Identifiers', true)), array('controller' => 'identifiers', 'action' => 'index')); ?> </li>
22 <li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Users', true)), array('controller' => 'users', 'action' => 'index')); ?> </li>
32 <div class="comments view">
33 <h2><?php __('Comment');?></h2>
36 <?php $i = 1; $class = ' altrow';?>
37 <div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Id'); ?></div>
38 <div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
39 <?php echo $comment['Comment']['id']; ?>
43 <div style="clear: both"></div>
44 <div class="dt<?php if ($i % 2 == 0) echo $class;?>"><?php __('Identifier'); ?></div>
45 <div class="dd<?php if ($i % 2 == 0) echo $class;?>">
46 <?php echo $this->Html->link($comment['Identifier']['identifier'], array('controller' => 'identifiers', 'action' => 'view', $comment['Identifier']['id'])); ?>
49 <div style="clear: both"></div>
50 <div class="dt<?php if ($i % 2 == 0) echo $class;?>"><?php __('User'); ?></div>
51 <div class="dd<?php if ($i % 2 == 0) echo $class;?>">
52 <?php echo $this->Html->link($comment['User']['name'], array('controller' => 'users', 'action' => 'view', $comment['User']['id'])); ?>
55 <div style="clear: both"></div>
56 <div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Comment'); ?></div>
57 <div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
58 <?php echo $comment['Comment']['comment']; ?>
62 <div style="clear: both"></div>
63 <div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Created'); ?></div>
64 <div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
65 <?php echo $comment['Comment']['created']; ?>
69 <div style="clear: both"></div>
70 <div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Modified'); ?></div>
71 <div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
72 <?php echo $comment['Comment']['modified']; ?>
76 <div style="clear: both"></div>
84 <div class="clear"></div>