$OUT = '';
while ($content = SQL_FETCHARRAY($result)) {
// "Translate" some data
- $content['actions_action'] = sprintf("{--MEMBER_SURFBAR_ACTION_%s_SUBMIT--}", strtoupper($content['actions_action']));
-
- // New status set?
- if (!is_null($content['actions_new_status'])) {
- // Translate it
- $content['actions_new_status'] = translateSurfbarUrlStatus($content['actions_new_status']);
- } else {
- // "Do nothing" status
- $content['actions_new_status'] = '{--SURFBAR_URL_STATUS_NONE--}';
- }
+ $content['actions_action'] = '{--MEMBER_SURFBAR_ACTION_' . strtoupper($content['actions_action']) . '_SUBMIT--}', ;
// Load row template
$OUT .= loadTemplate('admin_list_surfbar_actions_row', true, $content);