X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=DOCS%2FTODOs.txt;h=4b7778c9c89a821da79d08d498e8bd194e3f2937;hb=0e269568bd666186509e98594e83bac199ac26da;hp=fad06a682d8af3171b848b8d1e3aca72ede3d2d5;hpb=16de7d9e8b98108627db01688bc095240b5ba8d2;p=mailer.git diff --git a/DOCS/TODOs.txt b/DOCS/TODOs.txt index fad06a682d..4b7778c9c8 100644 --- a/DOCS/TODOs.txt +++ b/DOCS/TODOs.txt @@ -8,45 +8,49 @@ ./inc/extensions/ext-html_mail.php:137: // @TODO Move these arrays into config ./inc/extensions/ext-network.php:71: // @TODO network_type_name is an internal name and needs documentation ./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-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: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:1308: // @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:2328:// @TODO Try to move this to inc/libs/theme_functions.php -./inc/functions.php:2499:// @TODO Please describe this function -./inc/functions.php:2517: searchDirsRecursive($next_dir, $last_changed); // @TODO small change to API to $last_changed = searchDirsRecursive($next_dir, $time); -./inc/functions.php:2613: // @TODO Add a little more infos here -./inc/functions.php:2624: // @TODO This cannot be rewritten to app_die(), try to find a solution for this. -./inc/functions.php:2706: // @TODO Rewrite this old lost code to a template -./inc/functions.php:2825: // @TODO Are these convertions still required? -./inc/functions.php:2843:// @TODO Rewrite this function to use readFromFile() and writeToFile() -./inc/functions.php:546: // @TODO Extension 'msg' does not exist -./inc/functions.php:615:// @TODO Rewrite this to an extension 'smtp' +./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/functions.php:241: // @TODO Remove this sanity-check if all is fine +./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/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:1140:// @TODO Rewrite these two constants -./inc/language/de.php:1156:// @TODO Rewrite these five constants -./inc/language/de.php:735:// @TODO The template 'admin_extensions_installed' is using this. But the template is no longer used. -./inc/language/de.php:843:// @TODO Are these constants longer used? +./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-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 +./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/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/doubler_functions.php:45:// @TODO Lame description -./inc/libs/rallye_functions.php:699: $EXPIRE = 3; // @TODO The hard-coded value... -./inc/libs/rallye_functions.php:763: // @TODO Rewrite this to our API function +./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:1501: // @TODO This can be somehow rewritten -./inc/libs/surfbar_functions.php:954: // @TODO Invalid salt should be refused +./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/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' @@ -57,12 +61,12 @@ ./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:349: // @TODO Rewrite this to $content = SQL_FETCHARRAY() -./inc/modules/admin/admin-inc.php:354: // @TODO ACL is 'allow'... hmmm -./inc/modules/admin/admin-inc.php:406: // @TODO Rewrite this to $content = SQL_FETCHARRAY() -./inc/modules/admin/admin-inc.php:412: // @TODO ACL is 'allow'... hmmm -./inc/modules/admin/admin-inc.php:514:// @TODO Try to rewrite this to adminAddMenuSelectionBox() -./inc/modules/admin/admin-inc.php:527: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY(). Please look some lines above for the dynamic query +./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/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:312: // @TODO This may also be rewritten to include files @@ -75,39 +79,36 @@ ./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:61: // @TODO Kill all constants in this file -./inc/modules/admin/what-admins_mails.php:60: // @TODO Can this be rewritten??? +./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-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:148: // @TODO Rewrite this to filter 'run_sqls' -./inc/modules/admin/what-config_mods.php:137: // @TODO Rewritings: mod->module in template -./inc/modules/admin/what-config_rallye_prices.php:202: // @TODO Rewritings: level->price_level, infos->info in template -./inc/modules/admin/what-config_rallye_prices.php:219: // @TODO Rewrite these two constants +./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:351: // @TODO Rewrite this to a filter +./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 ./inc/modules/admin/what-guest_add.php:68: // @TODO Cant this be rewritten? ./inc/modules/admin/what-guest_add.php:84: // @TODO This can be somehow rewritten to a function ./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_beg.php:85: // @TODO Rewrite templates so s/family will be replaced by surname/family -./inc/modules/admin/what-list_beg.php:86: // @TODO to shorten this block. Please also do so with userid->userid ./inc/modules/admin/what-list_cats.php:55: // @TODO No longer needed? define('__CATS_BASE' , "userid,opoints->curr_points,old->refs in template -./inc/modules/admin/what-list_rallyes.php:303: // @TODO Rewritings: admin_id->admin_id in template +./inc/modules/admin/what-list_payouts.php:117: // @TODO Do we need this time-consuming eval() here? +./inc/modules/admin/what-list_rallyes.php:257: // @TODO Rewritings: opoints->curr_points,old->refs in template ./inc/modules/admin/what-list_sponsor.php:148: // @TODO Rewritings: surname->surname,family->family,ip->remote_addr in template -./inc/modules/admin/what-list_task.php:148: // @TODO Rewrite these templates to one and add $OUT -./inc/modules/admin/what-list_task.php:182: // @TODO Rewritings: admin->assigned_admin,userid->userid,type->task_type_msg in template -./inc/modules/admin/what-list_task.php:194: // @TODO Rewrite this to $OUT .= ..., true, ... -./inc/modules/admin/what-list_task.php:198: // @TODO Rewrite this to $OUT .= ..., true, ... +./inc/modules/admin/what-list_task.php:145: // @TODO Rewrite these templates to one and add $OUT +./inc/modules/admin/what-list_task.php:179: // @TODO Rewritings: admin->assigned_admin,userid->userid,type->task_type_msg in template +./inc/modules/admin/what-list_task.php:191: // @TODO Rewrite this to $OUT .= ..., true, ... +./inc/modules/admin/what-list_task.php:195: // @TODO Rewrite this to $OUT .= ..., true, ... ./inc/modules/admin/what-list_unconfirmed.php:129: // @TODO Rewritings: userid->userid ./inc/modules/admin/what-list_unconfirmed.php:76: // @TODO This constant might be unused? define('__LIST_UNCON_TITLE', getMessage('LIST_UNCONFIRMED_BONUS_LINKS')); ./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 @@ -122,8 +123,8 @@ ./inc/modules/admin/what-mem_add.php:64: // @TODO Cant this be rewritten? ./inc/modules/admin/what-mem_add.php:80: // @TODO This can be somehow rewritten to a function ./inc/modules/admin/what-payments.php:151: // @TODO Rewritings: title->mail_title, pay->payment in template -./inc/modules/admin/what-refbanner.php:145: // @TODO Rewritings: alt->alternate,cnt->counter,clx->clicks in template -./inc/modules/admin/what-unlock_emails.php:101: // @TODO Rewrite these if-blocks to a filter +./inc/modules/admin/what-refbanner.php:139: // @TODO Rewritings: alt->alternate,cnt->counter,clx->clicks in template +./inc/modules/admin/what-unlock_emails.php:91: // @TODO Rewrite these if-blocks to a filter ./inc/modules/admin/what-unlock_sponsor.php:191: // @TODO Rewritings: remote->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 @@ -160,20 +161,21 @@ ./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:1655: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY() -./inc/mysql-manager.php:1876: // @TODO Rewrite this to $content = SQL_FETCHARRAY() -./inc/mysql-manager.php:2196: // @TODO This can be somehow rewritten +./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:891:// @TODO Lame description for this function +./inc/mysql-manager.php:901:// @TODO Lame description for this function ./inc/mysql-manager.php:93:// @TODO Can we cache this? ./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:402:// @TODO Do some more sanity check here -./mailid.php:131: // @TODO Rewrite this to a filter -./mailid.php:211: // @TODO Rewrite this to a dynamic include or so +./inc/wrapper-functions.php:387:// @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 ./mailid_top.php:135: // @TODO Rewrite this to a filter ./mailid_top.php:182: // @TODO Rewrite this to a filter @@ -183,9 +185,8 @@ ./mailid_top.php:99: // @TODO Rewrite this to a filter ./view.php:72: // @TODO No banner found, output some default banner ### ### DEPRECATION FOLLOWS: ### ### -./inc/modules/admin/admin-inc.php:515:// @DEPRECATED -./templates/de/emails/admins_mail_contct_admin.tpl:1:@DEPRECATED -./templates/de/emails/admins_msg_contct_admin.tpl:1:@DEPRECATED +./inc/modules/admin/admin-inc.php:531:// @DEPRECATED +./inc/modules/admin/what-del_task.php:2:// @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 @@ -203,6 +204,7 @@ Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : body in templates/de/ Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : html in templates/de/html/page_footer.tpl, line: 3 in /home Warning: Not parsing JavaScript templates/de/html/js/js_surfbar_member_edit.tpl. Warning: Not parsing JavaScript templates/de/html/js/js_surfbar_stopped.tpl. +Warning: Not parsing JavaScript templates/de/html/js/js_cookies_disabled.tpl. Warning: Not parsing JavaScript templates/de/html/js/js_order_send.tpl. Warning: Not parsing JavaScript templates/de/html/js/js_uberwach.tpl. Warning: Not parsing JavaScript templates/de/html/js/js_jquery.tpl.