Commit 453e5a50 authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes #3342 Welcome icon is broken in 1.0.9

parent 13ecbb25
This code is part of FusionDirectory (
Copyright (C) 2003 Cajus Pollmeier
Copyright (C) 2011-2013 FusionDirectory
Copyright (C) 2011-2014 FusionDirectory
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......@@ -20,15 +19,14 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
if (!$cleanup){
$smarty->assign("iconmenu", $plist->show_iconmenu());
$smarty->assign("header", print_header(get_template_path('geticon.php?context=applications&icon=config-welcome&size=48'), sprintf(_("Welcome %s!"), $ui->cn)));
$smarty->assign("year", date("Y"));
if (!$cleanup) {
session::set('plugin_dir', dirname(__FILE__));
$smarty->assign('iconmenu', $plist->show_iconmenu());
$smarty->assign('header', print_header(get_template_path('geticon.php?context=status&icon=welcome&size=48'), sprintf(_('Welcome %s!'), $ui->cn)));
$smarty->assign('year', date('Y'));
$smarty->assign('revision', FD_VERSION);
$display= $smarty->fetch(get_template_path('welcome.tpl', TRUE));
$display = $smarty->fetch(get_template_path('welcome.tpl', TRUE));
......@@ -8,5 +8,5 @@
&copy; 2002-{$year} <a href="">{t}The FusionDirectory team{/t}, {$revision}</a>
<input type="hidden" name="ignore">
<input type="hidden" name="ignore"/>
Supports Markdown
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