本文整理汇总了PHP中design::input_status方法的典型用法代码示例。如果您正苦于以下问题:PHP design::input_status方法的具体用法?PHP design::input_status怎么用?PHP design::input_status使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类design
的用法示例。
在下文中一共展示了design::input_status方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: confirm_if_not_present_in_datalist
$TransactionAccount = $resultarray["Account"];
$TransactionToAccount = $resultarray["ToAccount"];
$TransactionPayee = $resultarray["Payee"];
$TransactionCategory = $resultarray["Category"];
$TransactionSubCategory = $resultarray["SubCategory"];
$TransactionAmount = $resultarray["Amount"];
$TransactionNotes = $resultarray["Notes"];
$TransactionSubmit = "Edit transaction";
}
if (sizeof($resultarray) > 0 || $FlagNew == True) {
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");
}