westdc-zf1/application/default/views/scripts/data/delete.phtml

16 lines
535 B
PHTML
Executable File

<?php if ($this->md) :?>
<p>Are you sure that you want to delete this metadata:
<h2><?php echo $this->escape($this->md->title); ?></h2>
<?php echo $this->escape($this->md->description); ?>
</p>
<form action="<?php echo $this->url(array('action'=>'delete')); ?>" method="post">
<div>
<input type="hidden" name="id" value="<?php echo $this->md->id; ?>" />
<input type="submit" name="del" value="Yes" />
<input type="submit" name="del" value="No" />
</div>
</form>
<?php else: ?>
<p>Cannot find the metadata.</p>
<?php endif;?>