A lot email templates renamed, SQL fixed:
[mailer.git] / DOCS / TODOs.txt
index f0b3a5452dd2f4def6b620003c8dd90d77b794d7..d4ee60e4efc876e423488bf996c7976ad6e7f6a6 100644 (file)
@@ -3,9 +3,8 @@
 ./autoreg.php:58:// @TODO Add processing of request here
 ./beg.php:171:                 // @TODO Opps, what is missing here???
 ./birthday_confirm.php:93:             // @TODO Try to rewrite the following unset()
-./inc/autopurge/purge-inact.php:55:    // @TODO Rewrite these if() blocks to a filter
 ./inc/cache/config-local.php:124:// @TODO Rewrite the following three constants, somehow...
-./inc/classes/cachesystem.class.php:501:       // @TODO Add support for more types which break in last else-block
+./inc/classes/cachesystem.class.php:504:       // @TODO Add support for more types which break in last else-block
 ./inc/config-functions.php:136:        // @TODO Make this all better... :-/
 ./inc/daily/daily_beg.php:52:// @TODO This should be converted in a daily beg rallye
 ./inc/daily/daily_birthday.php:95:                     // @TODO 4 is hard-coded here, should we move it out in config?
 ./inc/extensions/ext-yoomedia.php:121:         // @TODO Can this be moved into a database table?
 ./inc/extensions/ext-yoomedia.php:54:// @TODO Only deprecated when 'ext-network' is ready! setExtensionDeprecated('Y');
 ./inc/extensions-functions.php:155:    // @TODO Do we still need this? setExtensionUpdateNotes('');
-./inc/extensions-functions.php:1933:// @TODO This should be rewrittten to allow, more development states, e.g. 'planing','alpha','beta','beta2','stable'
-./inc/extensions-functions.php:437:// @TODO Change from ext_id to ext_name (not just even the variable! ;-) )
-./inc/extensions-functions.php:567:            // @TODO Extension is loaded, what next?
-./inc/filter/bonus_filter.php:55:              // @TODO This query isn't right, it will only update if the user was for a longer time away!
-./inc/filter/cache_filter.php:78:              // @TODO This should be rewritten not to load the cache file for just checking if it is there for save removal.
-./inc/functions.php:1226:                      // @TODO Move this SQL code into a function, let's say 'getTimestampFromPoolId($id) ?
-./inc/functions.php:1314:                      // @TODO Are these convertions still required?
-./inc/functions.php:1332:// @TODO Rewrite this function to use readFromFile() and writeToFile()
+./inc/extensions-functions.php:1927:// @TODO This should be rewrittten to allow, more development states, e.g. 'planing','alpha','beta','beta2','stable'
+./inc/extensions-functions.php:424:// @TODO Change from ext_id to ext_name (not just even the variable! ;-) )
+./inc/extensions-functions.php:554:            // @TODO Extension is loaded, what next?
+./inc/filter/bonus_filter.php:56:              // @TODO This query isn't right, it will only update if the user was for a longer time away!
+./inc/filter/cache_filter.php:92:              // @TODO This should be rewritten not to load the cache file for just checking if it is there for save removal.
+./inc/functions.php:1230:                      // @TODO Move this SQL code into a function, let's say 'getTimestampFromPoolId($id) ?
+./inc/functions.php:1318:                      // @TODO Are these convertions still required?
+./inc/functions.php:1336:// @TODO Rewrite this function to use readFromFile() and writeToFile()
 ./inc/functions.php:163:// @TODO Rewrite this to an extension 'smtp'
