'label' => __('URL', true),
)
);
- echo $form->input('public_flag');
+ echo $form->input('set_npc', array(
+ 'label' => __('Use NPC', true),
+ 'selected' => true
+ )
+ );
+ echo $form->input('public_flag', array(
+ 'type' => 'select',
+ 'label' => __('Public', true),
+ 'options' => array(
+ 'public' => __('Public', true),
+ 'private' => __('Private', true),
+ ),
+ 'selected' => 'public',
+ )
+ );
echo $form->input('detail', array(
'label' => __('Detail', true),
)
</div>
<div class="actions">
<ul>
- <li><?php echo $html->link(__('Delete', true), array('action' => 'delete', $form->value('System.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $form->value('System.id'))); ?></li>
+ <li><?php echo $html->link(__('Delete', true), array('action' => 'delete', $form->value('System.id')), null, sprintf(__('Are you sure you want to delete %s?', true), $form->value('System.name'))); ?></li>
<li><?php echo $html->link(__('List Systems', true), array('action' => 'index'));?></li>
</ul>
</div>
<div class="actions">
<ul>
<li><?php echo $html->link(__('Edit System', true), array('action' => 'edit', $system['System']['id'])); ?> </li>
- <li><?php echo $html->link(__('Delete System', true), array('action' => 'delete', $system['System']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $system['System']['id'])); ?> </li>
+ <li><?php echo $html->link(__('Delete System', true), array('action' => 'delete', $system['System']['id']), null, sprintf(__('Are you sure you want to delete %s?', true), $system['System']['name'])); ?> </li>
<li><?php echo $html->link(__('List Systems', true), array('action' => 'index')); ?> </li>
<li><?php echo $html->link(__('New System', true), array('action' => 'add')); ?> </li>
</ul>