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
fusiondirectory
fusiondirectory
Commits
453e5a50
Commit
453e5a50
authored
Sep 15, 2014
by
Côme Bernigaud
Committed by
Benoit Mortier
Sep 15, 2014
Browse files
Fixes
#3342
Welcome icon is broken in 1.0.9
parent
13ecbb25
Changes
3
Hide whitespace changes
Inline
Side-by-side
html/
image
s/welcome.png
→
html/
themes/default/icons/48/statu
s/welcome.png
View file @
453e5a50
File moved
plugins/generic/welcome/main.inc
View file @
453e5a50
<?php
/*
This code is part of FusionDirectory (http://www.fusiondirectory.org/)
Copyright (C) 2003 Cajus Pollmeier
Copyright (C) 2011-201
3
FusionDirectory
Copyright (C) 2011-201
4
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
){
session
::
set
(
'plugin_dir'
,
dirname
(
__FILE__
));
$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"
));
$smarty
->
assign
(
"revision"
,
FD_VERSION
);
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
));
}
?>
plugins/generic/welcome/welcome.tpl
View file @
453e5a50
...
...
@@ -8,5 +8,5 @@
©
2002-
{
$year
}
<a
href=
"http://www.fusionDirectory.org"
>
{
t
}
The FusionDirectory team
{/
t
}
,
{
$revision
}
</a>
</div>
<input
type=
"hidden"
name=
"ignore"
>
<input
type=
"hidden"
name=
"ignore"
/
>
Côme Chilliet
@cchilliet
mentioned in issue
#1113 (closed)
·
Sep 02, 2017
mentioned in issue
#1113 (closed)
mentioned in issue #1113
Toggle commit list
Write
Preview
Supports
Markdown
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