-./inc/functions.php:1914:      // @TODO Find a way to cache this
-./inc/functions.php:2015:      // @TODO This is still very static, rewrite it somehow
-./inc/functions.php:2195:      // @TODO Rename column data_type to e.g. mail_status
+./inc/functions.php:1927:      // @TODO Find a way to cache this
+./inc/functions.php:2028:      // @TODO This is still very static, rewrite it somehow
+./inc/functions.php:2208:      // @TODO Rename column data_type to e.g. mail_status
 ./inc/functions.php:92:                // @TODO Extension 'msg' does not exist
 ./inc/gen_sql_patches.php:95:// @TODO Rewrite this to a filter
 ./inc/install-functions.php:57:        // @TODO DEACTIVATED: changeDataInLocalConfigurationFile('OUTPUT-MODE', "setConfigEntry('OUTPUT_MODE', '", "');", postRequestParameter('omode'), 0);
-./inc/language/de.php:1083:    // @TODO Rewrite these two constants
-./inc/language/de.php:1104:    // @TODO Rewrite these three constants
-./inc/language/de.php:778:// @TODO Are these constants longer used?
+./inc/language/de.php:1079:    // @TODO Rewrite these two constants
+./inc/language/de.php:1100:    // @TODO Rewrite these three constants
+./inc/language/de.php:772:// @TODO Are these constants longer used?
 ./inc/language-functions.php:255:      // @TODO These are all valid languages, again hard-coded
 ./inc/language-functions.php:44:// @TODO Rewrite all language constants to this function.
 ./inc/language/newsletter_de.php:13: * @TODO This language file is completely out-dated, please do no       *
 ./inc/language/rallye_de.php:13: * @TODO Naming convention not applied for language strings             *
 ./inc/language/refback_de.php:44:// @TODO Rewrite these constants to one
 ./inc/language/sponsor_de.php:117:// @TODO Rewrite these four constants to one and use sprintf()
-./inc/libs/admins_functions.php:435:           // @TODO This can be, somehow, rewritten
+./inc/libs/admins_functions.php:451:           // @TODO This can be, somehow, rewritten
 ./inc/libs/beg_functions.php:55:               // @TODO Try to rewrite the following unset()
 ./inc/libs/bonus_functions.php:203:            // @TODO Move this HTML to a template
 ./inc/libs/doubler_functions.php:44:// @TODO Lame description
@@ -86,7 +85,7 @@
 ./inc/libs/surfbar_functions.php:1541:         // @TODO This can be somehow rewritten
 ./inc/libs/surfbar_functions.php:710:// @TODO Can't we use our new expression language instead of this ugly code?
 ./inc/libs/surfbar_functions.php:951:  // @TODO Invalid salt should be refused
-./inc/libs/task_functions.php:239:             // @TODO These can be rewritten to filter
+./inc/libs/task_functions.php:240:             // @TODO These can be rewritten to filter
 ./inc/libs/task_functions.php:51:// @TODO Move all extension-dependent queries into filters
 ./inc/libs/theme_functions.php:93:     // @TODO Can't this be rewritten to an API function?
 ./inc/libs/user_functions.php:144:     // @TODO These two constants are no longer used, maybe we reactivate this code?
 ./inc/modules/admin/admin-inc.php:171:         // @TODO This and the next getCurrentAdminId() call might be moved into the templates?
 ./inc/modules/admin/admin-inc.php:242:         // @TODO This can be rewritten into a filter
 ./inc/modules/admin/admin-inc.php:274:         // @TODO Rewrite this to $content = SQL_FETCHARRAY()
-./inc/modules/admin/admin-inc.php:339:                                 // @TODO Rewrite this to $content = SQL_FETCHARRAY()
-./inc/modules/admin/admin-inc.php:437:// @TODO Try to rewrite this to adminAddMenuSelectionBox()
+./inc/modules/admin/admin-inc.php:340:                                 // @TODO Rewrite this to $content = SQL_FETCHARRAY()
+./inc/modules/admin/admin-inc.php:438:// @TODO Try to rewrite this to adminAddMenuSelectionBox()
 ./inc/modules/admin/overview-inc.php:162:                              // @TODO Rewrite this to a filter
 ./inc/modules/admin/overview-inc.php:275:                              // @TODO Rewrite this to something with include files and/or filter
 ./inc/modules/admin/overview-inc.php:309:                                              // @TODO This may also be rewritten to include files
 ./inc/modules/admin/what-adminedit.php:56:     // @TODO Kill all constants in this file
 ./inc/modules/admin/what-admins_mails.php:59:                          // @TODO Can this be rewritten to an API function?
 ./inc/modules/admin/what-bonus.php:46:// @TODO Unused at the moment
