2d5c0b5dfa1896a8f27743f5ab48079eccf44cfc
[mailer.git] / DOCS / TODOs.txt
1 ### WARNING: THIS FILE IS AUTO-GENERATED BY DOCS/todo-builder.sh ###
2 ### DO NOT EDIT THIS FILE. ###
3 ./beg.php:196:                          // @TODO Opps, what is missing here???
4 ./inc/extensions/ext-sql_patches.php:749:                       // @TODO Rewrite this to a filter!
5 ./inc/extensions/ext-sql_patches.php:787:               // @TODO Can we remove this? setConfigEntry('verbose_sql'        , "N");
6 ./inc/extensions.php:275:// @TODO Change from ext_id to ext_name (not just even the variable! ;-) )
7 ./inc/functions.php:1242:       // @TODO Rewrite this unnice code
8 ./inc/functions.php:1303:       // @TODO Remove this if() block if all is working fine
9 ./inc/functions.php:1603:               // @TODO This can be, somehow, rewritten
10 ./inc/functions.php:2330:// @TODO Rewrite all language constants to this function.
11 ./inc/functions.php:2563:                       $GLOBALS['cache_instance']->destroyCacheFile(); // @TODO isn't it better to do $GLOBALS['cache_instance']->destroyCacheFile('revision')?
12 ./inc/functions.php:2565:                       // @TODO shouldn't do the unset and the reloading $GLOBALS['cache_instance']->destroyCacheFile() Or a new methode like forceCacheReload('revision')?
13 ./inc/functions.php:259:                        // @TODO Fine all templates which are using these direct variables and rewrite them.
14 ./inc/functions.php:260:                        // @TODO After this step is done, this else-block is history
15 ./inc/functions.php:2712:               // @TODO Add a little more infos here
16 ./inc/functions.php:2722:       // @TODO This cannot be rewritten to mxchange_die(), try to find a solution for this.
17 ./inc/functions.php:2819:// @TODO Implement $compress
18 ./inc/functions.php:2826:// @TODO Implement $decompress
19 ./inc/functions.php:2929:       // @TODO We may want to switch over to UTF-8 here!
20 ./inc/functions.php:2937:// @TODO Rewrite this function to use READ_FILE() and WRITE_FILE()
21 ./inc/functions.php:475:// @TODO Rewrite this to an extension 'smtp'
22 ./inc/language/rallye_de.php:110:// @TODO Rewrite following two lines to one
23 ./inc/language/sponsor_de.php:124:// @TODO These three constants should be moved into a template
24 ./inc/libs/cache_functions.php:231:                     // @TODO remove from $GLOBALS['cache_array']!!!
25 ./inc/libs/cache_functions.php:377:     // @TODO Add support for more types which break in last else-block
26 ./inc/libs/doubler_functions.php:46:// @TODO Lame description
27 ./inc/libs/nickname_functions.php:59:           // @TODO Can we replace this with GET_TOTAL_DATA() ?
28 ./inc/libs/rallye_functions.php:635:    $EXPIRE = getConfig('one_day') * 3; // @TODO The hard-coded value...
29 ./inc/libs/rallye_functions.php:665:                    // @TODO Rewrite this to a function
30 ./inc/libs/rallye_functions.php:704:            // @TODO Rewrite this to our API function
31 ./inc/libs/register_functions.php:53:           // @TODO Rewrite these constants
32 ./inc/libs/surfbar_functions.php:1425:          // @TODO This can be somehow rewritten
33 ./inc/libs/surfbar_functions.php:917:   // @TODO Invalid salt should be refused
34 ./inc/libs/task_functions.php:261:              // @TODO These can be rewritten to filter
35 ./inc/libs/task_functions.php:53:// @TODO Move all extension-dependent queries into filters
36 ./inc/libs/user_functions.php:311:                      // @TODO Make this filter working: $ADDON = runFilterChain('post_login_update', array('login' => $login, 'online' => $online));
37 ./inc/libs/user_functions.php:335:                      // @TODO Make this filter working: $URL = runFilterChain('do_login', array('uid' => $uid, 'hash' => $hash, 'addon' => $ADDON));
38 ./inc/libs/user_functions.php:370:              // @TODO Can this query be merged with above query?
39 ./inc/libs/yoomedia_functions.php:65:   $response = YOOMEDIA_QUERY_API("out_textmail.php", true); // @TODO Ask Yoo!Media for test script
40 ./inc/loader/load_cache-config.php:50:  // @TODO: Do we really need to cache the config???
41 ./inc/load_extensions.php:13: * @TODO Rewrite this whole file to load_cache-extensions.php           *
42 ./inc/mails/birthday_mails.php:85:                      // @TODO 4 is hard-coded here, should we move it out in config?
43 ./inc/modules/admin/admin-inc.php:343:          // @TODO Rewrite this to $content = SQL_FETCHARRAY()
44 ./inc/modules/admin/admin-inc.php:386:                                  // @TODO Rewrite this to $content = SQL_FETCHARRAY()
45 ./inc/modules/admin/admin-inc.php:499:          // @TODO Rewrite these both constants
46 ./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
47 ./inc/modules/admin/overview-inc.php:230:                               // @TODO Rewrite this to something with include files
48 ./inc/modules/admin/overview-inc.php:269:                                       // @TODO This may also be rewritten to include files
49 ./inc/modules/admin/overview-inc.php:272:                                       default: // @TODO Unknown support mode
50 ./inc/modules/admin/overview-inc.php:390:               // @TODO Rewrite this to one template and use $OUT = ...
51 ./inc/modules/admin/overview-inc.php:420:                       // @TODO Rewritings: admin->assigned_admin,uid->userid,type->task_type_msg in template
52 ./inc/modules/admin/overview-inc.php:432:                               // @TODO Rewrite this to $OUT .= ..., true, ...
53 ./inc/modules/admin/overview-inc.php:436:                               // @TODO Rewrite this to $OUT .= ..., true, ...
54 ./inc/modules/admin.php:94:                             // @TODO Why is this set to 'done'?
55 ./inc/modules/admin/what-add_points.php:120:                    // @TODO Rewrite these both constants
56 ./inc/modules/admin/what-add_points.php:54:             // @TODO Rewrite this constant
57 ./inc/modules/admin/what-admin_add.php:119:                             // @TODO This can be somehow rewritten to a function
58 ./inc/modules/admin/what-admin_add.php:77:              // @TODO This can be somehow rewritten to a function
59 ./inc/modules/admin/what-adminedit.php:250:             // @TODO Rewrite this constant
60 ./inc/modules/admin/what-admins_add.php:68:     // @TODO Do we still need this ugly code here?
61 ./inc/modules/admin/what-admins_mails.php:100:          // @TODO Rewrite this constant
62 ./inc/modules/admin/what-admins_mails.php:173:          // @TODO Rewrite this constant
63 ./inc/modules/admin/what-admins_mails.php:61:                           // @TODO Can this be rewritten???
64 ./inc/modules/admin/what-chk_regs.php:62:               // @TODO Rewritings: sname->surname,fname->family,ip->REMOTE_ADDR,ref->refid,hash->user_hash in template
65 ./inc/modules/admin/what-chk_regs.php:81:       // @TODO Rewrite this constant
66 ./inc/modules/admin/what-config_admins.php:160:         // @TODO This causes the whole (!) menu cache being rebuild
67 ./inc/modules/admin/what-config_cats.php:192:           // @TODO Rewrite this constant
68 ./inc/modules/admin/what-config_cats.php:199:   // @TODO Rewrite this constant
69 ./inc/modules/admin/what-config_mods.php:139:           // @TODO Rewritings: mod->module in template
70 ./inc/modules/admin/what-config_mods.php:161:   // @TODO Rewrite this constant
71 ./inc/modules/admin/what-config_payouts.php:144:                // @TODO Rewrite this constant
72 ./inc/modules/admin/what-config_payouts.php:230:        // @TODO Rewrite this constant
73 ./inc/modules/admin/what-config_points.php:262:                         // @TODO Rewritings: lvl->level, per->percents in template
74 ./inc/modules/admin/what-config_rallye_prices.php:203:                          // @TODO Rewritings: level->price_level, infos->info in template
75 ./inc/modules/admin/what-config_rallye_prices.php:220:                  // @TODO Rewrite these two constants
76 ./inc/modules/admin/what-config_rallye_prices.php:248:                  // @TODO Rewritings: aid->admin_id, alogin->login in template
77 ./inc/modules/admin/what-config_register.php:68:        // @TODO Move this HTML code into a template
78 ./inc/modules/admin/what-config_register.php:85:// @TODO Rewrite this constant
79 ./inc/modules/admin/what-config_rewrite.php:97: // @TODO Rewrite this constant
80 ./inc/modules/admin/what-del_transfer.php:106:// @TODO Rewrite all these constants
81 ./inc/modules/admin/what-del_transfer.php:76:           // @TODO Rewritings: idx->trans_id in template
82 ./inc/modules/admin/what-edit_emails.php:113:           // @TODO Yet another constant to rewrite
83 ./inc/modules/admin/what-edit_emails.php:60:            // @TODO More constants to rewrite
84 ./inc/modules/admin/what-edit_emails.php:95:                    // @TODO Rewritings: subj->subject in template
85 ./inc/modules/admin/what-guest_add.php:122:                             // @TODO This can be somehow rewritten to a function
86 ./inc/modules/admin/what-guest_add.php:77:              // @TODO This can be somehow rewritten to a function
87 ./inc/modules/admin/what-guestedit.php:284:             // @TODO Rewrite this constant
88 ./inc/modules/admin/what-list_autopurge.php:55:// @TODO Rewrite those lines to filter
89 ./inc/modules/admin/what-list_autopurge.php:78:         // @TODO Rewritings: sname->surname,fname->family in templates
90 ./inc/modules/admin/what-list_autopurge.php:98: // @TODO Rewrite this constant
91 ./inc/modules/admin/what-list_beg.php:85:                       // @TODO Rewrite templates so s/fname will be replaced by surname/family
92 ./inc/modules/admin/what-list_beg.php:86:                       // @TODO to shorten this block. Please also do so with uid->userid
93 ./inc/modules/admin/what-list_cats.php:92:                      // @TODO Rewrite this constant
94 ./inc/modules/admin/what-list_country.php:180:                  // @TODO Rewritings: name->descr,status->is_active in template
95 ./inc/modules/admin/what-list_holiday.php:82:   // @TODO Rewrite this constant
96 ./inc/modules/admin/what-list_links.php:96:                             // @TODO Find a way to rewrite this. See some lines above for different queries
97 ./inc/modules/admin/what-list_newsletter.php:64:        // @TODO Currently under construction!
98 ./inc/modules/admin/what-list_rallyes.php:231:          // @TODO Rewrite this constant
99 ./inc/modules/admin/what-list_rallyes.php:255:                  // @TODO Rewritings: uid->userid,opoints->curr_points,old->refs in template
100 ./inc/modules/admin/what-list_rallyes.php:309:                  // @TODO Rewritings: aid->admin_id in template
101 ./inc/modules/admin/what-list_sponsor.php:155:                  // @TODO Rewritings: sname->surname,fname->family,ip->remote_addr in template
102 ./inc/modules/admin/what-list_sponsor.php:178:          // @TODO Rewrite this constant
103 ./inc/modules/admin/what-list_sponsor.php:73:           // @TODO Rewrite this huge amount of constants
104 ./inc/modules/admin/what-list_task.php:129:             // @TODO Rewrite these templates to one and add $OUT
105 ./inc/modules/admin/what-list_task.php:164:                     // @TODO Rewritings: admin->assigned_admin,uid->userid,type->task_type_msg in template
106 ./inc/modules/admin/what-list_task.php:176:                             // @TODO Rewrite this to $OUT .= ..., true, ...
107 ./inc/modules/admin/what-list_task.php:180:                             // @TODO Rewrite this to $OUT .= ..., true, ...
108 ./inc/modules/admin/what-list_transfer.php:86:// @TODO Rewrite these constants
109 ./inc/modules/admin/what-list_unconfirmed.php:100:              // @TODO Rewrite these constants
110 ./inc/modules/admin/what-list_unconfirmed.php:119:              // @TODO Rewrite this constant
111 ./inc/modules/admin/what-list_unconfirmed.php:128:                              // @TODO Rewritings: uid->userid
112 ./inc/modules/admin/what-list_unconfirmed.php:92:               // @TODO Rewrite this to $content = SQL_FETCHARRAY(), look some lines above for two differrent queries
113 ./inc/modules/admin/what-list_user.php:160:             // @TODO Rewrite these to filters
114 ./inc/modules/admin/what-list_user.php:285:             // @TODO Rewrite this into a  filter
115 ./inc/modules/admin/what-list_user.php:337:                     // @TODO Rewrite this into a filter
116 ./inc/modules/admin/what-logs.php:69:                   // @TODO Fix content-type here
117 ./inc/modules/admin/what-logs.php:72:                   // @TODO Fix content-type here
118 ./inc/modules/admin/what-mem_add.php:120:                               // @TODO This can be somehow rewritten to a function
119 ./inc/modules/admin/what-mem_add.php:78:                // @TODO This can be somehow rewritten to a function
120 ./inc/modules/admin/what-memedit.php:255:               // @TODO Rewrite this constant
121 ./inc/modules/admin/what-memedit.php:291:               // @TODO Rewrite this constant
122 ./inc/modules/admin/what-payments.php:154:                      // @TODO Rewritings: title->mail_title, pay->payment in template
123 ./inc/modules/admin/what-refbanner.php:127:     // @TODO Rewrite this constant
124 ./inc/modules/admin/what-refbanner.php:149:                     // @TODO Rewritings: alt->alternate,cnt->counter,clx->clicks in template
125 ./inc/modules/admin/what-refbanner.php:168:             // @TODO Rewrite this constant
126 ./inc/modules/admin/what-repair_amenu.php:85:// @TODO This causes the whole (!) menu cache being rebuilded
127 ./inc/modules/admin/what-send_newsletter.php:86:        // @TODO Rewrite this constant
128 ./inc/modules/admin/what-sub_points.php:105:                    // @TODO Rewrite these constants
129 ./inc/modules/admin/what-sub_points.php:53:     // @TODO Rewrite this constant
130 ./inc/modules/admin/what-theme_check.php:126:                   // @TODO Move this HTML code to a template "admin_theme_row"
131 ./inc/modules/admin/what-unlock_sponsor.php:188:                // @TODO Rewritings: remote->remote_addr, created->sponsor_created in template
132 ./inc/modules/admin/what-usage.php:88:  // @TODO This code is double, see LOAD_TEMPLATE and LOAD_EMAIL_TEMPLATE in functions.php
133 ./inc/modules/admin/what-usr_online.php:107:            // @TODO Rewrite this constant
134 ./inc/modules/admin/what-usr_online.php:51:     // @TODO Rewrite these constants
135 ./inc/modules/admin/what-usr_online.php:52:     // @TODO Add a filter for sponsor
136 ./inc/modules/guest/what-mediadata.php:183:// @TODO Rewrite these all if-blocks to filters
137 ./inc/modules/guest/what-register.php:201:      // @TODO Rewrite this to a single filter
138 ./inc/modules/guest/what-sponsor_infos.php:67:          // @TODO Rewritings: conv->conv_rate,name->conv_name in template
139 ./inc/modules/guest/what-sponsor_infos.php:87:                  // @TODO Rewritings: name->pay_name,min->pay_min_count,min->pay_min_count,curr->pay_currency
140 ./inc/modules/guest/what-sponsor_reg.php:284:           // @TODO Swap this HTML code to templates
141 ./inc/modules/guest/what-sponsor_reg.php:298:           // @TODO Rewrite this constant
142 ./inc/modules/guest/what-sponsor_reg.php:304:                   // @TODO Rewrite these constants
143 ./inc/modules/guest/what-stats.php:110: // @TODO This can be somehow rewritten
144 ./inc/modules/guest/what-stats.php:123: // @TODO Rewrite all these constants
145 ./inc/modules/guest/what-stats.php:192:         // @TODO Rewrite this to one template and $OUT .= ....
146 ./inc/modules/guest/what-top10.php:107:// @TODO Rewrite this constant
147 ./inc/modules/guest/what-top10.php:145: // @TODO Rewritings: nick->nickname,uid->userid in template
148 ./inc/modules/guest/what-top10.php:177:// @TODO Rewrite this constant
149 ./inc/modules/guest/what-top10.php:215: // @TODO Rewritings: nick->nickname,uid->userid in template
150 ./inc/modules/guest/what-top10.php:248:// @TODO Rewrite this constant
151 ./inc/modules/guest/what-top10.php:255:// @TODO Rewrite this constant
152 ./inc/modules/guest/what-top10.php:74:  // @TODO Rewritings: uid->userid,nick->nickname,logins->total_logins in template
153 ./inc/modules/guest/what-wernis_portal.php:85://  @TODO Can this be removed? $rdf->clear_cache();
154 ./inc/modules/member/what-bonus.php:55: // @TODO Rewrite this to a filter
155 ./inc/modules/member/what-categories.php:112:           // @TODO Rewrite this to use $OUT .= ...
156 ./inc/modules/member/what-order.php:505:                                        // @TODO Rewrite this old lost code to a template
157 ./inc/modules/member/what-payout.php:131:                               // @TODO Rewritings: acc->target_account,bank->target_bank in templates
158 ./inc/modules/member/what-payout.php:147:                       // @TODO Rewrite this constant
159 ./inc/modules/member/what-payout.php:181:               // @TODO Rewrite these constants
160 ./inc/modules/member/what-payout.php:189:                               // @TODO Rewrite this constant
161 ./inc/modules/member/what-points.php:54:// @TODO Should we rewrite this to a filter?
162 ./inc/modules/member/what-reflinks.php:105:             // @TODO Rewritings: alt->alternate,cnt->counter,cks->clicks,uid->userid in template
163 ./inc/modules/member/what-transfer.php:116:                     // @TODO Rewrite all these constants to array elements
164 ./inc/modules/member/what-transfer.php:247:                     // @TODO Try to rewrite his to $content = SQL_FETCHARRAY(), see some lines above for two different queries
165 ./inc/modules/member/what-transfer.php:309:             // @TODO Rewrite these constants
166 ./inc/modules/member/what-transfer.php:317:             // @TODO Rewrite these constants
167 ./inc/modules/member/what-transfer.php:329:             // @TODO This should be somehow rewritten to $content = SQL_FETCHARRAY(), see switch() block above for SQL queries
168 ./inc/modules/member/what-transfer.php:364:     // @TODO Rewrite these constants
169 ./inc/modules/member/what-transfer.php:451:     // @TODO Rewrite all these constants
170 ./inc/modules/member/what-unconfirmed.php:134:  // @TODO Try to rewrite this to $content = SQL_FETCHARRAY()
171 ./inc/mysql-manager.php:1509:                   // @TODO Try to rewrite this to $content = SQL_FETCHARRAY()
172 ./inc/mysql-manager.php:1718:                           // @TODO Find a way for updating $_CONFIG here
173 ./inc/mysql-manager.php:173:                    // @TODO Nothing helped???
174 ./inc/mysql-manager.php:1742:           // @TODO Find a way for updating $_CONFIG here
175 ./inc/mysql-manager.php:1826:                   // @TODO Rewrite this to $content = SQL_FETCHARRAY()
176 ./inc/mysql-manager.php:2120:           // @TODO This can be somehow rewritten
177 ./inc/mysql-manager.php:617:    // @TODO Why is this global??? #100
178 ./inc/mysql-manager.php:945:                    // @TODO Why does this lead into an endless loop but we still need it???
179 ./mailid_top.php:211:                                                                   // @TODO Rewrite these blocks to filter
180 ./surfbar.php:65:               // @TODO Display quick login form here or redirect as configured