本文整理匯總了PHP中design::settings_password方法的典型用法代碼示例。如果您正苦於以下問題:PHP design::settings_password方法的具體用法?PHP design::settings_password怎麽用?PHP design::settings_password使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類design
的用法示例。
在下文中一共展示了design::settings_password方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: authentication
if ($const_disable_authentication == True) {
design::settings_checkbox("Set_Disable_authentication", True, "Disable authentication (Not recommended)");
} else {
design::settings_checkbox("Set_Disable_authentication", False, "Disable authentication (Not recommended)");
}
if (isset($const_username) && $const_disable_authentication == False) {
design::settings("Username", $const_username, "", "Text", True);
} else {
design::settings("Username", "", "Insert a new username", "Text", True);
}
if (isset($const_password) && $const_disable_authentication == False) {
design::settings_password("Password", "To change insert a new password", False);
} else {
design::settings_password("Password", "Insert a password", True);
}
design::settings_password("Confirm_Password", "Confirm new password", False);
echo "<br />";
//SECTION NEW TRANSACTIONS
design::section_legened("New transactions");
if ($const_disable_payee == True) {
design::settings_checkbox("Set_Disable_payee", True, "Disable payees management");
} else {
design::settings_checkbox("Set_Disable_payee", False, "Disable payees management");
}
if ($const_disable_category == True) {
design::settings_checkbox("Set_Disable_category", True, "Disable categories management");
} else {
design::settings_checkbox("Set_Disable_category", False, "Disable categories management");
}
if (isset($const_defaultaccountname)) {
design::settings_default_account($const_defaultaccountname);