More misc fixes and rewrites (sorry, lame description)
[mailer.git] / DOCS / TODOs.txt
index 8225c9e087eb824365f409aac3d1e2d6d8afe994..6ff918de91ca6c929bec62d5919b7ad38af7b0db 100644 (file)
@@ -1,31 +1,37 @@
-### WARNING: THIS FILE IS AUTO-GENERATED BY DOCS/todo-builder.sh (1000/quix0r) ###
+### WARNING: THIS FILE IS AUTO-GENERATED BY ./DOCS/todo-builder.sh (1000/quix0r) ###
 ### DO NOT EDIT THIS FILE. ###
-./beg.php:193:                         // @TODO Opps, what is missing here???
-./inc/cache/config-local.php:117:// @TODO Rewrite the following three constants, somehow...
-./inc/config-functions.php:182:        // @TODO Make this all better... :-/
-./inc/config-functions.php:207:        // @TODO Rewrite these all to config entries, if somehow possible
+./beg.php:195:                 // @TODO Opps, what is missing here???
+./doubler.php:269:// @TODO Rewrite all constants
+./inc/cache/config-local.php:120:// @TODO Rewrite the following three constants, somehow...
+./inc/config-functions.php:162:        // @TODO Make this all better... :-/
+./inc/config-functions.php:187:        // @TODO Rewrite these all to config entries, if somehow possible
+./inc/config-global.php:60:// @TODO These constants should be rewritten
 ./inc/extensions/ext-sql_patches.php:705:                                              // @TODO Rewrite this to a filter!
 ./inc/extensions/ext-sql_patches.php:743:                                      // @TODO Can we remove this? setConfigEntry('verbose_sql'        , 'N');
 ./inc/extensions/ext-sql_patches.php:93:               /* @TODO SQL_ALTER_TABLE() should work now properly
 ./inc/extensions/ext-surfbar.php:237:                          // @TODO Set some constants we need???
-./inc/extensions.php:355:// @TODO Change from ext_id to ext_name (not just even the variable! ;-) )
-./inc/extensions.php:431:              // @TODO Extension is loaded, what next?
-./inc/functions.php:1221:      // @TODO Rewrite this unnice code
-./inc/functions.php:1282:      // @TODO Remove this if() block if all is working fine
-./inc/functions.php:1582:              // @TODO This can be, somehow, rewritten
-./inc/functions.php:2456:                      $GLOBALS['cache_instance']->destroyCacheFile(); // @TODO isn't it better to do $GLOBALS['cache_instance']->destroyCacheFile('revision')?
-./inc/functions.php:2458:                      // @TODO shouldn't do the unset and the reloading $GLOBALS['cache_instance']->destroyCacheFile() Or a new methode like forceCacheReload('revision')?
-./inc/functions.php:247:                       // @TODO Fine all templates which are using these direct variables and rewrite them.
-./inc/functions.php:248:                       // @TODO After this step is done, this else-block is history
-./inc/functions.php:2519:// @TODO Please describe this function
-./inc/functions.php:2531:      searchDirsRecursive($next_dir, $last_changed); // @TODO small change to API to $last_changed = searchDirsRecursive($next_dir, $time);
-./inc/functions.php:2614:              // @TODO Add a little more infos here
-./inc/functions.php:2625:      // @TODO This cannot be rewritten to app_die(), try to find a solution for this.
-./inc/functions.php:2802:// @TODO Rewrite this function to use readFromFile() and writeToFile()
-./inc/functions.php:463:// @TODO Rewrite this to an extension 'smtp'
+./inc/extensions.php:358:// @TODO Change from ext_id to ext_name (not just even the variable! ;-) )
+./inc/extensions.php:440:              // @TODO Extension is loaded, what next?
+./inc/footer.php:50:   // @TODO Rewrite these all into filters
+./inc/functions.php:1238:      // @TODO Rewrite this unnice code
+./inc/functions.php:1299:      // @TODO Remove this if() block if all is working fine
+./inc/functions.php:1599:              // @TODO This can be, somehow, rewritten
+./inc/functions.php:214:       // @TODO Remove this sanity-check if all is fine
+./inc/functions.php:2405:      // @TODO The status should never be empty
+./inc/functions.php:2496:                      // @TODO shouldn't do the unset and the reloading $GLOBALS['cache_instance']->destroyCacheFile() Or a new methode like forceCacheReload('revision')?
+./inc/functions.php:253:                       // @TODO Fine all templates which are using these direct variables and rewrite them.
+./inc/functions.php:254:                       // @TODO After this step is done, this else-block is history
+./inc/functions.php:2559:// @TODO Please describe this function
+./inc/functions.php:2577:      searchDirsRecursive($next_dir, $last_changed); // @TODO small change to API to $last_changed = searchDirsRecursive($next_dir, $time);
+./inc/functions.php:2660:              // @TODO Add a little more infos here
+./inc/functions.php:2671:      // @TODO This cannot be rewritten to app_die(), try to find a solution for this.
+./inc/functions.php:2829:                      // @TODO Are these convertions still required?
+./inc/functions.php:2847:// @TODO Rewrite this function to use readFromFile() and writeToFile()
+./inc/functions.php:398:               // @TODO Extension 'msg' does not exist
+./inc/functions.php:477:// @TODO Rewrite this to an extension 'smtp'
 ./inc/install-inc.php:20: * @TODO Rewrite all constants in this include file                     *
-./inc/language/de.php:1157:// @TODO Rewrite these two constants
-./inc/language/de.php:1173:// @TODO Rewrite these five constants
+./inc/language/de.php:1159:// @TODO Rewrite these two constants
+./inc/language/de.php:1175:// @TODO Rewrite these five constants
 ./inc/language/de.php:756:// @TODO The template 'admin_extensions_installed' is using this. But the template is no longer used.
 ./inc/language/de.php:855:// @TODO Are these constants still used?
 ./inc/language/de.php:866:// @TODO Are these constants longer used?
 ./inc/language/rallye_de.php:110:// @TODO Rewrite following two lines to one
 ./inc/language/refback_de.php:46:// @TODO Rewrite these constants to one
 ./inc/language/sponsor_de.php:118:// @TODO Rewrite these four constants to one and use sprintf()
-./inc/libs/cache_functions.php:238:                    // @TODO remove from $GLOBALS['cache_array']!!!
-./inc/libs/cache_functions.php:384:    // @TODO Add support for more types which break in last else-block
+./inc/libs/cache_functions.php:412:    // @TODO Add support for more types which break in last else-block
 ./inc/libs/doubler_functions.php:46:// @TODO Lame description
-./inc/libs/nickname_functions.php:59:          // @TODO Can we replace this with GET_TOTAL_DATA() ?
 ./inc/libs/rallye_functions.php:631:   $EXPIRE = getConfig('one_day') * 3; // @TODO The hard-coded value...
-./inc/libs/rallye_functions.php:661:                   // @TODO Rewrite this to a function
-./inc/libs/rallye_functions.php:697:           // @TODO Rewrite this to our API function
+./inc/libs/rallye_functions.php:696:           // @TODO Rewrite this to our API function
 ./inc/libs/register_functions.php:53:          // @TODO Rewrite these constants
 ./inc/libs/register_functions.php:62:  // @TODO Rewrite these constants, too
-./inc/libs/surfbar_functions.php:1475:         // @TODO This can be somehow rewritten
-./inc/libs/surfbar_functions.php:948:  // @TODO Invalid salt should be refused
+./inc/libs/register_functions.php:97:// @TODO This function is no longer used???
+./inc/libs/surfbar_functions.php:1495:         // @TODO This can be somehow rewritten
+./inc/libs/surfbar_functions.php:954:  // @TODO Invalid salt should be refused
 ./inc/libs/task_functions.php:261:             // @TODO These can be rewritten to filter
 ./inc/libs/task_functions.php:53:// @TODO Move all extension-dependent queries into filters
-./inc/libs/user_functions.php:317:                             // @TODO Make this filter working: $ADDON = runFilterChain('post_login_update', $content);
-./inc/libs/user_functions.php:342:                             // @TODO Make this filter working: $URL = runFilterChain('do_login', array('content' => $content, 'addon' => $ADDON));
-./inc/libs/user_functions.php:377:                     // @TODO Can this query be merged with above query?
-./inc/libs/yoomedia_functions.php:65:  $response = YOOMEDIA_QUERY_API("out_textmail.php", true); // @TODO Ask Yoo!Media for test script
+./inc/libs/user_functions.php:311:                             // @TODO Make this filter working: $ADDON = runFilterChain('post_login_update', $content);
+./inc/libs/user_functions.php:336:                             // @TODO Make this filter working: $URL = runFilterChain('do_login', array('content' => $content, 'addon' => $ADDON));
+./inc/libs/user_functions.php:371:                     // @TODO Can this query be merged with above query?
+./inc/libs/yoomedia_functions.php:65:  $response = YOOMEDIA_QUERY_API('out_textmail.php', true); // @TODO Ask Yoo!Media for test script
 ./inc/load_config.php:77:      // @TODO Rewrite them to avoid this else block
 ./inc/load_extensions.php:13: * @TODO Rewrite this whole file to load_cache-extensions.php           *
 ./inc/mails/birthday_mails.php:85:                     // @TODO 4 is hard-coded here, should we move it out in config?
-./inc/modules/admin/admin-inc.php:343:         // @TODO Rewrite this to $content = SQL_FETCHARRAY()
-./inc/modules/admin/admin-inc.php:390:                                 // @TODO Rewrite this to $content = SQL_FETCHARRAY()
-./inc/modules/admin/admin-inc.php:504:         // @TODO Rewrite these both constants
-./inc/modules/admin/admin-inc.php:530:         // @TODO Try to rewrite this to $content = SQL_FETCHARRAY(). Please look some lines above for the dynamic query
-./inc/modules/admin/overview-inc.php:144:                              // @TODO Rewrite this to a filter
-./inc/modules/admin/overview-inc.php:154:                                      // @TODO Can this SQL be encapsulated in a function, so all similar queries can be rewritten?
-./inc/modules/admin/overview-inc.php:190:                                              // @TODO Should we init sql_notes here or inside REGISTER_EXTENSION()?
-./inc/modules/admin/overview-inc.php:253:                              // @TODO Rewrite this to something with include files
-./inc/modules/admin/overview-inc.php:291:                                              // @TODO This may also be rewritten to include files
-./inc/modules/admin/overview-inc.php:293:                                                      default: // @TODO Unknown support mode
-./inc/modules/admin/overview-inc.php:444:                      // @TODO Rewritings: admin->assigned_admin,uid->userid,type->task_type_msg in template
+./inc/modules/admin/admin-inc.php:342:         // @TODO Rewrite this to $content = SQL_FETCHARRAY()
+./inc/modules/admin/admin-inc.php:347:                         // @TODO ACL is 'allow'... hmmm
+./inc/modules/admin/admin-inc.php:389:                                 // @TODO Rewrite this to $content = SQL_FETCHARRAY()
+./inc/modules/admin/admin-inc.php:395:                                                 // @TODO ACL is 'allow'... hmmm
+./inc/modules/admin/admin-inc.php:503:         // @TODO Rewrite these both constants
+./inc/modules/admin/admin-inc.php:529:         // @TODO Try to rewrite this to $content = SQL_FETCHARRAY(). Please look some lines above for the dynamic query
+./inc/modules/admin/overview-inc.php:147:                              // @TODO Rewrite this to a filter
+./inc/modules/admin/overview-inc.php:157:                                      // @TODO Can this SQL be encapsulated in a function, so all similar queries can be rewritten?
+./inc/modules/admin/overview-inc.php:193:                                              // @TODO Should we init sql_notes here or inside REGISTER_EXTENSION()?
+./inc/modules/admin/overview-inc.php:256:                              // @TODO Rewrite this to something with include files
+./inc/modules/admin/overview-inc.php:294:                                              // @TODO This may also be rewritten to include files
+./inc/modules/admin/overview-inc.php:296:                                                      default: // @TODO Unknown support mode
+./inc/modules/admin/overview-inc.php:428:                      // @TODO Try to move this in includes
+./inc/modules/admin/overview-inc.php:447:                      // @TODO Rewritings: admin->assigned_admin,uid->userid,type->task_type_msg in template
 ./inc/modules/admin.php:257:   // @TODO Rewrite all these constants
 ./inc/modules/admin.php:95:                                    // @TODO Why is this set to 'done'?
-./inc/modules/admin/what-add_points.php:120:                   // @TODO Rewrite these both constants
+./inc/modules/admin/what-add_points.php:119:                   // @TODO Rewrite these both constants
 ./inc/modules/admin/what-add_points.php:54:            // @TODO Rewrite this constant
-./inc/modules/admin/what-admin_add.php:120:                            // @TODO This can be somehow rewritten to a function
-./inc/modules/admin/what-admin_add.php:77:             // @TODO This can be somehow rewritten to a function
-./inc/modules/admin/what-adminedit.php:250:            // @TODO Rewrite this constant
-./inc/modules/admin/what-admins_add.php:68:    // @TODO Do we still need this ugly code here?
+./inc/modules/admin/what-add_surfbar_url.php:57:       // @TODO Find all convertSelectionsToTimestamp() calls and rewrite REQUEST_POST() calls to $POST
+./inc/modules/admin/what-admin_add.php:121:                            // @TODO This can be somehow rewritten to a function
+./inc/modules/admin/what-admin_add.php:62:             // @TODO Cant this be rewritten?
+./inc/modules/admin/what-admin_add.php:78:             // @TODO This can be somehow rewritten to a function
+./inc/modules/admin/what-adminedit.php:238:            // @TODO Rewrite this constant
+./inc/modules/admin/what-adminedit.php:62:     // @TODO Kill all constants in this file
 ./inc/modules/admin/what-admins_mails.php:100:         // @TODO Rewrite this constant
 ./inc/modules/admin/what-admins_mails.php:173:         // @TODO Rewrite this constant
 ./inc/modules/admin/what-admins_mails.php:61:                          // @TODO Can this be rewritten???
-./inc/modules/admin/what-chk_regs.php:62:              // @TODO Rewritings: sname->surname,fname->family,ip->REMOTE_ADDR,ref->refid,hash->user_hash in template
-./inc/modules/admin/what-chk_regs.php:81:      // @TODO Rewrite this constant
-./inc/modules/admin/what-config_admins.php:160:                // @TODO This causes the whole (!) menu cache being rebuild
+./inc/modules/admin/what-chk_regs.php:66:              // @TODO Rewritings: sname->surname,fname->family,ip->REMOTE_ADDR,ref->refid,hash->user_hash in template
+./inc/modules/admin/what-chk_regs.php:85:      // @TODO Rewrite this constant
+./inc/modules/admin/what-config_admins.php:154:        // @TODO Rewrite this to filter 'run_sqls'
+./inc/modules/admin/what-config_admins.php:164:                // @TODO This causes the whole (!) menu cache being rebuild
+./inc/modules/admin/what-config_cache.php:94:  // @TODO Rewrite all constants
 ./inc/modules/admin/what-config_cats.php:192:          // @TODO Rewrite this constant
 ./inc/modules/admin/what-config_cats.php:199:  // @TODO Rewrite this constant
 ./inc/modules/admin/what-config_mods.php:139:          // @TODO Rewritings: mod->module in template
 ./inc/modules/admin/what-config_mods.php:161:  // @TODO Rewrite this constant
-./inc/modules/admin/what-config_payouts.php:145:               // @TODO Rewrite this constant
-./inc/modules/admin/what-config_payouts.php:231:       // @TODO Rewrite this constant
-./inc/modules/admin/what-config_points.php:269:                                // @TODO Rewritings: lvl->level, per->percents in template
+./inc/modules/admin/what-config_payouts.php:146:               // @TODO Rewrite this constant
+./inc/modules/admin/what-config_payouts.php:237:       // @TODO Rewrite this constant
+./inc/modules/admin/what-config_points.php:267:                                // @TODO Rewritings: lvl->level, per->percents in template
 ./inc/modules/admin/what-config_rallye_prices.php:203:                         // @TODO Rewritings: level->price_level, infos->info in template
 ./inc/modules/admin/what-config_rallye_prices.php:220:                 // @TODO Rewrite these two constants
-./inc/modules/admin/what-config_rallye_prices.php:248:                 // @TODO Rewritings: aid->admin_id, alogin->login in template
+./inc/modules/admin/what-config_rallye_prices.php:255:                 // @TODO Rewritings: aid->admin_id, alogin->login in template
 ./inc/modules/admin/what-config_register.php:68:       // @TODO Move this HTML code into a template
 ./inc/modules/admin/what-config_register.php:85:// @TODO Rewrite this constant
 ./inc/modules/admin/what-config_rewrite.php:97:        // @TODO Rewrite this constant
+./inc/modules/admin/what-del_sponsor.php:58:                   // @TODO Rewrite these constants
+./inc/modules/admin/what-del_sponsor.php:86:                   // @TODO Rewrite these constants
 ./inc/modules/admin/what-del_transfer.php:106:// @TODO Rewrite all these constants
 ./inc/modules/admin/what-del_transfer.php:76:          // @TODO Rewritings: idx->trans_id in template
 ./inc/modules/admin/what-edit_emails.php:113:          // @TODO Yet another constant to rewrite
 ./inc/modules/admin/what-edit_emails.php:60:           // @TODO More constants to rewrite
 ./inc/modules/admin/what-edit_emails.php:95:                   // @TODO Rewritings: subj->subject in template
-./inc/modules/admin/what-extensions.php:154:           // @TODO Rewrite this constant
-./inc/modules/admin/what-extensions.php:333:                                           // @TODO Rewrite this to a filter
-./inc/modules/admin/what-guest_add.php:122:                            // @TODO This can be somehow rewritten to a function
-./inc/modules/admin/what-guest_add.php:77:             // @TODO This can be somehow rewritten to a function
-./inc/modules/admin/what-guestedit.php:284:            // @TODO Rewrite this constant
+./inc/modules/admin/what-extensions.php:159:           // @TODO Rewrite this constant
+./inc/modules/admin/what-extensions.php:335:                                           // @TODO Rewrite this to a filter
+./inc/modules/admin/what-guest_add.php:123:                            // @TODO This can be somehow rewritten to a function
+./inc/modules/admin/what-guest_add.php:62:             // @TODO Cant this be rewritten?
+./inc/modules/admin/what-guest_add.php:78:             // @TODO This can be somehow rewritten to a function
+./inc/modules/admin/what-guestedit.php:277:            // @TODO Rewrite this constant
+./inc/modules/admin/what-list_autopurge.php:105:       // @TODO Rewrite this constant
 ./inc/modules/admin/what-list_autopurge.php:55:// @TODO Rewrite those lines to filter
-./inc/modules/admin/what-list_autopurge.php:78:                // @TODO Rewritings: sname->surname,fname->family in templates
-./inc/modules/admin/what-list_autopurge.php:98:        // @TODO Rewrite this constant
+./inc/modules/admin/what-list_autopurge.php:85:                // @TODO Rewritings: sname->surname,fname->family in templates
 ./inc/modules/admin/what-list_beg.php:85:                      // @TODO Rewrite templates so s/fname will be replaced by surname/family
 ./inc/modules/admin/what-list_beg.php:86:                      // @TODO to shorten this block. Please also do so with uid->userid
 ./inc/modules/admin/what-list_cats.php:92:                     // @TODO Rewrite this constant
 ./inc/modules/admin/what-list_country.php:181:                 // @TODO Rewritings: name->descr,status->is_active in template
+./inc/modules/admin/what-list_doubler.php:59:// @TODO Try to rewrite this into include files
+./inc/modules/admin/what-list_doubler.php:73:                  // @TODO Rewrite all these constants
 ./inc/modules/admin/what-list_holiday.php:82:  // @TODO Rewrite this constant
+./inc/modules/admin/what-list_links.php:105:                                   // @TODO Rewrite this to includes/filter
 ./inc/modules/admin/what-list_links.php:96:                            // @TODO Find a way to rewrite this. See some lines above for different queries
 ./inc/modules/admin/what-list_newsletter.php:64:       // @TODO Currently under construction!
 ./inc/modules/admin/what-list_rallyes.php:231:         // @TODO Rewrite this constant
 ./inc/modules/admin/what-list_rallyes.php:255:                 // @TODO Rewritings: uid->userid,opoints->curr_points,old->refs in template
 ./inc/modules/admin/what-list_rallyes.php:309:                 // @TODO Rewritings: aid->admin_id in template
-./inc/modules/admin/what-list_sponsor.php:155:                 // @TODO Rewritings: sname->surname,fname->family,ip->remote_addr in template
-./inc/modules/admin/what-list_sponsor.php:178:         // @TODO Rewrite this constant
+./inc/modules/admin/what-list_sponsor.php:168:                 // @TODO Rewritings: sname->surname,fname->family,ip->remote_addr in template
+./inc/modules/admin/what-list_sponsor.php:191:         // @TODO Rewrite this constant
 ./inc/modules/admin/what-list_sponsor.php:73:          // @TODO Rewrite this huge amount of constants
 ./inc/modules/admin/what-list_task.php:129:            // @TODO Rewrite these templates to one and add $OUT
 ./inc/modules/admin/what-list_task.php:164:                    // @TODO Rewritings: admin->assigned_admin,uid->userid,type->task_type_msg in template
 ./inc/modules/admin/what-list_task.php:176:                            // @TODO Rewrite this to $OUT .= ..., true, ...
 ./inc/modules/admin/what-list_task.php:180:                            // @TODO Rewrite this to $OUT .= ..., true, ...
-./inc/modules/admin/what-list_transfer.php:86:// @TODO Rewrite these constants
-./inc/modules/admin/what-list_unconfirmed.php:116:                             // @TODO Rewritings: uid->userid
-./inc/modules/admin/what-list_unconfirmed.php:68:      // @TODO This constant might be unused?
-./inc/modules/admin/what-list_unconfirmed.php:80:      // @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:90:              // @TODO Rewrite this to $content = SQL_FETCHARRAY(), look some lines above for two differrent queries
+./inc/modules/admin/what-list_transfer.php:83:// @TODO Rewrite these constants
+./inc/modules/admin/what-list_unconfirmed.php:128:                             // @TODO Rewritings: uid->userid
+./inc/modules/admin/what-list_unconfirmed.php:75:      // @TODO This constant might be unused?
+./inc/modules/admin/what-list_unconfirmed.php:87:      // @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:97:              // @TODO Rewrite this to $content = SQL_FETCHARRAY(), look some lines above for two differrent queries
 ./inc/modules/admin/what-list_user.php:160:            // @TODO Rewrite these to filters
 ./inc/modules/admin/what-list_user.php:285:            // @TODO Rewrite this into a  filter
 ./inc/modules/admin/what-list_user.php:337:                    // @TODO Rewrite this into a filter
-./inc/modules/admin/what-lock_user.php:133:                            // @TODO Rewrite these all constants
+./inc/modules/admin/what-lock_user.php:139:                            // @TODO Rewrite these all constants
 ./inc/modules/admin/what-logs.php:69:                  // @TODO Fix content-type here
 ./inc/modules/admin/what-logs.php:72:                  // @TODO Fix content-type here
-./inc/modules/admin/what-mem_add.php:120:                              // @TODO This can be somehow rewritten to a function
-./inc/modules/admin/what-mem_add.php:78:               // @TODO This can be somehow rewritten to a function
-./inc/modules/admin/what-memedit.php:252:              // @TODO Rewrite this constant
-./inc/modules/admin/what-memedit.php:288:              // @TODO Rewrite this constant
+./inc/modules/admin/what-mem_add.php:126:                              // @TODO This can be somehow rewritten to a function
+./inc/modules/admin/what-mem_add.php:65:               // @TODO Cant this be rewritten?
+./inc/modules/admin/what-mem_add.php:81:               // @TODO This can be somehow rewritten to a function
+./inc/modules/admin/what-memedit.php:262:              // @TODO Rewrite this constant
+./inc/modules/admin/what-memedit.php:298:              // @TODO Rewrite this constant
 ./inc/modules/admin/what-payments.php:154:                     // @TODO Rewritings: title->mail_title, pay->payment in template
 ./inc/modules/admin/what-refbanner.php:127:    // @TODO Rewrite this constant
-./inc/modules/admin/what-refbanner.php:149:                    // @TODO Rewritings: alt->alternate,cnt->counter,clx->clicks in template
-./inc/modules/admin/what-refbanner.php:168:            // @TODO Rewrite this constant
+./inc/modules/admin/what-refbanner.php:150:                    // @TODO Rewritings: alt->alternate,cnt->counter,clx->clicks in template
+./inc/modules/admin/what-refbanner.php:169:            // @TODO Rewrite this constant
 ./inc/modules/admin/what-repair_amnu.php:85:// @TODO This causes the whole (!) menu cache being rebuilded
-./inc/modules/admin/what-send_newsletter.php:86:       // @TODO Rewrite this constant
+./inc/modules/admin/what-send_newsletter.php:90:       // @TODO Rewrite this constant
 ./inc/modules/admin/what-sub_points.php:105:                   // @TODO Rewrite these constants
 ./inc/modules/admin/what-sub_points.php:53:    // @TODO Rewrite this constant
 ./inc/modules/admin/what-theme_check.php:126:                  // @TODO Move this HTML code to a template "admin_theme_row"
 ./inc/modules/guest/what-mediadata.php:186:// @TODO Rewrite these all if-blocks to filters
 ./inc/modules/guest/what-mediadata.php:49:// @TODO Rewrite all constants
 ./inc/modules/guest/what-mediadata.php:69:     // @TODO Find a better formular than this one
-./inc/modules/guest/what-register.php:196:     // @TODO Rewrite these all to a single filter
-./inc/modules/guest/what-register.php:273:     // @TODO Rewrite this to a filter
+./inc/modules/guest/what-register.php:208:     // @TODO Rewrite these all to a single filter
+./inc/modules/guest/what-register.php:286:     // @TODO Rewrite this to a filter
+./inc/modules/guest/what-register.php:60: * @TODO Commented out, do we need this ugly code?
 ./inc/modules/guest/what-sponsor_infos.php:67:         // @TODO Rewritings: conv->conv_rate,name->conv_name in template
 ./inc/modules/guest/what-sponsor_infos.php:87:                 // @TODO Rewritings: name->pay_name,min->pay_min_count,min->pay_min_count,curr->pay_currency
 ./inc/modules/guest/what-sponsor_reg.php:284:          // @TODO Swap this HTML code to templates
 ./inc/modules/guest/what-top10.php:248:// @TODO Rewrite this constant
 ./inc/modules/guest/what-top10.php:255:// @TODO Rewrite this constant
 ./inc/modules/guest/what-top10.php:74: // @TODO Rewritings: uid->userid,nick->nickname,logins->total_logins in template
-./inc/modules/guest/what-wernis_portal.php:85://  @TODO Can this be removed? $rdf->clear_cache();
 ./inc/modules/member/what-bonus.php:55:        // @TODO Rewrite this to a filter
 ./inc/modules/member/what-categories.php:112:          // @TODO Rewrite this to use $OUT .= ...
 ./inc/modules/member/what-mydata.php:53:// @TODO Try to rewrite this constant
-./inc/modules/member/what-order.php:411:                       // @TODO Rewrite this to a filter
-./inc/modules/member/what-order.php:506:                                        // @TODO Rewrite this old lost code to a template
+./inc/modules/member/what-nickname.php:87:     // @TODO Rewrite this constant
+./inc/modules/member/what-order.php:444:                       // @TODO Rewrite this to a filter
+./inc/modules/member/what-order.php:543:                                               // @TODO Rewrite this old lost code to a template
 ./inc/modules/member/what-payout.php:132:                              // @TODO Rewritings: acc->target_account,bank->target_bank in templates
 ./inc/modules/member/what-payout.php:148:                      // @TODO Rewrite this constant
 ./inc/modules/member/what-payout.php:182:              // @TODO Rewrite these constants
 ./inc/modules/member/what-payout.php:235:                                      // @TODO Rewrite this to a filter
 ./inc/modules/member/what-points.php:54:// @TODO Should we rewrite this to a filter?
 ./inc/modules/member/what-reflinks.php:105:            // @TODO Rewritings: alt->alternate,cnt->counter,cks->clicks,uid->userid in template
-./inc/modules/member/what-transfer.php:116:                            // @TODO Rewrite all these constants to array elements
-./inc/modules/member/what-transfer.php:247:                            // @TODO Try to rewrite his to $content = SQL_FETCHARRAY(), see some lines above for two different queries
-./inc/modules/member/what-transfer.php:309:                            // @TODO Rewrite these constants
-./inc/modules/member/what-transfer.php:317:                            // @TODO Rewrite these constants
-./inc/modules/member/what-transfer.php:329:                    // @TODO This should be somehow rewritten to $content = SQL_FETCHARRAY(), see switch() block above for SQL queries
-./inc/modules/member/what-transfer.php:364:            // @TODO Rewrite these constants
-./inc/modules/member/what-transfer.php:451:                            // @TODO Rewrite all these constants
+./inc/modules/member/what-transfer.php:115:                            // @TODO Rewrite all these constants to array elements
+./inc/modules/member/what-transfer.php:246:                            // @TODO Try to rewrite his to $content = SQL_FETCHARRAY(), see some lines above for two different queries
+./inc/modules/member/what-transfer.php:308:                            // @TODO Rewrite these constants
+./inc/modules/member/what-transfer.php:316:                            // @TODO Rewrite these constants
+./inc/modules/member/what-transfer.php:328:                    // @TODO This should be somehow rewritten to $content = SQL_FETCHARRAY(), see switch() block above for SQL queries
+./inc/modules/member/what-transfer.php:363:            // @TODO Rewrite these constants
+./inc/modules/member/what-transfer.php:450:            // @TODO Rewrite all these constants
 ./inc/modules/member/what-unconfirmed.php:134: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY()
-./inc/mysql-manager.php:1549:                  // @TODO Try to rewrite this to $content = SQL_FETCHARRAY()
-./inc/mysql-manager.php:1592:                  // @TODO Rewrite this to a filter
-./inc/mysql-manager.php:1770:                          // @TODO Find a way for updating $_CONFIG here
-./inc/mysql-manager.php:1794:          // @TODO Find a way for updating $_CONFIG here
-./inc/mysql-manager.php:1817:// @TODO Can this be rewritten to a filter?
-./inc/mysql-manager.php:1879:                  // @TODO Rewrite this to $content = SQL_FETCHARRAY()
-./inc/mysql-manager.php:199:                   // @TODO Nothing helped???
-./inc/mysql-manager.php:2173:          // @TODO This can be somehow rewritten
-./inc/mysql-manager.php:513:   // @TODO Why is this global??? #100
-./inc/mysql-manager.php:947:                   // @TODO Why does this lead into an endless loop but we still need it???
-./inc/mysql-manager.php:948:                   // @TODO Commented out redirectToUrl('admin.php');
+./inc/modules/order.php:76:            // @TODO Unused: 2,4
+./inc/monthly/monthly_bonus.php:71:    // @TODO Rewrite this to a filter
+./inc/mysql-manager.php:1575:                  // @TODO Try to rewrite this to $content = SQL_FETCHARRAY()
+./inc/mysql-manager.php:1618:                  // @TODO Rewrite this to a filter
+./inc/mysql-manager.php:1770:  // @TODO Rewrite this to a filter
+./inc/mysql-manager.php:1798:                          // @TODO Find a way for updating $_CONFIG here
+./inc/mysql-manager.php:1822:          // @TODO Find a way for updating $_CONFIG here
+./inc/mysql-manager.php:1845:// @TODO Can this be rewritten to a filter?
+./inc/mysql-manager.php:1907:                  // @TODO Rewrite this to $content = SQL_FETCHARRAY()
+./inc/mysql-manager.php:212:                   // @TODO Nothing helped???
+./inc/mysql-manager.php:2205:          // @TODO This can be somehow rewritten
+./inc/mysql-manager.php:247:                   // @TODO Rewrite this to a filter
+./inc/mysql-manager.php:538:   // @TODO Try to rewrite this to one or more functions
+./inc/mysql-manager.php:567:                           // @TODO Try to rewrite this to one or more functions
+./inc/mysql-manager.php:973:                   // @TODO Why does this lead into an endless loop but we still need it???
+./inc/mysql-manager.php:974:                   // @TODO Commented out redirectToUrl('admin.php');
 ./inc/wrapper-functions.php:152:// @TODO Implement $compress
 ./inc/wrapper-functions.php:159:// @TODO Implement $decompress
-./inc/wrapper-functions.php:385:// @TODO Do some more sanity check here
-./mailid_top.php:208:                                                                          // @TODO Rewrite these blocks to filter
-./surfbar.php:65:              // @TODO Display quick login form here or redirect as configured
+./inc/wrapper-functions.php:389:// @TODO Do some more sanity check here
+./mailid.php:140:                                      // @TODO Rewrite this to a filter
+./mailid.php:185:                                                      // @TODO Rewrite these constants
+./mailid.php:221:      // @TODO Rewrite this to a filter
+./mailid.php:96:               // @TODO Rewrite this to a filter
+./mailid_top.php:136:                                  // @TODO Rewrite this to a filter
+./mailid_top.php:183:                                                  // @TODO Rewrite this to a filter
+./mailid_top.php:190:                                                                  // @TODO Rewrite this to a filter
+./mailid_top.php:223:                                                                  // @TODO Rewrite these constants
+./mailid_top.php:228:                                                                  // @TODO Rewrite these blocks to filter
+./mailid_top.php:89:           // @TODO Rewrite this to a filter
+./show_bonus.php:108:                  // @TODO Rewrite this constant
+./surfbar.php:72:      // @TODO Display quick login form here or redirect as configured
 ### ### DEPRECATION FOLLOWS: ### ###
-./inc/functions.php:232:       // @DEPRECATED Try to rewrite the if() condition
-./inc/functions.php:246:                       // @DEPRECATED
+./inc/functions.php:238:       // @DEPRECATED Try to rewrite the if() condition
+./inc/functions.php:252:                       // @DEPRECATED
 ./inc/language-functions.php:55:               // @DEPRECATED Language array element found in BIG_LETTERS
 ./inc/language-functions.php:58:               // @DEPRECATED Deprecated constant found