-./inc/modules/admin/what-config_admins.php:108:        // @TODO Rewrite this to a filter
-./inc/modules/admin/what-config_admins.php:136:        // @TODO Rewrite this to filter 'run_sqls'
 ./inc/modules/admin/what-config_mods.php:55:                   // @TODO This can be moved into mysql-function.php, see checkModulePermissions() function
 ./inc/modules/admin/what-config_points.php:110:                        // @TODO Rewrite this to a filter
 ./inc/modules/admin/what-config_rallye_prices.php:195:                 // @TODO Rewrite these two constants
 ./inc/modules/admin/what-guest_add.php:67:             // @TODO Cant this be rewritten?
 ./inc/modules/admin/what-guest_add.php:80:             // @TODO This can be somehow rewritten to a function
 ./inc/modules/admin/what-holiday_list.php:46:// @TODO Unused at the moment
+./inc/modules/admin/what-list_admins_acls.php:108:     // @TODO Rewrite this to a filter
+./inc/modules/admin/what-list_admins_acls.php:136:     // @TODO Rewrite this to filter 'run_sqls'
 ./inc/modules/admin/what-list_autopurge.php:47:// @TODO Rewrite those lines to filter
 ./inc/modules/admin/what-list_bonus.php:133:           // @TODO Can't this be moved into our expression language?
 ./inc/modules/admin/what-list_cats.php:54:             // @TODO No longer needed? define('__CATEGORIES_BASE'   , '<a href="{%url=modules.php?module=admin&amp;userid=');
 ./inc/modules/admin/what-list_refs.php:107:                                                            // @TODO Try to rewrite some to EL
 ./inc/modules/admin/what-list_unconfirmed.php:107:     // @TODO "Please do not call me directly." Should be rewritten to a nice selection depending on ext-bonus
 ./inc/modules/admin/what-list_unconfirmed.php:84:      // @TODO This constant might be unused? define('__LIST_UNCON_TITLE', '{--ADMIN_LIST_UNCONFIRMED_BONUS_LINKS--}');
-./inc/modules/admin/what-list_user.php:153:            // @TODO Rewrite these to filters
-./inc/modules/admin/what-list_user.php:261:            // @TODO Rewrite this into a filter
-./inc/modules/admin/what-list_user.php:309:                    // @TODO Rewrite this into a filter
+./inc/modules/admin/what-list_user.php:154:            // @TODO Rewrite these to filters
+./inc/modules/admin/what-list_user.php:262:            // @TODO Rewrite this into a filter
+./inc/modules/admin/what-list_user.php:311:                    // @TODO Rewrite this into a filter
 ./inc/modules/admin/what-list_user.php:57:// @TODO Rewrite these if-blocks in a filter
 ./inc/modules/admin/what-logs.php:64:                  // @TODO Fix content-type here
 ./inc/modules/admin/what-logs.php:70:                  // @TODO Fix content-type here
 ./inc/modules/admin/what-unlock_emails.php:84:                                 // @TODO Rewrite these if-blocks to a filter
 ./inc/modules/admin/what-usage.php:87: // @TODO This code is double, see loadTemplate() and loadEmailTemplate() in functions.php
 ./inc/modules/admin/what-usr_online.php:49:    // @TODO Add a filter for sponsor
