PHP Classes

File: view/album/album/delete.phtml

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil   PHP Album Manager   view/album/album/delete.phtml   Download  
File: view/album/album/delete.phtml
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Album Manager
Manage a list of albums with Zend Framework 2
Author: By
Last change:
Date: 7 years ago
Size: 666 bytes
 

Contents

Class file image Download
<?php
// module/Album/view/album/album/delete.phtml:

$title = 'Delete album';
$this->headTitle($title);
?>
<h1><?php echo $this->escapeHtml($title); ?></h1>

<p>Are you sure that you want to delete
    '<?php echo $this->escapeHtml($album->title); ?>' by
    '<?php echo $this->escapeHtml($album->artist); ?>'?
</p>
<?php
$url
= $this->url('album', array(
   
'action' => 'delete',
   
'id' => $this->id,
));
?>
<form action="<?php echo $url; ?>" method="post">
<div>
    <input type="hidden" name="id" value="<?php echo (int) $album->id; ?>" />
    <input type="submit" name="del" value="Yes" />
    <input type="submit" name="del" value="No" />
</div>
</form>