Skip to content

Commit

Permalink
Added support for 0.85.5 and XML update
Browse files Browse the repository at this point in the history
Setup file has been changed to provide compatibility with the newest
version of GLPI (0.85.5). XML has been updated with logo and link to FP
website (for plugins.glpi-project.org).
  • Loading branch information
prybak committed Sep 25, 2015
1 parent 683a10f commit ef5e842
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions fpconsumables.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
<name>FP Consumables</name>
<key>fpconsumables</key>
<state>stable</state>
<logo></logo>
<<logo>https://cloud.githubusercontent.com/assets/7323944/10058664/fc694b1e-6246-11e5-9047-64583a3d04ae.png</logo>
<description>
<short>
<en><![CDATA[GLPI plugin that allows you to preview consumables at user profile page.]]></en>
</short>
<long>
<en><![CDATA[Current solution for Consumables doesn’t allow to verify which consumables were given to a user.<br/>FP Consumables solved that problem and introduces new tab that lists all consumables that were given to a user.<br/>This makes GLPI more "user-centric".]]></en>
<en><![CDATA[Current solution for Consumables doesn’t allow to verify which consumables were given to a user.<br/>FP Consumables solved that problem and introduces new tab that lists all consumables that were given to a user.<br/>This makes GLPI more "user-centric".<br/><br/><a href="http://www.future-processing.com">Company website</a>]]></en>
</long>
</description>
<homepage>https://github.com/FutureProcessing/glpi-fpconsumables</homepage>
Expand Down
4 changes: 2 additions & 2 deletions setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function plugin_version_fpconsumables() {
'version' => '1.0.0',
'author' => 'Future Processing',
'license' => 'GPLv2+',
'homepage' => 'http://future-processing.com',
'homepage' => 'http://www.future-processing.com',
'minGlpiVersion' => '0.84'); // For compatibility / no install in version < 0.80
}

Expand All @@ -61,7 +61,7 @@ function plugin_version_fpconsumables() {
*/
function plugin_fpconsumables_check_prerequisites() {
if (version_compare(GLPI_VERSION, '0.84', 'lt') || version_compare(GLPI_VERSION, '0.86', 'gt')) {
echo "This plugin requires GLPI >= 0.84 and GLPI < 0.86";
echo "This plugin requires GLPI >= 0.84 and GLPI <= 0.86";
return false;
}

Expand Down

0 comments on commit ef5e842

Please sign in to comment.