-./inc/modules/guest/what-beg.php:51:// @TODO No more needed? define('__BEG_UID_TIMEOUT', createFancyTime(getBegUseridTimeout()));
+./inc/modules/guest/what-beg.php:51:// @TODO No more needed? define('__BEG_USERID_TIMEOUT', createFancyTime(getBegUseridTimeout()));
 ./inc/modules/guest/what-login.php:121:        // @TODO Move this HTML code into a template
 ./inc/modules/guest/what-mediadata.php:181:// @TODO Rewrite all these if-blocks to filters
 ./inc/modules/guest/what-mediadata.php:68:     // @TODO Find a better formular than this one
 ./inc/modules/guest/what-stats.php:100:                // @TODO This can be somehow rewritten
 ./inc/modules/guest/what-stats.php:74:// @TODO This can be rewritten in a dynamic include
 ./inc/modules/member/what-beg.php:54:// @TODO Can't this be moved into EL?
-./inc/modules/member/what-beg.php:63:// @TODO No more needed? define('__BEG_UID_TIMEOUT', createFancyTime(getBegUseridTimeout()));
+./inc/modules/member/what-beg.php:63:// @TODO No more needed? define('__BEG_USERID_TIMEOUT', createFancyTime(getBegUseridTimeout()));
 ./inc/modules/member/what-bonus.php:55:        // @TODO Rewrite this to a filter
-./inc/modules/member/what-cash_coupon.php:56:  // @TODO
 ./inc/modules/member/what-categories.php:131:          // @TODO Rewrite this to use $OUT .= ...
 ./inc/modules/member/what-logout.php:17: * @TODO Rewrite the code to a filter                                   *
 ./inc/modules/member/what-order.php:427:                       // @TODO Rewrite this to a filter
 ./inc/modules/member/what-unconfirmed.php:207:                         // @TODO This 'userid' cannot be saved because of encapsulated EL code
 ./inc/modules/order.php:74:            // @TODO Unused: 2,4
 ./inc/monthly/monthly_bonus.php:64:    // @TODO Rewrite this to a filter
-./inc/mysql-manager.php:1211:  // @TODO Rewrite this to a filter
-./inc/mysql-manager.php:1471:                  // @TODO Try to rewrite this to $content = SQL_FETCHARRAY()
-./inc/mysql-manager.php:1559:          // @TODO Rewrite these lines to a filter
-./inc/mysql-manager.php:1583:  // @TODO Rewrite this to a filter
-./inc/mysql-manager.php:1957:                  // @TODO Rewrite this to a filter
-./inc/mysql-manager.php:2001:// @TODO Fix inconsistency between last_module and getWhat()
+./inc/mysql-manager.php:1214:  // @TODO Rewrite this to a filter
+./inc/mysql-manager.php:1476:                  // @TODO Try to rewrite this to $content = SQL_FETCHARRAY()
+./inc/mysql-manager.php:1564:          // @TODO Rewrite these lines to a filter
+./inc/mysql-manager.php:1588:  // @TODO Rewrite this to a filter
+./inc/mysql-manager.php:1962:                  // @TODO Rewrite this to a filter
+./inc/mysql-manager.php:2006:// @TODO Fix inconsistency between last_module and getWhat()
 ./inc/mysql-manager.php:368:   // @TODO Try to rewrite this to one or more functions
 ./inc/mysql-manager.php:44:// @TODO Can we cache this?
+./inc/purge/purge-inact.php:55:        // @TODO Rewrite these if() blocks to a filter
 ./inc/revision-functions.php:169:// @TODO This function does also set and get in 'cache_array'
 ./inc/template-functions.php:1055:                     // @TODO Deprecate this thing
 ./inc/template-functions.php:1066:                     // @TODO Deprecate this thing
 ./templates/de/html/admin/admin_add_country.tpl:23:                    <!-- @TODO Rewrite this selection box to our generic functions //-->
 ./templates/de/html/admin/admin_admins_contct_form.tpl:4:      <!-- @TODO Shouldn't we add a title here? //-->
 ./templates/de/html/admin/admin_config_other.tpl:79:                   <!-- @TODO Rewrite this selection to one of our functions //-->
