X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_cats.php;h=73282a156468fcd838905735dc1185a511d636de;hb=ed37c3c3ccfe6b0bc15315fe79d5eef0b441fa9f;hp=dc827167058904671b50385855330d347ef959f3;hpb=e17685c65d1a48c061b7c4f64c7a23c165430460;p=mailer.git diff --git a/inc/modules/admin/what-list_cats.php b/inc/modules/admin/what-list_cats.php index dc82716705..73282a1564 100644 --- a/inc/modules/admin/what-list_cats.php +++ b/inc/modules/admin/what-list_cats.php @@ -52,8 +52,7 @@ if (isGetRequestParameterSet('userid')) { // Prepare constants // @TODO No longer needed? define('__CATEGORIES_BASE' , '' . $content['surname'] . ' ' . $content['family'] . ''; + $content['email'] = '{%pipe,translateGender=' . $content['gender'] . '%} ' . $content['surname'] . ' ' . $content['family'] . ''; // Ok, list categories of this user $result_cats = SQL_QUERY("SELECT `id`, `cat` FROM `{?_MYSQL_PREFIX?}_cats` ORDER BY `sort` ASC", __FILE__, __LINE__); @@ -72,7 +71,9 @@ if (isGetRequestParameterSet('userid')) { // Set selection $selection = '{--NO--}'; - if (SQL_NUMROWS($result_user) == 1) $selection = '{--YES--}'; + if (SQL_NUMROWS($result_user) == 1) { + $selection = '{--YES--}'; + } // END - if // Add more elements $content['cnt'] = $count; @@ -97,7 +98,7 @@ if (isGetRequestParameterSet('userid')) { } } else { // User not found - displayMessage(getMaskedMessage('ADMIN_MEMBER_404', $content['userid'])); + displayMessage('{%message,ADMIN_MEMBER_404=' . $content['userid'] . '%}'); } } else { // Output selection form with all confirmed user accounts listed