mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-27 03:10:54 +00:00
84 lines
3.5 KiB
PHP
84 lines
3.5 KiB
PHP
<div class="grid_3">
|
|
<div class="box menubox"> <h2>
|
|
<a href="#" id="toggle-admin-actions">Actions</a>
|
|
</h2>
|
|
<div class="inbox">
|
|
<div class="block" id="admin-actions">
|
|
<h5><?php echo __('Comments', true); ?></h5>
|
|
<ul class="menu">
|
|
<li><?php echo $this->Html->link(sprintf(__('Edit %s', true), __('Comment', true)), array('action' => 'edit', $comment['Comment']['id'])); ?> </li>
|
|
<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>
|
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Comments', true)), array('action' => 'index')); ?> </li>
|
|
<li><?php echo $this->Html->link(sprintf(__('New %s', true), __('Comment', true)), array('action' => 'add')); ?> </li>
|
|
</ul>
|
|
|
|
<h5>Identifiers</h5>
|
|
<ul class="menu">
|
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Identifiers', true)), array('controller' => 'identifiers', 'action' => 'index')); ?> </li>
|
|
</ul>
|
|
|
|
<h5>Users</h5>
|
|
<ul class="menu">
|
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Users', true)), array('controller' => 'users', 'action' => 'index')); ?> </li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="grid_13">
|
|
|
|
<div class="box">
|
|
<div class="comments view">
|
|
<h2><?php __('Comment');?></h2>
|
|
<div class="block">
|
|
<div class="dl">
|
|
<?php $i = 1; $class = ' altrow';?>
|
|
<div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Id'); ?></div>
|
|
<div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
|
|
<?php echo $comment['Comment']['id']; ?>
|
|
|
|
</div>
|
|
<?php $i++; ?>
|
|
<div style="clear: both"></div>
|
|
<div class="dt<?php if ($i % 2 == 0) echo $class;?>"><?php __('Identifier'); ?></div>
|
|
<div class="dd<?php if ($i % 2 == 0) echo $class;?>">
|
|
<?php echo $this->Html->link($comment['Identifier']['identifier'], array('controller' => 'identifiers', 'action' => 'view', $comment['Identifier']['id'])); ?>
|
|
</div>
|
|
<?php $i++; ?>
|
|
<div style="clear: both"></div>
|
|
<div class="dt<?php if ($i % 2 == 0) echo $class;?>"><?php __('User'); ?></div>
|
|
<div class="dd<?php if ($i % 2 == 0) echo $class;?>">
|
|
<?php echo $this->Html->link($comment['User']['name'], array('controller' => 'users', 'action' => 'view', $comment['User']['id'])); ?>
|
|
</div>
|
|
<?php $i++; ?>
|
|
<div style="clear: both"></div>
|
|
<div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Comment'); ?></div>
|
|
<div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
|
|
<?php echo $comment['Comment']['comment']; ?>
|
|
|
|
</div>
|
|
<?php $i++; ?>
|
|
<div style="clear: both"></div>
|
|
<div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Created'); ?></div>
|
|
<div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
|
|
<?php echo $comment['Comment']['created']; ?>
|
|
|
|
</div>
|
|
<?php $i++; ?>
|
|
<div style="clear: both"></div>
|
|
<div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Modified'); ?></div>
|
|
<div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
|
|
<?php echo $comment['Comment']['modified']; ?>
|
|
|
|
</div>
|
|
<?php $i++; ?>
|
|
<div style="clear: both"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
<div class="clear"></div>
|