undef HALF_FREQUENCY_SENDING_TO_CLIENT
[ryzomcore.git] / web / public_php / webtt / app / views / votes / view.ctp
blob0373b8e16b6006dc82b966d23c15ef6f79a1b156
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 __('Votes', true); ?></h5>
8                         <ul class="menu">
9                                 <li><?php echo $this->Html->link(sprintf(__('Edit %s', true), __('Vote', true)), array('action' => 'edit', $vote['Vote']['id'])); ?> </li>
10                                 <li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Votes', true)), array('action' => 'index')); ?> </li>
11                                 <li><?php echo $this->Html->link(sprintf(__('New %s', true), __('Vote', true)), array('action' => 'add')); ?> </li>
12                         </ul>
13                                 
14                         <h5>Translations</h5>
15                         <ul class="menu">
16                                 <li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Translations', true)), array('controller' => 'translations', 'action' => 'index')); ?> </li>
17                         </ul>
19                         <h5>Users</h5>
20                         <ul class="menu">
21                                 <li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Users', true)), array('controller' => 'users', 'action' => 'index')); ?> </li>
22                         </ul>
23                 </div>
24                 </div>
25         </div>
26 </div>
28 <div class="grid_13">
30 <div class="box">
31         <div class="votes view">
32         <h2><?php  __('Vote');?></h2>
33                 <div class="block">
34                         <div class="dl">
35                         <?php $i = 1; $class = ' altrow';?>
36                                                 <div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Id'); ?></div>
37                 <div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
38                         <?php echo $vote['Vote']['id']; ?>
40                 </div>
41                 <?php $i++; ?>
42                 <div style="clear: both"></div>
43                 <div class="dt<?php if ($i % 2 == 0) echo $class;?>"><?php __('Translation'); ?></div>
44                 <div class="dd<?php if ($i % 2 == 0) echo $class;?>">
45                         <?php echo $this->Html->link($vote['Translation']['translation_text'], array('controller' => 'translations', 'action' => 'view', $vote['Translation']['id'])); ?>
46                 </div>
47                 <?php $i++; ?>
48                 <div style="clear: both"></div>
49                 <div class="dt<?php if ($i % 2 == 0) echo $class;?>"><?php __('User'); ?></div>
50                 <div class="dd<?php if ($i % 2 == 0) echo $class;?>">
51                         <?php echo $this->Html->link($vote['User']['name'], array('controller' => 'users', 'action' => 'view', $vote['User']['id'])); ?>
52                 </div>
53                 <?php $i++; ?>
54                 <div style="clear: both"></div>
55                 <div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Created'); ?></div>
56                 <div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
57                         <?php echo $vote['Vote']['created']; ?>
59                 </div>
60                 <?php $i++; ?>
61                 <div style="clear: both"></div>
62                 <div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Modified'); ?></div>
63                 <div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
64                         <?php echo $vote['Vote']['modified']; ?>
66                 </div>
67                 <?php $i++; ?>
68                 <div style="clear: both"></div>
69                         </div>
70                 </div>
71         </div>
72 </div>
75 </div>
76 <div class="clear"></div>