Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
ng6
Commits
edc6689e
Commit
edc6689e
authored
Mar 08, 2014
by
Jerome Mariette
Browse files
No commit message
No commit message
parent
12b96285
Changes
1
Hide whitespace changes
Inline
Side-by-side
ui/nG6/class.tx_nG6_eid.php
View file @
edc6689e
...
...
@@ -561,22 +561,6 @@ class tx_nG6_eid {
print
'1'
;
// already access to the project
}
}
}
elseif
(
$type
==
'get_size_per_group'
){
$usergroup
=
intVal
(
trim
(
t3lib_div
::
_GP
(
'usergroup'
)));
$data_folder
=
trim
(
t3lib_div
::
_GP
(
'data_folder'
));
$get_analyzes
=
false
;
if
(
trim
(
t3lib_div
::
_GP
(
'get_analyzes'
))
==
'1'
){
$get_analyzes
=
true
;
}
$get_cumulatives
=
false
;
if
(
trim
(
t3lib_div
::
_GP
(
'get_cumulatives'
))
==
'1'
){
$get_cumulatives
=
true
;
}
$size_tab
=
tx_nG6_db
::
get_size
(
$usergroup
,
$data_folder
,
$get_analyzes
,
$get_cumulatives
,
0
);
$encode_size_tab
=
json_encode
(
$size_tab
);
print
$encode_size_tab
;
}
elseif
(
$type
==
'runs_table'
)
{
$smarty
=
new
Smarty
();
...
...
@@ -702,6 +686,20 @@ class tx_nG6_eid {
$by
=
trim
(
t3lib_div
::
_GP
(
'by'
));
$role
=
trim
(
t3lib_div
::
_GP
(
'role'
));
print
json_encode
(
tx_nG6_db
::
select_projects_evolution
(
$values
,
$by
,
$role
));
}
elseif
(
$type
==
'get_size_per_group'
){
$usergroup
=
intVal
(
trim
(
t3lib_div
::
_GP
(
'usergroup'
)));
$data_folder
=
trim
(
t3lib_div
::
_GP
(
'data_folder'
));
$get_analyzes
=
false
;
if
(
trim
(
t3lib_div
::
_GP
(
'get_analyzes'
))
==
'1'
){
$get_analyzes
=
true
;
}
$get_cumulatives
=
false
;
if
(
trim
(
t3lib_div
::
_GP
(
'get_cumulatives'
))
==
'1'
){
$get_cumulatives
=
true
;
}
$size_tab
=
tx_nG6_db
::
get_size
(
$usergroup
,
$data_folder
,
$get_analyzes
,
$get_cumulatives
,
0
);
$encode_size_tab
=
json_encode
(
$size_tab
);
print
$encode_size_tab
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment