mirror of
https://github.com/VTECRM/vtenext.git
synced 2026-02-26 16:18:47 +00:00
TT-261314: NEW updated GrapesJs plugin TT-261010: FIX SEC weak password reset token, RCE TT-261010: FIX SEC file upload
19 lines
532 B
PHP
19 lines
532 B
PHP
<?php
|
|
/*************************************
|
|
* SPDX-FileCopyrightText: 2009-2020 Vtenext S.r.l. <info@vtenext.com>
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
************************************/
|
|
require_once 'modules/VteCore/EditView.php'; //crmv@30447
|
|
|
|
// crmv@64542
|
|
|
|
global $currentModule;
|
|
|
|
$templates = array(
|
|
'inventory' => 'Inventory/InventoryEditView.tpl',
|
|
'standard' => 'salesEditView.tpl',
|
|
);
|
|
|
|
$templateMode = isInventoryModule($currentModule) ? 'inventory' : 'standard';
|
|
|
|
$smarty->display($templates[$templateMode]); |