Linux multi-monitor fullscreen support
[ryzomcore.git] / web / public_php / webtt / app / views / comments / edit.ctp
blobad7b8cbbbd202700741e12a6e3ba3cda51c48b45
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(__('Delete', true), array('action' => 'delete', $this->Form->value('Comment.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $this->Form->value('Comment.id'))); ?></li>                                                <li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Comments', true)), array('action' => 'index'));?></li>                        </ul>
11                         
12                         <h5>Translations</h5>
13                         <ul class="menu">
14                                 <li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Translations', true)), array('controller' => 'translations', 'action' => 'index')); ?> </li>
15                         </ul>
17                         <h5>Identifiers</h5>
18                         <ul class="menu">
19                                 <li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Identifiers', true)), array('controller' => 'identifiers', 'action' => 'index')); ?> </li>
20                         </ul>
22                         <h5>Users</h5>
23                         <ul class="menu">
24                                 <li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Users', true)), array('controller' => 'users', 'action' => 'index')); ?> </li>
25                         </ul>
26                 </div>
27                 </div>
28         </div>
29 </div>
31 <div class="grid_13">
32     <h2 id="page-heading"><?php printf(__('Edit %s', true), __('Comment', true)); ?></h2>
33     
34         <div class="comments form">
35         <?php echo $this->Form->create('Comment');?>
36                 <fieldset>
37                                                 <legend><?php printf(__('Comment # %s', true), $this->Form->value('Comment.id')); ?></legend>
38                                         <?php
39                 echo $this->Form->input('id');
40                 echo $this->Form->input('translation_id');
41                 echo $this->Form->input('identifier_id');
42                 echo $this->Form->input('user_id');
43                 echo $this->Form->input('comment');
44         ?>
45                 </fieldset>
46                 <div class="box">
47 <?php echo $this->Form->end(__('Submit', true));?>
48 </div>  </div>
50 </div>
51 <div class="clear"></div>