mirror of
https://github.com/VTECRM/vtenext.git
synced 2026-02-26 16:18:47 +00:00
36 lines
1.2 KiB
PHP
36 lines
1.2 KiB
PHP
<?php
|
|
/*************************************
|
|
* SPDX-FileCopyrightText: 2009-2020 Vtenext S.r.l. <info@vtenext.com>
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
************************************/
|
|
|
|
global $mod_strings,$app_strings,$theme;
|
|
$smarty = new VteSmarty();
|
|
|
|
$module = vtlib_purify($_REQUEST['formodule']);
|
|
|
|
$menu_array = Array();
|
|
|
|
$menu_array['CustomFields']['location'] = 'index.php?module=Settings&action=CustomFieldList&parenttab=Settings&formodule='.$module;
|
|
$menu_array['CustomFields']['image_src'] = resourcever('orgshar.gif');
|
|
$menu_array['CustomFields']['desc'] = getTranslatedString('LBL_CALENDER_CUSTOMFIELDS_DESCRIPTION');
|
|
$menu_array['CustomFields']['label'] = getTranslatedString('LBL_CALENDER_CUSTOMFIELDS');
|
|
|
|
//add blanks for 3-column layout
|
|
$count = count($menu_array)%3;
|
|
if($count>0) {
|
|
for($i=0;$i<3-$count;$i++) {
|
|
$menu_array[] = array();
|
|
}
|
|
}
|
|
|
|
$smarty->assign("MOD",$mod_strings);
|
|
$smarty->assign("APP",$app_strings);
|
|
$smarty->assign("IMAGE_PATH", "themes/$theme/images/");
|
|
$smarty->assign('MODULE',$module);
|
|
$smarty->assign('MODULE_LBL',getTranslatedString($module));
|
|
$smarty->assign('MENU_ARRAY', $menu_array);
|
|
|
|
$smarty->display(vtlib_getModuleTemplate('VteCore','Settings.tpl'));
|
|
|
|
?>
|