├── .github └── workflows │ ├── generatemo.yml │ ├── release.yml │ └── updatepot.yml ├── LICENSE ├── README.md ├── addressing.css ├── addressing.js ├── addressing.png ├── addressing.xml ├── ajax ├── addressing.php ├── index.php ├── ipcomment.php ├── ping.php ├── seePingTab.php └── updatepinginfo.php ├── front ├── addressing.form.php ├── addressing.php ├── config.form.php ├── config.php ├── filter.form.php ├── index.php ├── report.form.php └── reserveip.form.php ├── hook.php ├── inc ├── addressing.class.php ├── config.class.php ├── filter.class.php ├── index.php ├── ipcomment.class.php ├── ping_equipment.class.php ├── pinginfo.class.php ├── profile.class.php ├── report.class.php └── reserveip.class.php ├── index.php ├── locales ├── cs_CZ.mo ├── cs_CZ.po ├── de_DE.mo ├── de_DE.po ├── en_GB.mo ├── en_GB.po ├── es_AR.mo ├── es_AR.po ├── es_ES.mo ├── es_ES.po ├── fi_FI.mo ├── fi_FI.po ├── fr_FR.mo ├── fr_FR.po ├── glpi.pot ├── it_IT.mo ├── it_IT.po ├── pl_PL.mo ├── pl_PL.po ├── pt_BR.mo ├── pt_BR.po ├── ro_RO.mo ├── ro_RO.po ├── ru_RU.mo ├── ru_RU.po ├── tr_TR.mo └── tr_TR.po ├── setup.php ├── sql ├── empty-1.4.sql ├── empty-1.5.sql ├── empty-1.6.sql ├── empty-1.7.0.sql ├── empty-1.8.0.sql ├── empty-1.9.0.sql ├── empty-2.0.0.sql ├── empty-2.4.0.sql ├── empty-2.5.0.sql ├── empty-2.7.0.sql ├── empty-2.9.1.sql ├── empty-3.0.0.sql ├── empty-3.0.1.sql ├── update-1.4.sql ├── update-1.5.sql ├── update-1.6.sql ├── update-1.7.0.sql ├── update-1.8.0.sql ├── update-1.9.0.sql ├── update-2.4.0.sql ├── update-2.5.0.sql ├── update-2.9.1.sql └── update-3.0.1.sql └── tools ├── extract_template.sh ├── update_mo.pl └── update_po.pl /.github/workflows/generatemo.yml: -------------------------------------------------------------------------------- 1 | name: Generate MO 2 | on: 3 | push: 4 | branches: [ master ] 5 | paths: 6 | - '**.po' 7 | env: 8 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 9 | jobs: 10 | run: 11 | 12 | name: Generate mo 13 | runs-on: ubuntu-latest 14 | steps: 15 | - name: Checkout repo 16 | uses: actions/checkout@v4 17 | 18 | - name: Setup Perl environment 19 | # You may pin to the exact commit or the version. 20 | # uses: shogo82148/actions-setup-perl@8d2e3d59a9516b785ed32169d48a4888eaa9b514 21 | uses: shogo82148/actions-setup-perl@v1 22 | - name: msgfmt 23 | # You may pin to the exact commit or the version. 24 | # uses: whtsky/msgfmt-action@6b2181f051b002182d01a1e1f1aff216230c5a4d 25 | uses: whtsky/msgfmt-action@20190305 26 | - name: Generate mo 27 | run: perl tools/update_mo.pl; 28 | 29 | - name: Commit changes 30 | uses: EndBug/add-and-commit@v9 31 | with: 32 | 33 | message: "Generate mo" 34 | - name: Push changes 35 | 36 | uses: actions-go/push@master 37 | 38 | -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- 1 | 2 | on: 3 | push: 4 | # Sequence of patterns matched against refs/tags 5 | tags: 6 | - '*.*.*' # Push events to matching ex:20.15.10 7 | 8 | name: Create release with tag 9 | env: 10 | TAG_VALUE: ${GITHUB_REF/refs\/tags\//} 11 | jobs: 12 | build: 13 | name: Upload Release Asset 14 | runs-on: ubuntu-latest 15 | steps: 16 | - name: Checkout code 17 | uses: actions/checkout@v4 18 | - name: Setup PHP 19 | uses: shivammathur/setup-php@v2 20 | with: 21 | php-version: 7.4 22 | - name: Build project # This would actually build your project, using zip for an example artifact 23 | id: build_ 24 | env: 25 | GITHUB_NAME: ${{ github.event.repository.name }} 26 | 27 | 28 | run: php -v ;sudo apt-get install libxml-xpath-perl; sudo apt-get install composer;echo $(xpath -e '/root/versions/version[num="'${GITHUB_REF/refs\/tags\//}'"]/compatibility/text()' $GITHUB_NAME.xml);echo ::set-output name=version_glpi::$(xpath -e '/root/versions/version[num="'${GITHUB_REF/refs\/tags\//}'"]/compatibility/text()' $GITHUB_NAME.xml); [[ -f composer.json ]] && composer install --no-dev; rm -rf $GITHUB_NAME.xml tools wiki screenshots test .git .github ISSUE_TEMPLATE.md TODO.txt $GITHUB_NAME.png;cd ..; tar -jcvf glpi-$GITHUB_NAME-${GITHUB_REF/refs\/tags\//}.tar.bz2 $GITHUB_NAME;ls -al;echo ::set-output name=tag::${GITHUB_REF/refs\/tags\//};echo ${{ steps.getxml.outputs.info }}; 29 | # run: rm -rf $GITHUB_NAME.xml tools wiki screenshots test ISSUE_TEMPLATE.md TODO.txt $GITHUB_NAME.png; tar -zcvf glpi-$GITHUB_NAME-$GITHUB_TAG.tar.bz2 $GITHUB_NAME 30 | - name: Create Release 31 | id: create_release 32 | uses: actions/create-release@v1 33 | env: 34 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 35 | with: 36 | tag_name: ${{ github.ref }} 37 | release_name: | 38 | GLPI ${{ steps.build_.outputs.version_glpi }} : Version ${{ github.ref }} disponible / available 39 | body : Version ${{ steps.build_.outputs.tag }} released for GLPI ${{ steps.build_.outputs.version_glpi }} 40 | draft: false 41 | prerelease: true 42 | - name: Upload Release Asset 43 | id: upload-release-asset 44 | uses: actions/upload-release-asset@v1 45 | env: 46 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 47 | GITHUB_NAME: ${{ github.event.repository.name }} 48 | with: 49 | upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps 50 | asset_path: /home/runner/work/${{ github.event.repository.name }}/glpi-${{ github.event.repository.name }}-${{ steps.build_.outputs.tag }}.tar.bz2 51 | asset_name: glpi-${{ github.event.repository.name }}-${{ steps.build_.outputs.tag }}.tar.bz2 52 | asset_content_type: application/zip 53 | 54 | -------------------------------------------------------------------------------- /.github/workflows/updatepot.yml: -------------------------------------------------------------------------------- 1 | name: Update POT 2 | on: 3 | push: 4 | branches: [ master ] 5 | paths-ignore: 6 | - 'locales/**' 7 | 8 | env: 9 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 10 | jobs: 11 | run: 12 | 13 | name: Update POT 14 | 15 | runs-on: ubuntu-latest 16 | steps: 17 | - name: Checkout repo 18 | uses: actions/checkout@v4 19 | 20 | - name: install xgettext 21 | 22 | run: sudo apt-get install gettext; 23 | - name: Update POT 24 | run: sh tools/extract_template.sh; 25 | 26 | 27 | - name: Commit changes 28 | uses: EndBug/add-and-commit@v9 29 | with: 30 | message: "Update POT" 31 | - name: Push changes 32 | 33 | uses: actions-go/push@master 34 | 35 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # addressing 2 | Plugin addressing for GLPI 3 | 4 | Ce plugin est sur Transifex - Aidez-nous à le traduire : 5 | https://www.transifex.com/infotelGLPI/GLPI_addressing 6 | 7 | This plugin is on Transifex - Help us to translate : 8 | https://www.transifex.com/infotelGLPI/GLPI_addressing 9 | 10 | ## Français 11 | 12 | Ce plugin vous permet créer des rapports IP afin de visualiser les adresses ip utilisées et libres sur un réseau donné. 13 | > * Génération de la liste des ip attribuées / libres / réservées / doublons pour tout type de matériel ayant une IP. 14 | > * Réservations d'IP. 15 | > * Filtre par réseau. 16 | > * Ping adresses libres sur divers systèmes. 17 | > * Export du rapport en pdf, csv, slk 18 | 19 | ## English 20 | 21 | This plugin enables you to create IP reports for visualize IP addresses used and free on a given network. 22 | > * List generation of ip assigned / free / reserved / doubles for all items with IP field. 23 | > * IP reservations. 24 | > * Filter with network. 25 | > * Ping fonction for free ip for many systems. 26 | > * Report export to pdf, csv, slk 27 | -------------------------------------------------------------------------------- /addressing.css: -------------------------------------------------------------------------------- 1 | /* 2 | * @version $Id$ 3 | ------------------------------------------------------------------------- 4 | addressing plugin for GLPI 5 | Copyright (C) 2009-2022 by the addressing Development Team. 6 | 7 | https://github.com/pluginsGLPI/addressing 8 | ------------------------------------------------------------------------- 9 | 10 | LICENSE 11 | 12 | This file is part of addressing. 13 | 14 | addressing is free software; you can redistribute it and/or modify 15 | it under the terms of the GNU General Public License as published by 16 | the Free Software Foundation; either version 2 of the License, or 17 | (at your option) any later version. 18 | 19 | addressing is distributed in the hope that it will be useful, 20 | but WITHOUT ANY WARRANTY; without even the implied warranty of 21 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22 | GNU General Public License for more details. 23 | 24 | You should have received a copy of the GNU General Public License 25 | along with addressing. If not, see . 26 | -------------------------------------------------------------------------- 27 | */ 28 | 29 | .plugin_addressing_ip_double { 30 | background-color: #CF9B9B; 31 | } 32 | 33 | .plugin_addressing_ip_free { 34 | background-color: #8CB8D8; 35 | } 36 | 37 | .plugin_addressing_ip_reserved { 38 | background-color: #e78e3f; 39 | } 40 | 41 | .plugin_addressing_ping_on { 42 | background-color: #8CB8D8; 43 | } 44 | 45 | .plugin_addressing_ping_off { 46 | background-color: #8DA372; 47 | } 48 | 49 | 50 | .plugin_addressing_ping_equipment { 51 | border:2px solid #E1CC7B; 52 | color:white; 53 | background-color:black; 54 | font-weight:bold; 55 | height:150px; 56 | width:100%; 57 | overflow:auto; 58 | border-radius: 4px 4px 4px 4px; 59 | padding: 2px; 60 | } 61 | 62 | .legend_addressing { 63 | padding: 10px; 64 | margin: 10px; 65 | } 66 | -------------------------------------------------------------------------------- /addressing.js: -------------------------------------------------------------------------------- 1 | // Compute and Check the input data 2 | function plugaddr_Compute(msg) { 3 | 4 | var ipdeb = new Array(); 5 | var ipfin = new Array(); 6 | var subnet = new Array(); 7 | var netmask = new Array(); 8 | var i; 9 | var val; 10 | 11 | document.getElementById("plugaddr_range").innerHTML = ""; 12 | document.getElementById("plugaddr_ipdeb").value = ""; 13 | document.getElementById("plugaddr_ipfin").value = ""; 14 | 15 | for (var i = 0; i < 4; i++) { 16 | val=document.getElementById("plugaddr_ipdeb"+i).value; 17 | if (val=='' || isNaN(val) || parseInt(val)<0 || parseInt(val)>255) { 18 | document.getElementById("plugaddr_range").innerHTML=msg+" ("+val+")"; 19 | return false; 20 | } 21 | ipdeb[i]=parseInt(val); 22 | 23 | val=document.getElementById("plugaddr_ipfin"+i).value; 24 | if (val=='' || isNaN(val) || parseInt(val)<0 || parseInt(val)>255) { 25 | document.getElementById("plugaddr_range").innerHTML=msg+" ("+val+")"; 26 | return false; 27 | } 28 | ipfin[i]=parseInt(val); 29 | } 30 | 31 | if (ipdeb[0]>ipfin[0]) { 32 | document.getElementById("plugaddr_range").innerHTML=msg+" ("+ipdeb[0]+">"+ipfin[0]+")"; 33 | return false; 34 | } 35 | if (ipdeb[0]==ipfin[0] && ipdeb[1]>ipfin[1]) { 36 | document.getElementById("plugaddr_range").innerHTML=msg+" ("+ipdeb[1]+">"+ipfin[1]+")"; 37 | return false; 38 | } 39 | if (ipdeb[0]==ipfin[0] && ipdeb[1]==ipfin[1] && ipdeb[2]>ipfin[2]) { 40 | document.getElementById("plugaddr_range").innerHTML=msg+" ("+ipdeb[2]+">"+ipfin[2]+")"; 41 | return false; 42 | } 43 | if (ipdeb[0]==ipfin[0] && ipdeb[1]==ipfin[1] && ipdeb[2]==ipfin[2] && ipdeb[3]>ipfin[3]) { 44 | document.getElementById("plugaddr_range").innerHTML=msg+" ("+ipdeb[3]+">"+ipfin[3]+")"; 45 | return false; 46 | } 47 | document.getElementById("plugaddr_range").innerHTML=""+ipdeb[0]+"."+ipdeb[1]+"."+ipdeb[2]+"."+ipdeb[3]+" - "+ipfin[0]+"."+ipfin[1]+"."+ipfin[2]+"."+ipfin[3]; 48 | document.getElementById("plugaddr_ipdeb").value=""+ipdeb[0]+"."+ipdeb[1]+"."+ipdeb[2]+"."+ipdeb[3]; 49 | document.getElementById("plugaddr_ipfin").value=""+ipfin[0]+"."+ipfin[1]+"."+ipfin[2]+"."+ipfin[3]; 50 | return true; 51 | } 52 | 53 | // Check the input data (from onSubmit) 54 | function plugaddr_Check(msg) { 55 | 56 | if (plugaddr_Compute(msg)) { 57 | return true; 58 | } 59 | alert(msg); 60 | return false; 61 | } 62 | 63 | // Display initial values 64 | function plugaddr_Init(msg) { 65 | 66 | var ipdeb = new Array(); 67 | var ipfin = new Array(); 68 | 69 | var ipdebstr = document.getElementById("plugaddr_ipdeb").value; 70 | var ipfinstr = document.getElementById("plugaddr_ipfin").value; 71 | 72 | document.getElementById("plugaddr_range").innerHTML=""+ipdebstr+" - "+ipfinstr; 73 | 74 | ipdeb=ipdebstr.split("."); 75 | ipfin=ipfinstr.split("."); 76 | for (i=0;i<4;i++) { 77 | document.getElementById("plugaddr_ipdeb"+i).value=ipdeb[i]; 78 | document.getElementById("plugaddr_ipfin"+i).value=ipfin[i]; 79 | } 80 | } 81 | 82 | // Refresh the check message after onChange (from text input) 83 | // function plugaddr_ChangeNumber(msg) { 84 | // 85 | // var lst=document.getElementById("plugaddr_subnet"); 86 | // if (lst!=null) { 87 | // lst.selectedIndex=0; 88 | // } 89 | // 90 | // plugaddr_Compute(msg); 91 | // } 92 | 93 | // Refresh the check message after onChange (from list) 94 | // function plugaddr_ChangeList(id,msg) { 95 | // 96 | // var i; 97 | // var lst=document.getElementById(id); 98 | // if (lst.value == "0") { 99 | // return; 100 | // } 101 | // var champ=lst.value.split("/"); 102 | // var subnet=champ[0].split("."); 103 | // var netmask=champ[1].split(".", 4); 104 | // var ipdeb = new Array(); 105 | // var ipfin = new Array(); 106 | // 107 | // netmask[3] = parseInt(netmask[3]).toString(); 108 | // if (lst.selectedIndex>0) { 109 | // for (var i=0;i<4;i++) { 110 | // ipdeb[i]=subnet[i]&netmask[i]; 111 | // ipfin[i]=ipdeb[i]|(255-netmask[i]); 112 | // if (i==3) { 113 | // ipdeb[3]++; 114 | // ipfin[3]--; 115 | // } 116 | // document.getElementById("plugaddr_ipdeb"+i).value=ipdeb[i]; 117 | // document.getElementById("plugaddr_ipfin"+i).value=ipfin[i]; 118 | // } 119 | // plugaddr_Compute(msg); 120 | // } 121 | // } 122 | 123 | function nameIsThere(params) { 124 | var root_doc = params; 125 | var nameElm = $('input[id*="name_reserveip"]'); 126 | var typeElm = $('select[name="type"]'); 127 | var divNameItemElm = $('div[id="nameItem"]'); 128 | $.ajax({ 129 | url: root_doc + '/front/addressing.php', 130 | type: "GET", 131 | dataType: "json", 132 | data: { 133 | action: 'isName', 134 | name: (nameElm.length != 0) ? nameElm.val() : '0', 135 | type: (typeElm.length != 0) ? typeElm.val() : '0', 136 | }, 137 | success: function (json) { 138 | if (json) { 139 | divNameItemElm.show(); 140 | } else { 141 | divNameItemElm.hide(); 142 | } 143 | } 144 | }); 145 | } 146 | -------------------------------------------------------------------------------- /addressing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/addressing/8b02f895bef38380603f622d38fbb5c7e05b24ea/addressing.png -------------------------------------------------------------------------------- /addressing.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | IP Report 4 | addressing 5 | stable 6 | https://github.com/pluginsGLPI/addressing/blob/master/addressing.png?raw=true 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -Génération de la liste des ip attribuées / libres / réservées / doublons pour tout type de matériel ayant une IP.
-Réservations d'IP.
-Ping adresses libres sur divers systèmes.]]>
15 | -List generation of ip assigned / free / reserved / doubles for all items with IP field.
-IP reservations.
-Ping fonction for free ip for many systems.]]>
16 | - Vytváření seznamu přiřazených/volných/rezervovaných/duplicitních IP adres pro všechny položky s kolonkou IP adresa.
- Rezervace IP adres.
- Ping funkce pro volné IP adresy pro mnoho systémů.]]>
17 |
18 |
19 | https://github.com/pluginsGLPI/addressing 20 | https://github.com/pluginsGLPI/addressing/releases 21 | https://github.com/pluginsGLPI/addressing/issues 22 | https://github.com/pluginsGLPI/addressing/wiki 23 | 24 | Gilles Portheault 25 | Xavier Caillaud / Infotel 26 | Remi Collet 27 | Nelly Mahu-Lasson 28 | 29 | 30 | 31 | 3.0.3 32 | ~10.0 33 | https://github.com/pluginsGLPI/addressing/releases/download/3.0.3/glpi-addressing-3.0.3.tar.bz2 34 | 35 | 36 | 3.0.2 37 | ~10.0 38 | https://github.com/pluginsGLPI/addressing/releases/download/3.0.2/glpi-addressing-3.0.2.tar.bz2 39 | 40 | 41 | 3.0.1 42 | ~10.0 43 | https://github.com/pluginsGLPI/addressing/releases/download/3.0.1/glpi-addressing-3.0.1.tar.bz2 44 | 45 | 46 | 3.0.0 47 | ~10.0 48 | https://github.com/pluginsGLPI/addressing/releases/download/3.0.0/glpi-addressing-3.0.0.tar.bz2 49 | 50 | 51 | 3.0.0-rc2 52 | ~10.0 53 | https://github.com/pluginsGLPI/addressing/releases/download/3.0.0-rc2/glpi-addressing-3.0.0-rc2.tar.bz2 54 | 55 | 56 | 3.0.0-rc1 57 | ~10.0 58 | https://github.com/pluginsGLPI/addressing/releases/download/3.0.0-rc1/glpi-addressing-3.0.0-rc1.tar.bz2 59 | 60 | 61 | 2.9.1 62 | 9.5 63 | 64 | 65 | 2.9.0 66 | 9.5 67 | 68 | 69 | 2.8.0 70 | 9.4 71 | 72 | 73 | 2.7.1 74 | 9.3 75 | 76 | 77 | 2.7.0 78 | 9.3 79 | 80 | 81 | 2.6.1 82 | 9.2 83 | 84 | 85 | 2.6.0 86 | 9.2 87 | 88 | 89 | 2.5.0 90 | 9.1.1 91 | 92 | 93 | 2.3.0 94 | 0.90 95 | 96 | 97 | 2.2.0 98 | 0.85.3 99 | 100 | 101 | 2.1.0 102 | 0.84 103 | 104 | 105 | 2.0.1 106 | 0.83.3 107 | 108 | 109 | 2.0.0 110 | 0.83 111 | 112 | 113 | 1.9.1 114 | 0.80 115 | 116 | 117 | 1.9.0 118 | 0.80 119 | 120 | 121 | 1.8.0 122 | 0.78 123 | 124 | 125 | 1.7.2 126 | 0.72 127 | 128 | 129 | 1.7.1 130 | 0.72 131 | 132 | 133 | 1.7.0 134 | 0.72 135 | 136 | 137 | 1.6 138 | 0.71 139 | 140 | 141 | 1.4 142 | 0.70 143 | 144 | 145 | 1.3 146 | 0.68 147 | 148 | 149 | 1.2 150 | 0.68 151 | 152 | 153 | 1.1 154 | 0.68 155 | 156 | 157 | 158 | cs_CZ 159 | de_DE 160 | en_GB 161 | es_AR 162 | es_ES 163 | fr_FR 164 | it_IT 165 | pl_PL 166 | pt_BR 167 | ro_RO 168 | ru_RU 169 | tr_TR 170 | 171 | 172 | 173 | 174 | Rapports 175 | Réseau 176 | 177 | 178 | Reports 179 | Network 180 | 181 | 182 | Výkazy 183 | Síť 184 | 185 | 186 |
187 | -------------------------------------------------------------------------------- /ajax/addressing.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | 30 | include('../../../inc/includes.php'); 31 | 32 | Session::checkLoginUser(); 33 | 34 | Html::header_nocache(); 35 | header("Content-Type: text/html; charset=UTF-8"); 36 | 37 | if (isset($_POST['action']) && $_POST['action'] == 'viewFilter') { 38 | if (isset($_POST['items_id']) 39 | && isset($_POST["id"])) { 40 | $filter = new PluginAddressingFilter(); 41 | $filter->showForm($_POST["id"], ['items_id' => $_POST['items_id']]); 42 | } else { 43 | echo __('Access denied'); 44 | } 45 | 46 | } else if (isset($_POST['action']) && $_POST['action'] == 'entities_networkip') { 47 | IPNetwork::showIPNetworkProperties($_POST['entities_id']); 48 | 49 | } else if (isset($_POST['action']) && $_POST['action'] == 'entities_location') { 50 | Dropdown::show('Location', ['name' => "locations_id", 51 | 'value' => $_POST["value"], 52 | 'entity' => $_POST['entities_id']]); 53 | 54 | } else if (isset($_POST['action']) && $_POST['action'] == 'entities_fqdn') { 55 | Dropdown::show('FQDN', ['name' => "fqdns_id", 56 | 'value' => $_POST["value"], 57 | 'entity' => $_POST['entities_id']]); 58 | 59 | } elseif ($_GET['action'] == 'ping') { 60 | Html::popHeader(__s('IP ping', 'addressing'), $_SERVER['PHP_SELF']); 61 | 62 | if(filter_var($_GET["ip"], FILTER_VALIDATE_IP)) { 63 | $PluginAddressingPing_Equipment = new PluginAddressingPing_Equipment(); 64 | $PluginAddressingPing_Equipment->showIPForm($_GET["ip"]); 65 | } 66 | Html::popFooter(); 67 | 68 | } else { 69 | Html::popHeader(__s('IP reservation', 'addressing'), $_SERVER['PHP_SELF']); 70 | 71 | if(filter_var($_GET["ip"], FILTER_VALIDATE_IP)) { 72 | $PluginAddressingReserveip = new PluginAddressingReserveip(); 73 | $PluginAddressingReserveip->showReservationForm($_GET["ip"], $_GET['id_addressing'], $_GET['rand']); 74 | } 75 | 76 | Html::popFooter(); 77 | } 78 | -------------------------------------------------------------------------------- /ajax/index.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | -------------------------------------------------------------------------------- /ajax/ipcomment.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | 30 | // ---------------------------------------------------------------------- 31 | // Original Author of file: Alban Lesellier 32 | // ---------------------------------------------------------------------- 33 | 34 | 35 | include('../../../inc/includes.php'); 36 | 37 | header("Content-Type: application/json; charset=UTF-8"); 38 | Html::header_nocache(); 39 | 40 | Session::checkLoginUser(); 41 | 42 | if (!isset($_POST['addressing_id'])) { 43 | echo json_encode(0); 44 | } 45 | if (!isset($_POST['ipname'])) { 46 | echo json_encode(0); 47 | } 48 | 49 | $addressing_id = $_POST['addressing_id']; 50 | $ipname = $_POST['ipname']; 51 | $content = Toolbox::addslashes_deep($_POST['contentC']); 52 | 53 | $ipcomment = new PluginAddressingIpcomment(); 54 | if ($ipcomment->getFromDBByCrit(['plugin_addressing_addressings_id' => $addressing_id, 'ipname' => $ipname])) { 55 | $ipcomment->update(['id' => $ipcomment->getID(), 'comments' => $content]); 56 | } else { 57 | $ipcomment->add(['plugin_addressing_addressings_id' => $addressing_id, 'ipname' => $ipname, 'comments' => $content]); 58 | } 59 | 60 | 61 | echo json_encode(0); 62 | 63 | -------------------------------------------------------------------------------- /ajax/ping.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | 30 | // ---------------------------------------------------------------------- 31 | // Original Author of file: Alexandre DELAUNAY 32 | // Purpose of file: 33 | // ---------------------------------------------------------------------- 34 | 35 | 36 | include('../../../inc/includes.php'); 37 | 38 | header("Content-Type: text/html; charset=UTF-8"); 39 | Html::header_nocache(); 40 | 41 | Session::checkLoginUser(); 42 | 43 | if (!isset($_POST['ip']) || !filter_var($_POST["ip"], FILTER_VALIDATE_IP)) { 44 | exit(); 45 | } 46 | $ip = $_POST['ip']; 47 | $itemtype = $_POST['itemtype']; 48 | $items_id = $_POST['items_id']; 49 | 50 | $config = new PluginAddressingConfig(); 51 | $config->getFromDB('1'); 52 | $system = $config->fields["used_system"]; 53 | 54 | $ping_equip = new PluginAddressingPing_Equipment(); 55 | list($message, $error) = $ping_equip->ping($system, $ip); 56 | 57 | $plugin_addressing_pinginfo = new PluginAddressingPinginfo(); 58 | 59 | $ping_value = $ping_equip->ping($system, $ip, "true"); 60 | 61 | $id = 0; 62 | $ping_date = 0; 63 | if ($ping_value == false || $ping_value == true) { 64 | 65 | $ping_date = $_SESSION['glpi_currenttime']; 66 | if ($pings = $plugin_addressing_pinginfo->find(['itemtype' => $itemtype, 67 | 'items_id' => $items_id])) { 68 | foreach ($pings as $ping) { 69 | $id = $ping['id']; 70 | 71 | $plugin_addressing_pinginfo->update(['id' => $id, 72 | 'ping_response' => $ping_value, 73 | 'ping_date' => $ping_date]); 74 | } 75 | } else { 76 | 77 | $num = "IP".PluginAddressingReport::ip2string($ip); 78 | $plugin_addressing_pinginfo->add(['ping_response' => $ping_value, 79 | 'ping_date' => $ping_date, 'itemtype' => $itemtype, 80 | 'items_id' => $items_id, 'ipname' => $num]); 81 | } 82 | } 83 | 84 | echo $ping_response = $message; 85 | 86 | -------------------------------------------------------------------------------- /ajax/seePingTab.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | 30 | $AJAX_INCLUDE = 1; 31 | if (strpos($_SERVER['PHP_SELF'], "seePingTab.php")) { 32 | include('../../../inc/includes.php'); 33 | header("Content-Type: text/html; charset=UTF-8"); 34 | Html::header_nocache(); 35 | } 36 | 37 | Session::checkLoginUser(); 38 | 39 | if (isset($_POST['action']) && $_POST['action'] == "viewPingform") { 40 | 41 | echo Html::scriptBlock("$('#ping_item').show();"); 42 | 43 | $pingE = new PluginAddressingPing_Equipment(); 44 | $pingE->showPingForm($_POST['itemtype'], $_POST['items_id']); 45 | } 46 | 47 | $_POST['name'] = "ping_item"; 48 | $_POST['rand'] = ""; 49 | Ajax::commonDropdownUpdateItem($_POST); 50 | -------------------------------------------------------------------------------- /ajax/updatepinginfo.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | 30 | // ---------------------------------------------------------------------- 31 | // Original Author of file: Alban Lesellier 32 | // ---------------------------------------------------------------------- 33 | 34 | 35 | include('../../../inc/includes.php'); 36 | 37 | header("Content-Type: application/json; charset=UTF-8"); 38 | Html::header_nocache(); 39 | 40 | Session::checkLoginUser(); 41 | 42 | if (!isset($_POST['addressing_id'])) { 43 | echo 0; 44 | } 45 | $addressing_id = $_POST['addressing_id']; 46 | $old_execution = ini_set("max_execution_time", "0"); 47 | $addressing = new PluginAddressingAddressing(); 48 | $addressing->getFromDB($addressing_id); 49 | $pingInfo = new PluginAddressingPinginfo(); 50 | $pingInfo->updateAnAddressing($addressing); 51 | ini_set("max_execution_time", $old_execution); 52 | 53 | echo 1; 54 | 55 | -------------------------------------------------------------------------------- /front/addressing.form.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | 30 | include ('../../../inc/includes.php'); 31 | 32 | Session::checkLoginUser(); 33 | 34 | if (!isset($_GET["id"])) { 35 | $_GET["id"] = ""; 36 | } 37 | 38 | if (isset($_GET["start"])) { 39 | $start = $_GET["start"]; 40 | } else { 41 | $start = 0; 42 | } 43 | 44 | $addressing = new PluginAddressingAddressing(); 45 | 46 | if (isset($_POST["add"])) { 47 | $addressing->check(-1, CREATE, $_POST); 48 | if (!empty($_POST["name"]) 49 | && !empty($_POST["begin_ip"]) 50 | && !empty($_POST["end_ip"])) { 51 | $newID = $addressing->add($_POST); 52 | 53 | } else { 54 | Session::addMessageAfterRedirect(__('Problem when adding, required fields are not here', 'addressing'), 55 | false, ERROR); 56 | } 57 | if ($_SESSION['glpibackcreated']) { 58 | Html::redirect($addressing->getFormURL()."?id=".$newID); 59 | } 60 | Html::back(); 61 | 62 | } else if (isset($_POST["delete"])) { 63 | $addressing->check($_POST['id'], DELETE); 64 | $addressing->delete($_POST); 65 | $addressing->redirectToList(); 66 | 67 | } else if (isset($_POST["restore"])) { 68 | $addressing->check($_POST['id'], PURGE); 69 | $addressing->restore($_POST); 70 | $addressing->redirectToList(); 71 | 72 | } else if (isset($_POST["purge"])) { 73 | $addressing->check($_POST['id'], PURGE); 74 | $addressing->delete($_POST, 1); 75 | $addressing->redirectToList(); 76 | 77 | } else if (isset($_POST["update"])) { 78 | $addressing->check($_POST['id'], UPDATE); 79 | if (!empty($_POST["name"]) 80 | && !empty($_POST["begin_ip"]) 81 | && !empty($_POST["end_ip"])) { 82 | $addressing->update($_POST); 83 | } else { 84 | Session::addMessageAfterRedirect(__('Problem when adding, required fields are not here', 'addressing'), 85 | false, ERROR); 86 | } 87 | Html::back(); 88 | 89 | } else if (isset($_POST["search"])) { 90 | 91 | $addressing->checkGlobal(READ); 92 | Html::header(PluginAddressingAddressing::getTypeName(2), '', "tools", "pluginaddressingaddressing"); 93 | $addressing->display($_POST); 94 | Html::footer(); 95 | } else { 96 | $addressing->checkGlobal(READ); 97 | Html::header(PluginAddressingAddressing::getTypeName(2), '', "tools", "pluginaddressingaddressing"); 98 | $addressing->display($_GET); 99 | Html::footer(); 100 | } 101 | -------------------------------------------------------------------------------- /front/addressing.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | 30 | include ('../../../inc/includes.php'); 31 | 32 | Session::checkLoginUser(); 33 | 34 | $PluginAddressingAddressing = new PluginAddressingAddressing(); 35 | 36 | if (isset($_GET['action']) && $_GET['action'] == 'isName') { 37 | 38 | if ($PluginAddressingAddressing->canView() || Session::haveRight("config", UPDATE)) { 39 | $item = new $_GET['type'](); 40 | $datas = $item->find(['name' => ['LIKE', $_GET['name']]]); 41 | if (count($datas) > 0) { 42 | echo json_encode(true); 43 | } else { 44 | echo json_encode(false); 45 | } 46 | } 47 | } else { 48 | 49 | Html::header(PluginAddressingAddressing::getTypeName(2), '', "tools", "pluginaddressingaddressing"); 50 | 51 | if ($PluginAddressingAddressing->canView() || Session::haveRight("config", UPDATE)) { 52 | Search::show("PluginAddressingAddressing"); 53 | 54 | } else { 55 | Html::displayRightError(); 56 | } 57 | 58 | Html::footer(); 59 | } 60 | 61 | 62 | -------------------------------------------------------------------------------- /front/config.form.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | 30 | include ('../../../inc/includes.php'); 31 | 32 | if (Plugin::isPluginActive("addressing")) { 33 | $PluginAddressingConfig = new PluginAddressingConfig(); 34 | 35 | Session::checkRight("config", UPDATE); 36 | 37 | if (isset($_POST["update"])) { 38 | $PluginAddressingConfig->update($_POST); 39 | Html::back(); 40 | 41 | } else { 42 | Html::header(PluginAddressingAddressing::getTypeName(2), '', "tools", "pluginaddressingaddressing", "addressing"); 43 | $PluginAddressingConfig->showForm(1); 44 | Html::footer(); 45 | } 46 | 47 | } else { 48 | Html::header(__('Setup'), '', "config", "plugins"); 49 | echo "
"; 50 | echo "".__('Please activate the plugin', 'addressing')."
"; 51 | Html::footer(); 52 | } 53 | -------------------------------------------------------------------------------- /front/config.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | 30 | include ('../../../inc/includes.php'); 31 | 32 | if (Plugin::isPluginActive("addressing")) { 33 | $PluginAddressingConfig = new PluginAddressingConfig(); 34 | 35 | Session::checkRight("config", UPDATE); 36 | 37 | if (isset($_POST["update"])) { 38 | $PluginAddressingConfig->update($_POST); 39 | Html::back(); 40 | 41 | } else { 42 | Html::header(PluginAddressingAddressing::getTypeName(2), '', "tools", "pluginaddressingaddressing", "addressing"); 43 | $PluginAddressingConfig->showForm(1); 44 | Html::footer(); 45 | } 46 | 47 | } else { 48 | Html::header(__('Setup'), '', "config", "plugins"); 49 | echo "
"; 50 | echo "".__('Please activate the plugin', 'addressing')."
"; 51 | Html::footer(); 52 | } 53 | -------------------------------------------------------------------------------- /front/filter.form.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | 30 | include ('../../../inc/includes.php'); 31 | 32 | Session::checkLoginUser(); 33 | 34 | $filter = new PluginAddressingFilter(); 35 | 36 | if (isset($_POST['add'])) { 37 | $filter->check(-1, CREATE, $_POST); 38 | unset($_POST['id']); 39 | $filter->add($_POST); 40 | Html::back(); 41 | } else if (isset($_POST['update'])) { 42 | $filter->check($_POST['id'], UPDATE); 43 | $filter->update($_POST); 44 | Html::back(); 45 | } else if (isset($_POST["purge"])) { 46 | $filter->check($_POST['id'], PURGE); 47 | $filter->delete($_POST, 1); 48 | Html::back(); 49 | } 50 | -------------------------------------------------------------------------------- /front/index.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | -------------------------------------------------------------------------------- /front/report.form.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | 30 | //Options for GLPI 0.71 and newer : need slave db to access the report 31 | $USEDBREPLICATE = 1; 32 | $DBCONNECTION_REQUIRED = 0; 33 | 34 | include ('../../../inc/includes.php'); 35 | 36 | Html::header(PluginAddressingAddressing::getTypeName(2), '', "tools", "pluginaddressingaddressing"); 37 | 38 | Session::checkLoginUser(); 39 | 40 | if (!isset($_GET["start"])) { 41 | $_GET["start"] = 0; 42 | } 43 | 44 | if (!isset($_GET["export"])) { 45 | $_GET["export"] = false; 46 | } 47 | 48 | $addressing = new PluginAddressingAddressing(); 49 | $addressing->showReport($_GET); 50 | 51 | Html::footer(); 52 | 53 | -------------------------------------------------------------------------------- /front/reserveip.form.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | 30 | include ('../../../inc/includes.php'); 31 | 32 | Session::checkLoginUser(); 33 | 34 | $reserveip = new PluginAddressingReserveip(); 35 | 36 | if (isset($_POST['add'])) { 37 | $reserveip->check(-1, CREATE, $_POST); 38 | $reserveip->reserveip($_POST); 39 | Html::popHeader(PluginAddressingReserveip::getTypeName()); 40 | echo "
"; 41 | echo __("The address has been reserved", "addressing"); 42 | echo "
"; 43 | Html::popFooter(); 44 | } else { 45 | Html::header(PluginAddressingReserveip::getTypeName(), '', "tools", "pluginaddressingaddressing"); 46 | if(filter_var($_REQUEST["ip"], FILTER_VALIDATE_IP)) { 47 | $reserveip->showReservationForm($_REQUEST["ip"], $_REQUEST["id_addressing"], $_REQUEST['rand']); 48 | } 49 | Html::footer(); 50 | } 51 | -------------------------------------------------------------------------------- /inc/config.class.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | 30 | if (!defined('GLPI_ROOT')) { 31 | die("Sorry. You can't access directly to this file"); 32 | } 33 | 34 | /** 35 | * Class PluginAddressingConfig 36 | */ 37 | class PluginAddressingConfig extends CommonDBTM { 38 | 39 | static $rightname = "plugin_addressing"; 40 | 41 | function showForm($ID, $options = []) { 42 | 43 | $this->getFromDB($ID); 44 | 45 | $system = $this->fields["used_system"]; 46 | 47 | echo "
"; 48 | echo "
"; 49 | 50 | echo ""; 51 | echo ""; 52 | 53 | echo ""; 61 | 62 | echo ""; 63 | 64 | echo ""; 65 | echo ""; 68 | 69 | echo ""; 70 | echo ""; 73 | echo ""; 74 | 75 | echo ""; 76 | echo ""; 79 | 80 | echo ""; 81 | echo ""; 84 | 85 | echo ""; 86 | 87 | echo ""; 88 | echo ""; 91 | echo ""; 92 | 93 | echo ""; 98 | echo "
".__('System for ping', 'addressing')."
"; 54 | $array = [0 => __('Linux ping', 'addressing'), 55 | 1 => __('Windows', 'addressing'), 56 | 2 => __('Linux fping', 'addressing'), 57 | 3 => __('BSD ping', 'addressing'), 58 | 4 => __('MacOSX ping', 'addressing')]; 59 | Dropdown::ShowFromArray("used_system", $array, ['value' => $system]); 60 | echo "
".__('Display', 'addressing')."
".__('Assigned IP', 'addressing').""; 66 | Dropdown::showYesNo("alloted_ip", $this->fields["alloted_ip"]); 67 | echo "".__('Free IP', 'addressing').""; 71 | Dropdown::showYesNo("free_ip", $this->fields["free_ip"]); 72 | echo "
".__('Same IP', 'addressing').""; 77 | Dropdown::showYesNo("double_ip", $this->fields["double_ip"]); 78 | echo "".__('Reserved IP', 'addressing').""; 82 | Dropdown::showYesNo("reserved_ip", $this->fields["reserved_ip"]); 83 | echo "
".__('Use Ping', 'addressing').""; 89 | Dropdown::showYesNo("use_ping", $this->fields["use_ping"]); 90 | echo "
"; 94 | echo Html::hidden('id', ['value' => 1]); 95 | echo "
"; 96 | echo Html::submit(_sx('button', 'Post'), ['name' => 'update', 'class' => 'btn btn-primary me-2']); 97 | echo "
"; 99 | Html::closeForm(); 100 | echo "
"; 101 | } 102 | } 103 | 104 | -------------------------------------------------------------------------------- /inc/index.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | -------------------------------------------------------------------------------- /inc/ipcomment.class.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | 30 | if (!defined('GLPI_ROOT')) { 31 | die("Sorry. You can't access directly to this file"); 32 | } 33 | 34 | /** 35 | * Class PluginAddressingIpcomment 36 | */ 37 | class PluginAddressingIpcomment extends CommonDBTM 38 | { 39 | static $rightname = "plugin_addressing"; 40 | 41 | static function getTypeName($nb = 0) 42 | { 43 | 44 | return _n('IP Addressing', 'IP Addressing', $nb, 'addressing'); 45 | } 46 | 47 | 48 | 49 | 50 | 51 | 52 | } 53 | -------------------------------------------------------------------------------- /inc/profile.class.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | 30 | if (!defined('GLPI_ROOT')) { 31 | die("Sorry. You can't access directly to this file"); 32 | } 33 | 34 | /** 35 | * Class PluginAddressingProfile 36 | */ 37 | class PluginAddressingProfile extends Profile 38 | { 39 | public static $rightname = "profile"; 40 | 41 | public static function getAllRights() 42 | { 43 | $rights = [ 44 | ['itemtype' => 'PluginAddressingAddressing', 45 | 'label' => __('Generate reports', 'addressing'), 46 | 'field' => 'plugin_addressing'], 47 | ['itemtype' => 'PluginAddressingAddressing', 48 | 'label' => __('Use ping on equipment form', 'addressing'), 49 | 'field' => 'plugin_addressing_use_ping_in_equipment']]; 50 | return $rights; 51 | } 52 | 53 | /** 54 | * Show profile form 55 | * 56 | * @param $items_id integer id of the profile 57 | * @param $target value url of target 58 | * 59 | * @return nothing 60 | **/ 61 | public function showForm($profiles_id = 0, $openform = true, $closeform = true) 62 | { 63 | echo "
"; 64 | if (($canedit = Session::haveRightsOr(self::$rightname, [CREATE, UPDATE, PURGE])) 65 | && $openform) { 66 | $profile = new Profile(); 67 | echo ""; 68 | } 69 | 70 | $profile = new Profile(); 71 | $profile->getFromDB($profiles_id); 72 | 73 | $rights = [ 74 | ['itemtype' => 'PluginAddressingAddressing', 75 | 'label' => __('Generate reports', 'addressing'), 76 | 'field' => 'plugin_addressing']]; 77 | 78 | $profile->displayRightsChoiceMatrix($rights, ['canedit' => $canedit, 79 | 'default_class' => 'tab_bg_2', 80 | 'title' => __('General')]); 81 | 82 | echo ""; 83 | 84 | $effective_rights = ProfileRight::getProfileRights( 85 | $profiles_id, 86 | ['plugin_addressing_use_ping_in_equipment'] 87 | ); 88 | echo ""; 89 | echo ""; 90 | echo "\n"; 94 | echo "
".__('Use ping on equipment form', 'addressing').""; 91 | Html::showCheckbox(['name' => '_plugin_addressing_use_ping_in_equipment[1_0]', 92 | 'checked' => $effective_rights['plugin_addressing_use_ping_in_equipment']]); 93 | echo "
"; 95 | 96 | if ($canedit 97 | && $closeform) { 98 | echo "
"; 99 | echo Html::hidden('id', ['value' => $profiles_id]); 100 | echo Html::submit(_sx('button', 'Save'), ['name' => 'update', 'class' => 'btn btn-primary']); 101 | echo "
\n"; 102 | Html::closeForm(); 103 | } 104 | echo "
"; 105 | } 106 | 107 | public function getTabNameForItem(CommonGLPI $item, $withtemplate = 0) 108 | { 109 | if ($item->getType() == 'Profile') { 110 | if ($item->getField('interface') == 'central') { 111 | return _n('IP Addressing', 'IP Addressing', 2, 'addressing'); 112 | } 113 | return ''; 114 | } 115 | return ''; 116 | } 117 | 118 | 119 | public static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0) 120 | { 121 | if ($item->getType() == 'Profile') { 122 | $profile = new self(); 123 | $ID = $item->getField('id'); 124 | //In case there's no right for this profile, create it 125 | self::addDefaultProfileInfos( 126 | $item->getID(), 127 | ['plugin_addressing' => 0, 128 | 'plugin_addressing_use_ping_in_equipment' => 0] 129 | ); 130 | $profile->showForm($ID); 131 | } 132 | return true; 133 | } 134 | 135 | 136 | /** 137 | * @param $profile 138 | **/ 139 | public static function addDefaultProfileInfos($profiles_id, $rights) 140 | { 141 | $profileRight = new ProfileRight(); 142 | $dbu = new DbUtils(); 143 | foreach ($rights as $right => $value) { 144 | if (!$dbu->countElementsInTable( 145 | 'glpi_profilerights', 146 | ["profiles_id" => $profiles_id, 147 | "name" => $right] 148 | )) { 149 | $myright['profiles_id'] = $profiles_id; 150 | $myright['name'] = $right; 151 | $myright['rights'] = $value; 152 | $profileRight->add($myright); 153 | 154 | //Add right to the current session 155 | $_SESSION['glpiactiveprofile'][$right] = $value; 156 | } 157 | } 158 | } 159 | 160 | /** 161 | * @param $ID integer 162 | */ 163 | public static function createFirstAccess($profiles_id) 164 | { 165 | self::addDefaultProfileInfos( 166 | $profiles_id, 167 | ['plugin_addressing' => ALLSTANDARDRIGHT, 168 | 'plugin_addressing_use_ping_in_equipment' => '1'] 169 | ); 170 | } 171 | 172 | 173 | /** 174 | * Initialize profiles 175 | */ 176 | public static function initProfile() 177 | { 178 | global $DB; 179 | 180 | $it = $DB->request([ 181 | 'FROM' => 'glpi_profilerights', 182 | 'WHERE' => [ 183 | 'profiles_id' => $_SESSION['glpiactiveprofile']['id'], 184 | 'name' => ['LIKE', '%plugin_addressing%'] 185 | ] 186 | ]); 187 | foreach ($it as $prof) { 188 | if (isset($_SESSION['glpiactiveprofile'])) { 189 | $_SESSION['glpiactiveprofile'][$prof['name']] = $prof['rights']; 190 | } 191 | } 192 | } 193 | 194 | public static function migrateProfiles() 195 | { 196 | global $DB; 197 | 198 | if (!$DB->tableExists('glpi_plugin_addressing_profiles')) { 199 | return true; 200 | } 201 | $dbu = new DbUtils(); 202 | $profiles = $dbu->getAllDataFromTable('glpi_plugin_addressing_profiles'); 203 | foreach ($profiles as $id => $profile) { 204 | switch ($profile['addressing']) { 205 | case 'r' : 206 | $value = READ; 207 | break; 208 | case 'w': 209 | $value = ALLSTANDARDRIGHT; 210 | break; 211 | case 0: 212 | default: 213 | $value = 0; 214 | break; 215 | } 216 | self::addDefaultProfileInfos($profile['profiles_id'], ['plugin_addressing' => $value]); 217 | self::addDefaultProfileInfos( 218 | $profile['profiles_id'], 219 | ['plugin_addressing_use_ping_in_equipment' 220 | => $profile['use_ping_in_equipment']] 221 | ); 222 | } 223 | } 224 | 225 | 226 | public static function removeRightsFromSession() 227 | { 228 | foreach (self::getAllRights() as $right) { 229 | if (isset($_SESSION['glpiactiveprofile'][$right['field']])) { 230 | unset($_SESSION['glpiactiveprofile'][$right['field']]); 231 | } 232 | } 233 | } 234 | } 235 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | -------------------------------------------------------------------------------- /locales/cs_CZ.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/addressing/8b02f895bef38380603f622d38fbb5c7e05b24ea/locales/cs_CZ.mo -------------------------------------------------------------------------------- /locales/cs_CZ.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR Addressing Development Team 3 | # This file is distributed under the same license as the GLPI - Addressing plugin package. 4 | # 5 | # Translators: 6 | # Amandine Manceau, 2018 7 | # Ondrej Krejcik , 2013 8 | # Pavel Borecki , 2018 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: GLPI Project - addressing plugin\n" 12 | "Report-Msgid-Bugs-To: \n" 13 | "POT-Creation-Date: 2022-09-15 13:40+0200\n" 14 | "PO-Revision-Date: 2012-09-07 11:14+0000\n" 15 | "Last-Translator: Pavel Borecki , 2018\n" 16 | "Language-Team: Czech (Czech Republic) (http://www.transifex.com/infotelGLPI/GLPI_addressing/language/cs_CZ/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: cs_CZ\n" 21 | "Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" 22 | 23 | #: hook.php:215 inc/ping_equipment.class.php:92 inc/pinginfo.class.php:190 24 | #: inc/report.class.php:141 25 | msgid "Ping result" 26 | msgstr "" 27 | 28 | #: hook.php:247 29 | msgid "Last ping OK" 30 | msgstr "" 31 | 32 | #: hook.php:249 33 | msgid "Last ping KO" 34 | msgstr "" 35 | 36 | #: hook.php:251 inc/pinginfo.class.php:174 37 | msgid "Ping informations not available" 38 | msgstr "" 39 | 40 | #: setup.php:81 inc/addressing.class.php:46 inc/ipcomment.class.php:44 41 | #: inc/pinginfo.class.php:42 inc/profile.class.php:108 42 | msgid "IP Adressing" 43 | msgid_plural "IP Adressing" 44 | msgstr[0] "IP adresování" 45 | msgstr[1] "IP adresování" 46 | msgstr[2] "IP adresování" 47 | msgstr[3] "IP adresování" 48 | 49 | #: ajax/addressing.php:60 inc/ping_equipment.class.php:71 50 | #: inc/ping_equipment.class.php:87 inc/report.class.php:179 51 | #: inc/report.class.php:184 inc/report.class.php:448 inc/report.class.php:453 52 | #: inc/report.class.php:585 inc/report.class.php:590 inc/report.class.php:690 53 | #: inc/report.class.php:695 54 | msgid "IP ping" 55 | msgstr "IP ping" 56 | 57 | #: ajax/addressing.php:69 inc/report.class.php:289 inc/report.class.php:346 58 | #: inc/report.class.php:480 inc/report.class.php:715 59 | #: inc/reserveip.class.php:42 60 | msgid "IP reservation" 61 | msgstr "" 62 | 63 | #: front/addressing.form.php:52 front/addressing.form.php:82 64 | msgid "Problem when adding, required fields are not here" 65 | msgstr "Problém při přidávání, chybí požadované kolonky" 66 | 67 | #: front/config.form.php:50 front/config.php:50 68 | msgid "Please activate the plugin" 69 | msgstr "Zapněte zásuvný modul" 70 | 71 | #: front/reserveip.form.php:39 72 | msgid "The address has been reserved" 73 | msgstr "" 74 | 75 | #: inc/addressing.class.php:92 inc/addressing.class.php:401 76 | msgid "Ping free IP" 77 | msgstr "" 78 | 79 | #: inc/addressing.class.php:140 inc/addressing.class.php:251 80 | #: inc/filter.class.php:121 inc/filter.class.php:316 81 | msgid "First IP" 82 | msgstr "První IP adresa" 83 | 84 | #: inc/addressing.class.php:149 inc/addressing.class.php:300 85 | #: inc/filter.class.php:161 inc/filter.class.php:317 86 | msgid "Last IP" 87 | msgstr "Poslední IP adresa" 88 | 89 | #: inc/addressing.class.php:183 inc/addressing.class.php:388 90 | #: inc/filter.class.php:219 91 | msgid "Report for the IP Range" 92 | msgstr "Přehled IP rozsahu" 93 | 94 | #: inc/addressing.class.php:222 inc/addressing.class.php:396 95 | #: inc/filter.class.php:87 inc/filter.class.php:225 96 | msgid "Invalid data !!" 97 | msgstr "Neplatná data!" 98 | 99 | #: inc/addressing.class.php:236 inc/addressing.class.php:770 100 | #: inc/config.class.php:64 101 | msgid "Assigned IP" 102 | msgstr "Přiřazené IP adresy" 103 | 104 | #: inc/addressing.class.php:288 inc/addressing.class.php:751 105 | #: inc/addressing.class.php:782 inc/config.class.php:69 106 | msgid "Free IP" 107 | msgstr "Volné IP adresy" 108 | 109 | #: inc/addressing.class.php:356 inc/addressing.class.php:733 110 | #: inc/addressing.class.php:774 inc/config.class.php:75 111 | msgid "Same IP" 112 | msgstr "Stejné IP adresy" 113 | 114 | #: inc/addressing.class.php:376 inc/addressing.class.php:754 115 | #: inc/addressing.class.php:778 inc/config.class.php:80 116 | msgid "Reserved IP" 117 | msgstr "Rezervované IP adresy" 118 | 119 | #: inc/addressing.class.php:422 inc/addressing.class.php:812 120 | #: inc/filter.class.php:43 121 | msgid "Filter" 122 | msgid_plural "Filters" 123 | msgstr[0] "Filtr" 124 | msgstr[1] "Filtry" 125 | msgstr[2] "Filtrů" 126 | msgstr[3] "Filtry" 127 | 128 | #: inc/addressing.class.php:431 129 | msgid "Use the networks as filter" 130 | msgstr "" 131 | 132 | #: inc/addressing.class.php:434 133 | msgid "The display of items depends on these criterias" 134 | msgstr "" 135 | 136 | #: inc/addressing.class.php:438 137 | msgid "Default fields for reservation" 138 | msgstr "" 139 | 140 | #: inc/addressing.class.php:711 141 | msgid "Number of free IP" 142 | msgstr "" 143 | 144 | #: inc/addressing.class.php:715 145 | msgid "Number of reserved IP" 146 | msgstr "" 147 | 148 | #: inc/addressing.class.php:719 149 | msgid "Number of assigned IP (no doubles)" 150 | msgstr "" 151 | 152 | #: inc/addressing.class.php:723 153 | msgid "Number of doubles IP" 154 | msgstr "" 155 | 156 | #: inc/addressing.class.php:741 inc/addressing.class.php:794 157 | #: inc/ping_equipment.class.php:280 inc/report.class.php:594 158 | #: inc/reserveip.class.php:198 159 | msgid "Ping: got a response - used IP" 160 | msgstr "" 161 | 162 | #: inc/addressing.class.php:747 inc/addressing.class.php:790 163 | #: inc/ping_equipment.class.php:277 inc/report.class.php:699 164 | #: inc/reserveip.class.php:195 165 | msgid "Ping: no response - free IP" 166 | msgstr "" 167 | 168 | #: inc/addressing.class.php:799 inc/addressing.class.php:801 169 | #: inc/pinginfo.class.php:200 170 | msgctxt "button" 171 | msgid "Manual launch of ping" 172 | msgstr "" 173 | 174 | #: inc/addressing.class.php:872 175 | msgid "Real free IP (Ping=KO)" 176 | msgstr "" 177 | 178 | #: inc/addressing.class.php:881 179 | msgid "Problem detected with the IP Range" 180 | msgstr "Zjištěn problém s IP rozsahem" 181 | 182 | #: inc/config.class.php:51 183 | msgid "System for ping" 184 | msgstr "Program pro ping" 185 | 186 | #: inc/config.class.php:54 187 | msgid "Linux ping" 188 | msgstr "Linuxový ping" 189 | 190 | #: inc/config.class.php:55 191 | msgid "Windows" 192 | msgstr "Windows" 193 | 194 | #: inc/config.class.php:56 195 | msgid "Linux fping" 196 | msgstr "Linuxový fping" 197 | 198 | #: inc/config.class.php:57 199 | msgid "BSD ping" 200 | msgstr "BSD ping " 201 | 202 | #: inc/config.class.php:58 203 | msgid "MacOSX ping" 204 | msgstr "macOS ping" 205 | 206 | #: inc/config.class.php:62 207 | msgid "Display" 208 | msgstr "Zobrazení" 209 | 210 | #: inc/config.class.php:87 211 | msgid "Use Ping" 212 | msgstr "Použít ping" 213 | 214 | #: inc/filter.class.php:279 215 | msgid "Add a filter" 216 | msgstr "Přidat filtr" 217 | 218 | #: inc/ping_equipment.class.php:108 219 | msgid "No IP for this equipment" 220 | msgstr "Žádná IP adresa pro toto zařízení" 221 | 222 | #: inc/pinginfo.class.php:53 223 | msgid "Launch ping for each ip report" 224 | msgstr "" 225 | 226 | #: inc/pinginfo.class.php:173 inc/report.class.php:272 227 | #: inc/report.class.php:604 inc/report.class.php:705 228 | msgid "Automatic action has not be launched" 229 | msgstr "" 230 | 231 | #: inc/pinginfo.class.php:177 inc/pinginfo.class.php:178 232 | #: inc/pinginfo.class.php:182 inc/pinginfo.class.php:183 233 | #: inc/report.class.php:302 inc/report.class.php:323 inc/report.class.php:606 234 | #: inc/report.class.php:707 235 | msgid "Last ping attempt" 236 | msgstr "" 237 | 238 | #: inc/profile.class.php:44 inc/profile.class.php:74 239 | msgid "Generate reports" 240 | msgstr "Vytvořit přehledy" 241 | 242 | #: inc/profile.class.php:47 inc/profile.class.php:86 243 | msgid "Use ping on equipment form" 244 | msgstr "Použít ping na formuláři zařízení" 245 | 246 | #: inc/report.class.php:143 247 | msgid "Reservation" 248 | msgstr "" 249 | 250 | #: inc/report.class.php:284 inc/report.class.php:340 inc/report.class.php:476 251 | #: inc/report.class.php:711 252 | msgid "Reserve IP" 253 | msgstr "" 254 | 255 | #: inc/report.class.php:306 inc/report.class.php:328 256 | msgid "Reserved Address" 257 | msgstr "Rezervované adresy" 258 | 259 | #: inc/report.class.php:313 inc/report.class.php:611 260 | msgid "Success" 261 | msgstr "" 262 | 263 | #: inc/report.class.php:316 inc/report.class.php:354 264 | msgid "Reserved" 265 | msgstr "" 266 | 267 | #: inc/report.class.php:351 268 | msgid "Failed" 269 | msgstr "" 270 | 271 | #: inc/reserveip.class.php:142 272 | msgid "Object's name" 273 | msgstr "Název objektu" 274 | 275 | #: inc/reserveip.class.php:262 276 | msgid "Name already in use" 277 | msgstr "Název je už používán" 278 | 279 | #: inc/reserveip.class.php:306 280 | msgid "Validate the reservation" 281 | msgstr "Ověřit rezervaci" 282 | -------------------------------------------------------------------------------- /locales/de_DE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/addressing/8b02f895bef38380603f622d38fbb5c7e05b24ea/locales/de_DE.mo -------------------------------------------------------------------------------- /locales/de_DE.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR Addressing Development Team 3 | # This file is distributed under the same license as the GLPI - Addressing plugin package. 4 | # 5 | # Translators: 6 | # Chris Becker , 2017 7 | # Xavier CAILLAUD , 2012 8 | msgid "" 9 | msgstr "" 10 | "Project-Id-Version: GLPI Project - addressing plugin\n" 11 | "Report-Msgid-Bugs-To: \n" 12 | "POT-Creation-Date: 2022-09-15 13:40+0200\n" 13 | "PO-Revision-Date: 2012-09-07 11:14+0000\n" 14 | "Last-Translator: Chris Becker , 2017\n" 15 | "Language-Team: German (Germany) (http://www.transifex.com/infotelGLPI/GLPI_addressing/language/de_DE/)\n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=UTF-8\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | "Language: de_DE\n" 20 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 21 | 22 | #: hook.php:215 inc/ping_equipment.class.php:92 inc/pinginfo.class.php:190 23 | #: inc/report.class.php:141 24 | msgid "Ping result" 25 | msgstr "" 26 | 27 | #: hook.php:247 28 | msgid "Last ping OK" 29 | msgstr "" 30 | 31 | #: hook.php:249 32 | msgid "Last ping KO" 33 | msgstr "" 34 | 35 | #: hook.php:251 inc/pinginfo.class.php:174 36 | msgid "Ping informations not available" 37 | msgstr "" 38 | 39 | #: setup.php:81 inc/addressing.class.php:46 inc/ipcomment.class.php:44 40 | #: inc/pinginfo.class.php:42 inc/profile.class.php:108 41 | msgid "IP Adressing" 42 | msgid_plural "IP Adressing" 43 | msgstr[0] "IP Adressierung" 44 | msgstr[1] "IP Adressierung" 45 | 46 | #: ajax/addressing.php:60 inc/ping_equipment.class.php:71 47 | #: inc/ping_equipment.class.php:87 inc/report.class.php:179 48 | #: inc/report.class.php:184 inc/report.class.php:448 inc/report.class.php:453 49 | #: inc/report.class.php:585 inc/report.class.php:590 inc/report.class.php:690 50 | #: inc/report.class.php:695 51 | msgid "IP ping" 52 | msgstr "IP ping" 53 | 54 | #: ajax/addressing.php:69 inc/report.class.php:289 inc/report.class.php:346 55 | #: inc/report.class.php:480 inc/report.class.php:715 56 | #: inc/reserveip.class.php:42 57 | msgid "IP reservation" 58 | msgstr "" 59 | 60 | #: front/addressing.form.php:52 front/addressing.form.php:82 61 | msgid "Problem when adding, required fields are not here" 62 | msgstr "Problem mit hinzufügen, benötigte Felder werden nicht anzegeigt" 63 | 64 | #: front/config.form.php:50 front/config.php:50 65 | msgid "Please activate the plugin" 66 | msgstr "Bitte aktivieren Sie das Plugin" 67 | 68 | #: front/reserveip.form.php:39 69 | msgid "The address has been reserved" 70 | msgstr "" 71 | 72 | #: inc/addressing.class.php:92 inc/addressing.class.php:401 73 | msgid "Ping free IP" 74 | msgstr "" 75 | 76 | #: inc/addressing.class.php:140 inc/addressing.class.php:251 77 | #: inc/filter.class.php:121 inc/filter.class.php:316 78 | msgid "First IP" 79 | msgstr "Erste IP" 80 | 81 | #: inc/addressing.class.php:149 inc/addressing.class.php:300 82 | #: inc/filter.class.php:161 inc/filter.class.php:317 83 | msgid "Last IP" 84 | msgstr "Letzte IP" 85 | 86 | #: inc/addressing.class.php:183 inc/addressing.class.php:388 87 | #: inc/filter.class.php:219 88 | msgid "Report for the IP Range" 89 | msgstr "Bericht für den IP Bereich" 90 | 91 | #: inc/addressing.class.php:222 inc/addressing.class.php:396 92 | #: inc/filter.class.php:87 inc/filter.class.php:225 93 | msgid "Invalid data !!" 94 | msgstr "Ungültiger Adressbereich !!" 95 | 96 | #: inc/addressing.class.php:236 inc/addressing.class.php:770 97 | #: inc/config.class.php:64 98 | msgid "Assigned IP" 99 | msgstr "Zugewiesene IP" 100 | 101 | #: inc/addressing.class.php:288 inc/addressing.class.php:751 102 | #: inc/addressing.class.php:782 inc/config.class.php:69 103 | msgid "Free IP" 104 | msgstr "Freie IPs" 105 | 106 | #: inc/addressing.class.php:356 inc/addressing.class.php:733 107 | #: inc/addressing.class.php:774 inc/config.class.php:75 108 | msgid "Same IP" 109 | msgstr "Gleiche IP" 110 | 111 | #: inc/addressing.class.php:376 inc/addressing.class.php:754 112 | #: inc/addressing.class.php:778 inc/config.class.php:80 113 | msgid "Reserved IP" 114 | msgstr "Reservierte IP" 115 | 116 | #: inc/addressing.class.php:422 inc/addressing.class.php:812 117 | #: inc/filter.class.php:43 118 | msgid "Filter" 119 | msgid_plural "Filters" 120 | msgstr[0] "Filter" 121 | msgstr[1] "Filter" 122 | 123 | #: inc/addressing.class.php:431 124 | msgid "Use the networks as filter" 125 | msgstr "" 126 | 127 | #: inc/addressing.class.php:434 128 | msgid "The display of items depends on these criterias" 129 | msgstr "" 130 | 131 | #: inc/addressing.class.php:438 132 | msgid "Default fields for reservation" 133 | msgstr "" 134 | 135 | #: inc/addressing.class.php:711 136 | msgid "Number of free IP" 137 | msgstr "" 138 | 139 | #: inc/addressing.class.php:715 140 | msgid "Number of reserved IP" 141 | msgstr "" 142 | 143 | #: inc/addressing.class.php:719 144 | msgid "Number of assigned IP (no doubles)" 145 | msgstr "" 146 | 147 | #: inc/addressing.class.php:723 148 | msgid "Number of doubles IP" 149 | msgstr "" 150 | 151 | #: inc/addressing.class.php:741 inc/addressing.class.php:794 152 | #: inc/ping_equipment.class.php:280 inc/report.class.php:594 153 | #: inc/reserveip.class.php:198 154 | msgid "Ping: got a response - used IP" 155 | msgstr "" 156 | 157 | #: inc/addressing.class.php:747 inc/addressing.class.php:790 158 | #: inc/ping_equipment.class.php:277 inc/report.class.php:699 159 | #: inc/reserveip.class.php:195 160 | msgid "Ping: no response - free IP" 161 | msgstr "" 162 | 163 | #: inc/addressing.class.php:799 inc/addressing.class.php:801 164 | #: inc/pinginfo.class.php:200 165 | msgctxt "button" 166 | msgid "Manual launch of ping" 167 | msgstr "" 168 | 169 | #: inc/addressing.class.php:872 170 | msgid "Real free IP (Ping=KO)" 171 | msgstr "" 172 | 173 | #: inc/addressing.class.php:881 174 | msgid "Problem detected with the IP Range" 175 | msgstr "Problem mit dem IP Bereich festgestellt" 176 | 177 | #: inc/config.class.php:51 178 | msgid "System for ping" 179 | msgstr "Betriebssystem für ping" 180 | 181 | #: inc/config.class.php:54 182 | msgid "Linux ping" 183 | msgstr "Linux ping" 184 | 185 | #: inc/config.class.php:55 186 | msgid "Windows" 187 | msgstr "Windows" 188 | 189 | #: inc/config.class.php:56 190 | msgid "Linux fping" 191 | msgstr "Linux fping" 192 | 193 | #: inc/config.class.php:57 194 | msgid "BSD ping" 195 | msgstr "BSD ping" 196 | 197 | #: inc/config.class.php:58 198 | msgid "MacOSX ping" 199 | msgstr "MacOSX ping" 200 | 201 | #: inc/config.class.php:62 202 | msgid "Display" 203 | msgstr "Anzeigen" 204 | 205 | #: inc/config.class.php:87 206 | msgid "Use Ping" 207 | msgstr "Benutze Ping" 208 | 209 | #: inc/filter.class.php:279 210 | msgid "Add a filter" 211 | msgstr "Filter hinzufügen" 212 | 213 | #: inc/ping_equipment.class.php:108 214 | msgid "No IP for this equipment" 215 | msgstr "Dieses Equipment hat keine IP" 216 | 217 | #: inc/pinginfo.class.php:53 218 | msgid "Launch ping for each ip report" 219 | msgstr "" 220 | 221 | #: inc/pinginfo.class.php:173 inc/report.class.php:272 222 | #: inc/report.class.php:604 inc/report.class.php:705 223 | msgid "Automatic action has not be launched" 224 | msgstr "" 225 | 226 | #: inc/pinginfo.class.php:177 inc/pinginfo.class.php:178 227 | #: inc/pinginfo.class.php:182 inc/pinginfo.class.php:183 228 | #: inc/report.class.php:302 inc/report.class.php:323 inc/report.class.php:606 229 | #: inc/report.class.php:707 230 | msgid "Last ping attempt" 231 | msgstr "" 232 | 233 | #: inc/profile.class.php:44 inc/profile.class.php:74 234 | msgid "Generate reports" 235 | msgstr "IP Berichte" 236 | 237 | #: inc/profile.class.php:47 inc/profile.class.php:86 238 | msgid "Use ping on equipment form" 239 | msgstr "benutze PING im Equipment Formular" 240 | 241 | #: inc/report.class.php:143 242 | msgid "Reservation" 243 | msgstr "" 244 | 245 | #: inc/report.class.php:284 inc/report.class.php:340 inc/report.class.php:476 246 | #: inc/report.class.php:711 247 | msgid "Reserve IP" 248 | msgstr "" 249 | 250 | #: inc/report.class.php:306 inc/report.class.php:328 251 | msgid "Reserved Address" 252 | msgstr "Reservierte Adresse" 253 | 254 | #: inc/report.class.php:313 inc/report.class.php:611 255 | msgid "Success" 256 | msgstr "" 257 | 258 | #: inc/report.class.php:316 inc/report.class.php:354 259 | msgid "Reserved" 260 | msgstr "" 261 | 262 | #: inc/report.class.php:351 263 | msgid "Failed" 264 | msgstr "" 265 | 266 | #: inc/reserveip.class.php:142 267 | msgid "Object's name" 268 | msgstr "Objektname" 269 | 270 | #: inc/reserveip.class.php:262 271 | msgid "Name already in use" 272 | msgstr "Name wird schon verwendet" 273 | 274 | #: inc/reserveip.class.php:306 275 | msgid "Validate the reservation" 276 | msgstr "Reservierung überprüfen" 277 | -------------------------------------------------------------------------------- /locales/en_GB.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/addressing/8b02f895bef38380603f622d38fbb5c7e05b24ea/locales/en_GB.mo -------------------------------------------------------------------------------- /locales/en_GB.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR Addressing Development Team 3 | # This file is distributed under the same license as the GLPI - Addressing plugin package. 4 | # 5 | # Translators: 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: GLPI Project - addressing plugin\n" 9 | "Report-Msgid-Bugs-To: \n" 10 | "POT-Creation-Date: 2022-09-15 13:40+0200\n" 11 | "PO-Revision-Date: 2012-09-07 11:14+0000\n" 12 | "Last-Translator: FULL NAME \n" 13 | "Language-Team: English (United Kingdom) (http://www.transifex.com/infotelGLPI/GLPI_addressing/language/en_GB/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: en_GB\n" 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 | 20 | #: hook.php:215 inc/ping_equipment.class.php:92 inc/pinginfo.class.php:190 21 | #: inc/report.class.php:141 22 | msgid "Ping result" 23 | msgstr "Ping result" 24 | 25 | #: hook.php:247 26 | msgid "Last ping OK" 27 | msgstr "Last ping OK" 28 | 29 | #: hook.php:249 30 | msgid "Last ping KO" 31 | msgstr "Last ping KO" 32 | 33 | #: hook.php:251 inc/pinginfo.class.php:174 34 | msgid "Ping informations not available" 35 | msgstr "Ping informations not available" 36 | 37 | #: setup.php:81 inc/addressing.class.php:46 inc/ipcomment.class.php:44 38 | #: inc/pinginfo.class.php:42 inc/profile.class.php:108 39 | msgid "IP Adressing" 40 | msgid_plural "IP Adressing" 41 | msgstr[0] "IP Adressing" 42 | msgstr[1] "IP Adressing" 43 | 44 | #: ajax/addressing.php:60 inc/ping_equipment.class.php:71 45 | #: inc/ping_equipment.class.php:87 inc/report.class.php:179 46 | #: inc/report.class.php:184 inc/report.class.php:448 inc/report.class.php:453 47 | #: inc/report.class.php:585 inc/report.class.php:590 inc/report.class.php:690 48 | #: inc/report.class.php:695 49 | msgid "IP ping" 50 | msgstr "IP ping" 51 | 52 | #: ajax/addressing.php:69 inc/report.class.php:289 inc/report.class.php:346 53 | #: inc/report.class.php:480 inc/report.class.php:715 54 | #: inc/reserveip.class.php:42 55 | msgid "IP reservation" 56 | msgstr "IP reservation" 57 | 58 | #: front/addressing.form.php:52 front/addressing.form.php:82 59 | msgid "Problem when adding, required fields are not here" 60 | msgstr "Problem when adding, required fields are not here" 61 | 62 | #: front/config.form.php:50 front/config.php:50 63 | msgid "Please activate the plugin" 64 | msgstr "Please activate the plugin" 65 | 66 | #: front/reserveip.form.php:39 67 | msgid "The address has been reserved" 68 | msgstr "The address has been reserved" 69 | 70 | #: inc/addressing.class.php:92 inc/addressing.class.php:401 71 | msgid "Ping free IP" 72 | msgstr "Ping free IP" 73 | 74 | #: inc/addressing.class.php:140 inc/addressing.class.php:251 75 | #: inc/filter.class.php:121 inc/filter.class.php:316 76 | msgid "First IP" 77 | msgstr "First IP" 78 | 79 | #: inc/addressing.class.php:149 inc/addressing.class.php:300 80 | #: inc/filter.class.php:161 inc/filter.class.php:317 81 | msgid "Last IP" 82 | msgstr "Last IP" 83 | 84 | #: inc/addressing.class.php:183 inc/addressing.class.php:388 85 | #: inc/filter.class.php:219 86 | msgid "Report for the IP Range" 87 | msgstr "Report for the IP Range" 88 | 89 | #: inc/addressing.class.php:222 inc/addressing.class.php:396 90 | #: inc/filter.class.php:87 inc/filter.class.php:225 91 | msgid "Invalid data !!" 92 | msgstr "Invalid data !!" 93 | 94 | #: inc/addressing.class.php:236 inc/addressing.class.php:770 95 | #: inc/config.class.php:64 96 | msgid "Assigned IP" 97 | msgstr "Assigned IP" 98 | 99 | #: inc/addressing.class.php:288 inc/addressing.class.php:751 100 | #: inc/addressing.class.php:782 inc/config.class.php:69 101 | msgid "Free IP" 102 | msgstr "Free IP" 103 | 104 | #: inc/addressing.class.php:356 inc/addressing.class.php:733 105 | #: inc/addressing.class.php:774 inc/config.class.php:75 106 | msgid "Same IP" 107 | msgstr "Same IP" 108 | 109 | #: inc/addressing.class.php:376 inc/addressing.class.php:754 110 | #: inc/addressing.class.php:778 inc/config.class.php:80 111 | msgid "Reserved IP" 112 | msgstr "Reserved IP" 113 | 114 | #: inc/addressing.class.php:422 inc/addressing.class.php:812 115 | #: inc/filter.class.php:43 116 | msgid "Filter" 117 | msgid_plural "Filters" 118 | msgstr[0] "Filter" 119 | msgstr[1] "Filters" 120 | 121 | #: inc/addressing.class.php:431 122 | msgid "Use the networks as filter" 123 | msgstr "Use the networks as filter" 124 | 125 | #: inc/addressing.class.php:434 126 | msgid "The display of items depends on these criterias" 127 | msgstr "The display of items depends on these criterias" 128 | 129 | #: inc/addressing.class.php:438 130 | msgid "Default fields for reservation" 131 | msgstr "Default fields for reservation" 132 | 133 | #: inc/addressing.class.php:711 134 | msgid "Number of free IP" 135 | msgstr "Number of free IP" 136 | 137 | #: inc/addressing.class.php:715 138 | msgid "Number of reserved IP" 139 | msgstr "Number of reserved IP" 140 | 141 | #: inc/addressing.class.php:719 142 | msgid "Number of assigned IP (no doubles)" 143 | msgstr "Number of assigned IP (no doubles)" 144 | 145 | #: inc/addressing.class.php:723 146 | msgid "Number of doubles IP" 147 | msgstr "Number of doubles IP" 148 | 149 | #: inc/addressing.class.php:741 inc/addressing.class.php:794 150 | #: inc/ping_equipment.class.php:280 inc/report.class.php:594 151 | #: inc/reserveip.class.php:198 152 | msgid "Ping: got a response - used IP" 153 | msgstr "Ping: got a response - used IP" 154 | 155 | #: inc/addressing.class.php:747 inc/addressing.class.php:790 156 | #: inc/ping_equipment.class.php:277 inc/report.class.php:699 157 | #: inc/reserveip.class.php:195 158 | msgid "Ping: no response - free IP" 159 | msgstr "Ping: no response - free IP" 160 | 161 | #: inc/addressing.class.php:799 inc/addressing.class.php:801 162 | #: inc/pinginfo.class.php:200 163 | msgctxt "button" 164 | msgid "Manual launch of ping" 165 | msgstr "Manual launch of ping" 166 | 167 | #: inc/addressing.class.php:872 168 | msgid "Real free IP (Ping=KO)" 169 | msgstr "Real free IP (Ping=KO)" 170 | 171 | #: inc/addressing.class.php:881 172 | msgid "Problem detected with the IP Range" 173 | msgstr "Problem detected with the IP Range" 174 | 175 | #: inc/config.class.php:51 176 | msgid "System for ping" 177 | msgstr "System for ping" 178 | 179 | #: inc/config.class.php:54 180 | msgid "Linux ping" 181 | msgstr "Linux ping" 182 | 183 | #: inc/config.class.php:55 184 | msgid "Windows" 185 | msgstr "Windows" 186 | 187 | #: inc/config.class.php:56 188 | msgid "Linux fping" 189 | msgstr "Linux fping" 190 | 191 | #: inc/config.class.php:57 192 | msgid "BSD ping" 193 | msgstr "BSD ping" 194 | 195 | #: inc/config.class.php:58 196 | msgid "MacOSX ping" 197 | msgstr "MacOSX ping" 198 | 199 | #: inc/config.class.php:62 200 | msgid "Display" 201 | msgstr "Display" 202 | 203 | #: inc/config.class.php:87 204 | msgid "Use Ping" 205 | msgstr "Use Ping" 206 | 207 | #: inc/filter.class.php:279 208 | msgid "Add a filter" 209 | msgstr "Add a filter" 210 | 211 | #: inc/ping_equipment.class.php:108 212 | msgid "No IP for this equipment" 213 | msgstr "No IP for this equipment" 214 | 215 | #: inc/pinginfo.class.php:53 216 | msgid "Launch ping for each ip report" 217 | msgstr "Launch ping for each ip report" 218 | 219 | #: inc/pinginfo.class.php:173 inc/report.class.php:272 220 | #: inc/report.class.php:604 inc/report.class.php:705 221 | msgid "Automatic action has not be launched" 222 | msgstr "Automatic action has not be launched" 223 | 224 | #: inc/pinginfo.class.php:177 inc/pinginfo.class.php:178 225 | #: inc/pinginfo.class.php:182 inc/pinginfo.class.php:183 226 | #: inc/report.class.php:302 inc/report.class.php:323 inc/report.class.php:606 227 | #: inc/report.class.php:707 228 | msgid "Last ping attempt" 229 | msgstr "Last ping attempt" 230 | 231 | #: inc/profile.class.php:44 inc/profile.class.php:74 232 | msgid "Generate reports" 233 | msgstr "Generate reports" 234 | 235 | #: inc/profile.class.php:47 inc/profile.class.php:86 236 | msgid "Use ping on equipment form" 237 | msgstr "Use ping on equipment form" 238 | 239 | #: inc/report.class.php:143 240 | msgid "Reservation" 241 | msgstr "Reservation" 242 | 243 | #: inc/report.class.php:284 inc/report.class.php:340 inc/report.class.php:476 244 | #: inc/report.class.php:711 245 | msgid "Reserve IP" 246 | msgstr "Reserve IP" 247 | 248 | #: inc/report.class.php:306 inc/report.class.php:328 249 | msgid "Reserved Address" 250 | msgstr "Reserved Address" 251 | 252 | #: inc/report.class.php:313 inc/report.class.php:611 253 | msgid "Success" 254 | msgstr "Success" 255 | 256 | #: inc/report.class.php:316 inc/report.class.php:354 257 | msgid "Reserved" 258 | msgstr "Reserved" 259 | 260 | #: inc/report.class.php:351 261 | msgid "Failed" 262 | msgstr "Failed" 263 | 264 | #: inc/reserveip.class.php:142 265 | msgid "Object's name" 266 | msgstr "Object's name" 267 | 268 | #: inc/reserveip.class.php:262 269 | msgid "Name already in use" 270 | msgstr "Name already in use" 271 | 272 | #: inc/reserveip.class.php:306 273 | msgid "Validate the reservation" 274 | msgstr "Validate the reservation" 275 | -------------------------------------------------------------------------------- /locales/es_AR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/addressing/8b02f895bef38380603f622d38fbb5c7e05b24ea/locales/es_AR.mo -------------------------------------------------------------------------------- /locales/es_AR.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR Addressing Development Team 3 | # This file is distributed under the same license as the GLPI - Addressing plugin package. 4 | # 5 | # Translators: 6 | # Christian Ruggeri , 2013 7 | # 8b0aae0845670f8dfc567f35acb0e157_986c70f <736627e7e195103702d6bf353f2e18f1_656814>, 2019 8 | # Luis Angel Uriarte , 2013 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: GLPI Project - addressing plugin\n" 12 | "Report-Msgid-Bugs-To: \n" 13 | "POT-Creation-Date: 2022-09-15 13:40+0200\n" 14 | "PO-Revision-Date: 2012-09-07 11:14+0000\n" 15 | "Last-Translator: 8b0aae0845670f8dfc567f35acb0e157_986c70f <736627e7e195103702d6bf353f2e18f1_656814>, 2019\n" 16 | "Language-Team: Spanish (Argentina) (http://www.transifex.com/infotelGLPI/GLPI_addressing/language/es_AR/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: es_AR\n" 21 | "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" 22 | 23 | #: hook.php:215 inc/ping_equipment.class.php:92 inc/pinginfo.class.php:190 24 | #: inc/report.class.php:141 25 | msgid "Ping result" 26 | msgstr "" 27 | 28 | #: hook.php:247 29 | msgid "Last ping OK" 30 | msgstr "" 31 | 32 | #: hook.php:249 33 | msgid "Last ping KO" 34 | msgstr "" 35 | 36 | #: hook.php:251 inc/pinginfo.class.php:174 37 | msgid "Ping informations not available" 38 | msgstr "" 39 | 40 | #: setup.php:81 inc/addressing.class.php:46 inc/ipcomment.class.php:44 41 | #: inc/pinginfo.class.php:42 inc/profile.class.php:108 42 | msgid "IP Adressing" 43 | msgid_plural "IP Adressing" 44 | msgstr[0] "Direccionamiento IP" 45 | msgstr[1] "Direccionamientos IP" 46 | msgstr[2] "Direccionamientos IP" 47 | 48 | #: ajax/addressing.php:60 inc/ping_equipment.class.php:71 49 | #: inc/ping_equipment.class.php:87 inc/report.class.php:179 50 | #: inc/report.class.php:184 inc/report.class.php:448 inc/report.class.php:453 51 | #: inc/report.class.php:585 inc/report.class.php:590 inc/report.class.php:690 52 | #: inc/report.class.php:695 53 | msgid "IP ping" 54 | msgstr "Ping a IP" 55 | 56 | #: ajax/addressing.php:69 inc/report.class.php:289 inc/report.class.php:346 57 | #: inc/report.class.php:480 inc/report.class.php:715 58 | #: inc/reserveip.class.php:42 59 | msgid "IP reservation" 60 | msgstr "" 61 | 62 | #: front/addressing.form.php:52 front/addressing.form.php:82 63 | msgid "Problem when adding, required fields are not here" 64 | msgstr "Problema al añadir, no están los campos requeridos" 65 | 66 | #: front/config.form.php:50 front/config.php:50 67 | msgid "Please activate the plugin" 68 | msgstr "Por favor, active el plugin" 69 | 70 | #: front/reserveip.form.php:39 71 | msgid "The address has been reserved" 72 | msgstr "" 73 | 74 | #: inc/addressing.class.php:92 inc/addressing.class.php:401 75 | msgid "Ping free IP" 76 | msgstr "" 77 | 78 | #: inc/addressing.class.php:140 inc/addressing.class.php:251 79 | #: inc/filter.class.php:121 inc/filter.class.php:316 80 | msgid "First IP" 81 | msgstr "Primera IP" 82 | 83 | #: inc/addressing.class.php:149 inc/addressing.class.php:300 84 | #: inc/filter.class.php:161 inc/filter.class.php:317 85 | msgid "Last IP" 86 | msgstr "Última IP" 87 | 88 | #: inc/addressing.class.php:183 inc/addressing.class.php:388 89 | #: inc/filter.class.php:219 90 | msgid "Report for the IP Range" 91 | msgstr "Informe para el rango de IP" 92 | 93 | #: inc/addressing.class.php:222 inc/addressing.class.php:396 94 | #: inc/filter.class.php:87 inc/filter.class.php:225 95 | msgid "Invalid data !!" 96 | msgstr "¡¡ Datos inválidos !!" 97 | 98 | #: inc/addressing.class.php:236 inc/addressing.class.php:770 99 | #: inc/config.class.php:64 100 | msgid "Assigned IP" 101 | msgstr "IP asignada" 102 | 103 | #: inc/addressing.class.php:288 inc/addressing.class.php:751 104 | #: inc/addressing.class.php:782 inc/config.class.php:69 105 | msgid "Free IP" 106 | msgstr "IP libre" 107 | 108 | #: inc/addressing.class.php:356 inc/addressing.class.php:733 109 | #: inc/addressing.class.php:774 inc/config.class.php:75 110 | msgid "Same IP" 111 | msgstr "Misma IP" 112 | 113 | #: inc/addressing.class.php:376 inc/addressing.class.php:754 114 | #: inc/addressing.class.php:778 inc/config.class.php:80 115 | msgid "Reserved IP" 116 | msgstr "IP Reservada" 117 | 118 | #: inc/addressing.class.php:422 inc/addressing.class.php:812 119 | #: inc/filter.class.php:43 120 | msgid "Filter" 121 | msgid_plural "Filters" 122 | msgstr[0] "Filtros" 123 | msgstr[1] "Filtros" 124 | msgstr[2] "Filtros" 125 | 126 | #: inc/addressing.class.php:431 127 | msgid "Use the networks as filter" 128 | msgstr "" 129 | 130 | #: inc/addressing.class.php:434 131 | msgid "The display of items depends on these criterias" 132 | msgstr "" 133 | 134 | #: inc/addressing.class.php:438 135 | msgid "Default fields for reservation" 136 | msgstr "" 137 | 138 | #: inc/addressing.class.php:711 139 | msgid "Number of free IP" 140 | msgstr "" 141 | 142 | #: inc/addressing.class.php:715 143 | msgid "Number of reserved IP" 144 | msgstr "" 145 | 146 | #: inc/addressing.class.php:719 147 | msgid "Number of assigned IP (no doubles)" 148 | msgstr "" 149 | 150 | #: inc/addressing.class.php:723 151 | msgid "Number of doubles IP" 152 | msgstr "" 153 | 154 | #: inc/addressing.class.php:741 inc/addressing.class.php:794 155 | #: inc/ping_equipment.class.php:280 inc/report.class.php:594 156 | #: inc/reserveip.class.php:198 157 | msgid "Ping: got a response - used IP" 158 | msgstr "" 159 | 160 | #: inc/addressing.class.php:747 inc/addressing.class.php:790 161 | #: inc/ping_equipment.class.php:277 inc/report.class.php:699 162 | #: inc/reserveip.class.php:195 163 | msgid "Ping: no response - free IP" 164 | msgstr "" 165 | 166 | #: inc/addressing.class.php:799 inc/addressing.class.php:801 167 | #: inc/pinginfo.class.php:200 168 | msgctxt "button" 169 | msgid "Manual launch of ping" 170 | msgstr "" 171 | 172 | #: inc/addressing.class.php:872 173 | msgid "Real free IP (Ping=KO)" 174 | msgstr "" 175 | 176 | #: inc/addressing.class.php:881 177 | msgid "Problem detected with the IP Range" 178 | msgstr "Problema al detectar el rango de IP" 179 | 180 | #: inc/config.class.php:51 181 | msgid "System for ping" 182 | msgstr "Sistema para ping" 183 | 184 | #: inc/config.class.php:54 185 | msgid "Linux ping" 186 | msgstr "Ping Linux" 187 | 188 | #: inc/config.class.php:55 189 | msgid "Windows" 190 | msgstr "Windows" 191 | 192 | #: inc/config.class.php:56 193 | msgid "Linux fping" 194 | msgstr "FPing Linux" 195 | 196 | #: inc/config.class.php:57 197 | msgid "BSD ping" 198 | msgstr "Ping BSD" 199 | 200 | #: inc/config.class.php:58 201 | msgid "MacOSX ping" 202 | msgstr "Ping MacOSX" 203 | 204 | #: inc/config.class.php:62 205 | msgid "Display" 206 | msgstr "Mostrar" 207 | 208 | #: inc/config.class.php:87 209 | msgid "Use Ping" 210 | msgstr "Usar ping" 211 | 212 | #: inc/filter.class.php:279 213 | msgid "Add a filter" 214 | msgstr "Agregar un filtro" 215 | 216 | #: inc/ping_equipment.class.php:108 217 | msgid "No IP for this equipment" 218 | msgstr "No hay IP para este equipo" 219 | 220 | #: inc/pinginfo.class.php:53 221 | msgid "Launch ping for each ip report" 222 | msgstr "" 223 | 224 | #: inc/pinginfo.class.php:173 inc/report.class.php:272 225 | #: inc/report.class.php:604 inc/report.class.php:705 226 | msgid "Automatic action has not be launched" 227 | msgstr "" 228 | 229 | #: inc/pinginfo.class.php:177 inc/pinginfo.class.php:178 230 | #: inc/pinginfo.class.php:182 inc/pinginfo.class.php:183 231 | #: inc/report.class.php:302 inc/report.class.php:323 inc/report.class.php:606 232 | #: inc/report.class.php:707 233 | msgid "Last ping attempt" 234 | msgstr "" 235 | 236 | #: inc/profile.class.php:44 inc/profile.class.php:74 237 | msgid "Generate reports" 238 | msgstr "Generar informes" 239 | 240 | #: inc/profile.class.php:47 inc/profile.class.php:86 241 | msgid "Use ping on equipment form" 242 | msgstr "Usar ping en equipo" 243 | 244 | #: inc/report.class.php:143 245 | msgid "Reservation" 246 | msgstr "" 247 | 248 | #: inc/report.class.php:284 inc/report.class.php:340 inc/report.class.php:476 249 | #: inc/report.class.php:711 250 | msgid "Reserve IP" 251 | msgstr "" 252 | 253 | #: inc/report.class.php:306 inc/report.class.php:328 254 | msgid "Reserved Address" 255 | msgstr "Dirección Reservada" 256 | 257 | #: inc/report.class.php:313 inc/report.class.php:611 258 | msgid "Success" 259 | msgstr "" 260 | 261 | #: inc/report.class.php:316 inc/report.class.php:354 262 | msgid "Reserved" 263 | msgstr "" 264 | 265 | #: inc/report.class.php:351 266 | msgid "Failed" 267 | msgstr "" 268 | 269 | #: inc/reserveip.class.php:142 270 | msgid "Object's name" 271 | msgstr "Nombre del objeto" 272 | 273 | #: inc/reserveip.class.php:262 274 | msgid "Name already in use" 275 | msgstr "Nombre en uso " 276 | 277 | #: inc/reserveip.class.php:306 278 | msgid "Validate the reservation" 279 | msgstr "Validar la reserva " 280 | -------------------------------------------------------------------------------- /locales/es_ES.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/addressing/8b02f895bef38380603f622d38fbb5c7e05b24ea/locales/es_ES.mo -------------------------------------------------------------------------------- /locales/es_ES.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR Addressing Development Team 3 | # This file is distributed under the same license as the GLPI - Addressing plugin package. 4 | # 5 | # Translators: 6 | # 8b0aae0845670f8dfc567f35acb0e157_986c70f <736627e7e195103702d6bf353f2e18f1_656814>, 2018 7 | # cbc5204086c375034e77848ef6290ebe, 2015 8 | # Xavier CAILLAUD , 2012 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: GLPI Project - addressing plugin\n" 12 | "Report-Msgid-Bugs-To: \n" 13 | "POT-Creation-Date: 2022-09-15 13:40+0200\n" 14 | "PO-Revision-Date: 2012-09-07 11:14+0000\n" 15 | "Last-Translator: 8b0aae0845670f8dfc567f35acb0e157_986c70f <736627e7e195103702d6bf353f2e18f1_656814>, 2018\n" 16 | "Language-Team: Spanish (Spain) (http://www.transifex.com/infotelGLPI/GLPI_addressing/language/es_ES/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: es_ES\n" 21 | "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" 22 | 23 | #: hook.php:215 inc/ping_equipment.class.php:92 inc/pinginfo.class.php:190 24 | #: inc/report.class.php:141 25 | msgid "Ping result" 26 | msgstr "" 27 | 28 | #: hook.php:247 29 | msgid "Last ping OK" 30 | msgstr "" 31 | 32 | #: hook.php:249 33 | msgid "Last ping KO" 34 | msgstr "" 35 | 36 | #: hook.php:251 inc/pinginfo.class.php:174 37 | msgid "Ping informations not available" 38 | msgstr "" 39 | 40 | #: setup.php:81 inc/addressing.class.php:46 inc/ipcomment.class.php:44 41 | #: inc/pinginfo.class.php:42 inc/profile.class.php:108 42 | msgid "IP Adressing" 43 | msgid_plural "IP Adressing" 44 | msgstr[0] "Direccionamiento IP" 45 | msgstr[1] "Direccionamiento IP" 46 | msgstr[2] "Direccionamiento IP" 47 | 48 | #: ajax/addressing.php:60 inc/ping_equipment.class.php:71 49 | #: inc/ping_equipment.class.php:87 inc/report.class.php:179 50 | #: inc/report.class.php:184 inc/report.class.php:448 inc/report.class.php:453 51 | #: inc/report.class.php:585 inc/report.class.php:590 inc/report.class.php:690 52 | #: inc/report.class.php:695 53 | msgid "IP ping" 54 | msgstr "IP ping" 55 | 56 | #: ajax/addressing.php:69 inc/report.class.php:289 inc/report.class.php:346 57 | #: inc/report.class.php:480 inc/report.class.php:715 58 | #: inc/reserveip.class.php:42 59 | msgid "IP reservation" 60 | msgstr "" 61 | 62 | #: front/addressing.form.php:52 front/addressing.form.php:82 63 | msgid "Problem when adding, required fields are not here" 64 | msgstr "Problema al añadir, campos requeridos vacíos" 65 | 66 | #: front/config.form.php:50 front/config.php:50 67 | msgid "Please activate the plugin" 68 | msgstr "Se ruega activar el plugin" 69 | 70 | #: front/reserveip.form.php:39 71 | msgid "The address has been reserved" 72 | msgstr "" 73 | 74 | #: inc/addressing.class.php:92 inc/addressing.class.php:401 75 | msgid "Ping free IP" 76 | msgstr "" 77 | 78 | #: inc/addressing.class.php:140 inc/addressing.class.php:251 79 | #: inc/filter.class.php:121 inc/filter.class.php:316 80 | msgid "First IP" 81 | msgstr "Primer IP" 82 | 83 | #: inc/addressing.class.php:149 inc/addressing.class.php:300 84 | #: inc/filter.class.php:161 inc/filter.class.php:317 85 | msgid "Last IP" 86 | msgstr "Último IP" 87 | 88 | #: inc/addressing.class.php:183 inc/addressing.class.php:388 89 | #: inc/filter.class.php:219 90 | msgid "Report for the IP Range" 91 | msgstr "Informe rango de IP's" 92 | 93 | #: inc/addressing.class.php:222 inc/addressing.class.php:396 94 | #: inc/filter.class.php:87 inc/filter.class.php:225 95 | msgid "Invalid data !!" 96 | msgstr "dato inválido!!" 97 | 98 | #: inc/addressing.class.php:236 inc/addressing.class.php:770 99 | #: inc/config.class.php:64 100 | msgid "Assigned IP" 101 | msgstr "IP Asignado" 102 | 103 | #: inc/addressing.class.php:288 inc/addressing.class.php:751 104 | #: inc/addressing.class.php:782 inc/config.class.php:69 105 | msgid "Free IP" 106 | msgstr "IP Libre" 107 | 108 | #: inc/addressing.class.php:356 inc/addressing.class.php:733 109 | #: inc/addressing.class.php:774 inc/config.class.php:75 110 | msgid "Same IP" 111 | msgstr "Mismo Ip" 112 | 113 | #: inc/addressing.class.php:376 inc/addressing.class.php:754 114 | #: inc/addressing.class.php:778 inc/config.class.php:80 115 | msgid "Reserved IP" 116 | msgstr "IP Reservado" 117 | 118 | #: inc/addressing.class.php:422 inc/addressing.class.php:812 119 | #: inc/filter.class.php:43 120 | msgid "Filter" 121 | msgid_plural "Filters" 122 | msgstr[0] "Filtros" 123 | msgstr[1] "Filtros " 124 | msgstr[2] "Filtros " 125 | 126 | #: inc/addressing.class.php:431 127 | msgid "Use the networks as filter" 128 | msgstr "" 129 | 130 | #: inc/addressing.class.php:434 131 | msgid "The display of items depends on these criterias" 132 | msgstr "" 133 | 134 | #: inc/addressing.class.php:438 135 | msgid "Default fields for reservation" 136 | msgstr "" 137 | 138 | #: inc/addressing.class.php:711 139 | msgid "Number of free IP" 140 | msgstr "" 141 | 142 | #: inc/addressing.class.php:715 143 | msgid "Number of reserved IP" 144 | msgstr "" 145 | 146 | #: inc/addressing.class.php:719 147 | msgid "Number of assigned IP (no doubles)" 148 | msgstr "" 149 | 150 | #: inc/addressing.class.php:723 151 | msgid "Number of doubles IP" 152 | msgstr "" 153 | 154 | #: inc/addressing.class.php:741 inc/addressing.class.php:794 155 | #: inc/ping_equipment.class.php:280 inc/report.class.php:594 156 | #: inc/reserveip.class.php:198 157 | msgid "Ping: got a response - used IP" 158 | msgstr "" 159 | 160 | #: inc/addressing.class.php:747 inc/addressing.class.php:790 161 | #: inc/ping_equipment.class.php:277 inc/report.class.php:699 162 | #: inc/reserveip.class.php:195 163 | msgid "Ping: no response - free IP" 164 | msgstr "" 165 | 166 | #: inc/addressing.class.php:799 inc/addressing.class.php:801 167 | #: inc/pinginfo.class.php:200 168 | msgctxt "button" 169 | msgid "Manual launch of ping" 170 | msgstr "" 171 | 172 | #: inc/addressing.class.php:872 173 | msgid "Real free IP (Ping=KO)" 174 | msgstr "" 175 | 176 | #: inc/addressing.class.php:881 177 | msgid "Problem detected with the IP Range" 178 | msgstr "Problema detectado con el rango IP's" 179 | 180 | #: inc/config.class.php:51 181 | msgid "System for ping" 182 | msgstr "Sistema para el ping" 183 | 184 | #: inc/config.class.php:54 185 | msgid "Linux ping" 186 | msgstr "Ping Linux" 187 | 188 | #: inc/config.class.php:55 189 | msgid "Windows" 190 | msgstr "Windows" 191 | 192 | #: inc/config.class.php:56 193 | msgid "Linux fping" 194 | msgstr "Linux fping" 195 | 196 | #: inc/config.class.php:57 197 | msgid "BSD ping" 198 | msgstr "Ping BSD" 199 | 200 | #: inc/config.class.php:58 201 | msgid "MacOSX ping" 202 | msgstr "Ping MacOSX" 203 | 204 | #: inc/config.class.php:62 205 | msgid "Display" 206 | msgstr "Muestra" 207 | 208 | #: inc/config.class.php:87 209 | msgid "Use Ping" 210 | msgstr "Utilizar Ping" 211 | 212 | #: inc/filter.class.php:279 213 | msgid "Add a filter" 214 | msgstr "Agregar un filtro" 215 | 216 | #: inc/ping_equipment.class.php:108 217 | msgid "No IP for this equipment" 218 | msgstr "Este equipo no tiene IP" 219 | 220 | #: inc/pinginfo.class.php:53 221 | msgid "Launch ping for each ip report" 222 | msgstr "" 223 | 224 | #: inc/pinginfo.class.php:173 inc/report.class.php:272 225 | #: inc/report.class.php:604 inc/report.class.php:705 226 | msgid "Automatic action has not be launched" 227 | msgstr "" 228 | 229 | #: inc/pinginfo.class.php:177 inc/pinginfo.class.php:178 230 | #: inc/pinginfo.class.php:182 inc/pinginfo.class.php:183 231 | #: inc/report.class.php:302 inc/report.class.php:323 inc/report.class.php:606 232 | #: inc/report.class.php:707 233 | msgid "Last ping attempt" 234 | msgstr "" 235 | 236 | #: inc/profile.class.php:44 inc/profile.class.php:74 237 | msgid "Generate reports" 238 | msgstr "Genera informes" 239 | 240 | #: inc/profile.class.php:47 inc/profile.class.php:86 241 | msgid "Use ping on equipment form" 242 | msgstr "Utilizar Ping en la ficha del equipo" 243 | 244 | #: inc/report.class.php:143 245 | msgid "Reservation" 246 | msgstr "" 247 | 248 | #: inc/report.class.php:284 inc/report.class.php:340 inc/report.class.php:476 249 | #: inc/report.class.php:711 250 | msgid "Reserve IP" 251 | msgstr "" 252 | 253 | #: inc/report.class.php:306 inc/report.class.php:328 254 | msgid "Reserved Address" 255 | msgstr "Direcciones reservadas" 256 | 257 | #: inc/report.class.php:313 inc/report.class.php:611 258 | msgid "Success" 259 | msgstr "" 260 | 261 | #: inc/report.class.php:316 inc/report.class.php:354 262 | msgid "Reserved" 263 | msgstr "" 264 | 265 | #: inc/report.class.php:351 266 | msgid "Failed" 267 | msgstr "" 268 | 269 | #: inc/reserveip.class.php:142 270 | msgid "Object's name" 271 | msgstr "Nombre del objeto " 272 | 273 | #: inc/reserveip.class.php:262 274 | msgid "Name already in use" 275 | msgstr "El nombre ya está en uso" 276 | 277 | #: inc/reserveip.class.php:306 278 | msgid "Validate the reservation" 279 | msgstr "Validar la reserva " 280 | -------------------------------------------------------------------------------- /locales/fi_FI.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/addressing/8b02f895bef38380603f622d38fbb5c7e05b24ea/locales/fi_FI.mo -------------------------------------------------------------------------------- /locales/fi_FI.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR Addressing Development Team 3 | # This file is distributed under the same license as the GLPI - Addressing plugin package. 4 | # 5 | # Translators: 6 | # Markku Vepsä, 2018 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: GLPI Project - addressing plugin\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2022-09-15 13:40+0200\n" 12 | "PO-Revision-Date: 2012-09-07 11:14+0000\n" 13 | "Last-Translator: Markku Vepsä, 2018\n" 14 | "Language-Team: Finnish (Finland) (http://www.transifex.com/infotelGLPI/GLPI_addressing/language/fi_FI/)\n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=UTF-8\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | "Language: fi_FI\n" 19 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 20 | 21 | #: hook.php:215 inc/ping_equipment.class.php:92 inc/pinginfo.class.php:190 22 | #: inc/report.class.php:141 23 | msgid "Ping result" 24 | msgstr "" 25 | 26 | #: hook.php:247 27 | msgid "Last ping OK" 28 | msgstr "" 29 | 30 | #: hook.php:249 31 | msgid "Last ping KO" 32 | msgstr "" 33 | 34 | #: hook.php:251 inc/pinginfo.class.php:174 35 | msgid "Ping informations not available" 36 | msgstr "" 37 | 38 | #: setup.php:81 inc/addressing.class.php:46 inc/ipcomment.class.php:44 39 | #: inc/pinginfo.class.php:42 inc/profile.class.php:108 40 | msgid "IP Adressing" 41 | msgid_plural "IP Adressing" 42 | msgstr[0] "IP-osoitteisto" 43 | msgstr[1] "IP-osoitteisto" 44 | 45 | #: ajax/addressing.php:60 inc/ping_equipment.class.php:71 46 | #: inc/ping_equipment.class.php:87 inc/report.class.php:179 47 | #: inc/report.class.php:184 inc/report.class.php:448 inc/report.class.php:453 48 | #: inc/report.class.php:585 inc/report.class.php:590 inc/report.class.php:690 49 | #: inc/report.class.php:695 50 | msgid "IP ping" 51 | msgstr "IP ping" 52 | 53 | #: ajax/addressing.php:69 inc/report.class.php:289 inc/report.class.php:346 54 | #: inc/report.class.php:480 inc/report.class.php:715 55 | #: inc/reserveip.class.php:42 56 | msgid "IP reservation" 57 | msgstr "" 58 | 59 | #: front/addressing.form.php:52 front/addressing.form.php:82 60 | msgid "Problem when adding, required fields are not here" 61 | msgstr "Ongelma lisättäessä, vaaditut kentät eivät ole täällä" 62 | 63 | #: front/config.form.php:50 front/config.php:50 64 | msgid "Please activate the plugin" 65 | msgstr "Aktivoi liitännäinen" 66 | 67 | #: front/reserveip.form.php:39 68 | msgid "The address has been reserved" 69 | msgstr "" 70 | 71 | #: inc/addressing.class.php:92 inc/addressing.class.php:401 72 | msgid "Ping free IP" 73 | msgstr "" 74 | 75 | #: inc/addressing.class.php:140 inc/addressing.class.php:251 76 | #: inc/filter.class.php:121 inc/filter.class.php:316 77 | msgid "First IP" 78 | msgstr "Ensimmäinen IP" 79 | 80 | #: inc/addressing.class.php:149 inc/addressing.class.php:300 81 | #: inc/filter.class.php:161 inc/filter.class.php:317 82 | msgid "Last IP" 83 | msgstr "Viimeinen IP" 84 | 85 | #: inc/addressing.class.php:183 inc/addressing.class.php:388 86 | #: inc/filter.class.php:219 87 | msgid "Report for the IP Range" 88 | msgstr "Raportti IP-alueesta" 89 | 90 | #: inc/addressing.class.php:222 inc/addressing.class.php:396 91 | #: inc/filter.class.php:87 inc/filter.class.php:225 92 | msgid "Invalid data !!" 93 | msgstr "Virheellinen tieto!" 94 | 95 | #: inc/addressing.class.php:236 inc/addressing.class.php:770 96 | #: inc/config.class.php:64 97 | msgid "Assigned IP" 98 | msgstr "Määritetty IP" 99 | 100 | #: inc/addressing.class.php:288 inc/addressing.class.php:751 101 | #: inc/addressing.class.php:782 inc/config.class.php:69 102 | msgid "Free IP" 103 | msgstr "Vapaa IP" 104 | 105 | #: inc/addressing.class.php:356 inc/addressing.class.php:733 106 | #: inc/addressing.class.php:774 inc/config.class.php:75 107 | msgid "Same IP" 108 | msgstr "Sama IP" 109 | 110 | #: inc/addressing.class.php:376 inc/addressing.class.php:754 111 | #: inc/addressing.class.php:778 inc/config.class.php:80 112 | msgid "Reserved IP" 113 | msgstr "Varattu IP" 114 | 115 | #: inc/addressing.class.php:422 inc/addressing.class.php:812 116 | #: inc/filter.class.php:43 117 | msgid "Filter" 118 | msgid_plural "Filters" 119 | msgstr[0] "Suodatin" 120 | msgstr[1] "Suodattimet" 121 | 122 | #: inc/addressing.class.php:431 123 | msgid "Use the networks as filter" 124 | msgstr "" 125 | 126 | #: inc/addressing.class.php:434 127 | msgid "The display of items depends on these criterias" 128 | msgstr "" 129 | 130 | #: inc/addressing.class.php:438 131 | msgid "Default fields for reservation" 132 | msgstr "" 133 | 134 | #: inc/addressing.class.php:711 135 | msgid "Number of free IP" 136 | msgstr "" 137 | 138 | #: inc/addressing.class.php:715 139 | msgid "Number of reserved IP" 140 | msgstr "" 141 | 142 | #: inc/addressing.class.php:719 143 | msgid "Number of assigned IP (no doubles)" 144 | msgstr "" 145 | 146 | #: inc/addressing.class.php:723 147 | msgid "Number of doubles IP" 148 | msgstr "" 149 | 150 | #: inc/addressing.class.php:741 inc/addressing.class.php:794 151 | #: inc/ping_equipment.class.php:280 inc/report.class.php:594 152 | #: inc/reserveip.class.php:198 153 | msgid "Ping: got a response - used IP" 154 | msgstr "" 155 | 156 | #: inc/addressing.class.php:747 inc/addressing.class.php:790 157 | #: inc/ping_equipment.class.php:277 inc/report.class.php:699 158 | #: inc/reserveip.class.php:195 159 | msgid "Ping: no response - free IP" 160 | msgstr "" 161 | 162 | #: inc/addressing.class.php:799 inc/addressing.class.php:801 163 | #: inc/pinginfo.class.php:200 164 | msgctxt "button" 165 | msgid "Manual launch of ping" 166 | msgstr "" 167 | 168 | #: inc/addressing.class.php:872 169 | msgid "Real free IP (Ping=KO)" 170 | msgstr "" 171 | 172 | #: inc/addressing.class.php:881 173 | msgid "Problem detected with the IP Range" 174 | msgstr "IP-alueen kanssa havaittu ongelma" 175 | 176 | #: inc/config.class.php:51 177 | msgid "System for ping" 178 | msgstr "Pingaava järjestelmä" 179 | 180 | #: inc/config.class.php:54 181 | msgid "Linux ping" 182 | msgstr "Linux ping" 183 | 184 | #: inc/config.class.php:55 185 | msgid "Windows" 186 | msgstr "Windows" 187 | 188 | #: inc/config.class.php:56 189 | msgid "Linux fping" 190 | msgstr "Linux fping" 191 | 192 | #: inc/config.class.php:57 193 | msgid "BSD ping" 194 | msgstr "BSD ping" 195 | 196 | #: inc/config.class.php:58 197 | msgid "MacOSX ping" 198 | msgstr "MacOSX ping" 199 | 200 | #: inc/config.class.php:62 201 | msgid "Display" 202 | msgstr "Näytä" 203 | 204 | #: inc/config.class.php:87 205 | msgid "Use Ping" 206 | msgstr "Käytä pingiä" 207 | 208 | #: inc/filter.class.php:279 209 | msgid "Add a filter" 210 | msgstr "Lisää suodatin" 211 | 212 | #: inc/ping_equipment.class.php:108 213 | msgid "No IP for this equipment" 214 | msgstr "Ei IP:tä tälle laitteelle" 215 | 216 | #: inc/pinginfo.class.php:53 217 | msgid "Launch ping for each ip report" 218 | msgstr "" 219 | 220 | #: inc/pinginfo.class.php:173 inc/report.class.php:272 221 | #: inc/report.class.php:604 inc/report.class.php:705 222 | msgid "Automatic action has not be launched" 223 | msgstr "" 224 | 225 | #: inc/pinginfo.class.php:177 inc/pinginfo.class.php:178 226 | #: inc/pinginfo.class.php:182 inc/pinginfo.class.php:183 227 | #: inc/report.class.php:302 inc/report.class.php:323 inc/report.class.php:606 228 | #: inc/report.class.php:707 229 | msgid "Last ping attempt" 230 | msgstr "" 231 | 232 | #: inc/profile.class.php:44 inc/profile.class.php:74 233 | msgid "Generate reports" 234 | msgstr "Luo raportteja" 235 | 236 | #: inc/profile.class.php:47 inc/profile.class.php:86 237 | msgid "Use ping on equipment form" 238 | msgstr "Käytä pingiä laitelomakkeessa" 239 | 240 | #: inc/report.class.php:143 241 | msgid "Reservation" 242 | msgstr "" 243 | 244 | #: inc/report.class.php:284 inc/report.class.php:340 inc/report.class.php:476 245 | #: inc/report.class.php:711 246 | msgid "Reserve IP" 247 | msgstr "" 248 | 249 | #: inc/report.class.php:306 inc/report.class.php:328 250 | msgid "Reserved Address" 251 | msgstr "Varattu osoite" 252 | 253 | #: inc/report.class.php:313 inc/report.class.php:611 254 | msgid "Success" 255 | msgstr "" 256 | 257 | #: inc/report.class.php:316 inc/report.class.php:354 258 | msgid "Reserved" 259 | msgstr "" 260 | 261 | #: inc/report.class.php:351 262 | msgid "Failed" 263 | msgstr "" 264 | 265 | #: inc/reserveip.class.php:142 266 | msgid "Object's name" 267 | msgstr "Kohteen nimi" 268 | 269 | #: inc/reserveip.class.php:262 270 | msgid "Name already in use" 271 | msgstr "Nimi on jo käytössä" 272 | 273 | #: inc/reserveip.class.php:306 274 | msgid "Validate the reservation" 275 | msgstr "Vahvista varaus" 276 | -------------------------------------------------------------------------------- /locales/fr_FR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/addressing/8b02f895bef38380603f622d38fbb5c7e05b24ea/locales/fr_FR.mo -------------------------------------------------------------------------------- /locales/glpi.pot: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR Addressing Development Team 3 | # This file is distributed under the same license as the GLPI - Addressing plugin package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: GLPI - Addressing plugin 2.1.0\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2022-09-15 13:40+0200\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" 20 | 21 | #: hook.php:215 inc/ping_equipment.class.php:92 inc/pinginfo.class.php:190 22 | #: inc/report.class.php:141 23 | msgid "Ping result" 24 | msgstr "" 25 | 26 | #: hook.php:247 27 | msgid "Last ping OK" 28 | msgstr "" 29 | 30 | #: hook.php:249 31 | msgid "Last ping KO" 32 | msgstr "" 33 | 34 | #: hook.php:251 inc/pinginfo.class.php:174 35 | msgid "Ping informations not available" 36 | msgstr "" 37 | 38 | #: setup.php:81 inc/addressing.class.php:46 inc/ipcomment.class.php:44 39 | #: inc/pinginfo.class.php:42 inc/profile.class.php:108 40 | msgid "IP Adressing" 41 | msgid_plural "IP Adressing" 42 | msgstr[0] "" 43 | msgstr[1] "" 44 | 45 | #: ajax/addressing.php:60 inc/ping_equipment.class.php:71 46 | #: inc/ping_equipment.class.php:87 inc/report.class.php:179 47 | #: inc/report.class.php:184 inc/report.class.php:448 inc/report.class.php:453 48 | #: inc/report.class.php:585 inc/report.class.php:590 inc/report.class.php:690 49 | #: inc/report.class.php:695 50 | msgid "IP ping" 51 | msgstr "" 52 | 53 | #: ajax/addressing.php:69 inc/report.class.php:289 inc/report.class.php:346 54 | #: inc/report.class.php:480 inc/report.class.php:715 inc/reserveip.class.php:42 55 | msgid "IP reservation" 56 | msgstr "" 57 | 58 | #: front/addressing.form.php:52 front/addressing.form.php:82 59 | msgid "Problem when adding, required fields are not here" 60 | msgstr "" 61 | 62 | #: front/config.form.php:50 front/config.php:50 63 | msgid "Please activate the plugin" 64 | msgstr "" 65 | 66 | #: front/reserveip.form.php:39 67 | msgid "The address has been reserved" 68 | msgstr "" 69 | 70 | #: inc/addressing.class.php:92 inc/addressing.class.php:401 71 | msgid "Ping free IP" 72 | msgstr "" 73 | 74 | #: inc/addressing.class.php:140 inc/addressing.class.php:251 75 | #: inc/filter.class.php:121 inc/filter.class.php:316 76 | msgid "First IP" 77 | msgstr "" 78 | 79 | #: inc/addressing.class.php:149 inc/addressing.class.php:300 80 | #: inc/filter.class.php:161 inc/filter.class.php:317 81 | msgid "Last IP" 82 | msgstr "" 83 | 84 | #: inc/addressing.class.php:183 inc/addressing.class.php:388 85 | #: inc/filter.class.php:219 86 | msgid "Report for the IP Range" 87 | msgstr "" 88 | 89 | #: inc/addressing.class.php:222 inc/addressing.class.php:396 90 | #: inc/filter.class.php:87 inc/filter.class.php:225 91 | msgid "Invalid data !!" 92 | msgstr "" 93 | 94 | #: inc/addressing.class.php:236 inc/addressing.class.php:770 95 | #: inc/config.class.php:64 96 | msgid "Assigned IP" 97 | msgstr "" 98 | 99 | #: inc/addressing.class.php:288 inc/addressing.class.php:751 100 | #: inc/addressing.class.php:782 inc/config.class.php:69 101 | msgid "Free IP" 102 | msgstr "" 103 | 104 | #: inc/addressing.class.php:356 inc/addressing.class.php:733 105 | #: inc/addressing.class.php:774 inc/config.class.php:75 106 | msgid "Same IP" 107 | msgstr "" 108 | 109 | #: inc/addressing.class.php:376 inc/addressing.class.php:754 110 | #: inc/addressing.class.php:778 inc/config.class.php:80 111 | msgid "Reserved IP" 112 | msgstr "" 113 | 114 | #: inc/addressing.class.php:422 inc/addressing.class.php:812 115 | #: inc/filter.class.php:43 116 | msgid "Filter" 117 | msgid_plural "Filters" 118 | msgstr[0] "" 119 | msgstr[1] "" 120 | 121 | #: inc/addressing.class.php:431 122 | msgid "Use the networks as filter" 123 | msgstr "" 124 | 125 | #: inc/addressing.class.php:434 126 | msgid "The display of items depends on these criterias" 127 | msgstr "" 128 | 129 | #: inc/addressing.class.php:438 130 | msgid "Default fields for reservation" 131 | msgstr "" 132 | 133 | #: inc/addressing.class.php:711 134 | msgid "Number of free IP" 135 | msgstr "" 136 | 137 | #: inc/addressing.class.php:715 138 | msgid "Number of reserved IP" 139 | msgstr "" 140 | 141 | #: inc/addressing.class.php:719 142 | msgid "Number of assigned IP (no doubles)" 143 | msgstr "" 144 | 145 | #: inc/addressing.class.php:723 146 | msgid "Number of doubles IP" 147 | msgstr "" 148 | 149 | #: inc/addressing.class.php:741 inc/addressing.class.php:794 150 | #: inc/ping_equipment.class.php:280 inc/report.class.php:594 151 | #: inc/reserveip.class.php:198 152 | msgid "Ping: got a response - used IP" 153 | msgstr "" 154 | 155 | #: inc/addressing.class.php:747 inc/addressing.class.php:790 156 | #: inc/ping_equipment.class.php:277 inc/report.class.php:699 157 | #: inc/reserveip.class.php:195 158 | msgid "Ping: no response - free IP" 159 | msgstr "" 160 | 161 | #: inc/addressing.class.php:799 inc/addressing.class.php:801 162 | #: inc/pinginfo.class.php:200 163 | msgctxt "button" 164 | msgid "Manual launch of ping" 165 | msgstr "" 166 | 167 | #: inc/addressing.class.php:872 168 | msgid "Real free IP (Ping=KO)" 169 | msgstr "" 170 | 171 | #: inc/addressing.class.php:881 172 | msgid "Problem detected with the IP Range" 173 | msgstr "" 174 | 175 | #: inc/config.class.php:51 176 | msgid "System for ping" 177 | msgstr "" 178 | 179 | #: inc/config.class.php:54 180 | msgid "Linux ping" 181 | msgstr "" 182 | 183 | #: inc/config.class.php:55 184 | msgid "Windows" 185 | msgstr "" 186 | 187 | #: inc/config.class.php:56 188 | msgid "Linux fping" 189 | msgstr "" 190 | 191 | #: inc/config.class.php:57 192 | msgid "BSD ping" 193 | msgstr "" 194 | 195 | #: inc/config.class.php:58 196 | msgid "MacOSX ping" 197 | msgstr "" 198 | 199 | #: inc/config.class.php:62 200 | msgid "Display" 201 | msgstr "" 202 | 203 | #: inc/config.class.php:87 204 | msgid "Use Ping" 205 | msgstr "" 206 | 207 | #: inc/filter.class.php:279 208 | msgid "Add a filter" 209 | msgstr "" 210 | 211 | #: inc/ping_equipment.class.php:108 212 | msgid "No IP for this equipment" 213 | msgstr "" 214 | 215 | #: inc/pinginfo.class.php:53 216 | msgid "Launch ping for each ip report" 217 | msgstr "" 218 | 219 | #: inc/pinginfo.class.php:173 inc/report.class.php:272 inc/report.class.php:604 220 | #: inc/report.class.php:705 221 | msgid "Automatic action has not be launched" 222 | msgstr "" 223 | 224 | #: inc/pinginfo.class.php:177 inc/pinginfo.class.php:178 225 | #: inc/pinginfo.class.php:182 inc/pinginfo.class.php:183 226 | #: inc/report.class.php:302 inc/report.class.php:323 inc/report.class.php:606 227 | #: inc/report.class.php:707 228 | msgid "Last ping attempt" 229 | msgstr "" 230 | 231 | #: inc/profile.class.php:44 inc/profile.class.php:74 232 | msgid "Generate reports" 233 | msgstr "" 234 | 235 | #: inc/profile.class.php:47 inc/profile.class.php:86 236 | msgid "Use ping on equipment form" 237 | msgstr "" 238 | 239 | #: inc/report.class.php:143 240 | msgid "Reservation" 241 | msgstr "" 242 | 243 | #: inc/report.class.php:284 inc/report.class.php:340 inc/report.class.php:476 244 | #: inc/report.class.php:711 245 | msgid "Reserve IP" 246 | msgstr "" 247 | 248 | #: inc/report.class.php:306 inc/report.class.php:328 249 | msgid "Reserved Address" 250 | msgstr "" 251 | 252 | #: inc/report.class.php:313 inc/report.class.php:611 253 | msgid "Success" 254 | msgstr "" 255 | 256 | #: inc/report.class.php:316 inc/report.class.php:354 257 | msgid "Reserved" 258 | msgstr "" 259 | 260 | #: inc/report.class.php:351 261 | msgid "Failed" 262 | msgstr "" 263 | 264 | #: inc/reserveip.class.php:142 265 | msgid "Object's name" 266 | msgstr "" 267 | 268 | #: inc/reserveip.class.php:262 269 | msgid "Name already in use" 270 | msgstr "" 271 | 272 | #: inc/reserveip.class.php:306 273 | msgid "Validate the reservation" 274 | msgstr "" 275 | -------------------------------------------------------------------------------- /locales/it_IT.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/addressing/8b02f895bef38380603f622d38fbb5c7e05b24ea/locales/it_IT.mo -------------------------------------------------------------------------------- /locales/it_IT.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR Addressing Development Team 3 | # This file is distributed under the same license as the GLPI - Addressing plugin package. 4 | # 5 | # Translators: 6 | # Amandine Manceau, 2018 7 | # Nicola Scandiffio , 2018 8 | msgid "" 9 | msgstr "" 10 | "Project-Id-Version: GLPI Project - addressing plugin\n" 11 | "Report-Msgid-Bugs-To: \n" 12 | "POT-Creation-Date: 2022-09-15 13:40+0200\n" 13 | "PO-Revision-Date: 2012-09-07 11:14+0000\n" 14 | "Last-Translator: Amandine Manceau, 2018\n" 15 | "Language-Team: Italian (Italy) (http://www.transifex.com/infotelGLPI/GLPI_addressing/language/it_IT/)\n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=UTF-8\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | "Language: it_IT\n" 20 | "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" 21 | 22 | #: hook.php:215 inc/ping_equipment.class.php:92 inc/pinginfo.class.php:190 23 | #: inc/report.class.php:141 24 | msgid "Ping result" 25 | msgstr "" 26 | 27 | #: hook.php:247 28 | msgid "Last ping OK" 29 | msgstr "" 30 | 31 | #: hook.php:249 32 | msgid "Last ping KO" 33 | msgstr "" 34 | 35 | #: hook.php:251 inc/pinginfo.class.php:174 36 | msgid "Ping informations not available" 37 | msgstr "" 38 | 39 | #: setup.php:81 inc/addressing.class.php:46 inc/ipcomment.class.php:44 40 | #: inc/pinginfo.class.php:42 inc/profile.class.php:108 41 | msgid "IP Adressing" 42 | msgid_plural "IP Adressing" 43 | msgstr[0] "Indirizzamento IP" 44 | msgstr[1] "Indirizzamento IP" 45 | msgstr[2] "Indirizzamento IP" 46 | 47 | #: ajax/addressing.php:60 inc/ping_equipment.class.php:71 48 | #: inc/ping_equipment.class.php:87 inc/report.class.php:179 49 | #: inc/report.class.php:184 inc/report.class.php:448 inc/report.class.php:453 50 | #: inc/report.class.php:585 inc/report.class.php:590 inc/report.class.php:690 51 | #: inc/report.class.php:695 52 | msgid "IP ping" 53 | msgstr "Ping IP" 54 | 55 | #: ajax/addressing.php:69 inc/report.class.php:289 inc/report.class.php:346 56 | #: inc/report.class.php:480 inc/report.class.php:715 57 | #: inc/reserveip.class.php:42 58 | msgid "IP reservation" 59 | msgstr "" 60 | 61 | #: front/addressing.form.php:52 front/addressing.form.php:82 62 | msgid "Problem when adding, required fields are not here" 63 | msgstr "Problema durante l'aggiunta, compilare i campi obbligatori" 64 | 65 | #: front/config.form.php:50 front/config.php:50 66 | msgid "Please activate the plugin" 67 | msgstr "Si prega di attivare il plugin" 68 | 69 | #: front/reserveip.form.php:39 70 | msgid "The address has been reserved" 71 | msgstr "" 72 | 73 | #: inc/addressing.class.php:92 inc/addressing.class.php:401 74 | msgid "Ping free IP" 75 | msgstr "" 76 | 77 | #: inc/addressing.class.php:140 inc/addressing.class.php:251 78 | #: inc/filter.class.php:121 inc/filter.class.php:316 79 | msgid "First IP" 80 | msgstr "Primo IP" 81 | 82 | #: inc/addressing.class.php:149 inc/addressing.class.php:300 83 | #: inc/filter.class.php:161 inc/filter.class.php:317 84 | msgid "Last IP" 85 | msgstr "Ultimo IP" 86 | 87 | #: inc/addressing.class.php:183 inc/addressing.class.php:388 88 | #: inc/filter.class.php:219 89 | msgid "Report for the IP Range" 90 | msgstr "Report per l'intervallo di IP" 91 | 92 | #: inc/addressing.class.php:222 inc/addressing.class.php:396 93 | #: inc/filter.class.php:87 inc/filter.class.php:225 94 | msgid "Invalid data !!" 95 | msgstr "Dati non validi!!" 96 | 97 | #: inc/addressing.class.php:236 inc/addressing.class.php:770 98 | #: inc/config.class.php:64 99 | msgid "Assigned IP" 100 | msgstr "IP assegnati" 101 | 102 | #: inc/addressing.class.php:288 inc/addressing.class.php:751 103 | #: inc/addressing.class.php:782 inc/config.class.php:69 104 | msgid "Free IP" 105 | msgstr "IP liberi" 106 | 107 | #: inc/addressing.class.php:356 inc/addressing.class.php:733 108 | #: inc/addressing.class.php:774 inc/config.class.php:75 109 | msgid "Same IP" 110 | msgstr "Stesso IP" 111 | 112 | #: inc/addressing.class.php:376 inc/addressing.class.php:754 113 | #: inc/addressing.class.php:778 inc/config.class.php:80 114 | msgid "Reserved IP" 115 | msgstr "IP Riservati" 116 | 117 | #: inc/addressing.class.php:422 inc/addressing.class.php:812 118 | #: inc/filter.class.php:43 119 | msgid "Filter" 120 | msgid_plural "Filters" 121 | msgstr[0] "Filtri" 122 | msgstr[1] "Filtri" 123 | msgstr[2] "Filtri" 124 | 125 | #: inc/addressing.class.php:431 126 | msgid "Use the networks as filter" 127 | msgstr "" 128 | 129 | #: inc/addressing.class.php:434 130 | msgid "The display of items depends on these criterias" 131 | msgstr "" 132 | 133 | #: inc/addressing.class.php:438 134 | msgid "Default fields for reservation" 135 | msgstr "" 136 | 137 | #: inc/addressing.class.php:711 138 | msgid "Number of free IP" 139 | msgstr "" 140 | 141 | #: inc/addressing.class.php:715 142 | msgid "Number of reserved IP" 143 | msgstr "" 144 | 145 | #: inc/addressing.class.php:719 146 | msgid "Number of assigned IP (no doubles)" 147 | msgstr "" 148 | 149 | #: inc/addressing.class.php:723 150 | msgid "Number of doubles IP" 151 | msgstr "" 152 | 153 | #: inc/addressing.class.php:741 inc/addressing.class.php:794 154 | #: inc/ping_equipment.class.php:280 inc/report.class.php:594 155 | #: inc/reserveip.class.php:198 156 | msgid "Ping: got a response - used IP" 157 | msgstr "" 158 | 159 | #: inc/addressing.class.php:747 inc/addressing.class.php:790 160 | #: inc/ping_equipment.class.php:277 inc/report.class.php:699 161 | #: inc/reserveip.class.php:195 162 | msgid "Ping: no response - free IP" 163 | msgstr "" 164 | 165 | #: inc/addressing.class.php:799 inc/addressing.class.php:801 166 | #: inc/pinginfo.class.php:200 167 | msgctxt "button" 168 | msgid "Manual launch of ping" 169 | msgstr "" 170 | 171 | #: inc/addressing.class.php:872 172 | msgid "Real free IP (Ping=KO)" 173 | msgstr "" 174 | 175 | #: inc/addressing.class.php:881 176 | msgid "Problem detected with the IP Range" 177 | msgstr "Problema con l'intervallo di IP" 178 | 179 | #: inc/config.class.php:51 180 | msgid "System for ping" 181 | msgstr "Metodo per il ping" 182 | 183 | #: inc/config.class.php:54 184 | msgid "Linux ping" 185 | msgstr "ping Linux" 186 | 187 | #: inc/config.class.php:55 188 | msgid "Windows" 189 | msgstr "Windows" 190 | 191 | #: inc/config.class.php:56 192 | msgid "Linux fping" 193 | msgstr "fping Linux" 194 | 195 | #: inc/config.class.php:57 196 | msgid "BSD ping" 197 | msgstr "ping BSD" 198 | 199 | #: inc/config.class.php:58 200 | msgid "MacOSX ping" 201 | msgstr "Ping MacOSX" 202 | 203 | #: inc/config.class.php:62 204 | msgid "Display" 205 | msgstr "Visualizza" 206 | 207 | #: inc/config.class.php:87 208 | msgid "Use Ping" 209 | msgstr "Usa Ping" 210 | 211 | #: inc/filter.class.php:279 212 | msgid "Add a filter" 213 | msgstr "Aggiungi un filtro" 214 | 215 | #: inc/ping_equipment.class.php:108 216 | msgid "No IP for this equipment" 217 | msgstr "Nessun IP per questo dispositivo" 218 | 219 | #: inc/pinginfo.class.php:53 220 | msgid "Launch ping for each ip report" 221 | msgstr "" 222 | 223 | #: inc/pinginfo.class.php:173 inc/report.class.php:272 224 | #: inc/report.class.php:604 inc/report.class.php:705 225 | msgid "Automatic action has not be launched" 226 | msgstr "" 227 | 228 | #: inc/pinginfo.class.php:177 inc/pinginfo.class.php:178 229 | #: inc/pinginfo.class.php:182 inc/pinginfo.class.php:183 230 | #: inc/report.class.php:302 inc/report.class.php:323 inc/report.class.php:606 231 | #: inc/report.class.php:707 232 | msgid "Last ping attempt" 233 | msgstr "" 234 | 235 | #: inc/profile.class.php:44 inc/profile.class.php:74 236 | msgid "Generate reports" 237 | msgstr "Genera report" 238 | 239 | #: inc/profile.class.php:47 inc/profile.class.php:86 240 | msgid "Use ping on equipment form" 241 | msgstr "Utilizza il ping per il dispositivo" 242 | 243 | #: inc/report.class.php:143 244 | msgid "Reservation" 245 | msgstr "" 246 | 247 | #: inc/report.class.php:284 inc/report.class.php:340 inc/report.class.php:476 248 | #: inc/report.class.php:711 249 | msgid "Reserve IP" 250 | msgstr "" 251 | 252 | #: inc/report.class.php:306 inc/report.class.php:328 253 | msgid "Reserved Address" 254 | msgstr "Indirizzo riservato" 255 | 256 | #: inc/report.class.php:313 inc/report.class.php:611 257 | msgid "Success" 258 | msgstr "" 259 | 260 | #: inc/report.class.php:316 inc/report.class.php:354 261 | msgid "Reserved" 262 | msgstr "" 263 | 264 | #: inc/report.class.php:351 265 | msgid "Failed" 266 | msgstr "" 267 | 268 | #: inc/reserveip.class.php:142 269 | msgid "Object's name" 270 | msgstr "Nome dell'oggetto" 271 | 272 | #: inc/reserveip.class.php:262 273 | msgid "Name already in use" 274 | msgstr "Nome già in uso" 275 | 276 | #: inc/reserveip.class.php:306 277 | msgid "Validate the reservation" 278 | msgstr "Convalida la prenotazione" 279 | -------------------------------------------------------------------------------- /locales/pl_PL.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/addressing/8b02f895bef38380603f622d38fbb5c7e05b24ea/locales/pl_PL.mo -------------------------------------------------------------------------------- /locales/pl_PL.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR Addressing Development Team 3 | # This file is distributed under the same license as the GLPI - Addressing plugin package. 4 | # 5 | # Translators: 6 | # Jacek Maciol , 2017 7 | # Xavier CAILLAUD , 2012 8 | msgid "" 9 | msgstr "" 10 | "Project-Id-Version: GLPI Project - addressing plugin\n" 11 | "Report-Msgid-Bugs-To: \n" 12 | "POT-Creation-Date: 2022-09-15 13:40+0200\n" 13 | "PO-Revision-Date: 2012-09-07 11:14+0000\n" 14 | "Last-Translator: Jacek Maciol , 2017\n" 15 | "Language-Team: Polish (Poland) (http://www.transifex.com/infotelGLPI/GLPI_addressing/language/pl_PL/)\n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=UTF-8\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | "Language: pl_PL\n" 20 | "Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" 21 | 22 | #: hook.php:215 inc/ping_equipment.class.php:92 inc/pinginfo.class.php:190 23 | #: inc/report.class.php:141 24 | msgid "Ping result" 25 | msgstr "" 26 | 27 | #: hook.php:247 28 | msgid "Last ping OK" 29 | msgstr "" 30 | 31 | #: hook.php:249 32 | msgid "Last ping KO" 33 | msgstr "" 34 | 35 | #: hook.php:251 inc/pinginfo.class.php:174 36 | msgid "Ping informations not available" 37 | msgstr "" 38 | 39 | #: setup.php:81 inc/addressing.class.php:46 inc/ipcomment.class.php:44 40 | #: inc/pinginfo.class.php:42 inc/profile.class.php:108 41 | msgid "IP Adressing" 42 | msgid_plural "IP Adressing" 43 | msgstr[0] "Adresowanie IP" 44 | msgstr[1] "Adresowanie IP" 45 | msgstr[2] "Adresowanie IP" 46 | msgstr[3] "Adresowanie IP" 47 | 48 | #: ajax/addressing.php:60 inc/ping_equipment.class.php:71 49 | #: inc/ping_equipment.class.php:87 inc/report.class.php:179 50 | #: inc/report.class.php:184 inc/report.class.php:448 inc/report.class.php:453 51 | #: inc/report.class.php:585 inc/report.class.php:590 inc/report.class.php:690 52 | #: inc/report.class.php:695 53 | msgid "IP ping" 54 | msgstr "IP ping" 55 | 56 | #: ajax/addressing.php:69 inc/report.class.php:289 inc/report.class.php:346 57 | #: inc/report.class.php:480 inc/report.class.php:715 58 | #: inc/reserveip.class.php:42 59 | msgid "IP reservation" 60 | msgstr "" 61 | 62 | #: front/addressing.form.php:52 front/addressing.form.php:82 63 | msgid "Problem when adding, required fields are not here" 64 | msgstr "Problem z dodaniem, brak wymaganego pola" 65 | 66 | #: front/config.form.php:50 front/config.php:50 67 | msgid "Please activate the plugin" 68 | msgstr "Aktywuj wtyczkę" 69 | 70 | #: front/reserveip.form.php:39 71 | msgid "The address has been reserved" 72 | msgstr "" 73 | 74 | #: inc/addressing.class.php:92 inc/addressing.class.php:401 75 | msgid "Ping free IP" 76 | msgstr "" 77 | 78 | #: inc/addressing.class.php:140 inc/addressing.class.php:251 79 | #: inc/filter.class.php:121 inc/filter.class.php:316 80 | msgid "First IP" 81 | msgstr "Pierwsze IP" 82 | 83 | #: inc/addressing.class.php:149 inc/addressing.class.php:300 84 | #: inc/filter.class.php:161 inc/filter.class.php:317 85 | msgid "Last IP" 86 | msgstr "Ostatnie IP" 87 | 88 | #: inc/addressing.class.php:183 inc/addressing.class.php:388 89 | #: inc/filter.class.php:219 90 | msgid "Report for the IP Range" 91 | msgstr "Raport dla zakresu IP" 92 | 93 | #: inc/addressing.class.php:222 inc/addressing.class.php:396 94 | #: inc/filter.class.php:87 inc/filter.class.php:225 95 | msgid "Invalid data !!" 96 | msgstr "Nieprawidłowe dane !!" 97 | 98 | #: inc/addressing.class.php:236 inc/addressing.class.php:770 99 | #: inc/config.class.php:64 100 | msgid "Assigned IP" 101 | msgstr "Przydzielone IP" 102 | 103 | #: inc/addressing.class.php:288 inc/addressing.class.php:751 104 | #: inc/addressing.class.php:782 inc/config.class.php:69 105 | msgid "Free IP" 106 | msgstr "Niezajęte Ip" 107 | 108 | #: inc/addressing.class.php:356 inc/addressing.class.php:733 109 | #: inc/addressing.class.php:774 inc/config.class.php:75 110 | msgid "Same IP" 111 | msgstr "Identyczne Ip" 112 | 113 | #: inc/addressing.class.php:376 inc/addressing.class.php:754 114 | #: inc/addressing.class.php:778 inc/config.class.php:80 115 | msgid "Reserved IP" 116 | msgstr "Zarezerwowane IP" 117 | 118 | #: inc/addressing.class.php:422 inc/addressing.class.php:812 119 | #: inc/filter.class.php:43 120 | msgid "Filter" 121 | msgid_plural "Filters" 122 | msgstr[0] "Filtr" 123 | msgstr[1] "Filtry" 124 | msgstr[2] "Filtrów" 125 | msgstr[3] "Filtry" 126 | 127 | #: inc/addressing.class.php:431 128 | msgid "Use the networks as filter" 129 | msgstr "" 130 | 131 | #: inc/addressing.class.php:434 132 | msgid "The display of items depends on these criterias" 133 | msgstr "" 134 | 135 | #: inc/addressing.class.php:438 136 | msgid "Default fields for reservation" 137 | msgstr "" 138 | 139 | #: inc/addressing.class.php:711 140 | msgid "Number of free IP" 141 | msgstr "" 142 | 143 | #: inc/addressing.class.php:715 144 | msgid "Number of reserved IP" 145 | msgstr "" 146 | 147 | #: inc/addressing.class.php:719 148 | msgid "Number of assigned IP (no doubles)" 149 | msgstr "" 150 | 151 | #: inc/addressing.class.php:723 152 | msgid "Number of doubles IP" 153 | msgstr "" 154 | 155 | #: inc/addressing.class.php:741 inc/addressing.class.php:794 156 | #: inc/ping_equipment.class.php:280 inc/report.class.php:594 157 | #: inc/reserveip.class.php:198 158 | msgid "Ping: got a response - used IP" 159 | msgstr "" 160 | 161 | #: inc/addressing.class.php:747 inc/addressing.class.php:790 162 | #: inc/ping_equipment.class.php:277 inc/report.class.php:699 163 | #: inc/reserveip.class.php:195 164 | msgid "Ping: no response - free IP" 165 | msgstr "" 166 | 167 | #: inc/addressing.class.php:799 inc/addressing.class.php:801 168 | #: inc/pinginfo.class.php:200 169 | msgctxt "button" 170 | msgid "Manual launch of ping" 171 | msgstr "" 172 | 173 | #: inc/addressing.class.php:872 174 | msgid "Real free IP (Ping=KO)" 175 | msgstr "" 176 | 177 | #: inc/addressing.class.php:881 178 | msgid "Problem detected with the IP Range" 179 | msgstr "Wykryto problem w zakresie IP" 180 | 181 | #: inc/config.class.php:51 182 | msgid "System for ping" 183 | msgstr "Rodzaj ping-a" 184 | 185 | #: inc/config.class.php:54 186 | msgid "Linux ping" 187 | msgstr "Linux ping" 188 | 189 | #: inc/config.class.php:55 190 | msgid "Windows" 191 | msgstr "Windows" 192 | 193 | #: inc/config.class.php:56 194 | msgid "Linux fping" 195 | msgstr "Linux fping" 196 | 197 | #: inc/config.class.php:57 198 | msgid "BSD ping" 199 | msgstr "BSD ping" 200 | 201 | #: inc/config.class.php:58 202 | msgid "MacOSX ping" 203 | msgstr "MacOSX ping" 204 | 205 | #: inc/config.class.php:62 206 | msgid "Display" 207 | msgstr "Pokaż" 208 | 209 | #: inc/config.class.php:87 210 | msgid "Use Ping" 211 | msgstr "Użyj Ping" 212 | 213 | #: inc/filter.class.php:279 214 | msgid "Add a filter" 215 | msgstr "Dodaj filtr" 216 | 217 | #: inc/ping_equipment.class.php:108 218 | msgid "No IP for this equipment" 219 | msgstr "Brak adresu IP dla tego urządzenia" 220 | 221 | #: inc/pinginfo.class.php:53 222 | msgid "Launch ping for each ip report" 223 | msgstr "" 224 | 225 | #: inc/pinginfo.class.php:173 inc/report.class.php:272 226 | #: inc/report.class.php:604 inc/report.class.php:705 227 | msgid "Automatic action has not be launched" 228 | msgstr "" 229 | 230 | #: inc/pinginfo.class.php:177 inc/pinginfo.class.php:178 231 | #: inc/pinginfo.class.php:182 inc/pinginfo.class.php:183 232 | #: inc/report.class.php:302 inc/report.class.php:323 inc/report.class.php:606 233 | #: inc/report.class.php:707 234 | msgid "Last ping attempt" 235 | msgstr "" 236 | 237 | #: inc/profile.class.php:44 inc/profile.class.php:74 238 | msgid "Generate reports" 239 | msgstr "Generowanie raportów" 240 | 241 | #: inc/profile.class.php:47 inc/profile.class.php:86 242 | msgid "Use ping on equipment form" 243 | msgstr "Użyj polecenia ping na formularzu sprzętu" 244 | 245 | #: inc/report.class.php:143 246 | msgid "Reservation" 247 | msgstr "" 248 | 249 | #: inc/report.class.php:284 inc/report.class.php:340 inc/report.class.php:476 250 | #: inc/report.class.php:711 251 | msgid "Reserve IP" 252 | msgstr "" 253 | 254 | #: inc/report.class.php:306 inc/report.class.php:328 255 | msgid "Reserved Address" 256 | msgstr "Zarezerwowany adress" 257 | 258 | #: inc/report.class.php:313 inc/report.class.php:611 259 | msgid "Success" 260 | msgstr "" 261 | 262 | #: inc/report.class.php:316 inc/report.class.php:354 263 | msgid "Reserved" 264 | msgstr "" 265 | 266 | #: inc/report.class.php:351 267 | msgid "Failed" 268 | msgstr "" 269 | 270 | #: inc/reserveip.class.php:142 271 | msgid "Object's name" 272 | msgstr "Nazwa obiektu" 273 | 274 | #: inc/reserveip.class.php:262 275 | msgid "Name already in use" 276 | msgstr "Nazwa jest już używana" 277 | 278 | #: inc/reserveip.class.php:306 279 | msgid "Validate the reservation" 280 | msgstr "Zatwierdź rezerwację" 281 | -------------------------------------------------------------------------------- /locales/pt_BR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/addressing/8b02f895bef38380603f622d38fbb5c7e05b24ea/locales/pt_BR.mo -------------------------------------------------------------------------------- /locales/ro_RO.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/addressing/8b02f895bef38380603f622d38fbb5c7e05b24ea/locales/ro_RO.mo -------------------------------------------------------------------------------- /locales/ro_RO.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR Addressing Development Team 3 | # This file is distributed under the same license as the GLPI - Addressing plugin package. 4 | # 5 | # Translators: 6 | # Doru DEACONU , 2012 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: GLPI Project - addressing plugin\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2022-09-15 13:40+0200\n" 12 | "PO-Revision-Date: 2012-09-07 11:14+0000\n" 13 | "Last-Translator: Doru DEACONU , 2012\n" 14 | "Language-Team: Romanian (Romania) (http://www.transifex.com/infotelGLPI/GLPI_addressing/language/ro_RO/)\n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=UTF-8\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | "Language: ro_RO\n" 19 | "Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" 20 | 21 | #: hook.php:215 inc/ping_equipment.class.php:92 inc/pinginfo.class.php:190 22 | #: inc/report.class.php:141 23 | msgid "Ping result" 24 | msgstr "" 25 | 26 | #: hook.php:247 27 | msgid "Last ping OK" 28 | msgstr "" 29 | 30 | #: hook.php:249 31 | msgid "Last ping KO" 32 | msgstr "" 33 | 34 | #: hook.php:251 inc/pinginfo.class.php:174 35 | msgid "Ping informations not available" 36 | msgstr "" 37 | 38 | #: setup.php:81 inc/addressing.class.php:46 inc/ipcomment.class.php:44 39 | #: inc/pinginfo.class.php:42 inc/profile.class.php:108 40 | msgid "IP Adressing" 41 | msgid_plural "IP Adressing" 42 | msgstr[0] "Adresare IP" 43 | msgstr[1] "Adresare IP" 44 | msgstr[2] "Adresare IP" 45 | 46 | #: ajax/addressing.php:60 inc/ping_equipment.class.php:71 47 | #: inc/ping_equipment.class.php:87 inc/report.class.php:179 48 | #: inc/report.class.php:184 inc/report.class.php:448 inc/report.class.php:453 49 | #: inc/report.class.php:585 inc/report.class.php:590 inc/report.class.php:690 50 | #: inc/report.class.php:695 51 | msgid "IP ping" 52 | msgstr "Ping IP" 53 | 54 | #: ajax/addressing.php:69 inc/report.class.php:289 inc/report.class.php:346 55 | #: inc/report.class.php:480 inc/report.class.php:715 56 | #: inc/reserveip.class.php:42 57 | msgid "IP reservation" 58 | msgstr "" 59 | 60 | #: front/addressing.form.php:52 front/addressing.form.php:82 61 | msgid "Problem when adding, required fields are not here" 62 | msgstr "Probleme la adăugare, câmpurile cerute sunt lipsă" 63 | 64 | #: front/config.form.php:50 front/config.php:50 65 | msgid "Please activate the plugin" 66 | msgstr "Vă rog activaţi plugin-ul" 67 | 68 | #: front/reserveip.form.php:39 69 | msgid "The address has been reserved" 70 | msgstr "" 71 | 72 | #: inc/addressing.class.php:92 inc/addressing.class.php:401 73 | msgid "Ping free IP" 74 | msgstr "" 75 | 76 | #: inc/addressing.class.php:140 inc/addressing.class.php:251 77 | #: inc/filter.class.php:121 inc/filter.class.php:316 78 | msgid "First IP" 79 | msgstr "Primul IP" 80 | 81 | #: inc/addressing.class.php:149 inc/addressing.class.php:300 82 | #: inc/filter.class.php:161 inc/filter.class.php:317 83 | msgid "Last IP" 84 | msgstr "Ultimul IP" 85 | 86 | #: inc/addressing.class.php:183 inc/addressing.class.php:388 87 | #: inc/filter.class.php:219 88 | msgid "Report for the IP Range" 89 | msgstr "Raport pentru plaja de IP -uri" 90 | 91 | #: inc/addressing.class.php:222 inc/addressing.class.php:396 92 | #: inc/filter.class.php:87 inc/filter.class.php:225 93 | msgid "Invalid data !!" 94 | msgstr "Date introduse incorecte !" 95 | 96 | #: inc/addressing.class.php:236 inc/addressing.class.php:770 97 | #: inc/config.class.php:64 98 | msgid "Assigned IP" 99 | msgstr "IP -uri atribuite" 100 | 101 | #: inc/addressing.class.php:288 inc/addressing.class.php:751 102 | #: inc/addressing.class.php:782 inc/config.class.php:69 103 | msgid "Free IP" 104 | msgstr "IP -uri libere" 105 | 106 | #: inc/addressing.class.php:356 inc/addressing.class.php:733 107 | #: inc/addressing.class.php:774 inc/config.class.php:75 108 | msgid "Same IP" 109 | msgstr "Acelaşi IP" 110 | 111 | #: inc/addressing.class.php:376 inc/addressing.class.php:754 112 | #: inc/addressing.class.php:778 inc/config.class.php:80 113 | msgid "Reserved IP" 114 | msgstr "IP rezervat" 115 | 116 | #: inc/addressing.class.php:422 inc/addressing.class.php:812 117 | #: inc/filter.class.php:43 118 | msgid "Filter" 119 | msgid_plural "Filters" 120 | msgstr[0] "" 121 | msgstr[1] "" 122 | msgstr[2] "" 123 | 124 | #: inc/addressing.class.php:431 125 | msgid "Use the networks as filter" 126 | msgstr "" 127 | 128 | #: inc/addressing.class.php:434 129 | msgid "The display of items depends on these criterias" 130 | msgstr "" 131 | 132 | #: inc/addressing.class.php:438 133 | msgid "Default fields for reservation" 134 | msgstr "" 135 | 136 | #: inc/addressing.class.php:711 137 | msgid "Number of free IP" 138 | msgstr "" 139 | 140 | #: inc/addressing.class.php:715 141 | msgid "Number of reserved IP" 142 | msgstr "" 143 | 144 | #: inc/addressing.class.php:719 145 | msgid "Number of assigned IP (no doubles)" 146 | msgstr "" 147 | 148 | #: inc/addressing.class.php:723 149 | msgid "Number of doubles IP" 150 | msgstr "" 151 | 152 | #: inc/addressing.class.php:741 inc/addressing.class.php:794 153 | #: inc/ping_equipment.class.php:280 inc/report.class.php:594 154 | #: inc/reserveip.class.php:198 155 | msgid "Ping: got a response - used IP" 156 | msgstr "" 157 | 158 | #: inc/addressing.class.php:747 inc/addressing.class.php:790 159 | #: inc/ping_equipment.class.php:277 inc/report.class.php:699 160 | #: inc/reserveip.class.php:195 161 | msgid "Ping: no response - free IP" 162 | msgstr "" 163 | 164 | #: inc/addressing.class.php:799 inc/addressing.class.php:801 165 | #: inc/pinginfo.class.php:200 166 | msgctxt "button" 167 | msgid "Manual launch of ping" 168 | msgstr "" 169 | 170 | #: inc/addressing.class.php:872 171 | msgid "Real free IP (Ping=KO)" 172 | msgstr "" 173 | 174 | #: inc/addressing.class.php:881 175 | msgid "Problem detected with the IP Range" 176 | msgstr "Probleme in alegerea plajei IP" 177 | 178 | #: inc/config.class.php:51 179 | msgid "System for ping" 180 | msgstr "Sistem pentru ping" 181 | 182 | #: inc/config.class.php:54 183 | msgid "Linux ping" 184 | msgstr "Linux ping" 185 | 186 | #: inc/config.class.php:55 187 | msgid "Windows" 188 | msgstr "Windows" 189 | 190 | #: inc/config.class.php:56 191 | msgid "Linux fping" 192 | msgstr "Linux fping" 193 | 194 | #: inc/config.class.php:57 195 | msgid "BSD ping" 196 | msgstr "BSD ping" 197 | 198 | #: inc/config.class.php:58 199 | msgid "MacOSX ping" 200 | msgstr "MacOSX ping" 201 | 202 | #: inc/config.class.php:62 203 | msgid "Display" 204 | msgstr "Afişează" 205 | 206 | #: inc/config.class.php:87 207 | msgid "Use Ping" 208 | msgstr "Utilizaţi ping - ul" 209 | 210 | #: inc/filter.class.php:279 211 | msgid "Add a filter" 212 | msgstr "" 213 | 214 | #: inc/ping_equipment.class.php:108 215 | msgid "No IP for this equipment" 216 | msgstr "Niciun IP pentru acest echipament" 217 | 218 | #: inc/pinginfo.class.php:53 219 | msgid "Launch ping for each ip report" 220 | msgstr "" 221 | 222 | #: inc/pinginfo.class.php:173 inc/report.class.php:272 223 | #: inc/report.class.php:604 inc/report.class.php:705 224 | msgid "Automatic action has not be launched" 225 | msgstr "" 226 | 227 | #: inc/pinginfo.class.php:177 inc/pinginfo.class.php:178 228 | #: inc/pinginfo.class.php:182 inc/pinginfo.class.php:183 229 | #: inc/report.class.php:302 inc/report.class.php:323 inc/report.class.php:606 230 | #: inc/report.class.php:707 231 | msgid "Last ping attempt" 232 | msgstr "" 233 | 234 | #: inc/profile.class.php:44 inc/profile.class.php:74 235 | msgid "Generate reports" 236 | msgstr "Generare rapoarte" 237 | 238 | #: inc/profile.class.php:47 inc/profile.class.php:86 239 | msgid "Use ping on equipment form" 240 | msgstr "Utilizaţi ping pe fişa de echipamente" 241 | 242 | #: inc/report.class.php:143 243 | msgid "Reservation" 244 | msgstr "" 245 | 246 | #: inc/report.class.php:284 inc/report.class.php:340 inc/report.class.php:476 247 | #: inc/report.class.php:711 248 | msgid "Reserve IP" 249 | msgstr "" 250 | 251 | #: inc/report.class.php:306 inc/report.class.php:328 252 | msgid "Reserved Address" 253 | msgstr "Adrese rezervate" 254 | 255 | #: inc/report.class.php:313 inc/report.class.php:611 256 | msgid "Success" 257 | msgstr "" 258 | 259 | #: inc/report.class.php:316 inc/report.class.php:354 260 | msgid "Reserved" 261 | msgstr "" 262 | 263 | #: inc/report.class.php:351 264 | msgid "Failed" 265 | msgstr "" 266 | 267 | #: inc/reserveip.class.php:142 268 | msgid "Object's name" 269 | msgstr "" 270 | 271 | #: inc/reserveip.class.php:262 272 | msgid "Name already in use" 273 | msgstr "" 274 | 275 | #: inc/reserveip.class.php:306 276 | msgid "Validate the reservation" 277 | msgstr "" 278 | -------------------------------------------------------------------------------- /locales/ru_RU.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/addressing/8b02f895bef38380603f622d38fbb5c7e05b24ea/locales/ru_RU.mo -------------------------------------------------------------------------------- /locales/ru_RU.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR Addressing Development Team 3 | # This file is distributed under the same license as the GLPI - Addressing plugin package. 4 | # 5 | # Translators: 6 | # Alexey Petukhov , 2015 7 | # Yarri Kor , 2016 8 | msgid "" 9 | msgstr "" 10 | "Project-Id-Version: GLPI Project - addressing plugin\n" 11 | "Report-Msgid-Bugs-To: \n" 12 | "POT-Creation-Date: 2022-09-15 13:40+0200\n" 13 | "PO-Revision-Date: 2012-09-07 11:14+0000\n" 14 | "Last-Translator: Yarri Kor , 2016\n" 15 | "Language-Team: Russian (Russia) (http://www.transifex.com/infotelGLPI/GLPI_addressing/language/ru_RU/)\n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=UTF-8\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | "Language: ru_RU\n" 20 | "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" 21 | 22 | #: hook.php:215 inc/ping_equipment.class.php:92 inc/pinginfo.class.php:190 23 | #: inc/report.class.php:141 24 | msgid "Ping result" 25 | msgstr "" 26 | 27 | #: hook.php:247 28 | msgid "Last ping OK" 29 | msgstr "" 30 | 31 | #: hook.php:249 32 | msgid "Last ping KO" 33 | msgstr "" 34 | 35 | #: hook.php:251 inc/pinginfo.class.php:174 36 | msgid "Ping informations not available" 37 | msgstr "" 38 | 39 | #: setup.php:81 inc/addressing.class.php:46 inc/ipcomment.class.php:44 40 | #: inc/pinginfo.class.php:42 inc/profile.class.php:108 41 | msgid "IP Adressing" 42 | msgid_plural "IP Adressing" 43 | msgstr[0] "IP Adressing" 44 | msgstr[1] "IP Adressing" 45 | msgstr[2] "IP Adressing" 46 | msgstr[3] "IP Adressing" 47 | 48 | #: ajax/addressing.php:60 inc/ping_equipment.class.php:71 49 | #: inc/ping_equipment.class.php:87 inc/report.class.php:179 50 | #: inc/report.class.php:184 inc/report.class.php:448 inc/report.class.php:453 51 | #: inc/report.class.php:585 inc/report.class.php:590 inc/report.class.php:690 52 | #: inc/report.class.php:695 53 | msgid "IP ping" 54 | msgstr "IP пинг" 55 | 56 | #: ajax/addressing.php:69 inc/report.class.php:289 inc/report.class.php:346 57 | #: inc/report.class.php:480 inc/report.class.php:715 58 | #: inc/reserveip.class.php:42 59 | msgid "IP reservation" 60 | msgstr "" 61 | 62 | #: front/addressing.form.php:52 front/addressing.form.php:82 63 | msgid "Problem when adding, required fields are not here" 64 | msgstr "Ошибка при добавлении. Требуется заполнить поля." 65 | 66 | #: front/config.form.php:50 front/config.php:50 67 | msgid "Please activate the plugin" 68 | msgstr "Пожалуйста, активируйте дополнение" 69 | 70 | #: front/reserveip.form.php:39 71 | msgid "The address has been reserved" 72 | msgstr "" 73 | 74 | #: inc/addressing.class.php:92 inc/addressing.class.php:401 75 | msgid "Ping free IP" 76 | msgstr "" 77 | 78 | #: inc/addressing.class.php:140 inc/addressing.class.php:251 79 | #: inc/filter.class.php:121 inc/filter.class.php:316 80 | msgid "First IP" 81 | msgstr "Первый IP" 82 | 83 | #: inc/addressing.class.php:149 inc/addressing.class.php:300 84 | #: inc/filter.class.php:161 inc/filter.class.php:317 85 | msgid "Last IP" 86 | msgstr "Последний IP" 87 | 88 | #: inc/addressing.class.php:183 inc/addressing.class.php:388 89 | #: inc/filter.class.php:219 90 | msgid "Report for the IP Range" 91 | msgstr "Отчет по диапазону IP адресов" 92 | 93 | #: inc/addressing.class.php:222 inc/addressing.class.php:396 94 | #: inc/filter.class.php:87 inc/filter.class.php:225 95 | msgid "Invalid data !!" 96 | msgstr "Неверные данные!!" 97 | 98 | #: inc/addressing.class.php:236 inc/addressing.class.php:770 99 | #: inc/config.class.php:64 100 | msgid "Assigned IP" 101 | msgstr "Назначенные IP" 102 | 103 | #: inc/addressing.class.php:288 inc/addressing.class.php:751 104 | #: inc/addressing.class.php:782 inc/config.class.php:69 105 | msgid "Free IP" 106 | msgstr "Свободные IP" 107 | 108 | #: inc/addressing.class.php:356 inc/addressing.class.php:733 109 | #: inc/addressing.class.php:774 inc/config.class.php:75 110 | msgid "Same IP" 111 | msgstr "Одинаковые IP" 112 | 113 | #: inc/addressing.class.php:376 inc/addressing.class.php:754 114 | #: inc/addressing.class.php:778 inc/config.class.php:80 115 | msgid "Reserved IP" 116 | msgstr "Зарезервированные IP" 117 | 118 | #: inc/addressing.class.php:422 inc/addressing.class.php:812 119 | #: inc/filter.class.php:43 120 | msgid "Filter" 121 | msgid_plural "Filters" 122 | msgstr[0] "Фильтр" 123 | msgstr[1] "Фильтры" 124 | msgstr[2] "Фильтры" 125 | msgstr[3] "Фильтр" 126 | 127 | #: inc/addressing.class.php:431 128 | msgid "Use the networks as filter" 129 | msgstr "" 130 | 131 | #: inc/addressing.class.php:434 132 | msgid "The display of items depends on these criterias" 133 | msgstr "" 134 | 135 | #: inc/addressing.class.php:438 136 | msgid "Default fields for reservation" 137 | msgstr "" 138 | 139 | #: inc/addressing.class.php:711 140 | msgid "Number of free IP" 141 | msgstr "" 142 | 143 | #: inc/addressing.class.php:715 144 | msgid "Number of reserved IP" 145 | msgstr "" 146 | 147 | #: inc/addressing.class.php:719 148 | msgid "Number of assigned IP (no doubles)" 149 | msgstr "" 150 | 151 | #: inc/addressing.class.php:723 152 | msgid "Number of doubles IP" 153 | msgstr "" 154 | 155 | #: inc/addressing.class.php:741 inc/addressing.class.php:794 156 | #: inc/ping_equipment.class.php:280 inc/report.class.php:594 157 | #: inc/reserveip.class.php:198 158 | msgid "Ping: got a response - used IP" 159 | msgstr "" 160 | 161 | #: inc/addressing.class.php:747 inc/addressing.class.php:790 162 | #: inc/ping_equipment.class.php:277 inc/report.class.php:699 163 | #: inc/reserveip.class.php:195 164 | msgid "Ping: no response - free IP" 165 | msgstr "" 166 | 167 | #: inc/addressing.class.php:799 inc/addressing.class.php:801 168 | #: inc/pinginfo.class.php:200 169 | msgctxt "button" 170 | msgid "Manual launch of ping" 171 | msgstr "" 172 | 173 | #: inc/addressing.class.php:872 174 | msgid "Real free IP (Ping=KO)" 175 | msgstr "" 176 | 177 | #: inc/addressing.class.php:881 178 | msgid "Problem detected with the IP Range" 179 | msgstr "Обнаруженные проблемы с IP диапазоном" 180 | 181 | #: inc/config.class.php:51 182 | msgid "System for ping" 183 | msgstr "Система для пинга" 184 | 185 | #: inc/config.class.php:54 186 | msgid "Linux ping" 187 | msgstr "Linux ping" 188 | 189 | #: inc/config.class.php:55 190 | msgid "Windows" 191 | msgstr "Windows" 192 | 193 | #: inc/config.class.php:56 194 | msgid "Linux fping" 195 | msgstr "Linux fping" 196 | 197 | #: inc/config.class.php:57 198 | msgid "BSD ping" 199 | msgstr "BSD ping" 200 | 201 | #: inc/config.class.php:58 202 | msgid "MacOSX ping" 203 | msgstr "MacOSX ping" 204 | 205 | #: inc/config.class.php:62 206 | msgid "Display" 207 | msgstr "Отобразить" 208 | 209 | #: inc/config.class.php:87 210 | msgid "Use Ping" 211 | msgstr "Использовать пинг" 212 | 213 | #: inc/filter.class.php:279 214 | msgid "Add a filter" 215 | msgstr "Добавить фильтр" 216 | 217 | #: inc/ping_equipment.class.php:108 218 | msgid "No IP for this equipment" 219 | msgstr "Нет IP для этого оборудования" 220 | 221 | #: inc/pinginfo.class.php:53 222 | msgid "Launch ping for each ip report" 223 | msgstr "" 224 | 225 | #: inc/pinginfo.class.php:173 inc/report.class.php:272 226 | #: inc/report.class.php:604 inc/report.class.php:705 227 | msgid "Automatic action has not be launched" 228 | msgstr "" 229 | 230 | #: inc/pinginfo.class.php:177 inc/pinginfo.class.php:178 231 | #: inc/pinginfo.class.php:182 inc/pinginfo.class.php:183 232 | #: inc/report.class.php:302 inc/report.class.php:323 inc/report.class.php:606 233 | #: inc/report.class.php:707 234 | msgid "Last ping attempt" 235 | msgstr "" 236 | 237 | #: inc/profile.class.php:44 inc/profile.class.php:74 238 | msgid "Generate reports" 239 | msgstr "Создать отчет" 240 | 241 | #: inc/profile.class.php:47 inc/profile.class.php:86 242 | msgid "Use ping on equipment form" 243 | msgstr "Использовать ping на форме оборудования" 244 | 245 | #: inc/report.class.php:143 246 | msgid "Reservation" 247 | msgstr "" 248 | 249 | #: inc/report.class.php:284 inc/report.class.php:340 inc/report.class.php:476 250 | #: inc/report.class.php:711 251 | msgid "Reserve IP" 252 | msgstr "" 253 | 254 | #: inc/report.class.php:306 inc/report.class.php:328 255 | msgid "Reserved Address" 256 | msgstr "Зарезервированные адреса" 257 | 258 | #: inc/report.class.php:313 inc/report.class.php:611 259 | msgid "Success" 260 | msgstr "" 261 | 262 | #: inc/report.class.php:316 inc/report.class.php:354 263 | msgid "Reserved" 264 | msgstr "" 265 | 266 | #: inc/report.class.php:351 267 | msgid "Failed" 268 | msgstr "" 269 | 270 | #: inc/reserveip.class.php:142 271 | msgid "Object's name" 272 | msgstr "Названия объектов" 273 | 274 | #: inc/reserveip.class.php:262 275 | msgid "Name already in use" 276 | msgstr "Имя уже используется" 277 | 278 | #: inc/reserveip.class.php:306 279 | msgid "Validate the reservation" 280 | msgstr "Подтверждать резервирование" 281 | -------------------------------------------------------------------------------- /locales/tr_TR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/addressing/8b02f895bef38380603f622d38fbb5c7e05b24ea/locales/tr_TR.mo -------------------------------------------------------------------------------- /setup.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | 30 | define('PLUGIN_ADDRESSING_VERSION', '3.0.3'); 31 | 32 | if (!defined("PLUGIN_ADDRESSING_DIR")) { 33 | define("PLUGIN_ADDRESSING_DIR", Plugin::getPhpDir("addressing")); 34 | define("PLUGIN_ADDRESSING_DIR_NOFULL", Plugin::getPhpDir("addressing", false)); 35 | define("PLUGIN_ADDRESSING_WEBDIR", Plugin::getWebDir("addressing")); 36 | } 37 | 38 | // Init the hooks of the plugins -Needed 39 | function plugin_init_addressing() 40 | { 41 | global $PLUGIN_HOOKS; 42 | 43 | $PLUGIN_HOOKS['csrf_compliant']['addressing'] = true; 44 | 45 | $PLUGIN_HOOKS['change_profile']['addressing'] = ['PluginAddressingProfile', 'initProfile']; 46 | 47 | Plugin::registerClass( 48 | 'PluginAddressingProfile', 49 | ['addtabon' => ['Profile']] 50 | ); 51 | 52 | if (Session::getLoginUserID()) { 53 | if (Session::haveRight('plugin_addressing', READ)) { 54 | $PLUGIN_HOOKS["menu_toadd"]['addressing'] = ['tools' => 'PluginAddressingAddressing']; 55 | } 56 | 57 | if (Session::haveRight('plugin_addressing', UPDATE)) { 58 | $PLUGIN_HOOKS['use_massive_action']['addressing'] = 1; 59 | } 60 | 61 | // Config page 62 | if (Session::haveRight("config", UPDATE)) { 63 | $PLUGIN_HOOKS['config_page']['addressing'] = 'front/config.php'; 64 | } 65 | 66 | $PLUGIN_HOOKS['post_item_form']['addressing'] = ['PluginAddressingPinginfo', 67 | 'getPingResponseForItem']; 68 | 69 | // Add specific files to add to the header : javascript or css 70 | if (isset($_SESSION['glpiactiveprofile']['interface']) 71 | && $_SESSION['glpiactiveprofile']['interface'] == 'central') { 72 | $PLUGIN_HOOKS['add_css']['addressing'] = "addressing.css"; 73 | $PLUGIN_HOOKS["javascript"]['addressing'] = [PLUGIN_ADDRESSING_DIR_NOFULL."/addressing.js"]; 74 | $PLUGIN_HOOKS['add_javascript']['addressing'] = 'addressing.js'; 75 | } 76 | } 77 | } 78 | 79 | 80 | // Get the name and the version of the plugin - Needed 81 | function plugin_version_addressing() 82 | { 83 | return [ 84 | 'name' => _n('IP Addressing', 'IP Addressing', 2, 'addressing'), 85 | 'version' => PLUGIN_ADDRESSING_VERSION, 86 | 'author' => 'Gilles Portheault, Xavier Caillaud, Remi Collet, Nelly Mahu-Lasson', 87 | 'license' => 'GPLv2+', 88 | 'homepage' => 'https://github.com/pluginsGLPI/addressing', 89 | 'requirements' => [ 90 | 'glpi' => [ 91 | 'min' => '10.0', 92 | 'max' => '11.0', 93 | ] 94 | ]]; 95 | } 96 | -------------------------------------------------------------------------------- /sql/empty-1.4.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS `glpi_plugin_addressing_display`; 2 | CREATE TABLE `glpi_plugin_addressing_display` ( 3 | `ID` INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY , 4 | `ip_alloted` smallint(6) NOT NULL default '0', 5 | `ip_double` smallint(6) NOT NULL default '0', 6 | `ip_free` smallint(6) NOT NULL default '0', 7 | `ip_reserved` smallint(6) NOT NULL default '0', 8 | `ipconf1` smallint(6) NULL, 9 | `ipconf2` smallint(6) NULL, 10 | `ipconf3` smallint(6) NULL, 11 | `ipconf4` smallint(6) NULL, 12 | `netconf` smallint(6) NOT NULL default '0', 13 | `ping` smallint(6) NOT NULL default '0', 14 | `system` smallint(6) NOT NULL default '0' 15 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 16 | 17 | INSERT INTO `glpi_plugin_addressing_display` ( `ID`, `ip_alloted`,`ip_double`,`ip_free`,`ip_reserved`,`ping`,`system`) VALUES ('1','1','1','1','1','0','0'); 18 | 19 | DROP TABLE IF EXISTS `glpi_plugin_addressing_profiles`; 20 | CREATE TABLE `glpi_plugin_addressing_profiles` ( 21 | `ID` int(11) NOT NULL auto_increment, 22 | `name` varchar(255) default NULL, 23 | `interface` varchar(50) NOT NULL default 'addressing', 24 | `is_default` enum('0','1') NOT NULL default '0', 25 | `addressing` char(1) default NULL, 26 | PRIMARY KEY (`ID`), 27 | KEY `interface` (`interface`) 28 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -------------------------------------------------------------------------------- /sql/empty-1.5.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS `glpi_plugin_addressing`; 2 | CREATE TABLE `glpi_plugin_addressing` ( 3 | `ID` int(11) NOT NULL auto_increment, 4 | `FK_entities` int(11) NOT NULL default '0', 5 | `name` varchar(255) collate utf8_unicode_ci NOT NULL default '', 6 | `network` smallint(6) NOT NULL default '0', 7 | `ipdebut1` smallint(6) NULL, 8 | `ipdebut2` smallint(6) NULL, 9 | `ipdebut3` smallint(6) NULL, 10 | `ipdebut4` smallint(6) NULL, 11 | `ipfin4` smallint(6) NULL, 12 | `ping` smallint(6) NOT NULL default '0', 13 | `link` smallint(6) NOT NULL default '1', 14 | `comments` text, 15 | `deleted` smallint(6) NOT NULL default '0', 16 | PRIMARY KEY (`ID`) 17 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 18 | 19 | DROP TABLE IF EXISTS `glpi_plugin_addressing_display`; 20 | CREATE TABLE `glpi_plugin_addressing_display` ( 21 | `ID` INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY , 22 | `ip_alloted` smallint(6) NOT NULL default '0', 23 | `ip_double` smallint(6) NOT NULL default '0', 24 | `ip_free` smallint(6) NOT NULL default '0', 25 | `ip_reserved` smallint(6) NOT NULL default '0', 26 | `ping` smallint(6) NOT NULL default '0', 27 | `system` smallint(6) NOT NULL default '0' 28 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 29 | 30 | INSERT INTO `glpi_plugin_addressing_display` ( `ID`, `ip_alloted`,`ip_double`,`ip_free`,`ip_reserved`,`ping`,`system`) VALUES ('1','1','1','1','1','0','0'); 31 | 32 | DROP TABLE IF EXISTS `glpi_plugin_addressing_profiles`; 33 | CREATE TABLE `glpi_plugin_addressing_profiles` ( 34 | `ID` int(11) NOT NULL auto_increment, 35 | `name` varchar(255) default NULL, 36 | `interface` varchar(50) NOT NULL default 'addressing', 37 | `is_default` enum('0','1') NOT NULL default '0', 38 | `addressing` char(1) default NULL, 39 | PRIMARY KEY (`ID`), 40 | KEY `interface` (`interface`) 41 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 42 | 43 | INSERT INTO `glpi_display` ( `ID` , `type` , `num` , `rank` , `FK_users` ) VALUES (NULL,'5000','2','2','0'); 44 | INSERT INTO `glpi_display` ( `ID` , `type` , `num` , `rank` , `FK_users` ) VALUES (NULL,'5000','3','3','0'); 45 | INSERT INTO `glpi_display` ( `ID` , `type` , `num` , `rank` , `FK_users` ) VALUES (NULL,'5000','4','4','0'); 46 | INSERT INTO `glpi_display` ( `ID` , `type` , `num` , `rank` , `FK_users` ) VALUES (NULL,'5000','5','5','0'); -------------------------------------------------------------------------------- /sql/empty-1.6.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS `glpi_plugin_addressing`; 2 | CREATE TABLE `glpi_plugin_addressing` ( 3 | `ID` int(11) NOT NULL auto_increment, 4 | `FK_entities` int(11) NOT NULL default '0', 5 | `name` varchar(255) collate utf8_unicode_ci NOT NULL default '', 6 | `network` smallint(6) NOT NULL default '0', 7 | `ipdeb` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', 8 | `ipfin` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', 9 | `ip_alloted` smallint(6) NOT NULL default '0', 10 | `ip_double` smallint(6) NOT NULL default '0', 11 | `ip_free` smallint(6) NOT NULL default '0', 12 | `ip_reserved` smallint(6) NOT NULL default '0', 13 | `ping` smallint(6) NOT NULL default '0', 14 | `link` smallint(6) NOT NULL default '1', 15 | `comments` text, 16 | `deleted` smallint(6) NOT NULL default '0', 17 | PRIMARY KEY (`ID`) 18 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 19 | 20 | DROP TABLE IF EXISTS `glpi_plugin_addressing_display`; 21 | CREATE TABLE `glpi_plugin_addressing_display` ( 22 | `ID` INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY , 23 | `ip_alloted` smallint(6) NOT NULL default '0', 24 | `ip_double` smallint(6) NOT NULL default '0', 25 | `ip_free` smallint(6) NOT NULL default '0', 26 | `ip_reserved` smallint(6) NOT NULL default '0', 27 | `ping` smallint(6) NOT NULL default '0', 28 | `system` smallint(6) NOT NULL default '0' 29 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 30 | 31 | INSERT INTO `glpi_plugin_addressing_display` ( `ID`, `ip_alloted`,`ip_double`,`ip_free`,`ip_reserved`,`ping`,`system`) VALUES ('1','1','1','1','1','0','0'); 32 | 33 | DROP TABLE IF EXISTS `glpi_plugin_addressing_profiles`; 34 | CREATE TABLE `glpi_plugin_addressing_profiles` ( 35 | `ID` int(11) NOT NULL auto_increment, 36 | `name` varchar(255) default NULL, 37 | `interface` varchar(50) NOT NULL default 'addressing', 38 | `is_default` enum('0','1') NOT NULL default '0', 39 | `addressing` char(1) default NULL, 40 | PRIMARY KEY (`ID`), 41 | KEY `interface` (`interface`) 42 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 43 | 44 | INSERT INTO `glpi_display` (`type` , `num` , `rank` , `FK_users` ) VALUES (5000,2,2,0); 45 | INSERT INTO `glpi_display` (`type` , `num` , `rank` , `FK_users` ) VALUES (5000,3,6,0); 46 | INSERT INTO `glpi_display` (`type` , `num` , `rank` , `FK_users` ) VALUES (5000,4,5,0); 47 | INSERT INTO `glpi_display` (`type` , `num` , `rank` , `FK_users` ) VALUES (5000,5,7,0); 48 | INSERT INTO `glpi_display` (`type` , `num` , `rank` , `FK_users` ) VALUES (5000,1000,3,0); 49 | INSERT INTO `glpi_display` (`type` , `num` , `rank` , `FK_users` ) VALUES (5000,1001,4,0); -------------------------------------------------------------------------------- /sql/empty-1.7.0.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS `glpi_plugin_addressing`; 2 | CREATE TABLE `glpi_plugin_addressing` ( 3 | `ID` int(11) NOT NULL auto_increment, 4 | `FK_entities` int(11) NOT NULL default '0', 5 | `name` varchar(255) collate utf8_unicode_ci NOT NULL default '', 6 | `network` smallint(6) NOT NULL default '0', 7 | `ipdeb` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', 8 | `ipfin` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', 9 | `ip_alloted` smallint(6) NOT NULL default '0', 10 | `ip_double` smallint(6) NOT NULL default '0', 11 | `ip_free` smallint(6) NOT NULL default '0', 12 | `ip_reserved` smallint(6) NOT NULL default '0', 13 | `ping` smallint(6) NOT NULL default '0', 14 | `link` smallint(6) NOT NULL default '1', 15 | `comments` text, 16 | `deleted` smallint(6) NOT NULL default '0', 17 | PRIMARY KEY (`ID`) 18 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 19 | 20 | DROP TABLE IF EXISTS `glpi_plugin_addressing_display`; 21 | CREATE TABLE `glpi_plugin_addressing_display` ( 22 | `ID` INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY , 23 | `ip_alloted` smallint(6) NOT NULL default '0', 24 | `ip_double` smallint(6) NOT NULL default '0', 25 | `ip_free` smallint(6) NOT NULL default '0', 26 | `ip_reserved` smallint(6) NOT NULL default '0', 27 | `ping` smallint(6) NOT NULL default '0', 28 | `system` smallint(6) NOT NULL default '0' 29 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 30 | 31 | INSERT INTO `glpi_plugin_addressing_display` ( `ID`, `ip_alloted`,`ip_double`,`ip_free`,`ip_reserved`,`ping`,`system`) VALUES ('1','1','1','1','1','0','0'); 32 | 33 | DROP TABLE IF EXISTS `glpi_plugin_addressing_profiles`; 34 | CREATE TABLE `glpi_plugin_addressing_profiles` ( 35 | `ID` int(11) NOT NULL auto_increment, 36 | `name` varchar(255) default NULL, 37 | `addressing` char(1) default NULL, 38 | PRIMARY KEY (`ID`), 39 | KEY `name` (`name`) 40 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 41 | 42 | INSERT INTO `glpi_display` (`type` , `num` , `rank` , `FK_users` ) VALUES (5000,2,2,0); 43 | INSERT INTO `glpi_display` (`type` , `num` , `rank` , `FK_users` ) VALUES (5000,3,6,0); 44 | INSERT INTO `glpi_display` (`type` , `num` , `rank` , `FK_users` ) VALUES (5000,4,5,0); 45 | INSERT INTO `glpi_display` (`type` , `num` , `rank` , `FK_users` ) VALUES (5000,5,7,0); 46 | INSERT INTO `glpi_display` (`type` , `num` , `rank` , `FK_users` ) VALUES (5000,1000,3,0); 47 | INSERT INTO `glpi_display` (`type` , `num` , `rank` , `FK_users` ) VALUES (5000,1001,4,0); -------------------------------------------------------------------------------- /sql/empty-1.8.0.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS `glpi_plugin_addressing_addressings`; 2 | CREATE TABLE `glpi_plugin_addressing_addressings` ( 3 | `id` int(11) NOT NULL auto_increment, 4 | `entities_id` int(11) NOT NULL default '0', 5 | `name` varchar(255) collate utf8_unicode_ci default NULL, 6 | `networks_id` int(11) NOT NULL default '0' COMMENT 'RELATION to glpi_networks (id)', 7 | `begin_ip` varchar(255) collate utf8_unicode_ci default NULL, 8 | `end_ip` varchar(255) collate utf8_unicode_ci default NULL, 9 | `alloted_ip` tinyint(1) NOT NULL default '0', 10 | `double_ip` tinyint(1) NOT NULL default '0', 11 | `free_ip` tinyint(1) NOT NULL default '0', 12 | `reserved_ip` tinyint(1) NOT NULL default '0', 13 | `use_ping` tinyint(1) NOT NULL default '0', 14 | `comment` text collate utf8_unicode_ci, 15 | `is_deleted` tinyint(1) NOT NULL default '0', 16 | PRIMARY KEY (`id`), 17 | KEY `name` (`name`), 18 | KEY `entities_id` (`entities_id`), 19 | KEY `networks_id` (`networks_id`), 20 | KEY `is_deleted` (`is_deleted`) 21 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 22 | 23 | DROP TABLE IF EXISTS `glpi_plugin_addressing_configs`; 24 | CREATE TABLE `glpi_plugin_addressing_configs` ( 25 | `id` int(11) NOT NULL auto_increment, 26 | `alloted_ip` tinyint(1) NOT NULL default '0', 27 | `double_ip` tinyint(1) NOT NULL default '0', 28 | `free_ip` tinyint(1) NOT NULL default '0', 29 | `reserved_ip` tinyint(1) NOT NULL default '0', 30 | `use_ping` tinyint(1) NOT NULL default '0', 31 | `used_system` tinyint(1) NOT NULL default '0', 32 | PRIMARY KEY (`id`) 33 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 34 | 35 | INSERT INTO `glpi_plugin_addressing_configs` VALUES ('1','1','1','1','1','0','0'); 36 | 37 | DROP TABLE IF EXISTS `glpi_plugin_addressing_profiles`; 38 | CREATE TABLE `glpi_plugin_addressing_profiles` ( 39 | `id` int(11) NOT NULL auto_increment, 40 | `profiles_id` int(11) NOT NULL default '0' COMMENT 'RELATION to glpi_profiles (id)', 41 | `addressing` char(1) collate utf8_unicode_ci default NULL, 42 | PRIMARY KEY (`id`), 43 | KEY `profiles_id` (`profiles_id`) 44 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 45 | 46 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',2,2,0); 47 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',3,6,0); 48 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',4,5,0); 49 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',1000,3,0); 50 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',1001,4,0); 51 | -------------------------------------------------------------------------------- /sql/empty-1.9.0.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS `glpi_plugin_addressing_addressings`; 2 | CREATE TABLE `glpi_plugin_addressing_addressings` ( 3 | `id` int(11) NOT NULL auto_increment, 4 | `entities_id` int(11) NOT NULL default '0', 5 | `name` varchar(255) collate utf8_unicode_ci default NULL, 6 | `networks_id` int(11) NOT NULL default '0' COMMENT 'RELATION to glpi_networks (id)', 7 | `begin_ip` varchar(255) collate utf8_unicode_ci default NULL, 8 | `end_ip` varchar(255) collate utf8_unicode_ci default NULL, 9 | `alloted_ip` tinyint(1) NOT NULL default '0', 10 | `double_ip` tinyint(1) NOT NULL default '0', 11 | `free_ip` tinyint(1) NOT NULL default '0', 12 | `reserved_ip` tinyint(1) NOT NULL default '0', 13 | `use_ping` tinyint(1) NOT NULL default '0', 14 | `comment` text collate utf8_unicode_ci, 15 | `is_deleted` tinyint(1) NOT NULL default '0', 16 | PRIMARY KEY (`id`), 17 | KEY `name` (`name`), 18 | KEY `entities_id` (`entities_id`), 19 | KEY `networks_id` (`networks_id`), 20 | KEY `is_deleted` (`is_deleted`) 21 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 22 | 23 | DROP TABLE IF EXISTS `glpi_plugin_addressing_configs`; 24 | CREATE TABLE `glpi_plugin_addressing_configs` ( 25 | `id` int(11) NOT NULL auto_increment, 26 | `alloted_ip` tinyint(1) NOT NULL default '0', 27 | `double_ip` tinyint(1) NOT NULL default '0', 28 | `free_ip` tinyint(1) NOT NULL default '0', 29 | `reserved_ip` tinyint(1) NOT NULL default '0', 30 | `use_ping` tinyint(1) NOT NULL default '0', 31 | `used_system` tinyint(1) NOT NULL default '0', 32 | PRIMARY KEY (`id`) 33 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 34 | 35 | INSERT INTO `glpi_plugin_addressing_configs` VALUES ('1','1','1','1','1','0','0'); 36 | 37 | DROP TABLE IF EXISTS `glpi_plugin_addressing_profiles`; 38 | CREATE TABLE `glpi_plugin_addressing_profiles` ( 39 | `id` int(11) NOT NULL auto_increment, 40 | `profiles_id` int(11) NOT NULL default '0' COMMENT 'RELATION to glpi_profiles (id)', 41 | `addressing` char(1) collate utf8_unicode_ci default NULL, 42 | `use_ping_in_equipment` char(1) collate utf8_unicode_ci default NULL, 43 | PRIMARY KEY (`id`), 44 | KEY `profiles_id` (`profiles_id`) 45 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 46 | 47 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',2,2,0); 48 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',3,6,0); 49 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',4,5,0); 50 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',1000,3,0); 51 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',1001,4,0); 52 | -------------------------------------------------------------------------------- /sql/empty-2.0.0.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS `glpi_plugin_addressing_addressings`; 2 | CREATE TABLE `glpi_plugin_addressing_addressings` ( 3 | `id` int(11) NOT NULL auto_increment, 4 | `entities_id` int(11) NOT NULL default '0', 5 | `name` varchar(255) collate utf8_unicode_ci default NULL, 6 | `networks_id` int(11) NOT NULL default '0' COMMENT 'RELATION to glpi_networks (id)', 7 | `begin_ip` varchar(255) collate utf8_unicode_ci default NULL, 8 | `end_ip` varchar(255) collate utf8_unicode_ci default NULL, 9 | `alloted_ip` tinyint(1) NOT NULL default '0', 10 | `double_ip` tinyint(1) NOT NULL default '0', 11 | `free_ip` tinyint(1) NOT NULL default '0', 12 | `reserved_ip` tinyint(1) NOT NULL default '0', 13 | `use_ping` tinyint(1) NOT NULL default '0', 14 | `comment` text collate utf8_unicode_ci, 15 | `is_deleted` tinyint(1) NOT NULL default '0', 16 | PRIMARY KEY (`id`), 17 | KEY `name` (`name`), 18 | KEY `entities_id` (`entities_id`), 19 | KEY `networks_id` (`networks_id`), 20 | KEY `is_deleted` (`is_deleted`) 21 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 22 | 23 | DROP TABLE IF EXISTS `glpi_plugin_addressing_configs`; 24 | CREATE TABLE `glpi_plugin_addressing_configs` ( 25 | `id` int(11) NOT NULL auto_increment, 26 | `alloted_ip` tinyint(1) NOT NULL default '0', 27 | `double_ip` tinyint(1) NOT NULL default '0', 28 | `free_ip` tinyint(1) NOT NULL default '0', 29 | `reserved_ip` tinyint(1) NOT NULL default '0', 30 | `use_ping` tinyint(1) NOT NULL default '0', 31 | `used_system` tinyint(1) NOT NULL default '0', 32 | PRIMARY KEY (`id`) 33 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 34 | 35 | INSERT INTO `glpi_plugin_addressing_configs` VALUES ('1','1','1','1','1','0','0'); 36 | 37 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',2,2,0); 38 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',3,6,0); 39 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',4,5,0); 40 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',1000,3,0); 41 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',1001,4,0); 42 | -------------------------------------------------------------------------------- /sql/empty-2.4.0.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS `glpi_plugin_addressing_addressings`; 2 | CREATE TABLE `glpi_plugin_addressing_addressings` ( 3 | `id` int(11) NOT NULL auto_increment, 4 | `entities_id` int(11) NOT NULL default '0', 5 | `name` varchar(255) collate utf8_unicode_ci default NULL, 6 | `networks_id` int(11) NOT NULL default '0' COMMENT 'RELATION to glpi_networks (id)', 7 | `begin_ip` varchar(255) collate utf8_unicode_ci default NULL, 8 | `end_ip` varchar(255) collate utf8_unicode_ci default NULL, 9 | `alloted_ip` tinyint(1) NOT NULL default '0', 10 | `double_ip` tinyint(1) NOT NULL default '0', 11 | `free_ip` tinyint(1) NOT NULL default '0', 12 | `reserved_ip` tinyint(1) NOT NULL default '0', 13 | `use_ping` tinyint(1) NOT NULL default '0', 14 | `comment` text collate utf8_unicode_ci, 15 | `is_deleted` tinyint(1) NOT NULL default '0', 16 | PRIMARY KEY (`id`), 17 | KEY `name` (`name`), 18 | KEY `entities_id` (`entities_id`), 19 | KEY `networks_id` (`networks_id`), 20 | KEY `is_deleted` (`is_deleted`) 21 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 22 | 23 | DROP TABLE IF EXISTS `glpi_plugin_addressing_configs`; 24 | CREATE TABLE `glpi_plugin_addressing_configs` ( 25 | `id` int(11) NOT NULL auto_increment, 26 | `alloted_ip` tinyint(1) NOT NULL default '0', 27 | `double_ip` tinyint(1) NOT NULL default '0', 28 | `free_ip` tinyint(1) NOT NULL default '0', 29 | `reserved_ip` tinyint(1) NOT NULL default '0', 30 | `use_ping` tinyint(1) NOT NULL default '0', 31 | `used_system` tinyint(1) NOT NULL default '0', 32 | PRIMARY KEY (`id`) 33 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 34 | 35 | DROP TABLE IF EXISTS `glpi_plugin_addressing_filters`; 36 | CREATE TABLE `glpi_plugin_addressing_filters` ( 37 | `id` int(11) NOT NULL auto_increment, 38 | `entities_id` int(11) NOT NULL default '0', 39 | `plugin_addressing_addressings_id` int(11) NOT NULL default '0', 40 | `name` varchar(255) collate utf8_unicode_ci default NULL, 41 | `begin_ip` varchar(255) collate utf8_unicode_ci default NULL, 42 | `end_ip` varchar(255) collate utf8_unicode_ci default NULL, 43 | `type` varchar(255) collate utf8_unicode_ci default NULL, 44 | PRIMARY KEY (`id`), 45 | KEY `entities_id` (`entities_id`), 46 | KEY `plugin_addressing_addressings_id` (`plugin_addressing_addressings_id`) 47 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 48 | 49 | INSERT INTO `glpi_plugin_addressing_configs` VALUES ('1','1','1','1','1','0','0'); 50 | 51 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',2,2,0); 52 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',3,6,0); 53 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',4,5,0); 54 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',1000,3,0); 55 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',1001,4,0); 56 | -------------------------------------------------------------------------------- /sql/empty-2.5.0.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS `glpi_plugin_addressing_addressings`; 2 | CREATE TABLE `glpi_plugin_addressing_addressings` ( 3 | `id` int(11) NOT NULL auto_increment, 4 | `entities_id` int(11) NOT NULL default '0', 5 | `name` varchar(255) collate utf8_unicode_ci default NULL, 6 | `networks_id` int(11) NOT NULL default '0' COMMENT 'RELATION to glpi_networks (id)', 7 | `locations_id` int(11) NOT NULL default '0' COMMENT 'RELATION to glpi_locations (id)', 8 | `fqdns_id` int(11) NOT NULL default '0' COMMENT 'RELATION to glpi_fqdns (id)', 9 | `begin_ip` varchar(255) collate utf8_unicode_ci default NULL, 10 | `end_ip` varchar(255) collate utf8_unicode_ci default NULL, 11 | `alloted_ip` tinyint(1) NOT NULL default '0', 12 | `double_ip` tinyint(1) NOT NULL default '0', 13 | `free_ip` tinyint(1) NOT NULL default '0', 14 | `reserved_ip` tinyint(1) NOT NULL default '0', 15 | `use_ping` tinyint(1) NOT NULL default '0', 16 | `comment` text collate utf8_unicode_ci, 17 | `is_deleted` tinyint(1) NOT NULL default '0', 18 | PRIMARY KEY (`id`), 19 | KEY `name` (`name`), 20 | KEY `entities_id` (`entities_id`), 21 | KEY `networks_id` (`networks_id`), 22 | KEY `is_deleted` (`is_deleted`) 23 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 24 | 25 | DROP TABLE IF EXISTS `glpi_plugin_addressing_configs`; 26 | CREATE TABLE `glpi_plugin_addressing_configs` ( 27 | `id` int(11) NOT NULL auto_increment, 28 | `alloted_ip` tinyint(1) NOT NULL default '0', 29 | `double_ip` tinyint(1) NOT NULL default '0', 30 | `free_ip` tinyint(1) NOT NULL default '0', 31 | `reserved_ip` tinyint(1) NOT NULL default '0', 32 | `use_ping` tinyint(1) NOT NULL default '0', 33 | `used_system` tinyint(1) NOT NULL default '0', 34 | PRIMARY KEY (`id`) 35 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 36 | 37 | DROP TABLE IF EXISTS `glpi_plugin_addressing_filters`; 38 | CREATE TABLE `glpi_plugin_addressing_filters` ( 39 | `id` int(11) NOT NULL auto_increment, 40 | `entities_id` int(11) NOT NULL default '0', 41 | `plugin_addressing_addressings_id` int(11) NOT NULL default '0', 42 | `name` varchar(255) collate utf8_unicode_ci default NULL, 43 | `begin_ip` varchar(255) collate utf8_unicode_ci default NULL, 44 | `end_ip` varchar(255) collate utf8_unicode_ci default NULL, 45 | `type` varchar(255) collate utf8_unicode_ci default NULL, 46 | PRIMARY KEY (`id`), 47 | KEY `entities_id` (`entities_id`), 48 | KEY `plugin_addressing_addressings_id` (`plugin_addressing_addressings_id`) 49 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 50 | 51 | INSERT INTO `glpi_plugin_addressing_configs` VALUES ('1','1','1','1','1','0','0'); 52 | 53 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',2,2,0); 54 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',3,6,0); 55 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',4,5,0); 56 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',1000,3,0); 57 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',1001,4,0); 58 | -------------------------------------------------------------------------------- /sql/empty-2.7.0.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS `glpi_plugin_addressing_addressings`; 2 | CREATE TABLE `glpi_plugin_addressing_addressings` ( 3 | `id` int(11) NOT NULL auto_increment, 4 | `entities_id` int(11) NOT NULL default '0', 5 | `name` varchar(255) collate utf8_unicode_ci default NULL, 6 | `networks_id` int(11) NOT NULL default '0' COMMENT 'RELATION to glpi_networks (id)', 7 | `locations_id` int(11) NOT NULL default '0' COMMENT 'RELATION to glpi_locations (id)', 8 | `fqdns_id` int(11) NOT NULL default '0' COMMENT 'RELATION to glpi_fqdns (id)', 9 | `begin_ip` varchar(255) collate utf8_unicode_ci default NULL, 10 | `end_ip` varchar(255) collate utf8_unicode_ci default NULL, 11 | `alloted_ip` tinyint(1) NOT NULL default '0', 12 | `double_ip` tinyint(1) NOT NULL default '0', 13 | `free_ip` tinyint(1) NOT NULL default '0', 14 | `reserved_ip` tinyint(1) NOT NULL default '0', 15 | `use_ping` tinyint(1) NOT NULL default '0', 16 | `comment` text collate utf8_unicode_ci, 17 | `is_deleted` tinyint(1) NOT NULL default '0', 18 | PRIMARY KEY (`id`), 19 | KEY `name` (`name`), 20 | KEY `entities_id` (`entities_id`), 21 | KEY `networks_id` (`networks_id`), 22 | KEY `is_deleted` (`is_deleted`) 23 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 24 | 25 | DROP TABLE IF EXISTS `glpi_plugin_addressing_configs`; 26 | CREATE TABLE `glpi_plugin_addressing_configs` ( 27 | `id` int(11) NOT NULL auto_increment, 28 | `alloted_ip` tinyint(1) NOT NULL default '0', 29 | `double_ip` tinyint(1) NOT NULL default '0', 30 | `free_ip` tinyint(1) NOT NULL default '0', 31 | `reserved_ip` tinyint(1) NOT NULL default '0', 32 | `use_ping` tinyint(1) NOT NULL default '0', 33 | `used_system` tinyint(1) NOT NULL default '0', 34 | PRIMARY KEY (`id`) 35 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 36 | 37 | DROP TABLE IF EXISTS `glpi_plugin_addressing_filters`; 38 | CREATE TABLE `glpi_plugin_addressing_filters` ( 39 | `id` int(11) NOT NULL auto_increment, 40 | `entities_id` int(11) NOT NULL default '0', 41 | `plugin_addressing_addressings_id` int(11) NOT NULL default '0', 42 | `name` varchar(255) collate utf8_unicode_ci default NULL, 43 | `begin_ip` varchar(255) collate utf8_unicode_ci default NULL, 44 | `end_ip` varchar(255) collate utf8_unicode_ci default NULL, 45 | `type` varchar(255) collate utf8_unicode_ci default NULL, 46 | PRIMARY KEY (`id`), 47 | KEY `entities_id` (`entities_id`), 48 | KEY `plugin_addressing_addressings_id` (`plugin_addressing_addressings_id`) 49 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 50 | 51 | INSERT INTO `glpi_plugin_addressing_configs` VALUES ('1','1','1','1','1','0','0'); 52 | 53 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',2,2,0); 54 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',3,6,0); 55 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',4,5,0); 56 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',1000,3,0); 57 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',1001,4,0); 58 | -------------------------------------------------------------------------------- /sql/empty-2.9.1.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS `glpi_plugin_addressing_addressings`; 2 | CREATE TABLE `glpi_plugin_addressing_addressings` ( 3 | `id` int(11) NOT NULL auto_increment, 4 | `entities_id` int(11) NOT NULL default '0', 5 | `name` varchar(255) collate utf8_unicode_ci default NULL, 6 | `networks_id` int(11) NOT NULL default '0' COMMENT 'RELATION to glpi_networks (id)', 7 | `locations_id` int(11) NOT NULL default '0' COMMENT 'RELATION to glpi_locations (id)', 8 | `fqdns_id` int(11) NOT NULL default '0' COMMENT 'RELATION to glpi_fqdns (id)', 9 | `begin_ip` varchar(255) collate utf8_unicode_ci default NULL, 10 | `end_ip` varchar(255) collate utf8_unicode_ci default NULL, 11 | `alloted_ip` tinyint(1) NOT NULL default '0', 12 | `double_ip` tinyint(1) NOT NULL default '0', 13 | `free_ip` tinyint(1) NOT NULL default '0', 14 | `reserved_ip` tinyint(1) NOT NULL default '0', 15 | `use_ping` tinyint(1) NOT NULL default '0', 16 | `comment` text collate utf8_unicode_ci, 17 | `is_deleted` tinyint(1) NOT NULL default '0', 18 | PRIMARY KEY (`id`), 19 | KEY `name` (`name`), 20 | KEY `entities_id` (`entities_id`), 21 | KEY `networks_id` (`networks_id`), 22 | KEY `is_deleted` (`is_deleted`) 23 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 24 | 25 | DROP TABLE IF EXISTS `glpi_plugin_addressing_pinginfos`; 26 | CREATE TABLE `glpi_plugin_addressing_pinginfos` ( 27 | `id` int(11) NOT NULL auto_increment, 28 | `plugin_addressing_addressings_id` int(11) NOT NULL default '0', 29 | `ipname` varchar(255) collate utf8_unicode_ci default NULL, 30 | `items_id` int(11) NOT NULL default '0' COMMENT 'RELATION to various tables, according to itemtype (id)', 31 | `itemtype` varchar(100) collate utf8_unicode_ci COMMENT 'see .class.php file', 32 | `ping_response` tinyint(1) NOT NULL default '0', 33 | `ping_date` datetime DEFAULT NULL, 34 | PRIMARY KEY (`id`), 35 | KEY `plugin_addressing_addressings_id` (`plugin_addressing_addressings_id`), 36 | KEY `ipname` (`ipname`), 37 | KEY `ping_response` (`ping_response`), 38 | KEY `ping_date` (`ping_date`) 39 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 40 | 41 | DROP TABLE IF EXISTS `glpi_plugin_addressing_configs`; 42 | CREATE TABLE `glpi_plugin_addressing_configs` ( 43 | `id` int(11) NOT NULL auto_increment, 44 | `alloted_ip` tinyint(1) NOT NULL default '0', 45 | `double_ip` tinyint(1) NOT NULL default '0', 46 | `free_ip` tinyint(1) NOT NULL default '0', 47 | `reserved_ip` tinyint(1) NOT NULL default '0', 48 | `use_ping` tinyint(1) NOT NULL default '0', 49 | `used_system` tinyint(1) NOT NULL default '0', 50 | PRIMARY KEY (`id`) 51 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 52 | 53 | DROP TABLE IF EXISTS `glpi_plugin_addressing_filters`; 54 | CREATE TABLE `glpi_plugin_addressing_filters` ( 55 | `id` int(11) NOT NULL auto_increment, 56 | `entities_id` int(11) NOT NULL default '0', 57 | `plugin_addressing_addressings_id` int(11) NOT NULL default '0', 58 | `name` varchar(255) collate utf8_unicode_ci default NULL, 59 | `begin_ip` varchar(255) collate utf8_unicode_ci default NULL, 60 | `end_ip` varchar(255) collate utf8_unicode_ci default NULL, 61 | `type` varchar(255) collate utf8_unicode_ci default NULL, 62 | PRIMARY KEY (`id`), 63 | KEY `entities_id` (`entities_id`), 64 | KEY `plugin_addressing_addressings_id` (`plugin_addressing_addressings_id`) 65 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 66 | 67 | INSERT INTO `glpi_plugin_addressing_configs` VALUES ('1','1','1','1','1','0','0'); 68 | 69 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',2,2,0); 70 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',3,6,0); 71 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',4,5,0); 72 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',1000,3,0); 73 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',1001,4,0); 74 | -------------------------------------------------------------------------------- /sql/empty-3.0.0.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS `glpi_plugin_addressing_addressings`; 2 | CREATE TABLE `glpi_plugin_addressing_addressings` ( 3 | `id` int unsigned NOT NULL auto_increment, 4 | `entities_id` int unsigned NOT NULL default '0', 5 | `name` varchar(255) collate utf8mb4_unicode_ci default NULL, 6 | `networks_id` int unsigned NOT NULL default '0' COMMENT 'RELATION to glpi_networks (id)', 7 | `locations_id` int unsigned NOT NULL default '0' COMMENT 'RELATION to glpi_locations (id)', 8 | `fqdns_id` int unsigned NOT NULL default '0' COMMENT 'RELATION to glpi_fqdns (id)', 9 | `begin_ip` varchar(255) collate utf8mb4_unicode_ci default NULL, 10 | `end_ip` varchar(255) collate utf8mb4_unicode_ci default NULL, 11 | `alloted_ip` tinyint NOT NULL default '0', 12 | `double_ip` tinyint NOT NULL default '0', 13 | `free_ip` tinyint NOT NULL default '0', 14 | `reserved_ip` tinyint NOT NULL default '0', 15 | `use_ping` tinyint NOT NULL default '0', 16 | `comment` text collate utf8mb4_unicode_ci, 17 | `is_deleted` tinyint NOT NULL default '0', 18 | PRIMARY KEY (`id`), 19 | KEY `name` (`name`), 20 | KEY `entities_id` (`entities_id`), 21 | KEY `networks_id` (`networks_id`), 22 | KEY `is_deleted` (`is_deleted`) 23 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC; 24 | 25 | DROP TABLE IF EXISTS `glpi_plugin_addressing_pinginfos`; 26 | CREATE TABLE `glpi_plugin_addressing_pinginfos` ( 27 | `id` int unsigned NOT NULL auto_increment, 28 | `plugin_addressing_addressings_id` int unsigned NOT NULL default '0', 29 | `ipname` varchar(255) collate utf8mb4_unicode_ci default NULL, 30 | `items_id` int unsigned NOT NULL default '0' COMMENT 'RELATION to various tables, according to itemtype (id)', 31 | `itemtype` varchar(100) collate utf8mb4_unicode_ci COMMENT 'see .class.php file', 32 | `ping_response` tinyint NOT NULL default '0', 33 | `ping_date` timestamp NULL DEFAULT NULL, 34 | PRIMARY KEY (`id`), 35 | KEY `plugin_addressing_addressings_id` (`plugin_addressing_addressings_id`), 36 | KEY `ipname` (`ipname`), 37 | KEY `ping_response` (`ping_response`), 38 | KEY `ping_date` (`ping_date`) 39 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC; 40 | 41 | DROP TABLE IF EXISTS `glpi_plugin_addressing_configs`; 42 | CREATE TABLE `glpi_plugin_addressing_configs` ( 43 | `id` int unsigned NOT NULL auto_increment, 44 | `alloted_ip` tinyint NOT NULL default '0', 45 | `double_ip` tinyint NOT NULL default '0', 46 | `free_ip` tinyint NOT NULL default '0', 47 | `reserved_ip` tinyint NOT NULL default '0', 48 | `use_ping` tinyint NOT NULL default '0', 49 | `used_system` tinyint NOT NULL default '0', 50 | PRIMARY KEY (`id`) 51 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC; 52 | 53 | DROP TABLE IF EXISTS `glpi_plugin_addressing_filters`; 54 | CREATE TABLE `glpi_plugin_addressing_filters` ( 55 | `id` int unsigned NOT NULL auto_increment, 56 | `entities_id` int unsigned NOT NULL default '0', 57 | `plugin_addressing_addressings_id` int unsigned NOT NULL default '0', 58 | `name` varchar(255) collate utf8mb4_unicode_ci default NULL, 59 | `begin_ip` varchar(255) collate utf8mb4_unicode_ci default NULL, 60 | `end_ip` varchar(255) collate utf8mb4_unicode_ci default NULL, 61 | `type` varchar(255) collate utf8mb4_unicode_ci default NULL, 62 | PRIMARY KEY (`id`), 63 | KEY `entities_id` (`entities_id`), 64 | KEY `plugin_addressing_addressings_id` (`plugin_addressing_addressings_id`) 65 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC; 66 | 67 | INSERT INTO `glpi_plugin_addressing_configs` VALUES ('1','1','1','1','1','0','0'); 68 | 69 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',2,2,0); 70 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',3,6,0); 71 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',4,5,0); 72 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',1000,3,0); 73 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',1001,4,0); 74 | -------------------------------------------------------------------------------- /sql/empty-3.0.1.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS `glpi_plugin_addressing_addressings`; 2 | CREATE TABLE `glpi_plugin_addressing_addressings` ( 3 | `id` int unsigned NOT NULL auto_increment, 4 | `entities_id` int unsigned NOT NULL default '0', 5 | `name` varchar(255) collate utf8mb4_unicode_ci default NULL, 6 | `use_as_filter` tinyint NOT NULL default '0', 7 | `networks_id` int unsigned NOT NULL default '0' COMMENT 'RELATION to glpi_networks (id)', 8 | `locations_id` int unsigned NOT NULL default '0' COMMENT 'RELATION to glpi_locations (id)', 9 | `fqdns_id` int unsigned NOT NULL default '0' COMMENT 'RELATION to glpi_fqdns (id)', 10 | `vlans_id` int unsigned NOT NULL DEFAULT '0'COMMENT 'RELATION to glpi_vlans (id)', 11 | `begin_ip` varchar(255) collate utf8mb4_unicode_ci default NULL, 12 | `end_ip` varchar(255) collate utf8mb4_unicode_ci default NULL, 13 | `alloted_ip` tinyint NOT NULL default '0', 14 | `double_ip` tinyint NOT NULL default '0', 15 | `free_ip` tinyint NOT NULL default '0', 16 | `reserved_ip` tinyint NOT NULL default '0', 17 | `use_ping` tinyint NOT NULL default '0', 18 | `comment` text collate utf8mb4_unicode_ci, 19 | `is_deleted` tinyint NOT NULL default '0', 20 | PRIMARY KEY (`id`), 21 | KEY `name` (`name`), 22 | KEY `entities_id` (`entities_id`), 23 | KEY `networks_id` (`networks_id`), 24 | KEY `is_deleted` (`is_deleted`) 25 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC; 26 | 27 | DROP TABLE IF EXISTS `glpi_plugin_addressing_pinginfos`; 28 | CREATE TABLE `glpi_plugin_addressing_pinginfos` ( 29 | `id` int unsigned NOT NULL auto_increment, 30 | `plugin_addressing_addressings_id` int unsigned NOT NULL default '0', 31 | `ipname` varchar(255) collate utf8mb4_unicode_ci default NULL, 32 | `items_id` int unsigned NOT NULL default '0' COMMENT 'RELATION to various tables, according to itemtype (id)', 33 | `itemtype` varchar(100) collate utf8mb4_unicode_ci COMMENT 'see .class.php file', 34 | `ping_response` tinyint NOT NULL default '0', 35 | `ping_date` timestamp NULL DEFAULT NULL, 36 | PRIMARY KEY (`id`), 37 | KEY `plugin_addressing_addressings_id` (`plugin_addressing_addressings_id`), 38 | KEY `ipname` (`ipname`), 39 | KEY `ping_response` (`ping_response`), 40 | KEY `ping_date` (`ping_date`) 41 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC; 42 | 43 | DROP TABLE IF EXISTS `glpi_plugin_addressing_configs`; 44 | CREATE TABLE `glpi_plugin_addressing_configs` ( 45 | `id` int unsigned NOT NULL auto_increment, 46 | `alloted_ip` tinyint NOT NULL default '0', 47 | `double_ip` tinyint NOT NULL default '0', 48 | `free_ip` tinyint NOT NULL default '0', 49 | `reserved_ip` tinyint NOT NULL default '0', 50 | `use_ping` tinyint NOT NULL default '0', 51 | `used_system` tinyint NOT NULL default '0', 52 | PRIMARY KEY (`id`) 53 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC; 54 | 55 | DROP TABLE IF EXISTS `glpi_plugin_addressing_filters`; 56 | CREATE TABLE `glpi_plugin_addressing_filters` ( 57 | `id` int unsigned NOT NULL auto_increment, 58 | `entities_id` int unsigned NOT NULL default '0', 59 | `plugin_addressing_addressings_id` int unsigned NOT NULL default '0', 60 | `name` varchar(255) collate utf8mb4_unicode_ci default NULL, 61 | `begin_ip` varchar(255) collate utf8mb4_unicode_ci default NULL, 62 | `end_ip` varchar(255) collate utf8mb4_unicode_ci default NULL, 63 | `type` varchar(255) collate utf8mb4_unicode_ci default NULL, 64 | PRIMARY KEY (`id`), 65 | KEY `entities_id` (`entities_id`), 66 | KEY `plugin_addressing_addressings_id` (`plugin_addressing_addressings_id`) 67 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC; 68 | 69 | CREATE TABLE `glpi_plugin_addressing_ipcomments` 70 | ( 71 | `id` int unsigned NOT NULL auto_increment, 72 | `plugin_addressing_addressings_id` int unsigned NOT NULL default '0', 73 | `ipname` varchar(255) collate utf8mb4_unicode_ci default NULL, 74 | `comments` LONGTEXT collate utf8mb4_unicode_ci, 75 | PRIMARY KEY (`id`), 76 | KEY `plugin_addressing_addressings_id` (`plugin_addressing_addressings_id`), 77 | KEY `ipname` (`ipname`) 78 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC; 79 | 80 | INSERT INTO `glpi_plugin_addressing_configs` VALUES ('1','1','1','1','1','0','0'); 81 | 82 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',2,2,0); 83 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',3,6,0); 84 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',4,5,0); 85 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',1000,3,0); 86 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'PluginAddressingAddressing',1001,4,0); 87 | -------------------------------------------------------------------------------- /sql/update-1.4.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS `glpi_plugin_addressing_profiles`; 2 | CREATE TABLE `glpi_plugin_addressing_profiles` ( 3 | `ID` int(11) NOT NULL auto_increment, 4 | `name` varchar(255) default NULL, 5 | `interface` varchar(50) NOT NULL default 'addressing', 6 | `is_default` smallint(6) NOT NULL default '0', 7 | `addressing` char(1) default NULL, 8 | PRIMARY KEY (`ID`), 9 | KEY `interface` (`interface`) 10 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 11 | 12 | ALTER TABLE `glpi_plugin_addressing_display` ADD `ping` smallint(6) NOT NULL default '0'; 13 | ALTER TABLE `glpi_plugin_addressing_display` ADD `system` smallint(6) NOT NULL default '0'; 14 | ALTER TABLE `glpi_plugin_addressing_display` ADD `ipconf1` smallint(6) NULL; 15 | ALTER TABLE `glpi_plugin_addressing_display` ADD `ipconf2` smallint(6) NULL; 16 | ALTER TABLE `glpi_plugin_addressing_display` ADD `ipconf3` smallint(6) NULL; 17 | ALTER TABLE `glpi_plugin_addressing_display` ADD `ipconf4` smallint(6) NULL; 18 | ALTER TABLE `glpi_plugin_addressing_display` ADD `netconf` smallint(6) NOT NULL default '0'; 19 | ALTER TABLE `glpi_plugin_addressing_display` cHANGE `ip_alloted` `ip_alloted` smallint(6) NOT NULL default '0'; 20 | ALTER TABLE `glpi_plugin_addressing_display` cHANGE `ip_double` `ip_double` smallint(6) NOT NULL default '0'; 21 | ALTER TABLE `glpi_plugin_addressing_display` cHANGE `ip_free` `ip_free` smallint(6) NOT NULL default '0'; 22 | ALTER TABLE `glpi_plugin_addressing_display` cHANGE `ip_reserved` `ip_reserved` smallint(6) NOT NULL default '0'; 23 | UPDATE `glpi_plugin_addressing_display` SET `ip_alloted` = '0' WHERE `ip_alloted` = '2'; 24 | UPDATE `glpi_plugin_addressing_display` SET `ip_double` = '0' WHERE `ip_double` = '2'; 25 | UPDATE `glpi_plugin_addressing_display` SET `ip_free` = '0' WHERE `ip_free` = '2'; 26 | UPDATE `glpi_plugin_addressing_display` SET `ip_reserved` = '0' WHERE `ip_reserved` = '2'; -------------------------------------------------------------------------------- /sql/update-1.5.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS `glpi_plugin_addressing`; 2 | CREATE TABLE `glpi_plugin_addressing` ( 3 | `ID` int(11) NOT NULL auto_increment, 4 | `FK_entities` int(11) NOT NULL default '0', 5 | `name` varchar(255) collate utf8_unicode_ci NOT NULL default '', 6 | `network` smallint(6) NOT NULL default '0', 7 | `ipdebut1` smallint(6) NULL, 8 | `ipdebut2` smallint(6) NULL, 9 | `ipdebut3` smallint(6) NULL, 10 | `ipdebut4` smallint(6) NULL, 11 | `ipfin4` smallint(6) NULL, 12 | `ping` smallint(6) NOT NULL default '0', 13 | `link` smallint(6) NOT NULL default '1', 14 | `comments` text, 15 | `deleted` smallint(6) NOT NULL default '0', 16 | PRIMARY KEY (`ID`) 17 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 18 | 19 | ALTER TABLE `glpi_plugin_addressing_display` DROP `ipconf1`; 20 | ALTER TABLE `glpi_plugin_addressing_display` DROP `ipconf2`; 21 | ALTER TABLE `glpi_plugin_addressing_display` DROP `ipconf3`; 22 | ALTER TABLE `glpi_plugin_addressing_display` DROP `ipconf4`; 23 | ALTER TABLE `glpi_plugin_addressing_display` DROP `netconf`; 24 | 25 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'5000','2','2','0'); 26 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'5000','3','3','0'); 27 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'5000','4','4','0'); 28 | INSERT INTO `glpi_displaypreferences` VALUES (NULL,'5000','5','5','0'); -------------------------------------------------------------------------------- /sql/update-1.6.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE `glpi_plugin_addressing` 2 | ADD `ipdeb` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL default '' AFTER `ipfin4`, 3 | ADD `ipfin` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL default '' AFTER `ipdeb`; 4 | 5 | UPDATE `glpi_plugin_addressing` SET 6 | ipdeb=CONCAT_WS('.',ipdebut1,ipdebut2,ipdebut3,ipdebut4), 7 | ipfin=CONCAT_WS('.',ipdebut1,ipdebut2,ipdebut3,ipfin4); 8 | 9 | ALTER TABLE `glpi_plugin_addressing` 10 | ADD `ip_alloted` SMALLINT NOT NULL DEFAULT '1' AFTER `ipfin` , 11 | ADD `ip_double` SMALLINT NOT NULL DEFAULT '1' AFTER `ip_alloted` , 12 | ADD `ip_free` SMALLINT NOT NULL DEFAULT '1' AFTER `ip_double` , 13 | ADD `ip_reserved` SMALLINT NOT NULL DEFAULT '1' AFTER `ip_free` ; 14 | 15 | ALTER TABLE `glpi_plugin_addressing` 16 | DROP `ipdebut1`, 17 | DROP `ipdebut2`, 18 | DROP `ipdebut3`, 19 | DROP `ipdebut4`, 20 | DROP `ipfin4`; 21 | 22 | DELETE FROM `glpi_displaypreferences` WHERE `itemtype` = 5000; 23 | INSERT INTO `glpi_displaypreferences` VALUES (NULL ,5000,2,2,0); 24 | INSERT INTO `glpi_displaypreferences` VALUES (NULL ,5000,3,6,0); 25 | INSERT INTO `glpi_displaypreferences` VALUES (NULL ,5000,4,5,0); 26 | INSERT INTO `glpi_displaypreferences` VALUES (NULL ,5000,5,7,0); 27 | INSERT INTO `glpi_displaypreferences` VALUES (NULL ,5000,1000,3,0); 28 | INSERT INTO `glpi_displaypreferences` VALUES (NULL ,5000,1001,4,0); -------------------------------------------------------------------------------- /sql/update-1.7.0.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE glpi_plugin_addressing_profiles DROP COLUMN interface , DROP COLUMN is_default; -------------------------------------------------------------------------------- /sql/update-1.8.0.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE `glpi_plugin_addressing` RENAME `glpi_plugin_addressing_addressings`; 2 | ALTER TABLE `glpi_plugin_addressing_addressings` 3 | CHANGE `ID` `id` int(11) NOT NULL auto_increment, 4 | CHANGE `FK_entities` `entities_id` int(11) NOT NULL default '0', 5 | CHANGE `name` `name` varchar(255) collate utf8_unicode_ci default NULL, 6 | CHANGE `network` `networks_id` int(11) NOT NULL default '0' COMMENT 'RELATION to glpi_networks (id)', 7 | CHANGE `ipdeb` `begin_ip` varchar(255) collate utf8_unicode_ci default NULL, 8 | CHANGE `ipfin` `end_ip` varchar(255) collate utf8_unicode_ci default NULL, 9 | CHANGE `ip_alloted` `alloted_ip` tinyint(1) NOT NULL default '0', 10 | CHANGE `ip_double` `double_ip` tinyint(1) NOT NULL default '0', 11 | CHANGE `ip_free` `free_ip` tinyint(1) NOT NULL default '0', 12 | CHANGE `ip_reserved` `reserved_ip` tinyint(1) NOT NULL default '0', 13 | CHANGE `ping` `use_ping` tinyint(1) NOT NULL default '0', 14 | DROP `link`, 15 | CHANGE `comments` `comment` text collate utf8_unicode_ci, 16 | CHANGE `deleted` `is_deleted` tinyint(1) NOT NULL default '0', 17 | ADD INDEX (`name`), 18 | ADD INDEX (`entities_id`), 19 | ADD INDEX (`networks_id`), 20 | ADD INDEX (`is_deleted`); 21 | 22 | ALTER TABLE `glpi_plugin_addressing_display` RENAME `glpi_plugin_addressing_configs`; 23 | 24 | ALTER TABLE `glpi_plugin_addressing_configs` 25 | CHANGE `ID` `id` int(11) NOT NULL auto_increment, 26 | CHANGE `ip_alloted` `alloted_ip` tinyint(1) NOT NULL default '0', 27 | CHANGE `ip_double` `double_ip` tinyint(1) NOT NULL default '0', 28 | CHANGE `ip_free` `free_ip` tinyint(1) NOT NULL default '0', 29 | CHANGE `ip_reserved` `reserved_ip` tinyint(1) NOT NULL default '0', 30 | CHANGE `ping` `use_ping` tinyint(1) NOT NULL default '0', 31 | CHANGE `system` `used_system` tinyint(1) NOT NULL default '0'; 32 | 33 | ALTER TABLE `glpi_plugin_addressing_profiles` 34 | CHANGE `ID` `id` int(11) NOT NULL auto_increment, 35 | ADD `profiles_id` int(11) NOT NULL default '0' COMMENT 'RELATION to glpi_profiles (id)', 36 | CHANGE `addressing` `addressing` char(1) collate utf8_unicode_ci default NULL, 37 | ADD INDEX (`profiles_id`); 38 | 39 | DELETE FROM `glpi_displaypreferences` WHERE `itemtype` = 5000 AND `num` = 5; -------------------------------------------------------------------------------- /sql/update-1.9.0.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE `glpi_plugin_addressing_profiles` 2 | ADD `use_ping_in_equipment` char(1) collate utf8_unicode_ci default NULL; 3 | 4 | -------------------------------------------------------------------------------- /sql/update-2.4.0.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS `glpi_plugin_addressing_filters`; 2 | CREATE TABLE `glpi_plugin_addressing_filters` ( 3 | `id` int(11) NOT NULL auto_increment, 4 | `entities_id` int(11) NOT NULL default '0', 5 | `plugin_addressing_addressings_id` int(11) NOT NULL default '0', 6 | `name` varchar(255) collate utf8_unicode_ci default NULL, 7 | `begin_ip` varchar(255) collate utf8_unicode_ci default NULL, 8 | `end_ip` varchar(255) collate utf8_unicode_ci default NULL, 9 | `type` varchar(255) collate utf8_unicode_ci default NULL, 10 | PRIMARY KEY (`id`), 11 | KEY `entities_id` (`entities_id`), 12 | KEY `plugin_addressing_addressings_id` (`plugin_addressing_addressings_id`) 13 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -------------------------------------------------------------------------------- /sql/update-2.5.0.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE `glpi_plugin_addressing_addressings` 2 | ADD `locations_id` int(11) NOT NULL default '0' COMMENT 'RELATION to glpi_locations (id)', 3 | ADD `fqdns_id` int(11) NOT NULL default '0' COMMENT 'RELATION to glpi_fqdns (id)'; -------------------------------------------------------------------------------- /sql/update-2.9.1.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE `glpi_plugin_addressing_pinginfos` 2 | ( 3 | `id` int unsigned NOT NULL auto_increment, 4 | `plugin_addressing_addressings_id` int unsigned NOT NULL default '0', 5 | `ipname` varchar(255) collate utf8mb4_unicode_ci default NULL, 6 | `ping_response` tinyint NOT NULL default '0', 7 | `ping_date` timestamp NULL DEFAULT NULL, 8 | `items_id` int unsigned NOT NULL default '0' COMMENT 'RELATION to various tables, according to itemtype (id)', 9 | `itemtype` varchar(100) collate utf8mb4_unicode_ci COMMENT 'see .class.php file', 10 | PRIMARY KEY (`id`), 11 | KEY `plugin_addressing_addressings_id` (`plugin_addressing_addressings_id`), 12 | KEY `ipname` (`ipname`), 13 | KEY `ping_response` (`ping_response`), 14 | KEY `ping_date` (`ping_date`) 15 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC; 16 | -------------------------------------------------------------------------------- /sql/update-3.0.1.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE `glpi_plugin_addressing_ipcomments` 2 | ( 3 | `id` int unsigned NOT NULL auto_increment, 4 | `plugin_addressing_addressings_id` int unsigned NOT NULL default '0', 5 | `ipname` varchar(255) collate utf8mb4_unicode_ci default NULL, 6 | `comments` LONGTEXT collate utf8mb4_unicode_ci, 7 | PRIMARY KEY (`id`), 8 | KEY `plugin_addressing_addressings_id` (`plugin_addressing_addressings_id`), 9 | KEY `ipname` (`ipname`) 10 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC; 11 | 12 | ALTER TABLE `glpi_plugin_addressing_addressings` 13 | ADD `vlans_id` int unsigned NOT NULL DEFAULT '0'; 14 | ALTER TABLE `glpi_plugin_addressing_addressings` 15 | ADD `use_as_filter` tinyint NOT NULL default '0'; 16 | -------------------------------------------------------------------------------- /tools/extract_template.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Only strings with domain specified are extracted (use Xt args of keyword param to set number of args needed) 4 | 5 | xgettext *.php */*.php --copyright-holder='Addressing Development Team' --package-name='GLPI - Addressing plugin' --package-version='2.1.0' -o locales/glpi.pot -L PHP --add-comments=TRANS --from-code=UTF-8 --force-po \ 6 | --keyword=_n:1,2,4t --keyword=__s:1,2t --keyword=__:1,2t --keyword=_e:1,2t --keyword=_x:1c,2,3t \ 7 | --keyword=_ex:1c,2,3t --keyword=_nx:1c,2,3,5t --keyword=_sx:1c,2,3t 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /tools/update_mo.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | #!/usr/bin/perl -w 3 | 4 | if (@ARGV!=0){ 5 | print "USAGE update_mo.pl\n\n"; 6 | 7 | exit(); 8 | } 9 | 10 | 11 | opendir(DIRHANDLE,'locales')||die "ERROR: can not read current directory\n"; 12 | foreach (readdir(DIRHANDLE)){ 13 | if ($_ ne '..' && $_ ne '.'){ 14 | 15 | if(!(-l "$dir/$_")){ 16 | if (index($_,".po",0)==length($_)-3) { 17 | $lang=$_; 18 | $lang=~s/\.po//; 19 | 20 | `msgfmt locales/$_ -o locales/$lang.mo`; 21 | } 22 | } 23 | 24 | } 25 | } 26 | closedir DIRHANDLE; 27 | 28 | # 29 | # 30 | -------------------------------------------------------------------------------- /tools/update_po.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | #!/usr/bin/perl -w 3 | 4 | if (@ARGV!=2){ 5 | print "USAGE update_po.pl transifex_login transifex_password\n\n"; 6 | 7 | exit(); 8 | } 9 | $user = $ARGV[0]; 10 | $password = $ARGV[1]; 11 | 12 | opendir(DIRHANDLE,'locales')||die "ERROR: can not read current directory\n"; 13 | foreach (readdir(DIRHANDLE)){ 14 | if ($_ ne '..' && $_ ne '.'){ 15 | 16 | if(!(-l "$dir/$_")){ 17 | if (index($_,".po",0)==length($_)-3) { 18 | $lang=$_; 19 | $lang=~s/\.po//; 20 | 21 | `wget --user=$user --password=$password --output-document=locales/$_ http://www.transifex.com/api/2/project/GLPI_addressing/resource/glpi/translation/$lang/?file=$_`; 22 | } 23 | } 24 | 25 | } 26 | } 27 | closedir DIRHANDLE; 28 | 29 | # 30 | # 31 | --------------------------------------------------------------------------------