More HTML swapped and admin contact link rewritten. Resolves #91
[mailer.git] / inc / libs / surfbar_functions.php
index bddf3e2b2d51ea56a7d843f70a3ae8b1a033163b..5d7c8f9a1718018e83307b7e27b2342803f39f1a 100644 (file)
@@ -184,13 +184,7 @@ function SURFBAR_MEMBER_ACTIONS ($urlId, $status) {
        // "Walk" through all actions and create forms
        foreach ($actionArray as $actionId=>$action) {
                // Add form for this action
        // "Walk" through all actions and create forms
        foreach ($actionArray as $actionId=>$action) {
                // Add form for this action
-               $OUT .= sprintf("       <td align=\"center\" width=\"%d%%\">
-               <form action=\"{!URL!}/modules.php?module=login&amp;what=surfbar_list\" method=\"post\" style=\"padding-bottom:0px\">
-                       <input type=\"hidden\" name=\"id\" value=\"%s\" />
-                       <input type=\"hidden\" name=\"action\" value=\"%s\" />
-                       <input type=\"submit\" class=\"member_submit\" name=\"ok\" title=\"{--MEMBER_SURFBAR_ACTION_%s_TITLE--}\" value=\"{--MEMBER_SURFBAR_ACTION_%s_SUBMIT--}\" />
-               </form>
-       </td>\n",
+               $OUT .= sprintf(LOAD_TEMPLATE("member_surfbar_list_form", true),
                        $width,
                        bigintval($urlId),
                        strtolower($action),
                        $width,
                        bigintval($urlId),
                        strtolower($action),