Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
Change copyright calculation code and replace mailto link by a direct…
Browse files Browse the repository at this point in the history
… link to our website - in order to avoid that some final user send email directly to Centreon
  • Loading branch information
julienmathis authored and sc979 committed Oct 16, 2018
1 parent 9b1dc08 commit 6096742
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions www/include/core/login/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
$tpl->assign('loginMessages', $loginMessages);
$tpl->assign('centreonVersion', 'v. '.$release['value']);
$tpl->assign('currentDate', date("d/m/Y"));
$tpl->assign('copyrightYear', date("Y"));

// Redirect User
$redirect = filter_input(
Expand Down
4 changes: 2 additions & 2 deletions www/include/core/login/template/login.ihtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<title>Centreon - IT & Network Monitoring</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Centreon - Copyright (C) 2005 - 2018 Open Source Matters. All rights reserved." />
<meta name="Generator" content="Centreon - Copyright (C) 2005 - {$copyrightYear} Open Source Matters. All rights reserved." />
<meta name="robots" content="index, nofollow" />
<meta http-equiv="refresh" content="840">
<link href="./Themes/Centreon-2/login.css" rel="stylesheet" type="text/css">
Expand Down Expand Up @@ -38,7 +38,7 @@
</div>
<div class="LoginInvitVersion">
<span id="LoginInvitcpy">
&copy; <a href="mailto:contact@centreon.com">Centreon</a> 2005 - 2018
&copy; <a href="https://www.centreon.com">Centreon</a> 2005 - {$copyrightYear}
</span>
<br>
<span>
Expand Down

0 comments on commit 6096742

Please sign in to comment.