Commit 3f9ab4a9 authored by Penom Nom's avatar Penom Nom
Browse files

add admin login to analysis template

parent 9a6ed7a6
......@@ -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}
......
......@@ -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']);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment