More fixes for updating from older revisions
[mailer.git] / DOCS / TODOs.txt
index 45c32b2da670b999c860d63ed5e93002d92ee05d..54f5b26f5719ec6b2d86330e24911be13c17f020 100644 (file)
-### WARNING: THIS FILE IS AUTO-GENERATED BY DOCS/todo-builder.sh ###
+### WARNING: THIS FILE IS AUTO-GENERATED BY ./DOCS/todo-builder.sh (uid=/user=quix0r) ###
 ### DO NOT EDIT THIS FILE. ###
-./beg.php:196:                         // @TODO Opps, what is missing here???
-./inc/extensions/ext-sql_patches.php:749:                      // @TODO Rewrite this to a filter!
-./inc/extensions/ext-sql_patches.php:787:              // @TODO Can we remove this? setConfigEntry('verbose_sql'        , "N");
-./inc/extensions.php:275:// @TODO Change from ext_id to ext_name (not just even the variable! ;-) )
-./inc/functions.php:1242:      // @TODO Rewrite this unnice code
-./inc/functions.php:1303:      // @TODO Remove this if() block if all is working fine
-./inc/functions.php:1603:              // @TODO This can be, somehow, rewritten
-./inc/functions.php:2330:// @TODO Rewrite all language constants to this function.
-./inc/functions.php:2579:                      $GLOBALS['cache_instance']->destroyCacheFile(); // @TODO isn't it better to do $GLOBALS['cache_instance']->destroyCacheFile('revision')?
-./inc/functions.php:2581:                      // @TODO shouldn't do the unset and the reloading $GLOBALS['cache_instance']->destroyCacheFile() Or a new methode like forceCacheReload('revision')?
-./inc/functions.php:259:                       // @TODO Fine all templates which are using these direct variables and rewrite them.
-./inc/functions.php:260:                       // @TODO After this step is done, this else-block is history
-./inc/functions.php:2658:      // @TODO What does this loop/regex do? Document it, please.
-./inc/functions.php:2751:              // @TODO Add a little more infos here
-./inc/functions.php:2761:      // @TODO This cannot be rewritten to mxchange_die(), try to find a solution for this.
-./inc/functions.php:2858:// @TODO Implement $compress
-./inc/functions.php:2865:// @TODO Implement $decompress
-./inc/functions.php:2968:      // @TODO We may want to switch over to UTF-8 here!
-./inc/functions.php:2976:// @TODO Rewrite this function to use READ_FILE() and WRITE_FILE()
-./inc/functions.php:475:// @TODO Rewrite this to an extension 'smtp'
-./inc/language/rallye_de.php:110:// @TODO Rewrite following two lines to one
-./inc/language/sponsor_de.php:124:// @TODO These three constants should be moved into a template
-./inc/libs/cache_functions.php:231:                    // @TODO remove from $GLOBALS['cache_array']!!!
-./inc/libs/cache_functions.php:377:    // @TODO Add support for more types which break in last else-block
-./inc/libs/doubler_functions.php:46:// @TODO Lame description
-./inc/libs/nickname_functions.php:59:          // @TODO Can we replace this with GET_TOTAL_DATA() ?
-./inc/libs/rallye_functions.php:635:   $EXPIRE = getConfig('one_day') * 3; // @TODO The hard-coded value...
-./inc/libs/rallye_functions.php:665:                   // @TODO Rewrite this to a function
-./inc/libs/rallye_functions.php:702:           // @TODO Rewrite this to our API function
-./inc/libs/register_functions.php:53:          // @TODO Rewrite these constants
-./inc/libs/surfbar_functions.php:1425:         // @TODO This can be somehow rewritten
-./inc/libs/surfbar_functions.php:917:  // @TODO Invalid salt should be refused
-./inc/libs/task_functions.php:261:             // @TODO These can be rewritten to filter
-./inc/libs/task_functions.php:53:// @TODO Move all extension-dependent queries into filters
-./inc/libs/user_functions.php:311:                     // @TODO Make this filter working: $ADDON = runFilterChain('post_login_update', array('login' => $login, 'online' => $online));
-./inc/libs/user_functions.php:335:                     // @TODO Make this filter working: $URL = runFilterChain('do_login', array('uid' => $uid, 'hash' => $hash, 'addon' => $ADDON));
-./inc/libs/user_functions.php:370:             // @TODO Can this query be merged with above query?
-./inc/libs/yoomedia_functions.php:65:  $response = YOOMEDIA_QUERY_API("out_textmail.php", true); // @TODO Ask Yoo!Media for test script
-./inc/load_extensions.php:13: * @TODO Rewrite this whole file to load_cache-extensions.php           *
-./inc/mails/birthday_mails.php:85:                     // @TODO 4 is hard-coded here, should we move it out in config?
-./inc/modules/admin/admin-inc.php:343:         // @TODO Rewrite this to $content = SQL_FETCHARRAY()
-./inc/modules/admin/admin-inc.php:386:                                 // @TODO Rewrite this to $content = SQL_FETCHARRAY()
-./inc/modules/admin/admin-inc.php:499:         // @TODO Rewrite these both constants
-./inc/modules/admin/admin-inc.php:525:         // @TODO Try to rewrite this to $content = SQL_FETCHARRAY(). Please look some lines above for the dynamic query
-./inc/modules/admin/overview-inc.php:230:                              // @TODO Rewrite this to something with include files
-./inc/modules/admin/overview-inc.php:269:                                      // @TODO This may also be rewritten to include files
-./inc/modules/admin/overview-inc.php:272:                                      default: // @TODO Unknown support mode
-./inc/modules/admin/overview-inc.php:390:              // @TODO Rewrite this to one template and use $OUT = ...
-./inc/modules/admin/overview-inc.php:420:                      // @TODO Rewritings: admin->assigned_admin,uid->userid,type->task_type_msg in template
-./inc/modules/admin/overview-inc.php:432:                              // @TODO Rewrite this to $OUT .= ..., true, ...
-./inc/modules/admin/overview-inc.php:436:                              // @TODO Rewrite this to $OUT .= ..., true, ...
-./inc/modules/admin.php:94:                            // @TODO Why is this set to 'done'?
-./inc/modules/admin/what-add_points.php:120:                   // @TODO Rewrite these both constants
-./inc/modules/admin/what-add_points.php:54:            // @TODO Rewrite this constant
+./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:125:// @TODO Rewrite the following three constants, somehow...
+./inc/classes/cachesystem.class.php:467:       // @TODO Add support for more types which break in last else-block
+./inc/config-functions.php:143:        // @TODO Make this all better... :-/
+./inc/expression-functions.php:135:// @TODO FILTER_COMPILE_CONFIG does not handle call-back functions so we handle it here again
+./inc/extensions/ext-html_mail.php:137:                // @TODO Move these arrays into config
+./inc/extensions/ext-menu.php:53:              // @TODO Convert menu-Id to one coding-standard. admin(edit|_add) => admin_menu_(edit|add), mem(edit|_add) => mem_menu_(edit|add)
+./inc/extensions/ext-network.php:20: * @TODO AbisZED: Which charset?                                        *
+./inc/extensions/ext-network.php:21: * @TODO Ad-Magnet: Layer(klick?). Layerviews.Skybannerklick/-view,     *
+./inc/extensions/ext-network.php:22: * @TODO Ad-Magnet: Banner-View, Textlink-Klick/-View. Page-Peel        *
+./inc/extensions/ext-network.php:23: * @TODO ADCocktail: Traffic, BIDausKAS???                              *
+./inc/extensions/ext-network.php:24: * @TODO Ads4.de: Traffic                                               *
+./inc/extensions/ext-network.php:25: * @TODO Ads4Webbis: Traffic                                            *
+./inc/extensions/ext-network.php:26: * @TODO Ads4World: Traffic                                             *
+./inc/extensions/ext-network.php:27: * @TODO Affiliblatt: All except banner                                 *
+./inc/extensions/ext-network.php:28: * @TODO doubleads: Which charset?                                      *
+./inc/extensions/ext-network.php:29: * @TODO Fusion-Ads: Has click/banner URL in API response               *
+./inc/extensions/ext-network.php:30: * @TODO GolloX: Which charset?                                         *
+./inc/extensions/ext-network.php:31: * @TODO homeADS: Which charset?                                        *
+./inc/extensions/ext-network.php:32: * @TODO paid4ad: Waiting for approval                                  *
+./inc/extensions/ext-network.php:33: * @TODO secash: Traffic                                                *
+./inc/extensions/ext-network.php:34: * @TODO ultraPROMO: Traffic                                            *
+./inc/extensions/ext-network.php:87:           // @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: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: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/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:2475:              // @TODO Add a little more infos here
+./inc/functions.php:2557:                      // @TODO Move this SQL code into a function, let's say 'getTimestampFromPoolId($id) ?
+./inc/functions.php:255:       // @TODO Remove this sanity-check if all is fine
+./inc/functions.php:2580:                      // @TODO Rewrite this old lost code to a template
+./inc/functions.php:258:       // @TODO Try to rewrite all $DATA to $content
+./inc/functions.php:2669:                      // @TODO Are these convertions still required?
+./inc/functions.php:2687:// @TODO Rewrite this function to use readFromFile() and writeToFile()
+./inc/functions.php:3566:// @TODO Lame description for this function
+./inc/functions.php:3588:                      // @TODO Move this in a filter
+./inc/functions.php:3706:      // @TODO This is still very static, rewrite it somehow
+./inc/functions.php:473:       // @TODO Do only use $content, not $DATA or raw variables
+./inc/functions.php:543:               // @TODO Extension 'msg' does not exist
+./inc/functions.php:612:// @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:439:           // @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/register_functions.php:286: // @TODO Rewrite these all to a single filter
+./inc/libs/register_functions.php:362: // @TODO Rewrite this to a filter
+./inc/libs/register_functions.php:369: // @TODO Rewrite this whole if() block to addPointsThroughReferalSystem(). This will also make following if() block obsolete
+./inc/libs/register_functions.php:370: // @TODO Wether the registration bonus should only be added to user directly or through referal system should be configurable
+./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:417:     // @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:251:         // @TODO Rewrite this to $content = SQL_FETCHARRAY()
+./inc/modules/admin/admin-inc.php:256:                         // @TODO ACL is 'allow'... hmmm
+./inc/modules/admin/admin-inc.php:322:                                 // @TODO Rewrite this to $content = SQL_FETCHARRAY()
+./inc/modules/admin/admin-inc.php:328:                                                 // @TODO ACL is 'allow'... hmmm
+./inc/modules/admin/admin-inc.php:428:// @TODO Try to rewrite this to adminAddMenuSelectionBox()
+./inc/modules/admin/admin-inc.php:442:         // @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 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:77:             // @TODO This can be somehow rewritten to a function
-./inc/modules/admin/what-adminedit.php:250:            // @TODO Rewrite this constant
-./inc/modules/admin/what-admins_add.php:68:    // @TODO Do we still need this ugly code here?
-./inc/modules/admin/what-admins_mails.php:100:         // @TODO Rewrite this constant
-./inc/modules/admin/what-admins_mails.php:173:         // @TODO Rewrite this constant
-./inc/modules/admin/what-admins_mails.php:61:                          // @TODO Can this be rewritten???
-./inc/modules/admin/what-chk_regs.php:62:              // @TODO Rewritings: sname->surname,fname->family,ip->REMOTE_ADDR,ref->refid,hash->user_hash in template
-./inc/modules/admin/what-chk_regs.php:81:      // @TODO Rewrite this constant
-./inc/modules/admin/what-config_admins.php:160:                // @TODO This causes the whole (!) menu cache being rebuild
-./inc/modules/admin/what-config_cats.php:192:          // @TODO Rewrite this constant
-./inc/modules/admin/what-config_cats.php:199:  // @TODO Rewrite this constant
-./inc/modules/admin/what-config_mods.php:139:          // @TODO Rewritings: mod->module in template
-./inc/modules/admin/what-config_mods.php:161:  // @TODO Rewrite this constant
-./inc/modules/admin/what-config_payouts.php:144:               // @TODO Rewrite this constant
-./inc/modules/admin/what-config_payouts.php:230:       // @TODO Rewrite this constant
-./inc/modules/admin/what-config_points.php:262:                                // @TODO Rewritings: lvl->level, per->percents in template
-./inc/modules/admin/what-config_rallye_prices.php:203:                         // @TODO Rewritings: level->price_level, infos->info in template
-./inc/modules/admin/what-config_rallye_prices.php:220:                 // @TODO Rewrite these two constants
-./inc/modules/admin/what-config_rallye_prices.php:248:                 // @TODO Rewritings: aid->admin_id, alogin->login in template
-./inc/modules/admin/what-config_register.php:68:       // @TODO Move this HTML code into a template
-./inc/modules/admin/what-config_register.php:85:// @TODO Rewrite this constant
-./inc/modules/admin/what-config_rewrite.php:97:        // @TODO Rewrite this constant
-./inc/modules/admin/what-del_transfer.php:106:// @TODO Rewrite all these constants
-./inc/modules/admin/what-del_transfer.php:76:          // @TODO Rewritings: idx->trans_id in template
-./inc/modules/admin/what-edit_emails.php:113:          // @TODO Yet another constant to rewrite
-./inc/modules/admin/what-edit_emails.php:60:           // @TODO More constants to rewrite
-./inc/modules/admin/what-edit_emails.php:95:                   // @TODO Rewritings: subj->subject in template
-./inc/modules/admin/what-guest_add.php:122:                            // @TODO This can be somehow rewritten to a function
-./inc/modules/admin/what-guest_add.php:77:             // @TODO This can be somehow rewritten to a function
-./inc/modules/admin/what-guestedit.php:284:            // @TODO Rewrite this constant
-./inc/modules/admin/what-list_autopurge.php:55:// @TODO Rewrite those lines to filter
-./inc/modules/admin/what-list_autopurge.php:78:                // @TODO Rewritings: sname->surname,fname->family in templates
-./inc/modules/admin/what-list_autopurge.php:98:        // @TODO Rewrite this constant
-./inc/modules/admin/what-list_beg.php:85:                      // @TODO Rewrite templates so s/fname will be replaced by surname/family
-./inc/modules/admin/what-list_beg.php:86:                      // @TODO to shorten this block. Please also do so with uid->userid
-./inc/modules/admin/what-list_cats.php:92:                     // @TODO Rewrite this constant
-./inc/modules/admin/what-list_country.php:180:                 // @TODO Rewritings: name->descr,status->is_active in template
-./inc/modules/admin/what-list_holiday.php:82:  // @TODO Rewrite this constant
-./inc/modules/admin/what-list_links.php:96:                            // @TODO Find a way to rewrite this. See some lines above for different queries
-./inc/modules/admin/what-list_newsletter.php:64:       // @TODO Currently under construction!
-./inc/modules/admin/what-list_rallyes.php:231:         // @TODO Rewrite this constant
-./inc/modules/admin/what-list_rallyes.php:255:                 // @TODO Rewritings: uid->userid,opoints->curr_points,old->refs in template
-./inc/modules/admin/what-list_rallyes.php:309:                 // @TODO Rewritings: aid->admin_id in template
-./inc/modules/admin/what-list_sponsor.php:155:                 // @TODO Rewritings: sname->surname,fname->family,ip->remote_addr in template
-./inc/modules/admin/what-list_sponsor.php:178:         // @TODO Rewrite this constant
-./inc/modules/admin/what-list_sponsor.php:73:          // @TODO Rewrite this huge amount of constants
-./inc/modules/admin/what-list_task.php:129:            // @TODO Rewrite these templates to one and add $OUT
-./inc/modules/admin/what-list_task.php:164:                    // @TODO Rewritings: admin->assigned_admin,uid->userid,type->task_type_msg in template
-./inc/modules/admin/what-list_task.php:176:                            // @TODO Rewrite this to $OUT .= ..., true, ...
-./inc/modules/admin/what-list_task.php:180:                            // @TODO Rewrite this to $OUT .= ..., true, ...
-./inc/modules/admin/what-list_transfer.php:86:// @TODO Rewrite these constants
-./inc/modules/admin/what-list_unconfirmed.php:100:             // @TODO Rewrite these constants
-./inc/modules/admin/what-list_unconfirmed.php:119:             // @TODO Rewrite this constant
-./inc/modules/admin/what-list_unconfirmed.php:128:                             // @TODO Rewritings: uid->userid
-./inc/modules/admin/what-list_unconfirmed.php:92:              // @TODO Rewrite this to $content = SQL_FETCHARRAY(), look some lines above for two differrent queries
-./inc/modules/admin/what-list_user.php:160:            // @TODO Rewrite these to filters
-./inc/modules/admin/what-list_user.php:285:            // @TODO Rewrite this into a  filter
-./inc/modules/admin/what-list_user.php:337:                    // @TODO Rewrite this into a filter
-./inc/modules/admin/what-logs.php:69:                  // @TODO Fix content-type here
-./inc/modules/admin/what-logs.php:72:                  // @TODO Fix content-type here
-./inc/modules/admin/what-mem_add.php:120:                              // @TODO This can be somehow rewritten to a function
-./inc/modules/admin/what-mem_add.php:78:               // @TODO This can be somehow rewritten to a function
-./inc/modules/admin/what-memedit.php:255:              // @TODO Rewrite this constant
-./inc/modules/admin/what-memedit.php:291:              // @TODO Rewrite this constant
-./inc/modules/admin/what-payments.php:154:                     // @TODO Rewritings: title->mail_title, pay->payment in template
-./inc/modules/admin/what-refbanner.php:127:    // @TODO Rewrite this constant
-./inc/modules/admin/what-refbanner.php:149:                    // @TODO Rewritings: alt->alternate,cnt->counter,clx->clicks in template
-./inc/modules/admin/what-refbanner.php:168:            // @TODO Rewrite this constant
-./inc/modules/admin/what-repair_amenu.php:85:// @TODO This causes the whole (!) menu cache being rebuilded
-./inc/modules/admin/what-send_newsletter.php:86:       // @TODO Rewrite this constant
-./inc/modules/admin/what-sub_points.php:105:                   // @TODO Rewrite these constants
-./inc/modules/admin/what-sub_points.php:53:    // @TODO Rewrite this constant
-./inc/modules/admin/what-theme_check.php:126:                  // @TODO Move this HTML code to a template "admin_theme_row"
-./inc/modules/admin/what-unlock_sponsor.php:188:               // @TODO Rewritings: remote->remote_addr, created->sponsor_created in template
-./inc/modules/admin/what-usage.php:88: // @TODO This code is double, see LOAD_TEMPLATE and LOAD_EMAIL_TEMPLATE in functions.php
-./inc/modules/admin/what-usr_online.php:107:           // @TODO Rewrite this constant
-./inc/modules/admin/what-usr_online.php:51:    // @TODO Rewrite these constants
-./inc/modules/admin/what-usr_online.php:52:    // @TODO Add a filter for sponsor
-./inc/modules/guest/what-mediadata.php:186:// @TODO Rewrite these all if-blocks to filters
-./inc/modules/guest/what-mediadata.php:49:// @TODO Rewrite all constants
+./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: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: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:77:       // @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_stats.php:47:// @TODO Unused at the moment
+./inc/modules/admin/what-extensions.php:347:                                           // @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_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/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: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
+./inc/modules/admin/what-list_unconfirmed.php:99:              // @TODO Rewrite this to $content = SQL_FETCHARRAY(), look some lines above for two differrent queries
+./inc/modules/admin/what-list_user.php:159:            // @TODO Rewrite these to filters
+./inc/modules/admin/what-list_user.php:286:            // @TODO Rewrite this into a  filter
+./inc/modules/admin/what-list_user.php:340:                    // @TODO Rewrite this into a filter
+./inc/modules/admin/what-list_user.php:58:// @TODO Rewrite these if-blocks in a filter
+./inc/modules/admin/what-logs.php:68:                  // @TODO Fix content-type here
+./inc/modules/admin/what-logs.php:71:                  // @TODO Fix content-type here
+./inc/modules/admin/what-mem_add.php:125:                              // @TODO This can be somehow rewritten to a function
+./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:144:                    // @TODO Rewritings: alt->alternate,cnt->counter,clx->clicks in template
+./inc/modules/admin/what-unlock_emails.php:88:                                 // @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-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-register.php:201:     // @TODO Rewrite this to a single filter
-./inc/modules/guest/what-sponsor_infos.php:67:         // @TODO Rewritings: conv->conv_rate,name->conv_name in template
-./inc/modules/guest/what-sponsor_infos.php:87:                 // @TODO Rewritings: name->pay_name,min->pay_min_count,min->pay_min_count,curr->pay_currency
-./inc/modules/guest/what-sponsor_reg.php:284:          // @TODO Swap this HTML code to templates
-./inc/modules/guest/what-sponsor_reg.php:298:          // @TODO Rewrite this constant
-./inc/modules/guest/what-sponsor_reg.php:304:                  // @TODO Rewrite these constants
-./inc/modules/guest/what-stats.php:110:        // @TODO This can be somehow rewritten
-./inc/modules/guest/what-stats.php:123:        // @TODO Rewrite all these constants
-./inc/modules/guest/what-stats.php:192:                // @TODO Rewrite this to one template and $OUT .= ....
-./inc/modules/guest/what-top10.php:107:// @TODO Rewrite this constant
-./inc/modules/guest/what-top10.php:145:        // @TODO Rewritings: nick->nickname,uid->userid in template
-./inc/modules/guest/what-top10.php:177:// @TODO Rewrite this constant
-./inc/modules/guest/what-top10.php:215:        // @TODO Rewritings: nick->nickname,uid->userid in template
-./inc/modules/guest/what-top10.php:248:// @TODO Rewrite this constant
-./inc/modules/guest/what-top10.php:255:// @TODO Rewrite this constant
-./inc/modules/guest/what-top10.php:74: // @TODO Rewritings: uid->userid,nick->nickname,logins->total_logins in template
-./inc/modules/guest/what-wernis_portal.php:85://  @TODO Can this be removed? $rdf->clear_cache();
-./inc/modules/member/what-bonus.php:55:        // @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:505:                                       // @TODO Rewrite this old lost code to a template
-./inc/modules/member/what-payout.php:131:                              // @TODO Rewritings: acc->target_account,bank->target_bank in templates
-./inc/modules/member/what-payout.php:147:                      // @TODO Rewrite this constant
-./inc/modules/member/what-payout.php:181:              // @TODO Rewrite these constants
-./inc/modules/member/what-payout.php:189:                              // @TODO Rewrite this constant
+./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-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
+./inc/modules/guest/what-stats.php:115:                // @TODO This can be somehow rewritten
+./inc/modules/guest/what-stats.php:75:// @TODO This can be rewritten in a dynamic include
+./inc/modules/member/what-beg.php:63:// @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: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: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-reflinks.php:105:            // @TODO Rewritings: alt->alternate,cnt->counter,cks->clicks,uid->userid in template
-./inc/modules/member/what-transfer.php:116:                    // @TODO Rewrite all these constants to array elements
-./inc/modules/member/what-transfer.php:247:                    // @TODO Try to rewrite his to $content = SQL_FETCHARRAY(), see some lines above for two different queries
-./inc/modules/member/what-transfer.php:309:            // @TODO Rewrite these constants
-./inc/modules/member/what-transfer.php:317:            // @TODO Rewrite these constants
-./inc/modules/member/what-transfer.php:329:            // @TODO This should be somehow rewritten to $content = SQL_FETCHARRAY(), see switch() block above for SQL queries
-./inc/modules/member/what-transfer.php:364:    // @TODO Rewrite these constants
-./inc/modules/member/what-transfer.php:451:    // @TODO Rewrite all these constants
-./inc/modules/member/what-unconfirmed.php:134: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY()
-./inc/mysql-manager.php:1509:                  // @TODO Try to rewrite this to $content = SQL_FETCHARRAY()
-./inc/mysql-manager.php:1718:                          // @TODO Find a way for updating $_CONFIG here
-./inc/mysql-manager.php:173:                   // @TODO Nothing helped???
-./inc/mysql-manager.php:1742:          // @TODO Find a way for updating $_CONFIG here
-./inc/mysql-manager.php:1826:                  // @TODO Rewrite this to $content = SQL_FETCHARRAY()
-./inc/mysql-manager.php:2120:          // @TODO This can be somehow rewritten
-./inc/mysql-manager.php:617:   // @TODO Why is this global??? #100
-./inc/mysql-manager.php:945:                   // @TODO Why does this lead into an endless loop but we still need it???
-./mailid_top.php:211:                                                                  // @TODO Rewrite these blocks to filter
-./surfbar.php:65:              // @TODO Display quick login form here or redirect as configured
+./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-transfer.php:225:                            // @TODO Try to rewrite his to $content = SQL_FETCHARRAY(), see some lines above for two different queries
+./inc/modules/member/what-transfer.php:310:                    // @TODO This should be somehow rewritten to $row = SQL_FETCHARRAY(), see switch() block above for SQL queries
+./inc/modules/member/what-transfer.php:316:                            // @TODO Rewrite: tid->trans_id,stamp->time_trans
+./inc/modules/member/what-transfer.php:93:                     // @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:1571:                  // @TODO Try to rewrite this to $content = SQL_FETCHARRAY()
+./inc/mysql-manager.php:1669:  // @TODO Rewrite this to a filter
+./inc/mysql-manager.php:2113:                  // @TODO Rewrite this to a filter
+./inc/mysql-manager.php:2154:// @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/revision-functions.php:152:// @TODO Please describe this function
+./inc/wrapper-functions.php:126:// @TODO Implement $compress
+./inc/wrapper-functions.php:133:// @TODO Implement $decompress
+./inc/wrapper-functions.php:420:// @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
+./mailid_top.php:189:                                                                  // @TODO Rewrite this to a filter
+./mailid_top.php:225:                                                                  // @TODO Rewrite these blocks to filter
+./mailid_top.php:260:                                                                          // @TODO Try to rewrite the following unset()
+./mailid_top.php:99:           // @TODO Rewrite this to a filter
+./view.php:69:         // @TODO No banner found, output some default banner
+./templates/de/html/admin/admin_add_country.tpl:23:                    <!-- @TODO Rewrite this selection box to our generic functions //-->
+./templates/de/html/admin/admin_admins_contct_form.tpl:4:      <!-- @TODO Shouldn't we add a title here? //-->
+./templates/de/html/admin/admin_amenu_edit.tpl:4:<!-- @TODO Shouldn't we add a title here? //-->
+./templates/de/html/admin/admin_config_other.tpl:67:                   <!-- @TODO Rewrite this selection to one of our functions //-->
+./templates/de/html/admin/admin_list_autopurge.tpl:2:  <!-- @TODO Shouldn't we add a title here? //-->
+./templates/de/html/admin/admin_list_beg.tpl:3:        <!-- @TODO No title here? //-->
+./templates/de/html/admin/admin_list_bonus.tpl:3:      <!-- @TODO No title here? //-->
+./templates/de/html/admin/admin_list_mods.tpl:4:       <!-- @TODO Shouldn't we add a title here? //-->
+./templates/de/html/admin/admin_list_primera_main.tpl:3:<!-- @TODO No title here? //-->
+./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_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/admin/admin_send_bonus_form.tpl:4: <!-- @TODO Maybe add some title? //-->
+./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:21:   @TODO We have to fix these counters.
+./templates/de/html/surfbar/surfbar_frame_textlinks.tpl:5:             <!-- @TODO These are static lines and should be replaced by a filter (see ext-sponsor) //-->
+./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:429:// @DEPRECATED
+./templates/de/html/admin/admin_menu_unknown_okay.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 
+Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : div in templates/de/html/member/member_order_points.tpl, line: 14 in 
+Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : table in templates/de/html/member/member_footer.tpl, line: 6 in 
+Warning: DOMDocument::loadHTMLFile(): Document is empty in templates/de/html/header.tpl, line: 1 in /home
+Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : div in templates/de/html/page_footer.tpl, line: 1 in /home
+Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : body in templates/de/html/page_footer.tpl, line: 2 in /home
+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.
+Warning: Not parsing JavaScript templates/de/html/js/js_surfbar_member_book.tpl.
+Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : table in templates/de/html/admin/admin_overview_footer.tpl, line: 10 in 
+Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : form in templates/de/html/admin/admin_overview_footer.tpl, line: 11 in 
+Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : div in templates/de/html/admin/admin_overview_footer.tpl, line: 12 in 
+Warning: DOMDocument::loadHTMLFile(): Attribute class redefined in templates/de/html/admin/admin_list_beg.tpl, line: 23 in 
+Warning: DOMDocument::loadHTMLFile(): Attribute align redefined in templates/de/html/admin/admin_list_beg.tpl, line: 23 in 
+Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : table in templates/de/html/admin/admin_overview_footer_task.tpl, line: 10 in 
+Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : form in templates/de/html/admin/admin_overview_footer_task.tpl, line: 11 in 
+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 : table in templates/de/html/admin/admin_logout_sql_patches_remove.tpl, line: 10 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 
+Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : td in templates/de/html/guest/guest_content_footer.tpl, line: 1 in 
+Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : tr in templates/de/html/guest/guest_content_footer.tpl, line: 5 in 
+Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : div in templates/de/html/guest/guest_doubler.tpl, line: 52 in 
+Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : table in templates/de/html/guest/guest_rallye_footer.tpl, line: 11 in 
+Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : td in templates/de/html/guest/guest_menu_content.tpl, line: 2 in