{$mod_strings['LBL_MODULE_NAME']}", translate('LBL_CONFIGURE_SHORTCUT_BAR') ), true ); $msg = ""; global $theme, $currentModule, $app_list_strings, $app_strings; $GLOBALS['log']->info("Administration ConfigureShortcutBar view"); $actions_path = "include/DashletContainer/Containers/DCActions.php"; //If save is set, save then let the user know if the save worked. if (!empty($_REQUEST['enabled_modules'])) { $toDecode = html_entity_decode ($_REQUEST['enabled_modules'], ENT_QUOTES); $modules = json_decode($toDecode); $out = " $modLabel) { if (is_file("modules/$module/metadata/quickcreatedefs.php") || is_file("custom/modules/$module/metadata/quickcreatedefs.php")) $availibleModules[$module] = $module; } $availibleModules = array_diff($availibleModules, $DCActions); $enabled = array(); foreach($DCActions as $mod) { $enabled[] = array("module" => $mod, 'label' => translate($mod)); } $disabled = array(); foreach($availibleModules as $mod) { $disabled[] = array("module" => $mod, 'label' => translate($mod)); } $this->ss->assign('APP', $GLOBALS['app_strings']); $this->ss->assign('MOD', $GLOBALS['mod_strings']); $this->ss->assign('title', $title); $this->ss->assign('enabled_modules', $json->encode ( $enabled )); $this->ss->assign('disabled_modules',$json->encode ( $disabled)); $this->ss->assign('description', translate("LBL_CONFIGURE_SHORTCUT_BAR")); $this->ss->assign('msg', $msg); echo $this->ss->fetch('modules/Administration/templates/ShortcutBar.tpl'); } ?>