X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=DOCS%2FTODOs.txt;h=fee71c90185e21cdb8c1e56ac532d602c091507d;hp=139bc1b7e24d1cf16f5d1dcaa7aaeb3842823b6c;hb=cdff13ff575ad779a9a55437f48e7336307c8e35;hpb=8268379f7f0f38f5cd605714ecd5cbfacff0e282 diff --git a/DOCS/TODOs.txt b/DOCS/TODOs.txt index 139bc1b7e2..fee71c9018 100644 --- a/DOCS/TODOs.txt +++ b/DOCS/TODOs.txt @@ -9,35 +9,34 @@ ./inc/extensions/ext-html_mail.php:140: // @TODO Move these arrays into config ./inc/extensions/ext-newsletter.php:215: // @TODO Move these into configuration ./inc/extensions/ext-rallye.php:329: // @TODO Move this code into rallye_functions.php -./inc/extensions/ext-sql_patches.php:725: // @TODO Rewrite this to a filter! +./inc/extensions/ext-sql_patches.php:725: // @TODO Rewrite this to a filter ./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:370:// @TODO Change from ext_id to ext_name (not just even the variable! ;-) ) ./inc/extensions-functions.php:481: // @TODO Extension is loaded, what next? ./inc/footer.php:47: // @TODO Rewrite these all into filters -./inc/functions.php:1334: // @TODO Remove this if() block if all is working fine -./inc/functions.php:221: // @TODO Remove this sanity-check if all is fine -./inc/functions.php:224: // @TODO Try to rewrite all $DATA to $content -./inc/functions.php:2331:// @TODO Try to move this to inc/libs/theme_functions.php -./inc/functions.php:2370: // @TODO The status should never be empty -./inc/functions.php:2502:// @TODO Please describe this function -./inc/functions.php:2520: searchDirsRecursive($next_dir, $last_changed); // @TODO small change to API to $last_changed = searchDirsRecursive($next_dir, $time); -./inc/functions.php:2605: // @TODO Add a little more infos here -./inc/functions.php:2616: // @TODO This cannot be rewritten to app_die(), try to find a solution for this. -./inc/functions.php:263: // @TODO Find all templates which are using these direct variables and rewrite them. -./inc/functions.php:264: // @TODO After this step is done, this else-block is history -./inc/functions.php:2698: // @TODO Rewrite this old lost code to a template -./inc/functions.php:2817: // @TODO Are these convertions still required? -./inc/functions.php:2835:// @TODO Rewrite this function to use readFromFile() and writeToFile() -./inc/functions.php:576: // @TODO Extension 'msg' does not exist -./inc/functions.php:653:// @TODO Rewrite this to an extension 'smtp' +./inc/functions.php:1339: // @TODO Remove this if() block if all is working fine +./inc/functions.php:222: // @TODO Remove this sanity-check if all is fine +./inc/functions.php:225: // @TODO Try to rewrite all $DATA to $content +./inc/functions.php:2336:// @TODO Try to move this to inc/libs/theme_functions.php +./inc/functions.php:2375: // @TODO The status should never be empty +./inc/functions.php:2507:// @TODO Please describe this function +./inc/functions.php:2525: searchDirsRecursive($next_dir, $last_changed); // @TODO small change to API to $last_changed = searchDirsRecursive($next_dir, $time); +./inc/functions.php:2610: // @TODO Add a little more infos here +./inc/functions.php:2621: // @TODO This cannot be rewritten to app_die(), try to find a solution for this. +./inc/functions.php:264: // @TODO Find all templates which are using these direct variables and rewrite them. +./inc/functions.php:265: // @TODO After this step is done, this else-block is history +./inc/functions.php:2703: // @TODO Rewrite this old lost code to a template +./inc/functions.php:2822: // @TODO Are these convertions still required? +./inc/functions.php:2840:// @TODO Rewrite this function to use readFromFile() and writeToFile() +./inc/functions.php:581: // @TODO Extension 'msg' does not exist +./inc/functions.php:658:// @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:1139:// @TODO Rewrite these two constants -./inc/language/de.php:1155:// @TODO Rewrite these five constants -./inc/language/de.php:733:// @TODO The template 'admin_extensions_installed' is using this. But the template is no longer used. -./inc/language/de.php:832:// @TODO Are these constants still used? -./inc/language/de.php:843:// @TODO Are these constants longer used? +./inc/language/de.php:1138:// @TODO Rewrite these two constants +./inc/language/de.php:1154:// @TODO Rewrite these five constants +./inc/language/de.php:734:// @TODO The template 'admin_extensions_installed' is using this. But the template is no longer used. +./inc/language/de.php:842:// @TODO Are these constants longer used? ./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:110:// @TODO Rewrite following two lines to one @@ -54,6 +53,7 @@ ./inc/libs/surfbar_functions.php:954: // @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/theme_functions.php:218:// @TODO Move this code block into a filter and register it with 'init' ./inc/libs/user_functions.php:137: // @TODO These two constants are no longer used, maybe we reactivate this code? ./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)); @@ -61,18 +61,18 @@ ./inc/libs/yoomedia_functions.php:64: $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:335: // @TODO Rewrite this to $content = SQL_FETCHARRAY() -./inc/modules/admin/admin-inc.php:340: // @TODO ACL is 'allow'... hmmm -./inc/modules/admin/admin-inc.php:392: // @TODO Rewrite this to $content = SQL_FETCHARRAY() -./inc/modules/admin/admin-inc.php:398: // @TODO ACL is 'allow'... hmmm -./inc/modules/admin/admin-inc.php:500:// @TODO Try to rewrite this to adminAddMenuSelectionBox() -./inc/modules/admin/admin-inc.php:513: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY(). Please look some lines above for the dynamic query +./inc/modules/admin/admin-inc.php:339: // @TODO Rewrite this to $content = SQL_FETCHARRAY() +./inc/modules/admin/admin-inc.php:344: // @TODO ACL is 'allow'... hmmm +./inc/modules/admin/admin-inc.php:396: // @TODO Rewrite this to $content = SQL_FETCHARRAY() +./inc/modules/admin/admin-inc.php:402: // @TODO ACL is 'allow'... hmmm +./inc/modules/admin/admin-inc.php:504:// @TODO Try to rewrite this to adminAddMenuSelectionBox() +./inc/modules/admin/admin-inc.php:517: // @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:170: // @TODO Can this SQL be encapsulated in a function, so all similar queries can be rewritten? ./inc/modules/admin/overview-inc.php:275: // @TODO Rewrite this to something with include files ./inc/modules/admin/overview-inc.php:313: // @TODO This may also be rewritten to include files ./inc/modules/admin/overview-inc.php:315: default: // @TODO Unknown support mode -./inc/modules/admin/overview-inc.php:430: // @TODO Try to move this in includes +./inc/modules/admin/overview-inc.php:434: // @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.php:94: // @TODO Why is this set to 'done'? ./inc/modules/admin/what-add_guestnl_cat.php:48: // @TODO Check if category does already exist @@ -137,15 +137,16 @@ ./inc/modules/admin/what-usage.php:87: // @TODO This code is double, see LOAD_TEMPLATE and loadEmailTemplate in functions.php ./inc/modules/admin/what-usage.php:98: // @TODO Disabled due to too much trouble ./inc/modules/admin/what-usr_online.php:50: // @TODO Add a filter for sponsor +./inc/modules/chk_login.php:52: // @TODO Rewrite this into a filter ./inc/modules/guest/what-beg.php:59:// @TODO No more needed? define('__BEG_UID_TIMEOUT', createFancyTime(getConfig('beg_userid_timeout'))); ./inc/modules/guest/what-confirm.php:102: // @TODO Try to rewrite the following unset() ./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'] = "".$login.""; -./inc/modules/guest/what-register.php:196: // @TODO Rewrite these all to a single filter -./inc/modules/guest/what-register.php:274: // @TODO Rewrite this to a filter -./inc/modules/guest/what-register.php:290: // @TODO Rewrite this to addPointsDirectly() +./inc/modules/guest/what-register.php:198: // @TODO Rewrite these all to a single filter +./inc/modules/guest/what-register.php:276: // @TODO Rewrite this to a filter +./inc/modules/guest/what-register.php:292: // @TODO Rewrite this to addPointsDirectly() ./inc/modules/guest/what-sponsor_infos.php:69: // @TODO Rewritings: conv->conv_rate,name->conv_name in template ./inc/modules/guest/what-sponsor_infos.php:89: // @TODO Rewritings: name->pay_name,min->pay_min_count,min->pay_min_count,curr->pay_currency ./inc/modules/guest/what-sponsor_reg.php:286: // @TODO Swap this HTML code to templates @@ -154,7 +155,7 @@ ./inc/modules/member/what-beg.php:89:// @TODO No more needed? define('__BEG_UID_TIMEOUT', createFancyTime(getConfig('beg_userid_timeout'))); ./inc/modules/member/what-bonus.php:56: // @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:441: // @TODO Rewrite this to a filter +./inc/modules/member/what-order.php:446: // @TODO Rewrite this to a filter ./inc/modules/member/what-payout.php:133: // @TODO Rewritings: acc->target_account,bank->target_bank in templates ./inc/modules/member/what-payout.php:229: // @TODO Rewrite this to a filter ./inc/modules/member/what-points.php:54:// @TODO Should we rewrite this to a filter? @@ -169,16 +170,14 @@ ./inc/modules/member/what-unconfirmed.php:132: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY() ./inc/modules/order.php:75: // @TODO Unused: 2,4 ./inc/monthly/monthly_bonus.php:70: // @TODO Rewrite this to a filter -./inc/mysql-manager.php:1000: // @TODO Commented out redirectToUrl('admin.php'); -./inc/mysql-manager.php:1600: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY() -./inc/mysql-manager.php:1808: // @TODO Rewrite this to $content = SQL_FETCHARRAY() -./inc/mysql-manager.php:2124: // @TODO This can be somehow rewritten +./inc/mysql-manager.php:1599: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY() +./inc/mysql-manager.php:1807: // @TODO Rewrite this to $content = SQL_FETCHARRAY() +./inc/mysql-manager.php:2123: // @TODO This can be somehow rewritten ./inc/mysql-manager.php:220: // @TODO Nothing helped??? ./inc/mysql-manager.php:255: // @TODO Rewrite this to a filter ./inc/mysql-manager.php:576: // @TODO Try to rewrite this to one or more functions ./inc/mysql-manager.php:605: // @TODO Try to rewrite this to one or more functions ./inc/mysql-manager.php:93:// @TODO Can we cache this? -./inc/mysql-manager.php:999: // @TODO Why does this lead into an endless loop but we still need it??? ./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 @@ -186,73 +185,17 @@ ./mailid.php:135: // @TODO Rewrite this to a filter ./mailid.php:216: // @TODO Rewrite this to a dynamic include or so ./mailid.php:94: // @TODO Rewrite this to a filter -./mailid_top.php:134: // @TODO Rewrite this to a filter -./mailid_top.php:181: // @TODO Rewrite this to a filter -./mailid_top.php:188: // @TODO Rewrite this to a filter -./mailid_top.php:224: // @TODO Rewrite these blocks to filter -./mailid_top.php:259: // @TODO Try to rewrite the following unset() -./mailid_top.php:87: // @TODO Rewrite this to a filter +./mailid_top.php:139: // @TODO Rewrite this to a filter +./mailid_top.php:187: // @TODO Rewrite this to a filter +./mailid_top.php:194: // @TODO Rewrite this to a filter +./mailid_top.php:230: // @TODO Rewrite these blocks to filter +./mailid_top.php:265: // @TODO Try to rewrite the following unset() +./mailid_top.php:92: // @TODO Rewrite this to a filter ./view.php:72: // @TODO No banner found, output some default banner ### ### DEPRECATION FOLLOWS: ### ### -./inc/autopurge.php:2:// @DEPRECATED -./inc/check-reset.php:2:// @DEPRECATED -./inc/doubler_send.php:2:// @DEPRECATED -./inc/extensions.php:2:// @DEPRECATED -./inc/fatal_errors.php:2:// @DEPRECATED -./inc/functions.php:248: // @DEPRECATED Try to rewrite the if() condition -./inc/functions.php:262: // @DEPRECATED -./inc/hooks.php:2:// @DEPRECATED -./inc/loader/load_cache-modreg.php:2:// @DEPRECATED -./inc/load_extensions.php:2:// @DEPRECATED -./inc/mails/birthday_mails.php:2:// @DEPRECATED -./inc/modules/admin/admin-inc.php:501:// @DEPRECATED -./inc/modules/admin/what-config_cache.php:2:// @DEPRECATED -./inc/modules/admin/what-list_newsletter.php:2:// @DEPRECATED -./inc/modules/welcome.php:2:// @DEPRECATED -./inc/patch-system.php:2:// @DEPRECATED -./inc/pool-update.php:2:// @DEPRECATED -./inc/profile-updte.php:2:// @DEPRECATED -./inc/rdf.class.php:2:// @DEPRECATED -./inc/security.php:2:// @DEPRECATED -./inc/sql_error.php:2:// @DEPRECATED -./inc/stats_bonus.php:2:// @DEPRECATED -./templates/de/emails/admin/admin_newsletter_request.tpl:1:@DEPRECATED -./templates/de/emails/member/member_newsletter_done.tpl:1:@DEPRECATED -./templates/de/emails/member/member_newsletter_request.tpl:1:@DEPRECATED -./templates/de/emails/member/member_newsletter_reset.tpl:1:@DEPRECATED -./templates/de/emails/sponsor_add_points.tpl:1: -./templates/de/emails/sponsor_confirm.tpl:1: -./templates/de/emails/sponsor_pending.tpl:1: -./templates/de/emails/sponsor_sub_points.tpl:1: -./templates/de/emails/sponsor_unlocked.tpl:1: -./templates/de/html/admin/admin_add_reflvl.tpl:1: -./templates/de/html/admin/admin_config_cache.tpl:1: -./templates/de/html/admin/admin_config_home_settings_pro.tpl:1: -./templates/de/html/admin/admin_config_reg_pro.tpl:1: -./templates/de/html/admin/admin_extensions_list.tpl:1: -./templates/de/html/admin/admin_list_extensions_row.tpl:1: -./templates/de/html/admin/admin_list_extensions.tpl:1: -./templates/de/html/admin/admin_mods_list_row.tpl:1: -./templates/de/html/admin/admin_mods_list.tpl:1: -./templates/de/html/admin/admin_newsletter_tsk.tpl:1: -./templates/de/html/admin/admin_online_footer.tpl:1: -./templates/de/html/admin/admin_online_header.tpl:1: -./templates/de/html/admin/admin_online_list.tpl:1: -./templates/de/html/admin/admin_online_row.tpl:1: -./templates/de/html/admin/admin_patches_row.tpl:1: -./templates/de/html/admin/admin_patches.tpl:1: -./templates/de/html/admin/admin_theme_list.tpl:1: -./templates/de/html/fatal_footer.tpl:1: -./templates/de/html/fatal_header.tpl:1: -./templates/de/html/guest/guest_confirm_table.tpl:1: -./templates/de/html/install/install_footer.tpl:1: -./templates/de/html/install/install_header.tpl:1: -./templates/de/html/login_failtures.tpl:1: -./templates/de/html/mailid/mailid_points_lcoked2.tpl:1: -./templates/de/html/member/member_newsletter_note.tpl:1: -./templates/de/html/member/member_primera.tpl:1: -./templates/de/html/member/member_wernis_row.tpl:1: -./templates/de/html/member/member_wernis.tpl:1: +./inc/functions.php:249: // @DEPRECATED Try to rewrite the if() condition +./inc/functions.php:263: // @DEPRECATED +./inc/modules/admin/admin-inc.php:505:// @DEPRECATED ### ### template-warnings.log follows: ### ### 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