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


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

$title = 'Delete album';
<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); ?>'?
= $this->url('album', array(
'action' => 'delete',
'id' => $this->id,
<form action="<?php echo $url; ?>" method="post">
    <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" />