X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=DOCS%2FTODOs.txt;h=964a51b992844131fc7bfbf847631b189097155e;hb=e6f85f12e59fae9b013aa68edc27bbc2b69460f8;hp=4b7778c9c89a821da79d08d498e8bd194e3f2937;hpb=785a529a1fdffeba4057a646f977d5d81fced371;p=mailer.git diff --git a/DOCS/TODOs.txt b/DOCS/TODOs.txt index 4b7778c9c8..964a51b992 100644 --- a/DOCS/TODOs.txt +++ b/DOCS/TODOs.txt @@ -2,7 +2,7 @@ ### DO NOT EDIT THIS FILE. ### ./beg.php:172: // @TODO Opps, what is missing here??? ./birthday_confirm.php:93: // @TODO Try to rewrite the following unset() -./inc/cache/config-local.php:122:// @TODO Rewrite the following three constants, somehow... +./inc/cache/config-local.php:125:// @TODO Rewrite the following three constants, somehow... ./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 @@ -10,32 +10,35 @@ ./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:741: // @TODO Rewrite this to a filter +./inc/extensions/ext-sql_patches.php:762: // @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: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/functions.php:1010:// @TODO $simple is deprecated -./inc/functions.php:1045: // @TODO Do only use $content and deprecate $GLOBALS and $DATA in templates -./inc/functions.php:2345:// @TODO Try to move this to inc/libs/theme_functions.php +./inc/filters.php:465: // @TODO This whole if-block is very static +./inc/functions.php:1034: // @TODO Do only use $content and deprecate $GLOBALS and $DATA in templates ./inc/functions.php:241: // @TODO Remove this sanity-check if all is fine +./inc/functions.php:2432:// @TODO Please describe this function ./inc/functions.php:244: // @TODO Try to rewrite all $DATA to $content -./inc/functions.php:2516:// @TODO Please describe this function -./inc/functions.php:2534: searchDirsRecursive($next_dir, $last_changed); // @TODO small change to API to $last_changed = searchDirsRecursive($next_dir, $time); -./inc/functions.php:2630: // @TODO Add a little more infos here -./inc/functions.php:2641: // @TODO This cannot be rewritten to app_die(), try to find a solution for this. -./inc/functions.php:2724: // @TODO Rewrite this old lost code to a template -./inc/functions.php:2813: // @TODO Are these convertions still required? -./inc/functions.php:2831:// @TODO Rewrite this function to use readFromFile() and writeToFile() -./inc/functions.php:467: // @TODO Do only use $contentn, not $DATA or raw variables -./inc/functions.php:537: // @TODO Extension 'msg' does not exist -./inc/functions.php:606:// @TODO Rewrite this to an extension 'smtp' +./inc/functions.php:2450: searchDirsRecursive($next_dir, $last_changed); // @TODO small change to API to $last_changed = searchDirsRecursive($next_dir, $time); +./inc/functions.php:2564: // @TODO Add a little more infos here +./inc/functions.php:2587: // @TODO This cannot be rewritten to app_die(), try to find a solution for this. +./inc/functions.php:2667: // @TODO Rewrite this old lost code to a template +./inc/functions.php:2756: // @TODO Are these convertions still required? +./inc/functions.php:2774:// @TODO Rewrite this function to use readFromFile() and writeToFile() +./inc/functions.php:3652:// @TODO Lame description for this function +./inc/functions.php:3674: // @TODO Move this in a filter +./inc/functions.php:3792: // @TODO This is still very static, rewrite it somehow +./inc/functions.php:456: // @TODO Do only use $content, not $DATA or raw variables +./inc/functions.php:526: // @TODO Extension 'msg' does not exist +./inc/functions.php:595:// @TODO Rewrite this to an extension 'smtp' +./inc/functions.php:999:// @TODO $simple is deprecated ./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:1142:// @TODO Rewrite these two constants -./inc/language/de.php:1158:// @TODO Rewrite these five constants -./inc/language/de.php:737:// @TODO The template 'admin_extensions_installed' is using this. But the template is no longer used. -./inc/language/de.php:845:// @TODO Are these constants longer used? +./inc/language/de.php:1146:// @TODO Rewrite these two constants +./inc/language/de.php:1162:// @TODO Rewrite these five constants +./inc/language/de.php:847:// @TODO Are these constants longer used? +./inc/language-functions.php:228: // @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 @@ -45,51 +48,49 @@ ./inc/libs/admins_functions.php:418: // @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/doubler_functions.php:45:// @TODO Lame description ./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:1497: // @TODO This can be somehow rewritten -./inc/libs/surfbar_functions.php:950: // @TODO Invalid salt should be refused +./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/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:313: // @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:409: // @TODO We should try to rewrite this to fetchUserData() somehow +./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/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:351: // @TODO Rewrite this to $content = SQL_FETCHARRAY() -./inc/modules/admin/admin-inc.php:356: // @TODO ACL is 'allow'... hmmm -./inc/modules/admin/admin-inc.php:422: // @TODO Rewrite this to $content = SQL_FETCHARRAY() -./inc/modules/admin/admin-inc.php:428: // @TODO ACL is 'allow'... hmmm -./inc/modules/admin/admin-inc.php:530:// @TODO Try to rewrite this to adminAddMenuSelectionBox() -./inc/modules/admin/admin-inc.php:543: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY(). Please look some lines above for the dynamic query +./inc/modules/admin/admin-inc.php:352: // @TODO Rewrite this to $content = SQL_FETCHARRAY() +./inc/modules/admin/admin-inc.php:357: // @TODO ACL is 'allow'... hmmm +./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 +./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:433: // @TODO Try to move this in includes +./inc/modules/admin/overview-inc.php:435: // @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 ./inc/modules/admin/what-add_surfbar_url.php:56: // @TODO Find all convertSelectionsToTimestamp() calls and rewrite postRequestElement() 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 ./inc/modules/admin/what-adminedit.php:57: // @TODO Kill all constants in this file -./inc/modules/admin/what-admins_mails.php:59: // @TODO Can this be rewritten??? +./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-chk_regs.php:65: // @TODO Rewritings: surname->surname,family->family,ip->REMOTE_ADDR,ref->refid,hash->user_hash in template ./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_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-edit_user.php:20: * @TODO Add support for ext-country * -./inc/modules/admin/what-email_archiv.php:91: // @TODO Rewrite to SQL_FETCHARRAY() ./inc/modules/admin/what-email_stats.php:47:// @TODO Unused at the moment ./inc/modules/admin/what-extensions.php:344: // @TODO Rewrite this to a filter ./inc/modules/admin/what-guest_add.php:136: // @TODO This can be somehow rewritten to a function @@ -98,7 +99,7 @@ ./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' , "remote_addr, created->sponsor_created in template ./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/guest/what-beg.php:59:// @TODO No more needed? define('__BEG_UID_TIMEOUT', createFancyTime(getConfig('beg_userid_timeout'))); ./inc/modules/guest/what-confirm.php:112: // @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:193: // @TODO Rewrite these all to a single filter -./inc/modules/guest/what-register.php:271: // @TODO Rewrite this to a filter -./inc/modules/guest/what-register.php:287: // @TODO Rewrite this to addPointsDirectly() +./inc/modules/guest/what-rallyes.php:90: // @TODO Reactivate this: $content['admin'] = "" . $login . ""; +./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/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 @@ -145,13 +145,12 @@ ./inc/modules/guest/what-stats.php:75:// @TODO This can be rewritten in a dynamic include ./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:129: // @TODO Rewrite this to use $OUT .= ... +./inc/modules/member/what-categories.php:128: // @TODO Rewrite this to use $OUT .= ... ./inc/modules/member/what-order.php:443: // @TODO Rewrite this to a filter -./inc/modules/member/what-payout.php:143: // @TODO Rewritings: acc->target_account,bank->target_bank in templates -./inc/modules/member/what-payout.php:241: // @TODO Rewrite this to a filter +./inc/modules/member/what-payout.php:240: // @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:89: // @TODO Reactivate this: $content['admin'] = "".$content['login'].""; -./inc/modules/member/what-reflinks.php:59:// @TODO Move this into a filter +./inc/modules/member/what-rallyes.php:90: // @TODO Reactivate this: $content['admin'] = "" . $content['login'] . ""; +./inc/modules/member/what-reflinks.php:60:// @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:141: // @TODO Rewrite this to a filter ./inc/modules/member/what-transfer.php:231: // @TODO Try to rewrite his to $content = SQL_FETCHARRAY(), see some lines above for two different queries @@ -161,19 +160,19 @@ ./inc/modules/member/what-unconfirmed.php:144: // @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:1665: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY() -./inc/mysql-manager.php:1886: // @TODO Rewrite this to $content = SQL_FETCHARRAY() -./inc/mysql-manager.php:2206: // @TODO This can be somehow rewritten -./inc/mysql-manager.php:220: // @TODO Nothing helped??? -./inc/mysql-manager.php:2229:// @TODO Fix inconsistency between last_module and getWhat() -./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:901:// @TODO Lame description for this function +./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: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:92: // @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:387:// @TODO Do some more sanity check here +./inc/wrapper-functions.php:393:// @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 @@ -184,9 +183,27 @@ ./mailid_top.php:260: // @TODO Try to rewrite the following unset() ./mailid_top.php:99: // @TODO Rewrite this to a filter ./view.php:72: // @TODO No banner found, output some default banner +./templates/de/html/admin/admin_add_country.tpl:23: +./templates/de/html/admin/admin_admins_contct_form.tpl:3: +./templates/de/html/admin/admin_amenu_edit.tpl:4: +./templates/de/html/admin/admin_config_other.tpl:66: +./templates/de/html/admin/admin_list_autopurge.tpl:2: +./templates/de/html/admin/admin_list_beg.tpl:2: +./templates/de/html/admin/admin_list_bonus.tpl:2: +./templates/de/html/admin/admin_list_mods.tpl:4: +./templates/de/html/admin/admin_list_unconfirmed_list.tpl:3: +./templates/de/html/admin/admin_list_wernis_main.tpl:2: +./templates/de/html/admin/admin_login_form.tpl:35: @TODO Doesn't work with sessions +./templates/de/html/admin/admin_login_form.tpl:38: +./templates/de/html/admin/admin_mods_edit.tpl:3: +./templates/de/html/admin/admin_optimize.tpl:3: +./templates/de/html/guest/guest_login.tpl:21: @TODO Deactivated feature, try to implement it or remove it. +./templates/de/html/guest/guest_nickname_login.tpl:21: @TODO Deactivated feature, try to find a solution for this or remove it. +./templates/de/html/guest/guest_stats_member.tpl:23: @TODO We have to fix these counters. +./templates/de/html/surfbar/surfbar_frame_textlinks.tpl:5: +./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:531:// @DEPRECATED -./inc/modules/admin/what-del_task.php:2:// @DEPRECATED +./inc/modules/admin/admin-inc.php:532:// @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 @@ -217,6 +234,7 @@ 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