From: Roland Häder Date: Sun, 1 Nov 2009 17:03:11 +0000 (+0000) Subject: Missing header 'Content-Transfer-Encoding' added, template fixed, TODOs.txt updated X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=commitdiff_plain;h=1c54bc39dbc7957fa15401b89a41765334f27601 Missing header 'Content-Transfer-Encoding' added, template fixed, TODOs.txt updated --- diff --git a/DOCS/TODOs.txt b/DOCS/TODOs.txt index cf295ec2c5..222388c896 100644 --- a/DOCS/TODOs.txt +++ b/DOCS/TODOs.txt @@ -3,39 +3,40 @@ ./beg.php:191: // @TODO Opps, what is missing here??? ./birthday_confirm.php:93: // @TODO Try to rewrite the following unset() ./inc/cache/config-local.php:122:// @TODO Rewrite the following three constants, somehow... -./inc/classes/cachesystem.class.php:461: // @TODO Add support for more types which break in last else-block -./inc/config-functions.php:157: // @TODO Make this all better... :-/ -./inc/config-functions.php:332: // @TODO Find a way for updating configuration here +./inc/classes/cachesystem.class.php:464: // @TODO Add support for more types which break in last else-block +./inc/config-functions.php:143: // @TODO Make this all better... :-/ +./inc/config-functions.php:318: // @TODO Find a way for updating configuration here ./inc/extensions/ext-html_mail.php:140: // @TODO Move these arrays into config +./inc/extensions/ext-network.php:68: // @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-sql_patches.php:725: // @TODO Rewrite this to a filter +./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:370:// @TODO Change from ext_id to ext_name (not just even the variable! ;-) ) ./inc/extensions-functions.php:481: // @TODO Extension is loaded, what next? -./inc/functions.php:1346: // @TODO Remove this if() block if all is working fine +./inc/functions.php:1350: // @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:2343:// @TODO Try to move this to inc/libs/theme_functions.php -./inc/functions.php:2382: // @TODO The status should never be empty -./inc/functions.php:2514:// @TODO Please describe this function -./inc/functions.php:2532: searchDirsRecursive($next_dir, $last_changed); // @TODO small change to API to $last_changed = searchDirsRecursive($next_dir, $time); -./inc/functions.php:2617: // @TODO Add a little more infos here -./inc/functions.php:2628: // @TODO This cannot be rewritten to app_die(), try to find a solution for this. +./inc/functions.php:2370:// @TODO Try to move this to inc/libs/theme_functions.php +./inc/functions.php:2409: // @TODO The status should never be empty +./inc/functions.php:2541:// @TODO Please describe this function +./inc/functions.php:2559: searchDirsRecursive($next_dir, $last_changed); // @TODO small change to API to $last_changed = searchDirsRecursive($next_dir, $time); ./inc/functions.php:264: // @TODO Find all templates which are using these direct variables and rewrite them. +./inc/functions.php:2655: // @TODO Add a little more infos here ./inc/functions.php:265: // @TODO After this step is done, this else-block is history -./inc/functions.php:2710: // @TODO Rewrite this old lost code to a template -./inc/functions.php:2829: // @TODO Are these convertions still required? -./inc/functions.php:2847:// @TODO Rewrite this function to use readFromFile() and writeToFile() -./inc/functions.php:581: // @TODO Extension 'msg' does not exist -./inc/functions.php:658:// @TODO Rewrite this to an extension 'smtp' +./inc/functions.php:2666: // @TODO This cannot be rewritten to app_die(), try to find a solution for this. +./inc/functions.php:2748: // @TODO Rewrite this old lost code to a template +./inc/functions.php:2867: // @TODO Are these convertions still required? +./inc/functions.php:2885:// @TODO Rewrite this function to use readFromFile() and writeToFile() +./inc/functions.php:580: // @TODO Extension 'msg' does not exist +./inc/functions.php:657:// @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:1138:// @TODO Rewrite these two constants -./inc/language/de.php:1154:// @TODO Rewrite these five constants -./inc/language/de.php:734:// @TODO The template 'admin_extensions_installed' is using this. But the template is no longer used. -./inc/language/de.php:842:// @TODO Are these constants longer used? +./inc/language/de.php:1139:// @TODO Rewrite these two constants +./inc/language/de.php:1155:// @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-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 @@ -43,7 +44,7 @@ ./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:206: // @TODO Try to find a way for rewriting this constant +./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 @@ -60,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:339: // @TODO Rewrite this to $content = SQL_FETCHARRAY() -./inc/modules/admin/admin-inc.php:344: // @TODO ACL is 'allow'... hmmm -./inc/modules/admin/admin-inc.php:396: // @TODO Rewrite this to $content = SQL_FETCHARRAY() -./inc/modules/admin/admin-inc.php:402: // @TODO ACL is 'allow'... hmmm -./inc/modules/admin/admin-inc.php:504:// @TODO Try to rewrite this to adminAddMenuSelectionBox() -./inc/modules/admin/admin-inc.php:517: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY(). Please look some lines above for the dynamic query +./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/overview-inc.php:160: // @TODO Rewrite this to a filter ./inc/modules/admin/overview-inc.php:170: // @TODO Can this SQL be encapsulated in a function, so all similar queries can be rewritten? ./inc/modules/admin/overview-inc.php:275: // @TODO Rewrite this to something with include files @@ -92,9 +93,9 @@ ./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-guest_add.php:122: // @TODO This can be somehow rewritten to a function -./inc/modules/admin/what-guest_add.php:61: // @TODO Cant this be rewritten? -./inc/modules/admin/what-guest_add.php:77: // @TODO This can be somehow rewritten to a function +./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 @@ -149,47 +150,48 @@ ./inc/modules/guest/what-stats.php:75:// @TODO This can be rewritten in a dynamic include ./inc/modules/member/what-beg.php:89:// @TODO No more needed? define('__BEG_UID_TIMEOUT', createFancyTime(getConfig('beg_userid_timeout'))); ./inc/modules/member/what-bonus.php:56: // @TODO Rewrite this to a filter -./inc/modules/member/what-categories.php:112: // @TODO Rewrite this to use $OUT .= ... -./inc/modules/member/what-order.php:446: // @TODO Rewrite this to a filter -./inc/modules/member/what-payout.php:133: // @TODO Rewritings: acc->target_account,bank->target_bank in templates -./inc/modules/member/what-payout.php:229: // @TODO Rewrite this to a filter +./inc/modules/member/what-categories.php:129: // @TODO Rewrite this to use $OUT .= ... +./inc/modules/member/what-order.php:443: // @TODO Rewrite this to a filter +./inc/modules/member/what-payout.php:143: // @TODO Rewritings: acc->target_account,bank->target_bank in templates +./inc/modules/member/what-payout.php:241: // @TODO Rewrite this to a filter ./inc/modules/member/what-points.php:54:// @TODO Should we rewrite this to a filter? ./inc/modules/member/what-rallyes.php:89: // @TODO Reactivate this: $content['admin'] = "".$content['login'].""; +./inc/modules/member/what-reflinks.php:62:// @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:101: // @TODO Rewrite this to a filter ./inc/modules/member/what-transfer.php:143: // @TODO Rewrite this to a filter ./inc/modules/member/what-transfer.php:233: // @TODO Try to rewrite his to $content = SQL_FETCHARRAY(), see some lines above for two different queries ./inc/modules/member/what-transfer.php:318: // @TODO This should be somehow rewritten to $row = SQL_FETCHARRAY(), see switch() block above for SQL queries ./inc/modules/member/what-transfer.php:324: // @TODO Rewrite: tid->trans_id,stamp->time_trans -./inc/modules/member/what-unconfirmed.php:132: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY() +./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:70: // @TODO Rewrite this to a filter -./inc/mysql-manager.php:1592: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY() -./inc/mysql-manager.php:1800: // @TODO Rewrite this to $content = SQL_FETCHARRAY() -./inc/mysql-manager.php:2116: // @TODO This can be somehow rewritten +./inc/monthly/monthly_bonus.php:68: // @TODO Rewrite this to a filter +./inc/mysql-manager.php:1598: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY() +./inc/mysql-manager.php:1819: // @TODO Rewrite this to $content = SQL_FETCHARRAY() +./inc/mysql-manager.php:2139: // @TODO This can be somehow rewritten ./inc/mysql-manager.php:220: // @TODO Nothing helped??? ./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:605: // @TODO Try to rewrite this to one or more functions ./inc/mysql-manager.php:93:// @TODO Can we cache this? -./inc/reset/reset_birthday.php:91: // @TODO 4 is hard-coded here, should we move it out in config? +./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:396:// @TODO Do some more sanity check here -./mailid.php:135: // @TODO Rewrite this to a filter -./mailid.php:215: // @TODO Rewrite this to a dynamic include or so +./inc/wrapper-functions.php:402:// @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:139: // @TODO Rewrite this to a filter -./mailid_top.php:186: // @TODO Rewrite this to a filter -./mailid_top.php:193: // @TODO Rewrite this to a filter -./mailid_top.php:229: // @TODO Rewrite these blocks to filter -./mailid_top.php:264: // @TODO Try to rewrite the following unset() -./mailid_top.php:96: // @TODO Rewrite this to a filter +./mailid_top.php:142: // @TODO Rewrite this to a filter +./mailid_top.php:189: // @TODO Rewrite this to a filter +./mailid_top.php:196: // @TODO Rewrite this to a filter +./mailid_top.php:232: // @TODO Rewrite these blocks to filter +./mailid_top.php:267: // @TODO Try to rewrite the following unset() +./mailid_top.php:99: // @TODO Rewrite this to a filter ./view.php:72: // @TODO No banner found, output some default banner ### ### DEPRECATION FOLLOWS: ### ### ./inc/functions.php:249: // @DEPRECATED Try to rewrite the if() condition ./inc/functions.php:263: // @DEPRECATED -./inc/modules/admin/admin-inc.php:505:// @DEPRECATED +./inc/modules/admin/admin-inc.php:515:// @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 @@ -204,14 +206,15 @@ Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : table in templates/de 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_order_send.tpl. Warning: Not parsing JavaScript templates/de/html/js/js_uberwach.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 : div in templates/de/html/admin/admin_overview_footer.tpl, line: 11 in -Warning: DOMDocument::loadHTMLFile(): Unexpected end tag : form in templates/de/html/admin/admin_overview_footer.tpl, line: 12 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(): 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 diff --git a/templates/de/emails/header.tpl b/templates/de/emails/header.tpl index d84dc18117..53d3ee176b 100644 --- a/templates/de/emails/header.tpl +++ b/templates/de/emails/header.tpl @@ -1,5 +1,6 @@ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit X-Mailer: {?TITLE?} {?FULL_VERSION?} Errors-To: {?WEBMASTER?} X-Loop: {?WEBMASTER?} diff --git a/templates/de/html/member/member_payout_list.tpl b/templates/de/html/member/member_payout_list.tpl index 0cdbc72f55..46d0468ebb 100644 --- a/templates/de/html/member/member_payout_list.tpl +++ b/templates/de/html/member/member_payout_list.tpl @@ -1,5 +1,7 @@
- {--PAYOUT_NOW--}:
+
+ {--PAYOUT_NOW--}: +