./inc/revision-functions.php:169:// @TODO This function does also set and get in 'cache_array'
./inc/template-functions.php:1058: // @TODO Deprecate this thing
./inc/template-functions.php:1069: // @TODO Deprecate this thing
-./inc/template-functions.php:1156: // @TODO This can be easily moved out after the merge from EL branch to this is complete
-./inc/template-functions.php:1189: // @TODO Add a little more infos here
-./inc/template-functions.php:1500:// @TODO Lame description for this function
-./inc/template-functions.php:1522: // @TODO Move this in a filter
+./inc/template-functions.php:1162: // @TODO This can be easily moved out after the merge from EL branch to this is complete
+./inc/template-functions.php:1195: // @TODO Add a little more infos here
+./inc/template-functions.php:1506:// @TODO Lame description for this function
+./inc/template-functions.php:1528: // @TODO Move this in a filter
./inc/template-functions.php:189: * @TODO On some pages this is buggy
./inc/template-functions.php:265: // @TODO Remove this sanity-check if all is fine
./inc/template-functions.php:586:// @TODO $simple/$constants are deprecated
./inc/loader/load_cache-them.php:2:// @DEPRECATED
./inc/loader/load-extensions.php:2:// @DEPRECATED
./inc/modules/admin/admin-inc.php:439:// @DEPRECATED
+./inc/modules/admin/what-chk_regs.php:2:// @DEPRECATED
./inc/modules/admin/what-config_admins.php:2:// @DEPRECATED
./inc/modules/admin/what-config_email.php:2:// @DEPRECATED
./inc/reset/reset_100_bonus.php:2:// @DEPRECATED
./templates/de/html/admin/admin_config_payouts_edit_row.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_config_payouts_edit.tpl:1:<!--@DEPRECATED //-->
./templates/de/html/admin/admin_list_cats_404.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_list_chk_reg_row.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_list_chk_reg.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_reset_pass_done.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_send_reset_link.tpl:1:<!-- @DEPRECATED //-->
### ### template-warnings.log follows: ### ###
} // END - if
// Version number
-setThisExtensionVersion('0.4.0');
+setThisExtensionVersion('0.4.1');
// Version history array (add more with , '0.0.1' and so on)
-setExtensionVersionHistory(array('0.0.0', '0.1.0', '0.1.1', '0.1.2', '0.1.2', '0.1.3', '0.1.4', '0.1.5', '0.1.6', '0.1.7', '0.1.8', '0.1.9', '0.2.0', '0.2.1', '0.2.2', '0.2.3', '0.2.4', '0.2.5', '0.2.6', '0.2.7', '0.2.8', '0.2.9', '0.3.0', '0.3.1', '0.3.2', '0.3.3', '0.3.4', '0.3.5', '0.3.6', '0.3.7', '0.3.8', '0.3.9', '0.4.0'));
+setExtensionVersionHistory(array('0.0.0', '0.1.0', '0.1.1', '0.1.2', '0.1.2', '0.1.3', '0.1.4', '0.1.5', '0.1.6', '0.1.7', '0.1.8', '0.1.9', '0.2.0', '0.2.1', '0.2.2', '0.2.3', '0.2.4', '0.2.5', '0.2.6', '0.2.7', '0.2.8', '0.2.9', '0.3.0', '0.3.1', '0.3.2', '0.3.3', '0.3.4', '0.3.5', '0.3.6', '0.3.7', '0.3.8', '0.3.9', '0.4.0', '0.4.1'));
// Keep this extension always active!
setExtensionAlwaysActive('Y');
// Admin menu
addAdminMenuSql('user',NULL,'Mitglieder-Management','Mitglieder freischalten, sperren, Accounts editieren, Neuanmeldungen verwalten, {OPEN_CONFIG}POINTS{CLOSE_CONFIG} gutschreiben und abziehen und und und...',3);
addAdminMenuSql('user','del_user','Mitglied löschen','Löschen Sie hier Mitglied, die gegen die AGBs mehrmals verstossen haben. Bitte seien Sie nett zu Ihren Mitgliedern und löschen Sie nicht gleich.',1);
- addAdminMenuSql('user','chk_regs','Anmeldungen prüfen','Prüfen Sie hier neue Anmeldungen zu Ihrem System. Hier können Sie im Falle einer Fehler-Mail den Mitglied gleich wieder löschen!',2);
addAdminMenuSql('user','lock_user','Mitglied sperren / entsperren','Sperren Sie Mitglied, die zu viele unbestätigte Mails haben oder gegen Ihre AGBs verstossen haben über diesen Menüpunkt.',3);
addAdminMenuSql('user','list_user','Mitglied auflisten','Listen Sie alle Mitglied oder eingeschränkt nach Suchkritieren Ihre Userdatenbank auf. Sie könen per Klick auf die Usernummer sich Details zum Mitglied ansehen.',4);
addAdminMenuSql('user','add_points','{OPEN_CONFIG}POINTS{CLOSE_CONFIG} gutschreiben','Buchen Sie einem Mitglied direkt {OPEN_CONFIG}POINTS{CLOSE_CONFIG} auf. Sie können dazu auch einen Kommentar mitsenden.',5);
// Update notes (these will be set as task text!)
setExtensionUpdateNotes("Das Mitgliederguthaben musste repariert werden, da für Referal-Ebene 0, noch NULL geschrieben wurde.");
break;
+
+ case '0.4.1': // SQL queries for v0.4.1
+ // Add special fix include to fix filters
+ addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE `what`='chk_regs' LIMIT 1");
+
+ // Update notes (these will be set as task text!)
+ setExtensionUpdateNotes("Überflüssiges Menü <strong>chk_regs</strong> entfernt, dies kann mit <strong>list_user</strong> übernommen werden.");
+ break;
} // END - switch
break;
'ADMIN_LIST_ALL_ACCOUNTS' => "Alle Mitglieder-Accounts auflisten",
'ADMIN_LIST_STATUS_LOCKED_ACCOUNTS' => "Alle gesperrten Mitglieder-Accounts auflisten",
'ADMIN_LIST_STATUS_CONFIRMED_ACCOUNTS' => "Alle bestätigten Mitglieder-Accounts auflisten",
+ 'ADMIN_LIST_STATUS_UNCONFIRMED_ACCOUNTS' => "Alle unbestätigten Mitglieder-Accounts auflisten",
'ADMIN_LIST_MODE_CONFIRMED_ACCOUNTS' => "Alle bestätigten Mitglieder-Accounts auflisten",
'ADMIN_LIST_MODE_NOREFS_ACCOUNTS' => "Alle Mitglieder-Accounts ohne Referals auflisten",
'ADMIN_USER_ACTION_LINK_UNLOCK_USER_TITLE' => "Mitglied entsperren",
'ADMIN_USER_ACTION_LINK_ADD_POINTS_TITLE' => "Dem Mitglied {?POINTS?} aufbuchen",
'ADMIN_USER_ACTION_LINK_SUB_POINTS_TITLE' => "Dem Mitglied {?POINTS?} abziehen",
+ 'ADMIN_USER_ACTION_LINK_CONFIRM_ACCOUNT_TITLE' => "Das Mitgliederaccount bestätigen",
+ 'ADMIN_USER_ACTION_LINK_CONFIRM_ACCOUNT' => "Bestätigen",
));
// [EOF]
$value = getTotalUnconfirmedUser();
if ($value > 0) {
- $content['unconfirmed_members'] = '<a href="{%url=modules.php?module=admin&what=chk_regs%}">' . $value . '</a>';
+ $content['unconfirmed_members'] = '<a href="{%url=modules.php?module=admin&what=list_user&status=UNCONFIRMED%}">' . $value . '</a>';
} // END - if
<?php
-/************************************************************************
- * Mailer v0.2.1-FINAL Start: 09/28/2003 *
- * =================== Last change: 03/24/2004 *
- * *
- * -------------------------------------------------------------------- *
- * File : what-chk_regs.php *
- * -------------------------------------------------------------------- *
- * Short description : Check new registrations *
- * -------------------------------------------------------------------- *
- * Kurzbeschreibung : Neue Anmeldungen pruefen *
- * -------------------------------------------------------------------- *
- * $Revision:: $ *
- * $Date:: $ *
- * $Tag:: 0.2.1-FINAL $ *
- * $Author:: $ *
- * -------------------------------------------------------------------- *
- * Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team *
- * For more information visit: http://www.mxchange.org *
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. *
- * *
- * This program is distributed in the hope that it will be useful, *
- * but WITHOUT ANY WARRANTY; without even the implied warranty of *
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
- * GNU General Public License for more details. *
- * *
- * You should have received a copy of the GNU General Public License *
- * along with this program; if not, write to the Free Software *
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, *
- * MA 02110-1301 USA *
- ************************************************************************/
-
-// Some security stuff...
-if ((!defined('__SECURITY')) || (!isAdmin())) {
- die();
-} // END - if
-
-// Add description as navigation point
-addYouAreHereLink('admin', basename(__FILE__));
-
-// Check for accounts
-$result = SQL_QUERY("SELECT
- `userid`, `gender`, `surname`, `family`, `email`, `REMOTE_ADDR`, `refid`, `user_hash`
-FROM
- `{?_MYSQL_PREFIX?}_user_data`
-WHERE
- `status`='UNCONFIRMED'
-ORDER BY
- `userid` ASC", __FILE__, __LINE__);
-
-if (!SQL_HASZERONUMS($result)) {
- // We have some (new?) registrations!
- $OUT = '';
- while ($content = SQL_FETCHARRAY($result)) {
- // Prepare array for the row template
- $content = array(
- 'gender' => $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'],
- 'userid' => $content['userid'],
- );
-
- // Load row template and switch color
- $OUT .= loadTemplate('admin_list_chk_reg_row', true, $content);
- } // END - while
-
- // Load main template
- loadTemplate('admin_list_chk_reg', false, $OUT);
-} else {
- // No registrations left - or all has confirmed their email address... :-)
- displayMessage('{--ADMIN_ALL_CONFIRMED_EMAIL--}');
-}
-
-// Free memory
-SQL_FREERESULT($result);
-
-// [EOF]
+// @DEPRECATED
?>
$OUT .= '--}</a></span>|';
} // END - foreach
+ // Add special link, in case of the account is unconfirmed
+ if ($status == 'UNCONFIRMED') {
+ // Add it
+ $OUT .= '<span class="admin_user_link"><a target="_blank" title="{--ADMIN_USER_ACTION_LINK_CONFIRM_ACCOUNT_TITLE--}" href="{%url=confirm.php?hash=' . getFetchedUserData('userid', $userid, 'user_hash') . '%}">{--ADMIN_USER_ACTION_LINK_CONFIRM_ACCOUNT--}</a></span>|';
+ } // END - if
+
// Finish navigation link
$OUT = substr($OUT, 0, -1) . ']';
-<div align="center">
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
- <tr>
- <td class="table_header bottom" colspan="8" align="center">
- <strong>{--ADMIN_UNCONFIRMED_ACCOUNTS--}:</strong>
- </td>
- </tr>
- <tr>
- <td class="header_column right" align="center" width="20">{--_USERID--}</td>
- <td class="header_column right" align="center">{--GENDER--}</td>
- <td class="header_column right" align="center">{--SURNAME--}</td>
- <td class="header_column right" align="center">{--FAMILY--}</td>
- <td class="header_column right" align="center">{--EMAIL--}</td>
- <td class="header_column right" align="center">{--REMOTE_IP--}</td>
- <td class="header_column right" align="center" width="20">{--REFERAL_USERID--}</td>
- <td class="header_column" align="center">{--ADMIN_CONFIRM_ACCOUNT--}</td>
- </tr>
- $content
-</table>
-</div>
+<!-- @DEPRECATED //-->
-<tr>
- <td align="center" class="{%template,ColorSwitch%} top right">{%pipe,generateUserProfileLink=$content[userid]%}</td>
- <td align="center" class="{%template,ColorSwitch%} top right">{%pipe,translateGender=$content[gender]%}</td>
- <td align="center" class="{%template,ColorSwitch%} top right">$content[surname]</td>
- <td align="center" class="{%template,ColorSwitch%} top right">$content[family]</td>
- <td align="center" class="{%template,ColorSwitch%} top right">$content[email]</td>
- <td align="center" class="{%template,ColorSwitch%} top right">$content[remote_addr]</td>
- <td align="center" class="{%template,ColorSwitch%} top right">{%pipe,generateUserProfileLink=$content[refid]%}</td>
- <td align="center" class="{%template,ColorSwitch%} top">
- <a href="{%url=confirm.php?hash=$content[user_hash]%}"
- target="_blank" title="{--ADMIN_CONFIRMATION_LINK_TITLE--}">{--ADMIN_CONFIRM_ACCOUNT--}</a>
- </td>
-</tr>
+<!-- @DEPRECATED //-->