]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-chk_regs.php
Deprecated templates removed, some code moved to filters, bug fixed in mydata:
[mailer.git] / inc / modules / admin / what-chk_regs.php
index 159c450c07cac515a6ba2aa563d6f9514e31933f..cb1b68f6120448dfcc2b3fb16757fe409b5e8d76 100644 (file)
@@ -62,17 +62,16 @@ if (SQL_NUMROWS($result) > 0) {
                if ($content['refid'] > 0) $content['refid'] = generateUserProfileLink($content['refid']);
 
                // Prepare array for the row template
-               // @TODO Rewritings: ip->REMOTE_ADDR,hash->user_hash in template
                $content = array(
-                       'sw'      => $SW,
-                       'gender'  => translateGender($content['gender']),
-                       'surname' => $content['surname'],
-                       'family'  => $content['family'],
-                       'email'   => "<a href=\"".generateEmailLink($content['email'], 'user_data')."\">".$content['email']."</a>",
-                       'ip'      => $content['REMOTE_ADDR'],
-                       'refid'   => $content['refid'],
-                       'hash'    => $content['user_hash'],
-                       'link'    => generateUserProfileLink($content['userid']),
+                       'sw'          => $SW,
+                       'gender'      => translateGender($content['gender']),
+                       'surname'     => $content['surname'],
+                       'family'      => $content['family'],
+                       'email'       => "<a href=\"".generateEmailLink($content['email'], 'user_data')."\">".$content['email']."</a>",
+                       'remote_addr' => $content['REMOTE_ADDR'],
+                       'refid'       => $content['refid'],
+                       'user_hash'   => $content['user_hash'],
+                       'link'        => generateUserProfileLink($content['userid']),
                );
 
                // Load row template and switch color