X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fsurfbar_functions.php;h=f04a3b7a91a02029d66ab4a4b7addc73290e7321;hp=2ea4f2d5bd2a12d4c7536520cd82bdde55850ec2;hb=18ce936a4bd90f6cfd326a6003851bf013e0ead6;hpb=49248176a5638be80b148ef55d0dc8c334522bf3 diff --git a/inc/libs/surfbar_functions.php b/inc/libs/surfbar_functions.php index 2ea4f2d5bd..f04a3b7a91 100644 --- a/inc/libs/surfbar_functions.php +++ b/inc/libs/surfbar_functions.php @@ -198,13 +198,13 @@ function SURFBAR_MEMBER_ACTIONS ($urlId, $status) { // "Walk" through all actions and create forms foreach ($actionArray as $actionId => $action) { // Add form for this action - $OUT .= sprintf(LOAD_TEMPLATE('member_surfbar_list_form', true), - $width, - bigintval($urlId), - strtolower($action), - strtoupper($action), - strtoupper($action) - ); + $OUT .= LOAD_TEMPLATE('member_surfbar_list_form', true, array( + 'width' => $width, + 'id' => bigintval($urlId), + 'action' => strtolower($action), + 'title' => '{--MEMBER_SURFBAR_ACTION_' . strtoupper($action) . '_TITLE--}', + 'submit' => '{--MEMBER_SURFBAR_ACTION_' . strtoupper($action) . '_SUBMIT--}', + )); } // END - foreach // Close table