當前位置: 首頁>>代碼示例>>PHP>>正文


PHP design::settings_password方法代碼示例

本文整理匯總了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);
開發者ID:jicho,項目名稱:web-money-manager-ex,代碼行數:31,代碼來源:settings.php


注:本文中的design::settings_password方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。