seeddms-code/views/bootstrap/class.RemoveTransmittal.php

61 lines
1.9 KiB
PHP
Raw Normal View History

<?php
/**
* Implementation of RemoveTransmittal view
*
* @category DMS
* @package SeedDMS
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2002-2005 Markus Westphal,
* 2006-2008 Malcolm Cowe, 2010 Matteo Lucarelli,
* 2010-2012 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Include parent class
*/
//require_once("class.Bootstrap.php");
/**
* Class which outputs the html page for RemoveTransmittal view
*
* @category DMS
* @package SeedDMS
* @author Markus Westphal, Malcolm Cowe, Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2002-2005 Markus Westphal,
* 2006-2008 Malcolm Cowe, 2010 Matteo Lucarelli,
* 2010-2012 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_View_RemoveTransmittal extends SeedDMS_Theme_Style {
function show() { /* {{{ */
$dms = $this->params['dms'];
$user = $this->params['user'];
$rmtransmittal = $this->params['rmtransmittal'];
$this->htmlStartPage(getMLText("admin_tools"));
$this->globalNavigation();
$this->contentStart();
$this->pageNavigation(getMLText("admin_tools"), "admin_tools");
$this->contentHeading(getMLText("rm_transmittal"));
$this->warningMsg(getMLText("confirm_rm_transmittal", array ("name" => htmlspecialchars($rmtransmittal->getName()))));
?>
<form action="../op/op.TransmittalMgr.php" name="form1" method="post">
<input type="hidden" name="transmittalid" value="<?php print $rmtransmittal->getID();?>">
<input type="hidden" name="action" value="removetransmittal">
<?php echo createHiddenFieldWithKey('removetransmittal'); ?>
<p><?php $this->formSubmit('<i class="fa fa-remove"></i> '.getMLText('rm_transmittal'),'','','danger');?></p>
</form>
<?php
2016-03-21 05:42:27 +00:00
$this->contentEnd();
$this->htmlEndPage();
} /* }}} */
}
?>