Tue, 22 Jan 2019 22:46:58 +0100
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
<?php require_once($_SERVER['DOCUMENT_ROOT'].'/includes/global.inc.php'); page_header('Maisch schemas', 'profile_mash'); ?> <div id="jqxgrid"></div> <div style="margin-top: 30px;"> <div id="cellbegineditevent"></div> <div style="margin-top: 10px;" id="cellendeditevent"></div> </div> <!-- Popup editor window. --> <div id="popupWindow"> <div>Wijzig maisch schema.</div> <div style="overflow: hidden;"> <table> <tr> <td align="right" style="vertical-align: top;">Schema naam:</td> <td align="left" colspan="3" style="vertical-align: top;"><input id="name" /></td> </tr> <tr> <td align="right" style="vertical-align: top;">Opmerkingen:</td> <td align="left" colspan="3"><textarea id="notes"></textarea></td> </tr> <tr> <td align="right" style="vertical-align: top;">Stappen:</td> <td align="left" colspan="3"><div id="grid">Graat</div></td> </tr> <tr> <td style="padding-top: 10px;" align="right"><input type="button" id="Delete" value="Delete" /></td> <td align="right"></td> <td align="right"></td> <td style="padding-top: 10px;" align="right"> <input style="margin-right: 5px;" type="button" id="Save" value="Save" /> <input id="Cancel" type="button" value="Cancel" /> </td> </tr> </table> </div> </div> <?php confirm_delete(); page_footer(); ?>