Skip to content

Commit

Permalink
MantisPlugin: update FilterBugList
Browse files Browse the repository at this point in the history
  • Loading branch information
lbayle committed Dec 14, 2020
1 parent ae78a11 commit 4f50137
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 22 deletions.
8 changes: 4 additions & 4 deletions mantis_plugin/mantis_2_0/FilterBugList/FilterBugList.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
# MantisBT - a php based bugtracking system
# Copyright (C) 2002 - 2011 MantisBT Team - [email protected]
# MantisBT - A PHP based bugtracking system

# MantisBT is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
Expand All @@ -26,9 +26,9 @@ function register( ) {
$this->name = plugin_lang_get( 'title' );
$this->description = plugin_lang_get( 'description' );

$this->version = '1.0.0';
$this->version = '2.0.0';
$this->requires = array(
'MantisCore' => '2.0'
'MantisCore' => '2.0.0'
);

$this->author = 'Alain D\'EURVEILHER';
Expand Down
5 changes: 4 additions & 1 deletion mantis_plugin/mantis_2_0/FilterBugList/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ FilterBugList
Plugin for Mantis allowing to filter by a set of bug IDs in the 'View all' page
By Alain D'EURVEILHER ([email protected])

+------------------------------------------------------------------------------+
Version 2.1.0:
Update compatibility with Mantis 2.1.0
+------------------------------------------------------------------------------+
Version 1.0.0:

Expand All @@ -16,4 +19,4 @@ which will result in a filtering of the following bug IDs: 5079,5073,5108,5107,4
The filter is also accessible via the FilterBugList_list query in the url,
for instance:
http://my.server/my-mantis/view_all_set.php?type=1&temporary=y&FilterBugList_list=5079,5073,5108,5107,49396,5006
+------------------------------------------------------------------------------+
+------------------------------------------------------------------------------+
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
<?php
# MantisBT - A PHP based bugtracking system

# MantisBT is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# MantisBT is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with MantisBT. If not, see <http://www.gnu.org/licenses/>.

class FilterBugListField extends MantisFilter {

Expand Down
31 changes: 14 additions & 17 deletions mantis_plugin/mantis_2_0/FilterBugList/lang/strings_english.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
<?php
/** MantisBT - a php based bugtracking system
*
* Copyright (C) 2002 - 2011 MantisBT Team - [email protected]
*
* MantisBT is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* MantisBT is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with MantisBT. If not, see <http://www.gnu.org/licenses/>.
*/
# MantisBT - A PHP based bugtracking system

# MantisBT is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# MantisBT is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with MantisBT. If not, see <http://www.gnu.org/licenses/>.

/** English (English)
*
Expand Down
32 changes: 32 additions & 0 deletions mantis_plugin/mantis_2_0/FilterBugList/lang/strings_french.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php
# MantisBT - A PHP based bugtracking system

# MantisBT is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# MantisBT is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with MantisBT. If not, see <http://www.gnu.org/licenses/>.

/** Français (French)
*
* See the qqq 'language' for message documentation incl. usage of parameters
* To improve a translation please visit http://translatewiki.net
*
* @ingroup Language
* @file
*
* @author [email protected]
*/

$s_plugin_FilterBugList_title = 'Filtrage d\'une liste de bogues ';
$s_plugin_FilterBugList_description = 'Permet de filtrer des bogues à partir d\'une liste d\'identifiants';
$s_plugin_FilterBugList_field_label = 'Liste d\'identifiants';

?>

0 comments on commit 4f50137

Please sign in to comment.