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 __('Votes', true); ?></h5>
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>
16 <li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Translations', true)), array('controller' => 'translations', 'action' => 'index')); ?> </li>
21 <li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Users', true)), array('controller' => 'users', 'action' => 'index')); ?> </li>
31 <div class="votes view">
32 <h2><?php __('Vote');?></h2>
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']; ?>
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'])); ?>
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'])); ?>
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']; ?>
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']; ?>
68 <div style="clear: both"></div>
76 <div class="clear"></div>