本文整理汇总了PHP中design::input_category方法的典型用法代码示例。如果您正苦于以下问题:PHP design::input_category方法的具体用法?PHP design::input_category怎么用?PHP design::input_category使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类design
的用法示例。
在下文中一共展示了design::input_category方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: confirm_if_not_present_in_datalist
echo "<div class='container'>";
echo "<form id='Transaction' class='form-transaction' method='post' action = 'insert.php'\r\n onsubmit='return confirm_if_not_present_in_datalist(\"Payee\",\"PayeeList\",\"Do you want to add the new payee\")'>";
echo "<h3 class='text_align_center'>{$TransactionHeaderText}</h3>";
echo "<br />";
design::input_date($TransactionDate);
design::input_status($TransactionStatus);
design::input_type($TransactionType);
design::input_account($TransactionAccount);
design::input_toaccount($TransactionToAccount);
if (costant::disable_payee() !== True) {
design::input_payee($TransactionPayee);
} else {
design::input_hidden("Payee", "None");
}
if (costant::disable_category() !== True) {
design::input_category($TransactionCategory);
design::input_subcategory($TransactionSubCategory);
} else {
design::input_hidden("Category", "None");
design::input_hidden("SubCategory", "None");
}
design::input_amount($TransactionAmount);
design::input_notes($TransactionNotes);
echo "<div class='form-group'>";
echo "<label for='fileToUpload'>Take a picture or upload attachments</label><br />";
echo "<input type='file' name='fileToUpload' id='fileToUpload' onchange='attachment_uploadFile({$TrEditNr});' />";
echo "<span class='help-block'></span>";
echo "</div>\n";
echo "<div class='table-responsive' id='attachments_table'>";
echo "</div>\n";
echo "<br />";