]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/register_functions.php
Moved all FILTER_FOO() filter functions to an own include directory:
[mailer.git] / inc / libs / register_functions.php
index 9153021f77fdfc0b26baf11027d556459c8b1048..85af2723d934b35d61c1673b0d626ba1bbadedaf 100644 (file)
@@ -130,31 +130,6 @@ function registerOutputFailedMessage ($messageId, $extra='') {
        }
 }
 
-// Run a filter for must-fillout fields
-function FILTER_REGISTER_MUST_FILLOUT ($content) {
-       // Get all fields for output
-       $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="notice">(*)</span>';
-               } // END - if
-
-               // Add it
-               $content['must_fillout_' . strtolower($row['field_name']) . ''] = $value;
-       } // END - while
-
-       // Free memory
-       SQL_FREERESULT($result);
-
-       // Return it
-       return $content;
-}
-
 // Checks wether the registration data is complete
 function isRegistrationDataComplete () {
        // Init elements