cmc-sales/views/quote_pages/view.ctp
Karl Cordes 4347aee5f0 Changes
2009-11-04 17:12:12 +11:00

36 lines
1.7 KiB
PHP
Executable file

<div class="quotePages view">
<h2><?php __('QuotePage');?></h2>
<dl><?php $i = 0; $class = ' class="altrow"';?>
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
<?php echo $quotePage['QuotePage']['id']; ?>
&nbsp;
</dd>
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Page Number'); ?></dt>
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
<?php echo $quotePage['QuotePage']['page_number']; ?>
&nbsp;
</dd>
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Content'); ?></dt>
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
<?php echo $quotePage['QuotePage']['content']; ?>
&nbsp;
</dd>
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Quote'); ?></dt>
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
<?php echo $html->link($quotePage['Quote']['id'], array('controller' => 'quotes', 'action' => 'view', $quotePage['Quote']['id'])); ?>
&nbsp;
</dd>
</dl>
</div>
<div class="actions">
<ul>
<li><?php echo $html->link(__('Edit QuotePage', true), array('action' => 'edit', $quotePage['QuotePage']['id'])); ?> </li>
<li><?php echo $html->link(__('Delete QuotePage', true), array('action' => 'delete', $quotePage['QuotePage']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $quotePage['QuotePage']['id'])); ?> </li>
<li><?php echo $html->link(__('List QuotePages', true), array('action' => 'index')); ?> </li>
<li><?php echo $html->link(__('New QuotePage', true), array('action' => 'add')); ?> </li>
<li><?php echo $html->link(__('List Quotes', true), array('controller' => 'quotes', 'action' => 'index')); ?> </li>
<li><?php echo $html->link(__('New Quote', true), array('controller' => 'quotes', 'action' => 'add')); ?> </li>
</ul>
</div>