Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmr committed Jan 8, 2016
1 parent 7f7bf8f commit b981503
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion ajax/dropdownTypeTasks.php
Expand Up @@ -37,7 +37,7 @@
Session::checkCentralAccess();

// Make a select box
if (isset($_POST["domaintypes"])) {
if (isset($_POST["tasktypes"])) {
$used = array();

// Clean used array
Expand Down
Binary file modified locales/en_GB.mo
Binary file not shown.
6 changes: 3 additions & 3 deletions locales/en_GB.po
Expand Up @@ -5,13 +5,13 @@
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GLPI Project - domains plugin\n"
"Project-Id-Version: GLPI Project - Tasklists plugin\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-01-08 09:44+0100\n"
"PO-Revision-Date: 2016-01-08 09:44+0100\n"
"PO-Revision-Date: 2016-01-08 13:55+0100\n"
"Last-Translator: Xavier CAILLAUD <tsmr@thetsmr.fr>\n"
"Language-Team: English (United Kingdom) (http://www.transifex.com/tsmr/"
"GLPI_domains/language/en_GB/)\n"
"GLPI_tasklists/language/en_GB/)\n"
"Language: en_GB\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down
Binary file modified locales/fr_FR.mo
Binary file not shown.
8 changes: 4 additions & 4 deletions locales/fr_FR.po
Expand Up @@ -6,13 +6,13 @@
# Xavier CAILLAUD <tsmr@thetsmr.fr>, 2013,2015
msgid ""
msgstr ""
"Project-Id-Version: GLPI Project - domains plugin\n"
"Project-Id-Version: GLPI Project - Tasklists plugin\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-01-08 09:44+0100\n"
"PO-Revision-Date: 2016-01-08 09:44+0100\n"
"PO-Revision-Date: 2016-01-08 13:54+0100\n"
"Last-Translator: Xavier CAILLAUD <tsmr@thetsmr.fr>\n"
"Language-Team: French (France) (http://www.transifex.com/tsmr/GLPI_domains/"
"language/fr_FR/)\n"
"Language-Team: French (France) (http://www.transifex.com/tsmr/"
"GLPI_tasklists/language/fr_FR/)\n"
"Language: fr_FR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down
6 changes: 3 additions & 3 deletions setup.php
Expand Up @@ -66,15 +66,15 @@ function plugin_version_tasklists() {
'license' => 'GPLv2+',
'author' => "<a href='http://infotel.com/services/expertise-technique/glpi/'>Infotel</a>",
'homepage'=>'https://github.com/InfotelGLPI/tasklists',
'minGlpiVersion' => '0.85',// For compatibility / no install in version < 0.80
'minGlpiVersion' => '0.90',// For compatibility / no install in version < 0.90
);

}

// Optional : check prerequisites before install : may print errors or add to message after redirect
function plugin_tasklists_check_prerequisites() {
if (version_compare(GLPI_VERSION, '0.85', 'lt') || version_compare(GLPI_VERSION, '0.92', 'ge')) {
_e('This plugin requires GLPI >= 0.85', 'tasklists');
if (version_compare(GLPI_VERSION, '0.90', 'lt') || version_compare(GLPI_VERSION, '0.92', 'ge')) {
_e('This plugin requires GLPI >= 0.90', 'tasklists');
return false;
}
return true;
Expand Down

0 comments on commit b981503

Please sign in to comment.