예제 #1
0
} 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);
} else {
    design::settings_default_account("None");
}
echo "<br />";
//SECTION DESKTOP INTEGRATION
design::section_legened("Desktop integration");
if (isset($const_desktop_guid)) {
    design::settings("Guid", $const_desktop_guid, "", "Text", True);
} else {
    design::settings("Guid", security::generate_guid(), "", "Text", True);
}
?>
            <script type="text/javascript">
                function Disable_Authentication()
                    {
                        if (document.getElementById("Set_Disable_authentication").checked)
                            {
                                document.getElementById("Set_Username").disabled = true;
                                document.getElementById("Set_Username").value = "";
                                document.getElementById("Set_Password").disabled = true;
                                document.getElementById("Set_Password").value = "";