Skip to content

Commit c0a486c

Browse files
committed
Implement new guidelines to build an extension
1.0.0 version
1 parent af5392e commit c0a486c

9 files changed

Lines changed: 18 additions & 64 deletions
7.4 KB
Loading
286 Bytes
Loading
383 Bytes
Loading
249 Bytes
Loading

teemip-ip-discovery/datamodel.teemip-ip-discovery.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<attribute id="org_id"/>
1919
</attributes>
2020
</reconciliation>
21-
<icon>images/binoculars.png</icon>
21+
<icon>asset/img/binoculars.png</icon>
2222
</properties>
2323
<fields>
2424
<field id="last_discovery_date" xsi:type="AttributeDateTime">
@@ -826,7 +826,7 @@
826826
<dashlet id="teemip-disc-104" xsi:type="DashletHeaderStatic">
827827
<rank>0</rank>
828828
<title>Menu:IPDiscovery:IPv4Statistics</title>
829-
<icon>teemip-ip-mgmt/images/ipaddress.png</icon>
829+
<icon>teemip-ip-mgmt/asset/img/ipaddress.png</icon>
830830
</dashlet>
831831
</dashlets>
832832
</cell>
@@ -843,7 +843,7 @@
843843
<dashlet id="teemip-disc-302" xsi:type="DashletHeaderDynamic">
844844
<rank>1</rank>
845845
<title>Menu:IPDiscovery:IPv4Ping</title>
846-
<icon>teemip-ip-discovery/images/ipmini-ping-xs.png</icon>
846+
<icon>teemip-ip-discovery/asset/img/ipmini-ping-xs.png</icon>
847847
<subtitle>By status</subtitle>
848848
<query>SELECT IPv4Address WHERE responds_to_ping = 'yes'</query>
849849
<group_by>status</group_by>
@@ -852,7 +852,7 @@
852852
<dashlet id="teemip-disc-303" xsi:type="DashletHeaderDynamic">
853853
<rank>2</rank>
854854
<title>Menu:IPDiscovery:IPv4Scan</title>
855-
<icon>teemip-ip-discovery/images/ipmini-scan-xs.png</icon>
855+
<icon>teemip-ip-discovery/asset/img/ipmini-scan-xs.png</icon>
856856
<subtitle>By status</subtitle>
857857
<query>SELECT IPv4Address WHERE responds_to_scan = 'yes'</query>
858858
<group_by>status</group_by>
@@ -861,7 +861,7 @@
861861
<dashlet id="teemip-disc-304" xsi:type="DashletHeaderDynamic">
862862
<rank>3</rank>
863863
<title>Menu:IPDiscovery:IPv4Lookup</title>
864-
<icon>teemip-ip-discovery/images/ipmini-lookup-xs.png</icon>
864+
<icon>teemip-ip-discovery/asset/img/ipmini-lookup-xs.png</icon>
865865
<subtitle>By status</subtitle>
866866
<query>SELECT IPv4Address WHERE responds_to_iplookup = 'yes'</query>
867867
<group_by>status</group_by>

teemip-ip-discovery/de.dict.teemip-ip-discovery.php

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
11
<?php
2-
// Copyright (C) 2016 TeemIp
3-
//
4-
// This file is part of TeemIp.
5-
//
6-
// TeemIp is free software; you can redistribute it and/or modify
7-
// it under the terms of the GNU Affero General Public License as published by
8-
// the Free Software Foundation, either version 3 of the License, or
9-
// (at your option) any later version.
10-
//
11-
// TeemIp is distributed in the hope that it will be useful,
12-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
// GNU Affero General Public License for more details.
15-
//
16-
// You should have received a copy of the GNU Affero General Public License
17-
// along with TeemIp. If not, see <http://www.gnu.org/licenses/>
18-
19-
/**
20-
* @copyright Copyright (C) 2016 TeemIp
2+
/*
3+
* @copyright Copyright (C) 2021 TeemIp
214
* @license http://opensource.org/licenses/AGPL-3.0
225
*/
236

teemip-ip-discovery/en.dict.teemip-ip-discovery.php

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
11
<?php
2-
// Copyright (C) 2016 TeemIp
3-
//
4-
// This file is part of TeemIp.
5-
//
6-
// TeemIp is free software; you can redistribute it and/or modify
7-
// it under the terms of the GNU Affero General Public License as published by
8-
// the Free Software Foundation, either version 3 of the License, or
9-
// (at your option) any later version.
10-
//
11-
// TeemIp is distributed in the hope that it will be useful,
12-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
// GNU Affero General Public License for more details.
15-
//
16-
// You should have received a copy of the GNU Affero General Public License
17-
// along with TeemIp. If not, see <http://www.gnu.org/licenses/>
18-
19-
/**
20-
* @copyright Copyright (C) 2016 TeemIp
2+
/*
3+
* @copyright Copyright (C) 2021 TeemIp
214
* @license http://opensource.org/licenses/AGPL-3.0
225
*/
236

teemip-ip-discovery/fr.dict.teemip-ip-discovery.php

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
11
<?php
2-
// Copyright (C) 2016 TeemIp
3-
//
4-
// This file is part of TeemIp.
5-
//
6-
// TeemIp is free software; you can redistribute it and/or modify
7-
// it under the terms of the GNU Affero General Public License as published by
8-
// the Free Software Foundation, either version 3 of the License, or
9-
// (at your option) any later version.
10-
//
11-
// TeemIp is distributed in the hope that it will be useful,
12-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
// GNU Affero General Public License for more details.
15-
//
16-
// You should have received a copy of the GNU Affero General Public License
17-
// along with TeemIp. If not, see <http://www.gnu.org/licenses/>
18-
19-
/**
20-
* @copyright Copyright (C) 2016 TeemIp
2+
/*
3+
* @copyright Copyright (C) 2021 TeemIp
214
* @license http://opensource.org/licenses/AGPL-3.0
225
*/
236

teemip-ip-discovery/module.teemip-ip-discovery.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
<?php
2+
/*
3+
* @copyright Copyright (C) 2021 TeemIp
4+
* @license http://opensource.org/licenses/AGPL-3.0
5+
*/
6+
27
SetupWebPage::AddModule(
38
__FILE__, // Path to the current file, all other file names are relative to the directory containing this file
4-
'teemip-ip-discovery/0.6.0',
9+
'teemip-ip-discovery/1.0.0',
510
array(
611
// Identification
712
//
@@ -11,7 +16,7 @@
1116
// Setup
1217
//
1318
'dependencies' => array(
14-
'teemip-ip-mgmt/2.6.0',
19+
'teemip-ip-mgmt/2.7.1',
1520
),
1621
'mandatory' => false,
1722
'visible' => true,

0 commit comments

Comments
 (0)