Linux multi-monitor fullscreen support
[ryzomcore.git] / web / public_php / webtt / app / views / comments / add.ctp
blob63c6ee4232da70b723d01ecb3738b17bcbd23fe7
1 <div class="grid_3">
2         <div class="box menubox">
3                                 <h2>
4                         <a href="#" id="toggle-admin-actions">Actions</a>
5                 </h2>
6                 <div class="inbox">
7                 <div class="block" id="admin-actions">
8                         <h5><?php echo __('Comments', true); ?></h5>
9                         <ul class="menu">
10                                                 <li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Comments', true)), array('action' => 'index'));?></li>                        </ul>
11                         
12                         <h5>Identifiers</h5>
13                         <ul class="menu">
14                                 <li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Identifiers', true)), array('controller' => 'identifiers', 'action' => 'index')); ?> </li>
15                         </ul>
17                         <h5>Users</h5>
18                         <ul class="menu">
19                                 <li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Users', true)), array('controller' => 'users', 'action' => 'index')); ?> </li>
20                         </ul>
21                 </div>
22                 </div>
23         </div>
24 </div>
26 <div class="grid_13">
27     <h2 id="page-heading"><?php printf(__('Add %s', true), __('Comment', true)); ?></h2>
28     
29         <div class="comments form">
30         <?php echo $this->Form->create('Comment');?>
31                 <fieldset>
32                                                 <legend><?php printf(__('Comment', true)); ?></legend>
33                                         <?php
34 //              echo $this->Form->input('translation_id');
35                 echo $this->Form->hidden('identifier_id', array('default' => $identifier['Identifier']['id']));
36                 echo $this->Form->hidden('user_id', array('value' => $this->Session->read('Auth.User.id')));
37                 echo $this->Form->input('comment');
38         ?>
39                 </fieldset>
40                 <div class="box">
41 <?php echo $this->Form->end(__('Submit', true));?>
42 </div>  </div>
43 <div class="box">
44         <div class="identifiers view">
45         <h2><?php  __('Identifier');?></h2>
46                 <div class="block">
47                         <div class="dl">
48                         <?php $i = 1; $class = ' altrow';?>
49                                                 <div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Id'); ?></div>
50                 <div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
51                         <?php echo $identifier['Identifier']['id']; ?>
53                 </div>
54                 <?php $i++; ?>
55                 <div style="clear: both"></div>
56                 <div class="dt<?php if ($i % 2 == 0) echo $class;?>"><?php __('Language'); ?></div>
57                 <div class="dd<?php if ($i % 2 == 0) echo $class;?>">
58                         <?php echo $this->Html->link($identifier['Language']['name'], array('controller' => 'languages', 'action' => 'view', $identifier['Language']['id'])); ?>
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 __('Translation Index'); ?></div>
63                 <div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
64                         <?php echo $identifier['Identifier']['translation_index']; ?>
66                 </div>
67                 <?php $i++; ?>
68                 <div style="clear: both"></div>
69                 <div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Identifier'); ?></div>
70                 <div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
71                         <?php echo $identifier['Identifier']['identifier']; ?>
73                 </div>
74                 <?php $i++; ?>
75                 <div style="clear: both"></div>
76                 <div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Arguments'); ?></div>
77                 <div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
78                         <?php echo $identifier['Identifier']['arguments']; ?>
80                 </div>
81                 <?php $i++; ?>
82                 <div style="clear: both"></div>
83                 <div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Reference String'); ?></div>
84                 <div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
85                         <?php echo $identifier['Identifier']['reference_string']; ?>
87                 </div>
88                 <?php $i++; ?>
89                 <div style="clear: both"></div>
90                 <div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Translated'); ?></div>
91                 <div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
92                         <?php echo $identifier['Identifier']['translated']; ?>
94                 </div>
95                 <?php $i++; ?>
96                 <div style="clear: both"></div>
97                 <div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Created'); ?></div>
98                 <div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
99                         <?php echo $identifier['Identifier']['created']; ?>
101                 </div>
102                 <?php $i++; ?>
103                 <div style="clear: both"></div>
104                 <div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Modified'); ?></div>
105                 <div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
106                         <?php echo $identifier['Identifier']['modified']; ?>
108                 </div>
109                 <?php $i++; ?>
110                 <div style="clear: both"></div>
111                         </div>
112                 </div>
113         </div>
114 </div>
116 </div>
117 <div class="clear"></div>