Skip to content
GitLab
Menu
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
1eee80af
Commit
1eee80af
authored
Oct 18, 2018
by
Gerald Salin
Browse files
download bug with no typo3 version
parent
f8269aea
Changes
2
Hide whitespace changes
Inline
Side-by-side
ui/nG6/class.tx_nG6_eid.php
View file @
1eee80af
...
@@ -61,7 +61,7 @@ class tx_nG6_eid {
...
@@ -61,7 +61,7 @@ class tx_nG6_eid {
//error_log("tx_nG6_eid ".$type." \n ", 3, "/work/tmp/mes-erreurs.log");
//error_log("tx_nG6_eid ".$type." \n ", 3, "/work/tmp/mes-erreurs.log");
// If the type of data requested is project
// If the type of data requested is project
if
(
$type
==
'project'
)
{
if
(
$type
==
'project'
)
{
$project_id
=
trim
(
\
TYPO3\CMS\Core\Utility\GeneralUtility
::
_GP
(
'id'
));
$project_id
=
trim
(
\
TYPO3\CMS\Core\Utility\GeneralUtility
::
_GP
(
'
object_
id'
));
// Select all runs linked to the project
// Select all runs linked to the project
$project_runs
=
tx_nG6_db
::
get_user_project_runs
(
$user_id
,
$project_id
,
'tx_nG6_run.date DESC'
);
$project_runs
=
tx_nG6_db
::
get_user_project_runs
(
$user_id
,
$project_id
,
'tx_nG6_run.date DESC'
);
// for each run
// for each run
...
@@ -79,7 +79,7 @@ class tx_nG6_eid {
...
@@ -79,7 +79,7 @@ class tx_nG6_eid {
// If the type of data requested is run
// If the type of data requested is run
}
else
if
(
$type
==
'run'
){
}
else
if
(
$type
==
'run'
){
$run_id
=
trim
(
\
TYPO3\CMS\Core\Utility\GeneralUtility
::
_GP
(
'id'
));
$run_id
=
trim
(
\
TYPO3\CMS\Core\Utility\GeneralUtility
::
_GP
(
'
object_
id'
));
// Select all analysis linked to the run and the run information
// Select all analysis linked to the run and the run information
$run_analysis
=
tx_nG6_db
::
get_user_run_analysis
(
$user_id
,
$run_id
,
'tx_nG6_analyze.name'
);
$run_analysis
=
tx_nG6_db
::
get_user_run_analysis
(
$user_id
,
$run_id
,
'tx_nG6_analyze.name'
);
$run_info
=
tx_nG6_db
::
select_run
(
$run_id
);
$run_info
=
tx_nG6_db
::
select_run
(
$run_id
);
...
...
ui/nG6/res/js/tx_nG6_pi5.js
View file @
1eee80af
...
@@ -398,7 +398,7 @@ $(function () {
...
@@ -398,7 +398,7 @@ $(function () {
run_description
:
"
Run ###SPAN_NAME### (###SPAN_SPECIES###) - (###SPAN_DATE###) produced ###SPAN_NB_SEQ### reads
"
,
run_description
:
"
Run ###SPAN_NAME### (###SPAN_SPECIES###) - (###SPAN_DATE###) produced ###SPAN_NB_SEQ### reads
"
,
analyse_description
:
"
Analyse ###SPAN_NAME###
"
,
analyse_description
:
"
Analyse ###SPAN_NAME###
"
,
user_id
:
$
(
"
#user_id
"
).
val
(),
user_id
:
$
(
"
#user_id
"
).
val
(),
id
:
n
.
attr
(
"
id
"
).
split
(
"
_
"
)[
1
],
object_
id
:
n
.
attr
(
"
id
"
).
split
(
"
_
"
)[
1
],
type
:
n
.
attr
(
"
id
"
).
split
(
"
_
"
)[
0
]
type
:
n
.
attr
(
"
id
"
).
split
(
"
_
"
)[
0
]
};
};
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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