From 9b4eb5c497c0a03dc42b30fd8478e78a213cfa96 Mon Sep 17 00:00:00 2001 From: Rosiak Date: Fri, 11 Mar 2016 23:40:44 +0100 Subject: [PATCH] Basic Develop Ineo Printer Support #3029 --- html/images/os/develop.png | Bin 0 -> 1403 bytes includes/definitions.inc.php | 8 ++++++++ includes/polling/os/develop.inc.php | 12 ++++++++++++ 3 files changed, 20 insertions(+) create mode 100644 html/images/os/develop.png create mode 100644 includes/polling/os/develop.inc.php diff --git a/html/images/os/develop.png b/html/images/os/develop.png new file mode 100644 index 0000000000000000000000000000000000000000..871d83cdf982a436c1011d6d96045663dce91608 GIT binary patch literal 1403 zcmV->1%&#EP)Px#32;bRa{vGe>i_@>>j8p`4O##I1t3X8K~z`??Nv=|R8D-^=xzFHQ_w%OH_wKph{qA?ZbKV_*=GAnd=|IzgrUU=Y0rap& zzIS7QxZVVKS3U8_cX;%urL`Ldp>7|xV1a~M06_+g%So(#qh)GXXd0B6Xu>WwdYJ+x zLKV{TJpbRUL%16Lap@P&tykXv7>40qQ?KnzOdK{Qk z`wg_EEAV6@G2O;Xa7teMqq6<=UEF#m_yA z|4|qlCYU%nfGzQdPV3IZ0gzMG!NH<1?rFwdv!Oc4yeMmp4J^FigqXEac*G~}jCo(s zjvWE>P$s_f7W4|cwY z_Gr+UMO4EPfpf2t0gX+ zK!sCWj!rAZakco`qc}A_$yqE*0wJwSJ1I{LUA`Ifstzmgd$IWHrm*b9jJ_l zzBC@kB5wxk27U!sFR~)R!q?H=xp!f{+RwS9P@8VNRo=~wd@bRv)n8!V3+reSDkp1o}(F)7ab4EW$$A?{)L&9Qv8 zvwQhu4ZEiD>Cd^GW$%UyPB^$M_XPO6a;@3pqM=7Q_44HUp)-S}Qk{w` zPr+h+JGV0T3M|M{$xxxM!~`$eKwR-BhRmja;^_n<83Q?W!Rpj@PwK}wdHsUvAKJz4 zyrpxk+ftX#>>6mqO_=nQ1)<)jJ;AyqXR)9cVhxbl`tE@HeOii_5NB58D6$002ov JPDHLkV1k9`td{@) literal 0 HcmV?d00001 diff --git a/includes/definitions.inc.php b/includes/definitions.inc.php index 31f417edd2..dc4325b6e4 100644 --- a/includes/definitions.inc.php +++ b/includes/definitions.inc.php @@ -1236,6 +1236,14 @@ $config['os'][$os]['icon'] = 'lexmark'; $config['os'][$os]['over'][0]['graph'] = 'device_toner'; $config['os'][$os]['over'][0]['text'] = 'Toner'; +$os ='developprinter'; +$config['os'][$os]['group'] = 'printer'; +$config['os'][$os]['text'] = 'Develop Printer'; +$config['os'][$os]['type'] = 'printer'; +$config['os'][$os]['icon'] = 'develop'; +$config['os'][$os]['over'][0]['graph'] = 'device_toner'; +$config['os'][$os]['over'][0]['text'] = 'Toner'; + $os = '3com'; $config['os'][$os]['text'] = '3Com'; $config['os'][$os]['over'][0]['graph'] = 'device_bits'; diff --git a/includes/polling/os/develop.inc.php b/includes/polling/os/develop.inc.php new file mode 100644 index 0000000000..86dc994cfd --- /dev/null +++ b/includes/polling/os/develop.inc.php @@ -0,0 +1,12 @@ + + * 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. Please see LICENSE.txt at the top level of + * the source code distribution for details. + */ +$hardware = str_replace("Develop ","",$poll_device['sysDescr']);