ADMIN_MEMBER_SELECTION_BOX() does now return a select-tag with the member list
[mailer.git] / inc / modules / admin / what-list_surfbar_urls.php
index 9911842..37f4366 100644 (file)
@@ -49,9 +49,9 @@ if (isset($_POST['edit'])) {
        ADMIN_EDIT_ENTRIES_CONFIRM(
                $_POST['id'],
                "surfbar_urls",
-               array("id", "url", "reward", "costs"),
-               array("bigintval", "", "TRANSLATE_COMMA", "TRANSLATE_COMMA"),
-               array("", "", "")
+               array("id", "userid", "url", "reward", "costs"),
+               array("bigintval", "ADD_MEMBER_SELECTION_BOX", "FRAMETESTER", "TRANSLATE_COMMA", "TRANSLATE_COMMA"),
+               array("", array(false, true), "", "", "")
        );
        $show = false;
 } elseif (isset($_POST['do_edit'])) {
@@ -59,7 +59,7 @@ if (isset($_POST['edit'])) {
        ADMIN_EDIT_ENTRIES_CONFIRM($_POST['id'], "surfbar_urls", array(), array(), array(), true);
 } elseif (isset($_POST['delete'])) {
        // Delete entries (with confirmation)
-       ADMIN_DELETE_ENTRIES_CONFIRM($_POST['id'], "surfbar_urls", array("id", "url", "registered"), array("bigintval", "", "MAKE_DATETIME"), array("", "", "2"));
+       ADMIN_DELETE_ENTRIES_CONFIRM($_POST['id'], "surfbar_urls", array("id", "userid", "url", "registered"), array("bigintval", "ADMIN_USER_PROFILE_LINK", "FRAMETESTER", "MAKE_DATETIME"), array("", "", "", "2"));
        $show = false;
 } elseif (isset($_POST['remove'])) {
        // Delete entries (with confirmation)