504:862de87f9f89 | 506:cdcd07bbee30 |
---|---|
1 <?php | 1 <?php |
2 /***************************************************************************** | 2 /***************************************************************************** |
3 * Copyright (C) 2014 | 3 * Copyright (C) 2014-2017 |
4 * | 4 * |
5 * Michiel Broek <mbroek at mbse dot eu> | 5 * Michiel Broek <mbroek at mbse dot eu> |
6 * | 6 * |
7 * This file is part of ThermFerm | 7 * This file is part of ThermFerm |
8 * | 8 * |
61 unset($_POST['TempAddress']); | 61 unset($_POST['TempAddress']); |
62 unset($_POST['HumAddress']); | 62 unset($_POST['HumAddress']); |
63 unset($_POST['LCDcols']); | 63 unset($_POST['LCDcols']); |
64 unset($_POST['LCDrows']); | 64 unset($_POST['LCDrows']); |
65 unset($_POST['key']); | 65 unset($_POST['key']); |
66 load('global.php'); | 66 load('maintenance.php'); |
67 } | 67 } |
68 | 68 |
69 | 69 |
70 | 70 |
71 function test_thedata() { | 71 function test_thedata() { |
106 case 2: $error = 'LCD columns must be 16 or 20'; | 106 case 2: $error = 'LCD columns must be 16 or 20'; |
107 break; | 107 break; |
108 case 3: $error = 'LCD rows must be 2 or 4'; | 108 case 3: $error = 'LCD rows must be 2 or 4'; |
109 break; | 109 break; |
110 case 99: | 110 case 99: |
111 load('global.php'); | 111 load('maintenance.php'); |
112 break; | 112 break; |
113 } | 113 } |
114 | 114 |
115 edit_screen($error); | 115 edit_screen($error); |
116 } | 116 } |