本文整理匯總了PHP中TemplateHandler::createCannedCombo方法的典型用法代碼示例。如果您正苦於以下問題:PHP TemplateHandler::createCannedCombo方法的具體用法?PHP TemplateHandler::createCannedCombo怎麽用?PHP TemplateHandler::createCannedCombo使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類TemplateHandler
的用法示例。
在下文中一共展示了TemplateHandler::createCannedCombo方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: if
<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]-->