private function _getActionLinkContent($icon, $display_text) { $linkContent = ''; if (isset($GLOBALS['cfg']['RowActionType']) && $GLOBALS['cfg']['RowActionType'] == self::ACTION_LINK_CONTENT_ICONS) { $linkContent .= '<span class="nowrap">' . Util::getImage($icon, $display_text) . '</span>'; } else { if (isset($GLOBALS['cfg']['RowActionType']) && $GLOBALS['cfg']['RowActionType'] == self::ACTION_LINK_CONTENT_TEXT) { $linkContent .= '<span class="nowrap">' . $display_text . '</span>'; } else { $linkContent .= Util::getIcon($icon, $display_text); } } return $linkContent; }