|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/irtiweb/CATS/modules/companies/ |
Upload File : |
<?php /* $Id: CreateAttachmentModal.tpl 3093 2007-09-24 21:09:45Z brian $ */ ?>
<?php TemplateUtility::printModalHeader('Companies', array('modules/companies/validator.js'), 'Create Company Attachment'); ?>
<?php if (!$this->isFinishedMode): ?>
<form name="createAttachmentForm" id="createAttachmentForm" action="<?php echo(CATSUtility::getIndexName()); ?>?m=companies&a=createAttachment" enctype="multipart/form-data" method="post" onsubmit="return checkAttachmentForm(document.createAttachmentForm);">
<input type="hidden" name="postback" id="postback" value="postback" />
<input type="hidden" id="companyID" name="companyID" value="<?php echo($this->companyID); ?>" />
<table class="editTable">
<tr>
<td class="tdVertical">Attachment:</td>
<td class="tdData"><input type="file" id="file" name="file" /></td>
</tr>
</table>
<input type="submit" class="button" name="submit" id="submit" value="Create Attachment" />
<input type="button" class="button" name="cancel" value="Cancel" onclick="parentHidePopWin();" />
</form>
<?php else: ?>
<p>The file has been successfully attached.</p>
<form>
<input type="button" name="close" value="Close" onclick="parentHidePopWinRefresh();" />
</form>
<?php endif; ?>
</body>
</html>