mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
2013-12-05 Dario Rodriguez <dario@artica.es>
* mobile/operation/modules.php: Added default value for tag filter and added "All" option to modules group and tag filters git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9171 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
088e423047
commit
5881df0e7e
@ -1,5 +1,8 @@
|
|||||||
2013-12-05 Dario Rodriguez <dario@artica.es>
|
2013-12-05 Dario Rodriguez <dario@artica.es>
|
||||||
|
|
||||||
|
* mobile/operation/modules.php: Added default value for tag
|
||||||
|
filter and added "All" option to modules group and tag filters
|
||||||
|
|
||||||
* mobile/operation/modules.php: Fixed a style bug related to
|
* mobile/operation/modules.php: Fixed a style bug related to
|
||||||
filter explanation update on module search on mobile console.
|
filter explanation update on module search on mobile console.
|
||||||
|
|
||||||
|
@ -108,7 +108,8 @@ class Modules {
|
|||||||
$this->default_filters['group'] = true;
|
$this->default_filters['group'] = true;
|
||||||
$this->default_filters['status'] = true;
|
$this->default_filters['status'] = true;
|
||||||
$this->default_filters['free_search'] = true;
|
$this->default_filters['free_search'] = true;
|
||||||
|
$this->default_filters['tag'] = true;
|
||||||
|
|
||||||
$this->free_search = $system->getRequest('free_search', '');
|
$this->free_search = $system->getRequest('free_search', '');
|
||||||
if ($this->free_search != '') {
|
if ($this->free_search != '') {
|
||||||
$this->default = false;
|
$this->default = false;
|
||||||
@ -153,6 +154,7 @@ class Modules {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$this->default = false;
|
$this->default = false;
|
||||||
|
$this->default_filters['tag'] = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -215,6 +217,9 @@ class Modules {
|
|||||||
FROM tmodule_group
|
FROM tmodule_group
|
||||||
ORDER BY name");
|
ORDER BY name");
|
||||||
$module_groups = io_safe_output($module_groups);
|
$module_groups = io_safe_output($module_groups);
|
||||||
|
|
||||||
|
array_unshift($module_groups, array("id_mg" => 0, "name" => __("All")));
|
||||||
|
|
||||||
$options = array(
|
$options = array(
|
||||||
'name' => 'module_group',
|
'name' => 'module_group',
|
||||||
'title' => __('Module group'),
|
'title' => __('Module group'),
|
||||||
@ -227,6 +232,9 @@ class Modules {
|
|||||||
$ui->formAddSelectBox($options);
|
$ui->formAddSelectBox($options);
|
||||||
|
|
||||||
$tags = tags_get_user_tags();
|
$tags = tags_get_user_tags();
|
||||||
|
|
||||||
|
array_unshift($tags, __("All"));
|
||||||
|
|
||||||
$options = array(
|
$options = array(
|
||||||
'name' => 'tag',
|
'name' => 'tag',
|
||||||
'title' => __('Tag'),
|
'title' => __('Tag'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user