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
3f9ab4a9
Commit
3f9ab4a9
authored
Sep 16, 2014
by
Penom Nom
Browse files
add admin login to analysis template
parent
9a6ed7a6
Changes
2
Hide whitespace changes
Inline
Side-by-side
ui/nG6/pi1/analyzes/AnalysisTemplate.tpl
View file @
3f9ab4a9
...
...
@@ -17,6 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<input
type=
"hidden"
id=
"analyse_name"
value=
"
{
$analyse.name
}
"
/>
<input
type=
"hidden"
id=
"server_url"
value=
"
{
$server_url
}
"
/>
<input
type=
"hidden"
id=
"user_login"
value=
"
{
$user_login
}
"
/>
<div
class=
"sub-content sc-top"
>
{
block
name
=
description
}
...
...
ui/nG6/pi1/class.tx_nG6_pi1.php
View file @
3f9ab4a9
...
...
@@ -340,6 +340,7 @@ class tx_nG6_pi1 extends tslib_pibase {
$smarty
->
assign
(
'data_folder'
,
$this
->
conf
[
"data"
]);
$smarty
->
assign
(
'analyze_id'
,
$this
->
piVars
[
'analyze_id'
]);
$smarty
->
assign
(
'server_url'
,
$this
->
conf
[
'server_url'
]);
$smarty
->
assign
(
'user_login'
,
$GLOBALS
[
'TSFE'
]
->
fe_user
->
user
[
'username'
]);
// Then select analyse results
$results
=
tx_nG6_db
::
select_analyse_results
(
$this
->
piVars
[
'analyze_id'
]);
...
...
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