grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026 */ function display_action_lines(SugarBean $focus, $field, $value, $view) { global $locale, $app_list_strings, $mod_strings; $html = ''; if (!is_file('cache/jsLanguage/AOW_Actions/' . $GLOBALS['current_language'] . '.js')) { require_once('include/language/jsLanguage.php'); jsLanguage::createModuleStringsCache('AOW_Actions', $GLOBALS['current_language']); } $html .= ''; if ($view == 'EditView') { $html .= ''; $aow_actions_list = array(); include_once('modules/AOW_Actions/actions.php'); $app_list_actions[''] = ''; foreach ($aow_actions_list as $action_value) { $action_name = 'action'.$action_value; if (file_exists('custom/modules/AOW_Actions/actions/'.$action_name.'.php')) { require_once('custom/modules/AOW_Actions/actions/'.$action_name.'.php'); } else { if (file_exists('modules/AOW_Actions/actions/'.$action_name.'.php')) { require_once('modules/AOW_Actions/actions/'.$action_name.'.php'); } else { continue; } } $action = new $action_name(); foreach ($action->loadJS() as $js_file) { $html .= ''; } $app_list_actions[$action_value] = translate('LBL_'.strtoupper($action_value), 'AOW_Actions'); } $html .= ''; $html .= "
| ". $action_name->action_order ." | ".$action_name->name." | ". translate('LBL_'.strtoupper($action_name->action), 'AOW_Actions')." |