mirror of
https://github.com/VTECRM/vtenext.git
synced 2026-02-26 16:18:47 +00:00
38 lines
1.6 KiB
PHP
38 lines
1.6 KiB
PHP
<?php
|
|
/*************************************
|
|
* SPDX-FileCopyrightText: 2009-2020 Vtenext S.r.l. <info@vtenext.com>
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
************************************/
|
|
require_once('vteversion.php'); // crmv@181168
|
|
global $theme;
|
|
$smarty = new VteSmarty();
|
|
|
|
require_once('data/CRMEntity.php');
|
|
$focus = CRMEntity::getInstance('Morphsuit');
|
|
$url = $focus->vteUpdateServer.'?update_version=yes&actual_version='.$enterprise_current_build;
|
|
|
|
include('modules/Morphsuit/SetCheckAvailableVersion.php');
|
|
?>
|
|
<span style="height: 75px;">
|
|
<div style="float: right; border-style: solid; border-color: rgb(141, 141, 141); border-width: 1px 3px 3px 1px; overflow: hidden; padding-left: 5px; padding-right: 5px; padding-top: 5px; padding-bottom: 10px; margin-left: 2px; font-weight: normal; height: 75px;">
|
|
<table cellspacing="0" cellpadding="2" border="0">
|
|
<tr>
|
|
<td align="left" colspan="2"><b><?php echo getTranslatedString('LBL_AVAILABLE_VERSION_TITLE','Morphsuit'); ?></b></td>
|
|
<td align="right">
|
|
<a onclick="getObj('CheckAvailableVersionDiv').style.display='none';" href="javascript:;" style="padding-left: 10px;"><img border="0" align="absmiddle" src="<?php echo vtecrm_imageurl('close.gif',$theme); ?>"></a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3"><hr></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="left" colspan="3"><b><?php echo getTranslatedString('LBL_AVAILABLE_VERSION_TEXT','Morphsuit'); ?></b></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center">
|
|
<a target="_blanck" href="<?php echo $url; ?>" style="padding: 0 5px 0 5px;"><b><?php echo getTranslatedString('LBL_AVAILABLE_VERSION_UPDATE','Morphsuit'); ?></b></a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</span>
|