From cb1da8727a6660e4098af389f01b3c9a4241c7e1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 18 Nov 2009 03:49:34 +0000 Subject: [PATCH] TODOs.txt updated :( --- DOCS/TODOs.txt | 51 ++++++++++++++++++++++++++------------------------ 1 file changed, 27 insertions(+), 24 deletions(-) diff --git a/DOCS/TODOs.txt b/DOCS/TODOs.txt index 6a4e3d4e7c..8f28b71829 100644 --- a/DOCS/TODOs.txt +++ b/DOCS/TODOs.txt @@ -16,27 +16,29 @@ ./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:1025:// @TODO $simple is deprecated -./inc/functions.php:1060: // @TODO Do only use $content and deprecate $GLOBALS and $DATA in templates +./inc/filters.php:465: // @TODO This whole if-block is very static +./inc/functions.php:1019:// @TODO $simple is deprecated +./inc/functions.php:1054: // @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:244: // @TODO Try to rewrite all $DATA to $content -./inc/functions.php:2458:// @TODO Please describe this function -./inc/functions.php:2476: searchDirsRecursive($next_dir, $last_changed); // @TODO small change to API to $last_changed = searchDirsRecursive($next_dir, $time); -./inc/functions.php:2572: // @TODO Add a little more infos here -./inc/functions.php:2583: // @TODO This cannot be rewritten to app_die(), try to find a solution for this. -./inc/functions.php:2664: // @TODO Rewrite this old lost code to a template -./inc/functions.php:2753: // @TODO Are these convertions still required? -./inc/functions.php:2771:// @TODO Rewrite this function to use readFromFile() and writeToFile() -./inc/functions.php:3645:// @TODO Lame description for this function -./inc/functions.php:3667: // @TODO Move this in a filter -./inc/functions.php:3785: // @TODO This is still very static, rewrite it somehow +./inc/functions.php:2452:// @TODO Please describe this function +./inc/functions.php:2470: searchDirsRecursive($next_dir, $last_changed); // @TODO small change to API to $last_changed = searchDirsRecursive($next_dir, $time); +./inc/functions.php:2584: // @TODO Add a little more infos here +./inc/functions.php:2605: // @TODO This cannot be rewritten to app_die(), try to find a solution for this. +./inc/functions.php:2685: // @TODO Rewrite this old lost code to a template +./inc/functions.php:2774: // @TODO Are these convertions still required? +./inc/functions.php:2792:// @TODO Rewrite this function to use readFromFile() and writeToFile() +./inc/functions.php:3670:// @TODO Lame description for this function +./inc/functions.php:3692: // @TODO Move this in a filter +./inc/functions.php:3810: // @TODO This is still very static, rewrite it somehow ./inc/functions.php:476: // @TODO Do only use $contentn, not $DATA or raw variables ./inc/functions.php:546: // @TODO Extension 'msg' does not exist ./inc/functions.php:615:// @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:1146:// @TODO Rewrite these two constants ./inc/language/de.php:1162:// @TODO Rewrite these five constants -./inc/language/de.php:848:// @TODO Are these constants longer used? +./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 @@ -56,9 +58,10 @@ ./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:318: // @TODO Make this filter working: $ADDON = runFilterChain('post_login_update', $content); -./inc/libs/user_functions.php:341: // @TODO Make this filter working: $URL = runFilterChain('do_login', array('content' => $content, 'addon' => $ADDON)); -./inc/libs/user_functions.php:417: // @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 * @@ -96,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-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() @@ -147,7 +149,7 @@ ./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-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-rallyes.php:89: // @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 @@ -158,10 +160,10 @@ ./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:1545: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY() -./inc/mysql-manager.php:1769: // @TODO Rewrite this to $content = SQL_FETCHARRAY() -./inc/mysql-manager.php:2091: // @TODO This can be somehow rewritten -./inc/mysql-manager.php:2114:// @TODO Fix inconsistency between last_module and getWhat() +./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:2092: // @TODO This can be somehow rewritten +./inc/mysql-manager.php:2115:// @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 @@ -198,6 +200,7 @@ ./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:532:// @DEPRECATED -- 2.39.5