* SPDX-License-Identifier: AGPL-3.0-only ************************************/ /* crmv@176547 */ require_once('modules/VteSync/VteSync.php'); global $current_user; if (!is_admin($current_user)) die('Not authorized'); global $app_strings, $mod_strings; global $current_language, $theme; $theme_path="themes/".$theme."/"; $image_path=$theme_path."images/"; $smarty = new VteSmarty(); $smarty->assign("MOD", return_module_language($current_language,'Settings')); $smarty->assign("CMOD", $mod_strings); $smarty->assign("APP", $app_strings); $smarty->assign("IMAGE_PATH",$image_path); $smarty->assign("THEME", $theme); $vsync = VteSync::getInstance(); $syncs = $vsync->getSyncs(); $smarty->assign("SYNCS", $syncs); $smarty->display('modules/VteSync/Settings/List.tpl');