*/ /** * This view will prompt for confirmation on the deletion of an item * * @package GalleryCore * @subpackage UserInterface */ class ItemDeleteConfirmationView extends GalleryView { /** * @see GalleryView::loadTemplate */ function loadTemplate(&$template, &$form) { global $gallery; return array(null, array('body' => 'modules/core/templates/ItemDeleteConfirmation.tpl')); } /** * @see GalleryView::getViewDescription() */ function getViewDescription() { list ($ret, $core) = GalleryCoreApi::loadPlugin('module', 'core'); if ($ret) { return array($ret->wrap(__FILE__, __LINE__), null); } return array(null, $core->translate('delete confirmation')); } } ?>