From 18ce936a4bd90f6cfd326a6003851bf013e0ead6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 29 Jul 2009 18:02:13 +0000 Subject: [PATCH] Fixed bug in surfbar member list --- inc/libs/surfbar_functions.php | 14 +++++++------- .../de/html/member/member_surfbar_list_form.tpl | 8 ++++---- 2 files changed, 11 insertions(+), 11 deletions(-) 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 diff --git a/templates/de/html/member/member_surfbar_list_form.tpl b/templates/de/html/member/member_surfbar_list_form.tpl index e6ff250b9f..3aca5b4dc9 100644 --- a/templates/de/html/member/member_surfbar_list_form.tpl +++ b/templates/de/html/member/member_surfbar_list_form.tpl @@ -1,7 +1,7 @@ - +
- - - + + +
-- 2.30.2