Exemple #1
0
    	    	  <textarea id='TxMessage' name='TxMessage' cols='65' rows='33' class='answerArea'></textarea>
    	    	</div>

    	      <div id='displayCommands'>
    	        <div id='answerOptions'>

    	      		<div class='Right' id='answerAttach'>
    	      		  <label for='Attachment'><?=ATTACHMENT?>: </label>
    	      			<input id='Attachment' name='Attachment' class='inputFile' type="file" value="Anexo" />
    	      			<iframe onLoad="top.Ticket.submitTicketForm();" id='ajaxSubmit' name='ajaxSubmit' src='<?=TEMPLATEDIR?>ticket.php' class="NoDisplay"></iframe>
    	      		</div>
    	    		  <div>
    	    		    <input type='hidden' name='IDDepartment' id='IDDepartment' value='<?= $IDDepartment ?>' />
    	    		    <input type='hidden' name='IDTicket' id='IDTicket' value='<?= $IDTicket ?>' />
    	    		    <? if ($isSupporter) : ?>
    	    		     <?=TemplateHandler::createCannedCombo($ArResponses)?>
    	    		    <? endif; ?>
    	    		</div>
    	    	</div>

    	    	<div>
  	    	    <input type='hidden' name='StAction' value='answer'>
  	    	    <input type="hidden" id='didSubmit' name='didSubmit' value="false">
      	      <input type='submit' class='button' value='<?=ANSWER?>' name='Responder'>
      	      <button type="button" class='button' onclick='flowWindow.previewAnswer(gID("TxMessage").value, <?=$IDTicket?>, "<?=$IDDepartment?>", gID("StMessageType").value);'><?=PREVIEW?></button>
    	    	</div>
    	    </div>
    	    </form>
    	  </div>
    	</div>
    <!--[/TICKET ANSWER]-->