XML parser introduced, ext-surfbar rewritten, more EL code:
[mailer.git] / inc / modules / admin / what-list_surfbar_actions.php
index 195a01acb5eb7cb2770854cecb464a2bdf96e8fb..ff95f1c49410c664abee80bcf0313f5fedb2b390 100644 (file)
@@ -61,16 +61,7 @@ if (!SQL_HASZERONUMS($result)) {
        $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);