Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php debug($martianPhoto); ?>
- <div class="martianPhotos view">
- <h2><?php __('MartianPhoto');?></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 $martianPhoto['MartianPhoto']['id']; ?>
-
- </dd>
- <dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Martian Feature Id'); ?></dt>
- <dd<?php if ($i++ % 2 == 0) echo $class;?>>
- <?php echo $martianPhoto['MartianPhoto']['martian_feature_id']; ?>
-
- </dd>
- <dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Created'); ?></dt>
- <dd<?php if ($i++ % 2 == 0) echo $class;?>>
- <?php echo $martianPhoto['MartianPhoto']['created']; ?>
-
- </dd>
- <dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Name'); ?></dt>
- <dd<?php if ($i++ % 2 == 0) echo $class;?>>
- <?php echo $martianPhoto['MartianPhoto']['name']; ?>
-
- </dd>
- <dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Filename'); ?></dt>
- <dd<?php if ($i++ % 2 == 0) echo $class;?>>
- <?php echo $martianPhoto['MartianPhoto']['filename']; ?>
- <?php echo $html->image ($martianPhoto['MartianPhoto']['filename']); ?>
-
- </dd>
- <dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Description'); ?></dt>
- <dd<?php if ($i++ % 2 == 0) echo $class;?>>
- <?php echo $martianPhoto['MartianPhoto']['description']; ?>
-
- </dd>
- </dl>
- </div>
- <div class="actions">
- <ul>
- <li><?php echo $html->link(__('Edit MartianPhoto', true), array('action'=>'edit', $martianPhoto['MartianPhoto']['id'])); ?> </li>
- <li><?php echo $html->link(__('Delete MartianPhoto', true), array('action'=>'delete', $martianPhoto['MartianPhoto']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $martianPhoto['MartianPhoto']['id'])); ?> </li>
- <li><?php echo $html->link(__('List MartianPhotos', true), array('action'=>'index')); ?> </li>
- <li><?php echo $html->link(__('New MartianPhoto', true), array('action'=>'add')); ?> </li>
- </ul>
- </div>
Add Comment
Please, Sign In to add comment