+./templates/de/html/admin/admin_config_rewrite.tpl:4:  <!-- @TODO No title here? //-->
 ./templates/de/html/admin/admin_edit_admin_menu.tpl:4:<!-- @TODO Shouldn't we add a title here? //-->
 ./templates/de/html/admin/admin_list_refs_level.tpl:21:                <!-- @TODO Nothing to say here? //-->
 ./templates/de/html/admin/admin_list_unconfirmed_list.tpl:3:<!-- @TODO Shouldn't we add a title here? //-->
 ./templates/de/html/member/member_unconfirmed_table_nopoints.tpl:11:           <!-- @TODO Nothing to say here? //-->
 ./templates/de/html/surfbar/surfbar_frame_textlinks.tpl:5:             <!-- @TODO These are static lines and should be replaced by a filter (see ext-sponsor) //-->
 ### ### DEPRECATION FOLLOWS: ### ###
+./inc/autopurge/purge-general.php:2:// @DEPRECATED
+./inc/autopurge/purge-inact.php:2:// @DEPRECATED
+./inc/autopurge/purge-mails.php:2:// @DEPRECATED
+./inc/autopurge/purge-tsks.php:2:// @DEPRECATED
+./inc/autopurge/purge-unconfirmed.php:2:// @DEPRECATED
 ./inc/daily/daily_engine.php:2:// @DEPRECATED
 ./inc/loader/load_cache-admin.php:2:// @DEPRECATED
 ./inc/loader/load_cache-config.php:2:// @DEPRECATED
 ./inc/loader/load_cache-revision.php:2:// @DEPRECATED
 ./inc/loader/load_cache-them.php:2:// @DEPRECATED
 ./inc/loader/load-extensions.php:2:// @DEPRECATED
-./inc/modules/admin/admin-inc.php:438:// @DEPRECATED
+./inc/modules/admin/admin-inc.php:439:// @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
 ./inc/reset/reset_autopurge.php:2:// @DEPRECATED
 ./inc/reset/reset_beg.php:2:// @DEPRECATED
 ./inc/reset/reset_profile.php:2:// @DEPRECATED
 ./inc/reset/reset_surfbar.php:2:// @DEPRECATED
 ./inc/reset/reset_yoomedia.php:2:// @DEPRECATED
+./templates/de/emails/add-points.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/emails/admin/admin_coupon.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/emails/admin-del_links.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/emails/back-admin.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/emails/back-member.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/emails/bonus-mail.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/emails/confirm-member.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/emails/confirm-referral.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/emails/del-user.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/emails/done-admin.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/emails/done-member.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/emails/lock-user.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/emails/member/member_coupon.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/emails/new-pass.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/emails/normal-mail.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/emails/order-accept.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/emails/order-admin.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/emails/order-deleted.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/emails/order-member.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/emails/order-reject.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/emails/register-admin.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/emails/register-member.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/emails/sub-points.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/emails/unlock-user.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_config_admins_del_row.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_config_admins_del.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_config_admins_edit_row.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_config_admins_edit.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_config_admins_row.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_config_admins.tpl:1:<!-- @DEPRECATED //-->
 ./templates/de/html/admin/admin_config_cats_row.tpl:1:<!-- @DEPRECATED //-->
 ./templates/de/html/admin/admin_config_cats.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_config_email_del_row.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_config_email_del.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_config_email_edit_row.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_config_email_edit.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_config_email_row.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_config_email.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_config_order_form.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_config_payouts_del_row.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_config_payouts_del.tpl:1:<!-- @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_reset_pass_done.tpl:1:<!-- @DEPRECATED //-->
 ./templates/de/html/admin/admin_send_reset_link.tpl:1:<!-- @DEPRECATED //-->