Internal TODO closed (sry for second commit)
[mailer.git] / DOCS / TODOs.txt
index 61cdc9fbd321e52e265d62111252ba84ec7598ce..7e0d7807544f8ed7fb8e636d91ea8086dd2e2059 100644 (file)
@@ -1,29 +1,28 @@
 ### WARNING: THIS FILE IS AUTO-GENERATED BY DOCS/todo-builder.sh ###
 ### DO NOT EDIT THIS FILE. ###
 ./beg.php:196:                         // @TODO Opps, what is missing here???
-./inc/extensions/ext-sql_patches.php:755:                      // @TODO Rewrite this to a filter!
-./inc/extensions/ext-sql_patches.php:793:              // @TODO Can we remove this? setConfigEntry('verbose_sql'        , "N");
-./inc/extensions/ext-sql_patches.php:95:       /* @TODO SQL_ALTER_TABLE() should work now properly
-./inc/extensions.php:317:// @TODO Change from ext_id to ext_name (not just even the variable! ;-) )
-./inc/extensions.php:386:              // @TODO Extension is loaded, what next?
-./inc/functions.php:1241:      // @TODO Rewrite this unnice code
-./inc/functions.php:1302:      // @TODO Remove this if() block if all is working fine
-./inc/functions.php:1602:              // @TODO This can be, somehow, rewritten
-./inc/functions.php:2327:// @TODO Rewrite all language constants to this function.
-./inc/functions.php:2574:                      $GLOBALS['cache_instance']->destroyCacheFile(); // @TODO isn't it better to do $GLOBALS['cache_instance']->destroyCacheFile('revision')?
-./inc/functions.php:2576:                      // @TODO shouldn't do the unset and the reloading $GLOBALS['cache_instance']->destroyCacheFile() Or a new methode like forceCacheReload('revision')?
-./inc/functions.php:259:                       // @TODO Fine all templates which are using these direct variables and rewrite them.
-./inc/functions.php:260:                       // @TODO After this step is done, this else-block is history
-./inc/functions.php:2653:      // @TODO What does this loop/regex do? Document it, please.
-./inc/functions.php:2746:              // @TODO Add a little more infos here
-./inc/functions.php:2756:      // @TODO This cannot be rewritten to mxchange_die(), try to find a solution for this.
-./inc/functions.php:2861:// @TODO Implement $compress
-./inc/functions.php:2868:// @TODO Implement $decompress
-./inc/functions.php:2971:      // @TODO We may want to switch over to UTF-8 here!
-./inc/functions.php:2979:// @TODO Rewrite this function to use READ_FILE() and WRITE_FILE()
-./inc/functions.php:475:// @TODO Rewrite this to an extension 'smtp'
-./inc/language/de.php:1154:// @TODO Rewrite these two constants
-./inc/language/de.php:1170:// @TODO Rewrite these five constants
+./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.php:343:// @TODO Change from ext_id to ext_name (not just even the variable! ;-) )
+./inc/extensions.php:419:              // @TODO Extension is loaded, what next?
+./inc/functions.php:1239:      // @TODO Rewrite this unnice code
+./inc/functions.php:1300:      // @TODO Remove this if() block if all is working fine
+./inc/functions.php:1600:              // @TODO This can be, somehow, rewritten
+./inc/functions.php:2328:// @TODO Rewrite all language constants to this function.
+./inc/functions.php:249:                       // @TODO Fine all templates which are using these direct variables and rewrite them.
+./inc/functions.php:250:                       // @TODO After this step is done, this else-block is history
+./inc/functions.php:2575:                      $GLOBALS['cache_instance']->destroyCacheFile(); // @TODO isn't it better to do $GLOBALS['cache_instance']->destroyCacheFile('revision')?
+./inc/functions.php:2577:                      // @TODO shouldn't do the unset and the reloading $GLOBALS['cache_instance']->destroyCacheFile() Or a new methode like forceCacheReload('revision')?
+./inc/functions.php:2649:      searchDirsRecursive($next_dir, $last_changed); // @TODO small change to API to $last_changed = searchDirsRecursive($next_dir, $time);
+./inc/functions.php:2761:              // @TODO Add a little more infos here
+./inc/functions.php:2772:      // @TODO This cannot be rewritten to app_die(), try to find a solution for this.
+./inc/functions.php:2869:// @TODO Implement $compress
+./inc/functions.php:2876:// @TODO Implement $decompress
+./inc/functions.php:2987:// @TODO Rewrite this function to use READ_FILE() and WRITE_FILE()
+./inc/functions.php:465:// @TODO Rewrite this to an extension 'smtp'
+./inc/language/de.php:1156:// @TODO Rewrite these two constants
+./inc/language/de.php:1172:// @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:231:                    // @TODO remove from $GLOBALS['cache_array']!!!
-./inc/libs/cache_functions.php:377:    // @TODO Add support for more types which break in last else-block
+./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/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:698:           // @TODO Rewrite this to our API function
+./inc/libs/rallye_functions.php:697:           // @TODO Rewrite this to our API function
 ./inc/libs/register_functions.php:53:          // @TODO Rewrite these constants
-./inc/libs/surfbar_functions.php:1427:         // @TODO This can be somehow rewritten
-./inc/libs/surfbar_functions.php:917:  // @TODO Invalid salt should be refused
+./inc/libs/surfbar_functions.php:1425:         // @TODO This can be somehow rewritten
+./inc/libs/surfbar_functions.php:915:  // @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:311:                     // @TODO Make this filter working: $ADDON = runFilterChain('post_login_update', array('login' => $login, 'online' => $online));
-./inc/libs/user_functions.php:335:                     // @TODO Make this filter working: $URL = runFilterChain('do_login', array('uid' => $uid, 'hash' => $hash, 'addon' => $ADDON));
-./inc/libs/user_functions.php:370:             // @TODO Can this query be merged with above query?
+./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/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:394:                                 // @TODO Rewrite this to $content = SQL_FETCHARRAY()
 ./inc/modules/admin/admin-inc.php:508:         // @TODO Rewrite these both constants
 ./inc/modules/admin/admin-inc.php:534:         // @TODO Try to rewrite this to $content = SQL_FETCHARRAY(). Please look some lines above for the dynamic query
-./inc/modules/admin/overview-inc.php:229:                              // @TODO Rewrite this to something with include files
-./inc/modules/admin/overview-inc.php:268:                                      // @TODO This may also be rewritten to include files
-./inc/modules/admin/overview-inc.php:271:                                      default: // @TODO Unknown support mode
-./inc/modules/admin/overview-inc.php:389:              // @TODO Rewrite this to one template and use $OUT = ...
-./inc/modules/admin/overview-inc.php:419:                      // @TODO Rewritings: admin->assigned_admin,uid->userid,type->task_type_msg in template
-./inc/modules/admin/overview-inc.php:431:                              // @TODO Rewrite this to $OUT .= ..., true, ...
-./inc/modules/admin/overview-inc.php:435:                              // @TODO Rewrite this to $OUT .= ..., true, ...
+./inc/modules/admin/overview-inc.php:226:                              // @TODO Rewrite this to something with include files
+./inc/modules/admin/overview-inc.php:265:                                      // @TODO This may also be rewritten to include files
+./inc/modules/admin/overview-inc.php:268:                                      default: // @TODO Unknown support mode
+./inc/modules/admin/overview-inc.php:414:                      // @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:94:                            // @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:54:            // @TODO Rewrite this constant
-./inc/modules/admin/what-admin_add.php:119:                            // @TODO This can be somehow rewritten to a function
+./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?
@@ -92,6 +89,7 @@
 ./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-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:180:                 // @TODO Rewritings: name->descr,status->is_active in template
+./inc/modules/admin/what-list_country.php:181:                 // @TODO Rewritings: name->descr,status->is_active in template
 ./inc/modules/admin/what-list_holiday.php:82:  // @TODO Rewrite this constant
 ./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_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:115:                             // @TODO Rewritings: uid->userid
+./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-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-repair_amenu.php:85:// @TODO This causes the whole (!) menu cache being rebuilded
+./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-sub_points.php:105:                   // @TODO Rewrite these constants
 ./inc/modules/admin/what-sub_points.php:53:    // @TODO Rewrite this constant
 ./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:201:     // @TODO Rewrite this to a single filter
+./inc/modules/guest/what-register.php:270:     // @TODO Rewrite this to a filter
 ./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-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-order.php:505:                                       // @TODO Rewrite this old lost code to a template
+./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-payout.php:131:                              // @TODO Rewritings: acc->target_account,bank->target_bank in templates
 ./inc/modules/member/what-payout.php:147:                      // @TODO Rewrite this constant
 ./inc/modules/member/what-payout.php:181:              // @TODO Rewrite these constants
 ./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-unconfirmed.php:134: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY()
-./inc/mysql-manager.php:1516:                  // @TODO Try to rewrite this to $content = SQL_FETCHARRAY()
-./inc/mysql-manager.php:1725:                          // @TODO Find a way for updating $_CONFIG here
+./inc/mysql-manager.php:1528:                  // @TODO Try to rewrite this to $content = SQL_FETCHARRAY()
+./inc/mysql-manager.php:1571:          // @TODO Rewrite this to a filter
 ./inc/mysql-manager.php:173:                   // @TODO Nothing helped???
-./inc/mysql-manager.php:1749:          // @TODO Find a way for updating $_CONFIG here
-./inc/mysql-manager.php:1833:                  // @TODO Rewrite this to $content = SQL_FETCHARRAY()
-./inc/mysql-manager.php:2127:          // @TODO This can be somehow rewritten
+./inc/mysql-manager.php:1745:                          // @TODO Find a way for updating $_CONFIG here
+./inc/mysql-manager.php:1769:          // @TODO Find a way for updating $_CONFIG here
+./inc/mysql-manager.php:1853:                  // @TODO Rewrite this to $content = SQL_FETCHARRAY()
+./inc/mysql-manager.php:2147:          // @TODO This can be somehow rewritten
 ./inc/mysql-manager.php:617:   // @TODO Why is this global??? #100
-./inc/mysql-manager.php:945:                   // @TODO Why does this lead into an endless loop but we still need it???
-./inc/mysql-manager.php:946:                   // @TODO Commented out LOAD_URL("admin.php");
-./mailid_top.php:211:                                                                  // @TODO Rewrite these blocks to filter
+./inc/mysql-manager.php:946:                   // @TODO Why does this lead into an endless loop but we still need it???
+./inc/mysql-manager.php:947:                   // @TODO Commented out LOAD_URL('admin.php');
+./mailid_top.php:208:                                                                  // @TODO Rewrite these blocks to filter
 ./surfbar.php:65:              // @TODO Display quick login form here or redirect as configured
+### ### DEPRECATION FOLLOWS: ### ###
+./inc/functions.php:2338:              // @DEPRECATED Language array element found in BIG_LETTERS
+./inc/functions.php:2341:              // @DEPRECATED Deprecated constant found
+./inc/functions.php:234:       // @DEPRECATED Try to rewrite the if() condition
+./inc/functions.php:248:                       // @DEPRECATED