Rewrite of adding menu entries, should prevent double menus now and forever...
[mailer.git] / inc / libs / register_functions.php
index 99af2efc60c7ba22d6f82a729c13617e7ef71202..cc4ecaeb8c36f1cc19b63b16f75ea6fb4d98dd9b 100644 (file)
@@ -147,10 +147,13 @@ function FILTER_REGISTER_MUST_FILLOUT ($content) {
        $result = SQL_QUERY("SELECT `field_name`, `field_required` FROM `{?_MYSQL_PREFIX?}_must_register` ORDER BY `id` ASC",
                __FUNCTION__, __LINE__);
 
+       // Walk through all entries
        while ($row = SQL_FETCHARRAY($result)) {
+               // Must the user fill out this element?
                $value = '';
                if ($row['field_required'] == 'Y') $value = "<span class=\\\"guest_failed\\\">&nbsp;(*)</span>";
-               // @TODO Rewrite these constants
+
+               // Add it
                $content['must_fillout_'.strtolower($row['field_name']).''] = $value;
        } // END - while