Linux multi-monitor fullscreen support
[ryzomcore.git] / web / public_php / webtt / app / views / comments / view.ctp
blobbf60e8bc07eef5428453969dad17b1c985342361
1 <div class="grid_3">
2         <div class="box menubox">               <h2>
3                         <a href="#" id="toggle-admin-actions">Actions</a>
4                 </h2>
5                 <div class="inbox">
6                 <div class="block" id="admin-actions">
7                         <h5><?php echo __('Comments', true); ?></h5>
8                         <ul class="menu">
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>
13                         </ul>
14                                 
15                         <h5>Identifiers</h5>
16                         <ul class="menu">
17                                 <li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Identifiers', true)), array('controller' => 'identifiers', 'action' => 'index')); ?> </li>
18                         </ul>
20                         <h5>Users</h5>
21                         <ul class="menu">
22                                 <li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Users', true)), array('controller' => 'users', 'action' => 'index')); ?> </li>
23                         </ul>
24                 </div>
25                 </div>
26         </div>
27 </div>
29 <div class="grid_13">
31 <div class="box">
32         <div class="comments view">
33         <h2><?php  __('Comment');?></h2>
34                 <div class="block">
35                         <div class="dl">
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']; ?>
41                 </div>
42                 <?php $i++; ?>
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'])); ?>
47                 </div>
48                 <?php $i++; ?>
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'])); ?>
53                 </div>
54                 <?php $i++; ?>
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']; ?>
60                 </div>
61                 <?php $i++; ?>
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']; ?>
67                 </div>
68                 <?php $i++; ?>
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']; ?>
74                 </div>
75                 <?php $i++; ?>
76                 <div style="clear: both"></div>
77                         </div>
78                 </div>
79         </div>
80 </div>
83 </div>
84 <div class="clear"></div>