TODOs.txt updated, notice in README.txt updated which GNU GPL version (2) we are...
[mailer.git] / DOCS / TODOs.txt
index e477d96ca62dac61a3017c64d0c1ebbb98614a7d..cde90a5b31cc3ddec5c720b6c87d4c6e3c739c86 100644 (file)
@@ -6,7 +6,13 @@
 ./inc/classes/cachesystem.class.php:464:       // @TODO Add support for more types which break in last else-block
 ./inc/config-functions.php:143:        // @TODO Make this all better... :-/
 ./inc/extensions/ext-html_mail.php:137:                // @TODO Move these arrays into config
-./inc/extensions/ext-network.php:71:           // @TODO network_type_handle is an internal name and needs documentation
+./inc/extensions/ext-network.php:20: * @TODO Ad-Magnet: Layer(klick?). Layerviews.Skybannerklick/-view,     *
+./inc/extensions/ext-network.php:21: * @TODO Ad-Magnet: Banner-View, Textlink-Klick/-View. Page-Peel        *
+./inc/extensions/ext-network.php:22: * @TODO ADCocktail: Traffic, BIDausKAS???                              *
+./inc/extensions/ext-network.php:23: * @TODO Ads4.de: Traffic                                               *
+./inc/extensions/ext-network.php:24: * @TODO Ads4Webbis: Traffic                                            *
+./inc/extensions/ext-network.php:25: * @TODO Ads4World: Traffic                                             *
+./inc/extensions/ext-network.php:78:           // @TODO network_type_handle is an internal name and needs documentation
 ./inc/extensions/ext-newsletter.php:215:               // @TODO Move these into configuration
 ./inc/extensions/ext-rallye.php:330:           // @TODO Move this code into rallye_functions.php
 ./inc/extensions/ext-rallye.php:93:            // @TODO Fix config_rallye_prices to list_rallye_prices
 ./inc/extensions/ext-sql_patches.php:94:               /* @TODO SQL_ALTER_TABLE() should work now properly
 ./inc/extensions/ext-yoomedia.php:122:         // @TODO Can this be moved into a database table?
 ./inc/extensions/ext-yoomedia.php:55:// @TODO Only deprecated when 'network' is ready! setExtensionDeprecated('Y');
-./inc/extensions-functions.php:376:// @TODO Change from ext_id to ext_name (not just even the variable! ;-) )
-./inc/extensions-functions.php:489:            // @TODO Extension is loaded, what next?
-./inc/filters.php:473:                 // @TODO This whole switch-block is very static
-./inc/filters.php:538:                         case 'config': // @TODO FILTER_COMPILE_CONFIG does not handle call-back functions so we handle it here again
-./inc/functions.php:1002:// @TODO $simple is deprecated
-./inc/functions.php:1037:      // @TODO Do only use $content and deprecate $GLOBALS and $DATA in templates
-./inc/functions.php:2435:// @TODO Please describe this function
-./inc/functions.php:2453:      searchDirsRecursive($next_dir, $last_changed); // @TODO small change to API to $last_changed = searchDirsRecursive($next_dir, $time);
-./inc/functions.php:253:       // @TODO Remove this sanity-check if all is fine
-./inc/functions.php:2567:              // @TODO Add a little more infos here
-./inc/functions.php:256:       // @TODO Try to rewrite all $DATA to $content
-./inc/functions.php:2668:                      // @TODO Rewrite this old lost code to a template
-./inc/functions.php:2757:                      // @TODO Are these convertions still required?
-./inc/functions.php:2775:// @TODO Rewrite this function to use readFromFile() and writeToFile()
-./inc/functions.php:3653:// @TODO Lame description for this function
-./inc/functions.php:3675:                      // @TODO Move this in a filter
-./inc/functions.php:3793:      // @TODO This is still very static, rewrite it somehow
-./inc/functions.php:468:       // @TODO Do only use $content, not $DATA or raw variables
-./inc/functions.php:538:               // @TODO Extension 'msg' does not exist
-./inc/functions.php:607:// @TODO Rewrite this to an extension 'smtp'
-./inc/install-functions.php:62:        // @TODO DEACTIVATED: changeDataInFile(getConfig('CACHE_PATH') . 'config-local.php', 'OUTPUT-MODE', "setConfigEntry('OUTPUT_MODE', '", "');", postRequestElement('omode'), 0);
-./inc/language/de.php:1150:// @TODO Rewrite these two constants
-./inc/language/de.php:1166:// @TODO Rewrite these five constants
-./inc/language/de.php:848:// @TODO Are these constants longer used?
-./inc/language-functions.php:228:      // @TODO These are all valid languages, again hard-coded
+./inc/extensions-functions.php:379:// @TODO Change from ext_id to ext_name (not just even the variable! ;-) )
+./inc/extensions-functions.php:492:            // @TODO Extension is loaded, what next?
+./inc/filters.php:472:                 // @TODO This whole switch-block is very static
+./inc/filters.php:543:                         case 'config': // @TODO FILTER_COMPILE_CONFIG does not handle call-back functions so we handle it here again
+./inc/functions.php:1004:// @TODO $simple is deprecated
+./inc/functions.php:1039:      // @TODO Do only use $content and deprecate $GLOBALS and $DATA in templates
+./inc/functions.php:2501:// @TODO Please describe this function
+./inc/functions.php:2519:      searchDirsRecursive($next_dir, $last_changed); // @TODO small change to API to $last_changed = searchDirsRecursive($next_dir, $time);
+./inc/functions.php:252:       // @TODO Remove this sanity-check if all is fine
+./inc/functions.php:255:       // @TODO Try to rewrite all $DATA to $content
+./inc/functions.php:2633:              // @TODO Add a little more infos here
+./inc/functions.php:2715:                      // @TODO Move this SQL code into a function, let's say 'getTimestampFromPoolId($id) ?
+./inc/functions.php:2738:                      // @TODO Rewrite this old lost code to a template
+./inc/functions.php:2827:                      // @TODO Are these convertions still required?
+./inc/functions.php:2845:// @TODO Rewrite this function to use readFromFile() and writeToFile()
+./inc/functions.php:3724:// @TODO Lame description for this function
+./inc/functions.php:3746:                      // @TODO Move this in a filter
+./inc/functions.php:3864:      // @TODO This is still very static, rewrite it somehow
+./inc/functions.php:470:       // @TODO Do only use $content, not $DATA or raw variables
+./inc/functions.php:540:               // @TODO Extension 'msg' does not exist
+./inc/functions.php:609:// @TODO Rewrite this to an extension 'smtp'
+./inc/install-functions.php:62:        // @TODO DEACTIVATED: changeDataInFile(getConfig('CACHE_PATH') . 'config-local.php', 'OUTPUT-MODE', "setConfigEntry('OUTPUT_MODE', '", "');", postRequestParameter('omode'), 0);
+./inc/language/de.php:1157:// @TODO Rewrite these two constants
+./inc/language/de.php:1173:// @TODO Rewrite these five constants
+./inc/language/de.php:851:// @TODO Are these constants longer used?
+./inc/language-functions.php:233:      // @TODO These are all valid languages, again hard-coded
 ./inc/language-functions.php:45:// @TODO Rewrite all language constants to this function.
 ./inc/language/holiday_de.php:49:// @TODO Rewrite these two constants to one
 ./inc/language/rallye_de.php:113:// @TODO Rewrite following two lines to one
 ./inc/language/rallye_de.php:13: * @TODO Naming convention not applied for language strings             *
 ./inc/language/refback_de.php:45:// @TODO Rewrite these constants to one
 ./inc/language/sponsor_de.php:118:// @TODO Rewrite these four constants to one and use sprintf()
-./inc/libs/admins_functions.php:418:           // @TODO This can be, somehow, rewritten
+./inc/libs/admins_functions.php:426:           // @TODO This can be, somehow, rewritten
 ./inc/libs/beg_functions.php:57:               // @TODO Try to rewrite the following unset()
 ./inc/libs/bonus_functions.php:215:                    // @TODO Try to find a way for rewriting this constant
 ./inc/libs/bonus_functions.php:303:            // @TODO This query isn't right, it will only update if the user was for a longer time away!
 ./inc/libs/rallye_functions.php:718:   $EXPIRE = 3; // @TODO The hard-coded value...
 ./inc/libs/rallye_functions.php:782:           // @TODO Rewrite this to our API function
 ./inc/libs/refback_functions.php:60:           // @TODO Try to rewrite the following unset()
-./inc/libs/surfbar_functions.php:1491:         // @TODO This can be somehow rewritten
-./inc/libs/surfbar_functions.php:944:  // @TODO Invalid salt should be refused
+./inc/libs/surfbar_functions.php:1496:         // @TODO This can be somehow rewritten
+./inc/libs/surfbar_functions.php:949:  // @TODO Invalid salt should be refused
 ./inc/libs/task_functions.php:244:             // @TODO These can be rewritten to filter
 ./inc/libs/task_functions.php:52:// @TODO Move all extension-dependent queries into filters
 ./inc/libs/user_functions.php:137:     // @TODO These two constants are no longer used, maybe we reactivate this code?
 ./inc/libs/user_functions.php:224:// @TODO Double-check configuration entry here
 ./inc/libs/user_functions.php:319:                     // @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:415:     // @TODO We should try to rewrite this to fetchUserData() somehow
-./inc/libs/yoomedia_functions.php:64:  $response = YOOMEDIA_QUERY_API('out_textmail.php', true); // @TODO Ask Yoo!Media for test script
+./inc/libs/user_functions.php:343:                     // @TODO Make this filter working: $URL = runFilterChain('do_login', array('content' => $content, 'addon' => $ADDON));
+./inc/libs/user_functions.php:416:     // @TODO We should try to rewrite this to fetchUserData() somehow
+./inc/libs/yoomedia_functions.php:115: $response = YOOMEDIA_QUERY_API('out_textmail.php', true); // @TODO Ask Yoo!Media for test script
 ./inc/load_config.php:76:      // @TODO Rewrite them to avoid this else block
 ./inc/loader/load_cache-extension.php:13: * @TODO Rewrite this whole file to load_cache-extensions.php           *
 ./inc/modules/admin/admin-inc.php:352:         // @TODO Rewrite this to $content = SQL_FETCHARRAY()
 ./inc/modules/admin/admin-inc.php:423:                                 // @TODO Rewrite this to $content = SQL_FETCHARRAY()
 ./inc/modules/admin/admin-inc.php:429:                                                 // @TODO ACL is 'allow'... hmmm
 ./inc/modules/admin/admin-inc.php:531:// @TODO Try to rewrite this to adminAddMenuSelectionBox()
-./inc/modules/admin/admin-inc.php:544:         // @TODO Try to rewrite this to $content = SQL_FETCHARRAY(). Please look some lines above for the dynamic query
-./inc/modules/admin/overview-inc.php:160:                              // @TODO Rewrite this to a filter
-./inc/modules/admin/overview-inc.php:274:                              // @TODO Rewrite this to something with include files and/or filter
-./inc/modules/admin/overview-inc.php:312:                                              // @TODO This may also be rewritten to include files
-./inc/modules/admin/overview-inc.php:314:                                                      default: // @TODO Unknown support mode
-./inc/modules/admin/overview-inc.php:435:                      // @TODO Try to move this in includes
+./inc/modules/admin/admin-inc.php:545:         // @TODO Try to rewrite this to $content = SQL_FETCHARRAY(). Please look some lines above for the dynamic query
+./inc/modules/admin/overview-inc.php:163:                              // @TODO Rewrite this to a filter
+./inc/modules/admin/overview-inc.php:277:                              // @TODO Rewrite this to something with include files and/or filter
+./inc/modules/admin/overview-inc.php:315:                                              // @TODO This may also be rewritten to include files
+./inc/modules/admin/overview-inc.php:317:                                                      default: // @TODO Unknown support mode
+./inc/modules/admin/overview-inc.php:438:                      // @TODO Try to move this in includes
 ./inc/modules/admin/overview-inc.php:44:// @TODO This function does also check for uncompleted tasks
 ./inc/modules/admin/what-add_guestnl_cat.php:48:       // @TODO Check if category does already exist
-./inc/modules/admin/what-add_surfbar_url.php:56:       // @TODO Find all convertSelectionsToTimestamp() calls and rewrite postRequestElement() calls to $postData
+./inc/modules/admin/what-add_surfbar_url.php:56:       // @TODO Find all convertSelectionsToTimestamp() calls and rewrite postRequestParameter() calls to $postData
 ./inc/modules/admin/what-admin_add.php:119:                            // @TODO This can be somehow rewritten to a function
 ./inc/modules/admin/what-admin_add.php:60:             // @TODO Cant this be rewritten?
 ./inc/modules/admin/what-admin_add.php:76:             // @TODO This can be somehow rewritten to a function
@@ -86,7 +93,8 @@
 ./inc/modules/admin/what-admins_mails.php:60:                          // @TODO Can this be rewritten???
 ./inc/modules/admin/what-bonus.php:47:// @TODO Unused at the moment
 ./inc/modules/admin/what-config_admins.php:145:        // @TODO Rewrite this to filter 'run_sqls'
-./inc/modules/admin/what-config_mods.php:135:          // @TODO Rewritings: mod->module in template
+./inc/modules/admin/what-config_mods.php:140:          // @TODO Rewritings: mod->module in template
+./inc/modules/admin/what-config_mods.php:56:                   // @TODO This can be moved into mysql-function.php, see checkModulePermissions() function
 ./inc/modules/admin/what-config_rallye_prices.php:208:                         // @TODO Rewritings: level->price_level, infos->info in template
 ./inc/modules/admin/what-config_rallye_prices.php:225:                 // @TODO Rewrite these two constants
 ./inc/modules/admin/what-config_register.php:67:       // @TODO Move this HTML code into a template
 ./inc/modules/admin/what-holiday_list.php:47:// @TODO Unused at the moment
 ./inc/modules/admin/what-list_autopurge.php:54:// @TODO Rewrite those lines to filter
 ./inc/modules/admin/what-list_autopurge.php:84:                // @TODO Rewritings: surname->surname,family->family in templates
-./inc/modules/admin/what-list_cats.php:55:             // @TODO No longer needed? define('__CATS_BASE'   , "<a href=\"{%url=modules.php?module=admin&amp;userid=");
+./inc/modules/admin/what-list_cats.php:55:             // @TODO No longer needed? define('__CATS_BASE'   , '<a href="{%url=modules.php?module=admin&amp;userid=');
 ./inc/modules/admin/what-list_links.php:56:            // @TODO Try to rewrite this to a filter
 ./inc/modules/admin/what-list_links.php:88:                            // @TODO Find a way to rewrite this. See some lines above for different queries
 ./inc/modules/admin/what-list_links.php:97:                                    // @TODO Rewrite this to includes/filter
 ./inc/modules/guest/what-login.php:107:        // @TODO Move this HTML code into a template
 ./inc/modules/guest/what-mediadata.php:182:// @TODO Rewrite all these if-blocks to filters
 ./inc/modules/guest/what-mediadata.php:69:     // @TODO Find a better formular than this one
-./inc/modules/guest/what-rallyes.php:90:       // @TODO Reactivate this: $content['admin'] = "<a href=\"{%url=modules.php?module=index&amp;what=impressum&amp;admin=" . $adminId . "%}\">" . $login . "</a>";
+./inc/modules/guest/what-rallyes.php:90:       // @TODO Reactivate this: $content['admin'] = '<a href="{%url=modules.php?module=index&amp;what=impressum&amp;admin=' . $adminId . '%}">' . $login . '</a>';
 ./inc/modules/guest/what-register.php:192:     // @TODO Rewrite these all to a single filter
 ./inc/modules/guest/what-register.php:270:     // @TODO Rewrite this to a filter
 ./inc/modules/guest/what-register.php:286:             // @TODO Rewrite this to addPointsDirectly()
 ./inc/modules/member/what-bonus.php:56:        // @TODO Rewrite this to a filter
 ./inc/modules/member/what-categories.php:128:          // @TODO Rewrite this to use $OUT .= ...
 ./inc/modules/member/what-doubler.php:55:// @TODO The '*100' is in the way to get moved into the template
-./inc/modules/member/what-order.php:443:                       // @TODO Rewrite this to a filter
-./inc/modules/member/what-payout.php:240:                                      // @TODO Rewrite this to a filter
+./inc/modules/member/what-order.php:449:                       // @TODO Rewrite this to a filter
+./inc/modules/member/what-order.php:64:// @TODO Rewrite this to a filter
+./inc/modules/member/what-payout.php:220:                                      // @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-rallyes.php:90:      // @TODO Reactivate this: $content['admin'] = "<a href=\"{%url=modules.php?module=index&amp;what=impressum&amp;admin=" . $content['admin_id'] . "%}\">" . $content['login'] . "</a>";
+./inc/modules/member/what-rallyes.php:90:      // @TODO Reactivate this: $content['admin'] = '<a href="{%url=modules.php?module=index&amp;what=impressum&amp;admin=' . $content['admin_id'] . '%}">' . $content['login'] . '</a>';
 ./inc/modules/member/what-reflinks.php:53:// @TODO Move this into a filter
 ./inc/modules/member/what-stats.php:118:               // @TODO Rewrite in template: clix->clicks
 ./inc/modules/member/what-transfer.php:135:                            // @TODO Rewrite this to a filter
 ./inc/modules/member/what-unconfirmed.php:142: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY()
 ./inc/modules/order.php:75:            // @TODO Unused: 2,4
 ./inc/monthly/monthly_bonus.php:68:    // @TODO Rewrite this to a filter
-./inc/mysql-manager.php:1546:                  // @TODO Try to rewrite this to $content = SQL_FETCHARRAY()
-./inc/mysql-manager.php:1770:                  // @TODO Rewrite this to $content = SQL_FETCHARRAY()
-./inc/mysql-manager.php:2098:                  // @TODO Rewrite this to a filter
-./inc/mysql-manager.php:2128:// @TODO Fix inconsistency between last_module and getWhat()
-./inc/mysql-manager.php:224:                   // @TODO Nothing helped???
-./inc/mysql-manager.php:259:                   // @TODO Rewrite this to a filter
-./inc/mysql-manager.php:552:   // @TODO Try to rewrite this to one or more functions
+./inc/mysql-manager.php:1560:                  // @TODO Try to rewrite this to $content = SQL_FETCHARRAY()
+./inc/mysql-manager.php:1658:  // @TODO Rewrite this to a filter
+./inc/mysql-manager.php:2117:                  // @TODO Rewrite this to a filter
+./inc/mysql-manager.php:2158:// @TODO Fix inconsistency between last_module and getWhat()
+./inc/mysql-manager.php:228:                   // @TODO Nothing helped???
+./inc/mysql-manager.php:263:                   // @TODO Rewrite this to a filter
+./inc/mysql-manager.php:556:   // @TODO Try to rewrite this to one or more functions
 ./inc/mysql-manager.php:93:// @TODO Can we cache this?
 ./inc/reset/reset_beg.php:50:// @TODO This should be converted in a daily beg rallye
 ./inc/reset/reset_birthday.php:91:                     // @TODO 4 is hard-coded here, should we move it out in config?
 ./inc/wrapper-functions.php:127:// @TODO Implement $compress
 ./inc/wrapper-functions.php:134:// @TODO Implement $decompress
-./inc/wrapper-functions.php:401:// @TODO Do some more sanity check here
+./inc/wrapper-functions.php:409:// @TODO Do some more sanity check here
 ./mailid.php:134:                                      // @TODO Rewrite this to a filter
 ./mailid.php:214:      // @TODO Rewrite this to a dynamic include or so
 ./mailid.php:94:               // @TODO Rewrite this to a filter
 ./templates/de/html/admin/admin_list_unconfirmed_list.tpl:3:<!-- @TODO Shouldn't we add a title here? //-->
 ./templates/de/html/admin/admin_list_wernis_main.tpl:2:<!-- @TODO No title here? //-->
 ./templates/de/html/admin/admin_login_form.tpl:35:     @TODO Doesn't work with sessions
-./templates/de/html/admin/admin_login_form.tpl:38:             <!-- @TODO Try to move the select box to our generic functions //-->
+./templates/de/html/admin/admin_login_form.tpl:38:             @TODO Try to move the select box to our generic functions
 ./templates/de/html/admin/admin_mods_edit.tpl:3:       <!-- @TODO Shouldn't we add a title here? //-->
 ./templates/de/html/admin/admin_optimize.tpl:3:        <!-- @TODO Shouldn't we add a title here? //-->
 ./templates/de/html/guest/guest_login.tpl:21:  @TODO Deactivated feature, try to implement it or remove it.
 ./templates/de/html/surfbar/surfbar_frame_top.tpl:23:// @TODO Try to rewrite this JavaScript to js.php?js=surfbar_frame_top (wouldn't be easy)
 ### ### DEPRECATION FOLLOWS: ### ###
 ./inc/modules/admin/admin-inc.php:532:// @DEPRECATED
-./templates/de/html/member/member_mydata_locked.tpl:1:<!-- @DEPRECATED //-->
 ### ### template-warnings.log follows: ### ###
 Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : td in templates/de/html/menu/menu_what_end.tpl, line: 1 in 
 Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : tr in templates/de/html/menu/menu_what_end.tpl, line: 2 in 
 Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : table in templates/de/html/member/member_cats_footer.tpl, line: 7 in 
 Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : form in templates/de/html/member/member_cats_footer.tpl, line: 8 in 
+Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : div in templates/de/html/member/member_cats_footer.tpl, line: 9 in 
 Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : td in templates/de/html/member/member_content_right.tpl, line: 1 in 
 Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : tr in templates/de/html/member/member_content_right.tpl, line: 5 in 
 Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : div in templates/de/html/member/member_welcome_footer.tpl, line: 1 in 
@@ -234,7 +243,6 @@ Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : form in templates/de/
 Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : td in templates/de/html/admin/admin_main_footer.tpl, line: 1 in 
 Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : tr in templates/de/html/admin/admin_main_footer.tpl, line: 2 in 
 Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : table in templates/de/html/admin/admin_main_footer.tpl, line: 12 in 
-Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : tr in templates/de/html/admin/admin_login_form.tpl, line: 51 in 
 Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : table in templates/de/html/guest/guest_rallye_expired_footer.tpl, line: 6 in 
 Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : div in templates/de/html/guest/guest_rallye_expired_footer.tpl, line: 7 in 
 Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : table in templates/de/html/guest/guest_footer.tpl, line: 6 in