X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Flogin.pl;h=8fd9c38af69be9154604747d72be76ddc728dad2;hb=249c0c6f38350cc67eb2304538aa4ef7f329eb79;hp=4ffe0b7758f1ec148bda6531bbaff54e92306b96;hpb=e8e60f67de5e5825d1097c78f96bbd29977a3a7a;p=kivitendo-erp.git diff --git a/bin/mozilla/login.pl b/bin/mozilla/login.pl index 4ffe0b775..8fd9c38af 100644 --- a/bin/mozilla/login.pl +++ b/bin/mozilla/login.pl @@ -24,7 +24,8 @@ # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +# MA 02110-1335, USA. ####################################################################### use SL::DB::Default; @@ -37,7 +38,6 @@ require "bin/mozilla/todo.pl"; use strict; -our $cgi; our $form; our $auth; @@ -56,11 +56,13 @@ sub company_logo { my $git = SL::Git->new; ($form->{git_head}) = $git->get_log(since => 'HEAD~1', until => 'HEAD') if $git->is_git_installation; $form->{xmas} = '_xmas' if (DateTime->today->month == 12 && DateTime->today->day < 27); + $form->{xmas} = '_corona' if (DateTime->today->month >= 7 && DateTime->today->year == 2020 + && DateTime->today->month <= 11); # create the logo screen $form->header() unless $form->{noheader}; - print $form->parse_html_template('login/company_logo'); + print $form->parse_html_template('login/company_logo', { version => $::form->read_version }); $main::lxdebug->leave_sub(); }