sysutils/dmidecode: unify and update copyright

Discussed with: @evbevz
This commit is contained in:
Franco Fichtner
2019-01-12 18:23:15 +01:00
parent 032930fcec
commit 56c4012110
3 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ Copyright (c) 2017-2018 Michael Muenz <m.muenz@gmail.com>
Copyright (c) 2004-2012 Scott Ullrich <sullrich@gmail.com>
Copyright (c) 2010 Seth Mos <seth.mos@dds.nl>
Copyright (c) 2008 Shrew Soft Inc. <mgrooms@shrew.net>
Copyright (c) 2017 Smart-Soft
Copyright (c) 2017-2019 Smart-Soft
Copyright (c) 2013 Stanley P. Miller \ stan-qaz
Copyright (c) 2010 Yehuda Katz
All rights reserved.
+1
View File
@@ -3,6 +3,7 @@ PLUGIN_VERSION= 0.1
PLUGIN_COMMENT= Display hardware information on the dashboard
PLUGIN_DEPENDS= dmidecode
PLUGIN_MAINTAINER= evbevz@gmail.com
PLUGIN_WWW= https://smart-soft.ru
PLUGIN_DEVEL= yes
.include "../../Mk/plugins.mk"
@@ -1,7 +1,7 @@
<?php
/*
* Copyright (C) 2019 Smart-Soft Ltd.
* Copyright (C) 2019 Smart-Soft
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -26,14 +26,12 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
require_once("widgets/include/dmidecode.inc");
$hardwareData = parse_ini_string(configd_run("dmidecode system"));
$biosData = parse_ini_string(configd_run("dmidecode bios"));
?>
<table class="table table-striped table-condensed">
<tbody>
<tr><th colspan="2"><?=gettext("Platform");?></th></tr>
@@ -42,7 +40,7 @@ $biosData = parse_ini_string(configd_run("dmidecode bios"));
<td style="width: 30%;"><?=gettext($key);?></td>
<td><?=html_safe($val);?></td>
</tr>
<? } ?>
<?php } ?>
<tr><th colspan="2"><?=gettext("BIOS");?></th></tr>
<?php foreach($biosData as $key => $val) { ?>
<tr>