From 174b4ee6a26d9d17d7202bd2e3a3895f19939991 Mon Sep 17 00:00:00 2001 From: BENKE Charles Date: Sun, 8 Jun 2014 14:35:07 +0200 Subject: [PATCH] add dynamic keypad on cashdesk --- htdocs/cashdesk/include/keypad.php | 44 ++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 htdocs/cashdesk/include/keypad.php diff --git a/htdocs/cashdesk/include/keypad.php b/htdocs/cashdesk/include/keypad.php new file mode 100644 index 00000000000..e8c3780f348 --- /dev/null +++ b/htdocs/cashdesk/include/keypad.php @@ -0,0 +1,44 @@ + + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +function genkeypad($keypadname, $formname) +{ + // défine the font size of button + $btnsize=32; + $sz=''."\n"; + $sz.='
'."\n"; + $sz.=''; + return $sz; +} +?>