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
17efa4c1
Commit
17efa4c1
authored
Nov 11, 2011
by
Jerome Mariette
Browse files
allow javascript for analyses
parent
e2f2c88b
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
ui/nG6/pi1/analyzes/MothurClassifyAnalyse.js
0 → 100644
View file @
17efa4c1
This diff is collapsed.
Click to expand it.
ui/nG6/pi1/analyzes/MothurOTUAnalyse.js
0 → 100644
View file @
17efa4c1
This diff is collapsed.
Click to expand it.
ui/nG6/pi1/class.tx_nG6_pi1.php
View file @
17efa4c1
...
...
@@ -317,8 +317,14 @@ class tx_nG6_pi1 extends tslib_pibase {
$smarty
->
assign
(
'llang'
,
$this
->
LOCAL_LANG
[
'default'
]);
}
// Try to process the analyse template
try
{
return
$smarty
->
fetch
(
$analyse
[
'class'
]
.
'.tpl'
);
}
catch
(
Exception
$e
)
{
return
str_replace
(
array
(
'###ANALYSE_CLASS###'
),
array
(
$analyse
[
'class'
]),
$this
->
pi_getLL
(
'no_template_found'
,
'[no_template_found:###ANALYSE_CLASS###]'
));
}
try
{
if
(
file_exists
(
t3lib_extMgm
::
extPath
(
$this
->
extKey
)
.
'pi1/analyzes/'
.
$analyse
[
'class'
]
.
'.js'
))
{
$GLOBALS
[
'TSFE'
]
->
additionalHeaderData
[
$this
->
prefixId
]
.
=
'<script type="text/javascript" src="'
.
t3lib_extMgm
::
siteRelPath
(
$this
->
extKey
)
.
'pi1/analyzes/'
.
$analyse
[
'class'
]
.
'.js"></script>'
}
return
$smarty
->
fetch
(
$analyse
[
'class'
]
.
'.tpl'
);
}
catch
(
Exception
$e
)
{
return
str_replace
(
array
(
'###ANALYSE_CLASS###'
),
array
(
$analyse
[
'class'
]),
$this
->
pi_getLL
(
'no_template_found'
,
'[no_template_found:###ANALYSE_CLASS###]'
));
}
}
}
...
...
ui/nG6/res/js/tx_nG6_classes.js
View file @
17efa4c1
This diff is collapsed.
Click to expand it.
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