X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_surfbar_actions.php;h=4d36b16d4e65d6b8c40d479c5ce75b7e3f4eaf70;hb=d9f35786166902b9bc3f402d4f2abeed5ae0528d;hp=a715f5548f3b36cd7a8b65707126d77fe6ceb9ba;hpb=64c8349613addc3da2242c5cd6b99d64e3fb5f8e;p=mailer.git diff --git a/inc/modules/admin/what-list_surfbar_actions.php b/inc/modules/admin/what-list_surfbar_actions.php index a715f5548f..4d36b16d4e 100644 --- a/inc/modules/admin/what-list_surfbar_actions.php +++ b/inc/modules/admin/what-list_surfbar_actions.php @@ -1,7 +1,7 @@ 0) { @@ -55,16 +63,16 @@ if (SQL_NUMROWS($result) > 0) { $OUT = ''; $SW = 2; while ($content = SQL_FETCHARRAY($result)) { // "Translate" some data - $content['status'] = constant(sprintf("SURFBAR_URL_STATUS_%s", $content['status'])); - $content['action'] = constant(sprintf("MEMBER_SURFBAR_ACTION_%s_SUBMIT", $content['action'])); + $content['actions_status'] = translateSurfbarUrlStatus($content['actions_status']); + $content['actions_action'] = getMessage(sprintf("MEMBER_SURFBAR_ACTION_%s_SUBMIT", $content['actions_action'])); // New status set? - if (!is_null($content['new_status'])) { + if (!is_null($content['actions_new_status'])) { // Translate it - $content['new_status'] = constant(sprintf("SURFBAR_URL_STATUS_%s", $content['new_status'])); + $content['actions_new_status'] = translateSurfbarUrlStatus($content['actions_new_status']); } else { // "Do nothing" status - $content['new_status'] = SURFBAR_URL_STATUS_NONE; + $content['actions_new_status'] = getMessage('SURFBAR_URL_STATUS_NONE'); } // Add color @@ -87,5 +95,5 @@ if (SQL_NUMROWS($result) > 0) { // Free result SQL_FREERESULT($result); -// +// [EOF] ?>