forked from VTECRM/vtenext
-
Notifications
You must be signed in to change notification settings - Fork 0
/
copyright.php
38 lines (29 loc) · 1.06 KB
/
copyright.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
/*************************************
* SPDX-FileCopyrightText: 2009-2020 Vtenext S.r.l. <[email protected]>
* SPDX-License-Identifier: AGPL-3.0-only
************************************/
require('config.inc.php');
require_once('include/utils/utils.php');
require_once('modules/Morphsuit/utils/MorphsuitUtils.php');
global $default_theme, $theme;
global $default_language, $current_language, $app_strings;
VteSession::start(); // crmv@171581
if (empty($theme)) {
$theme = $default_theme;
}
if (empty($current_language)) {
$current_language = $default_language;
}
include('themes/LoginHeader.php');
$smarty = new VteSmarty();
$smarty->assign("APP", $app_strings);
$smarty->assign("LICENSE_FILE", 'LICENSE.txt');
$canUpdate = ($_REQUEST['use_current_login'] == 'yes' && vtlib_isModuleActive('Morphsuit')); //crmv@182677
$smarty->assign("CAN_UPDATE", $canUpdate);
if ($canUpdate) {
$smarty->assign("MORPHSUIT", getMorphsuitInfo()); //crmv@182677
}
$freeVersion = isFreeVersion();
$smarty->assign("FREE_VERSION", $freeVersion);
$smarty->display('Copyright.tpl');