]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_cats.php
Menu system fixes, list_user simplified:
[mailer.git] / inc / modules / admin / what-list_cats.php
index 8ea0db4b69bbc1008fc8a5f52e56e11aebb31890..73282a156468fcd838905735dc1185a511d636de 100644 (file)
@@ -52,8 +52,7 @@ if (isGetRequestParameterSet('userid')) {
 
                // Prepare constants
                // @TODO No longer needed? define('__CATEGORIES_BASE'   , '<a href="{%url=modules.php?module=admin&amp;userid=');
-               $content['userid']       = bigintval(getRequestParameter('userid'));
-               $content['email']        = '<a href="' . generateEmailLink($content['email'], 'user_data') . '">' . $content['surname'] . ' ' . $content['family'] . '</a>';
+               $content['email']  = '<a href="' . generateEmailLink($content['email'], 'user_data') . '">{%pipe,translateGender=' . $content['gender'] . '%} ' . $content['surname'] . ' ' . $content['family'] . '</a>';
 
                // Ok, list categories of this user
                $result_cats = SQL_QUERY("SELECT `id`, `cat` FROM `{?_MYSQL_PREFIX?}_cats` ORDER BY `sort` ASC", __FILE__, __LINE__);