From c544e11e6c117f1a1757bbc98b19e9675dc9b3cb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 2 Jan 2010 18:00:14 +0000 Subject: [PATCH] Extension ext-network continued, saving NULL entries fixed: - Editing/deleting of request parameters (ext-network) added - In three networks, type 'traffic' added - README renamed for ext-surfbar - Fixed saving NULL entries in adminSaveSetting() - New 'wrapper' isSqlDebbuggingEnabled() added - Extension ext-network how has some 'wrapper' functions to minimize code base - TODOs.txt updated --- .gitattributes | 6 +- DOCS/TODOs.txt | 399 +++++++++--------- DOCS/de/surfbar/README.txt | 21 + DOCS/de/surfbar/README_surfbar.txt | 7 - inc/db/lib-mysql3.php | 2 +- inc/extensions/ext-network.php | 150 ++++--- inc/language/network_de.php | 73 ++-- inc/libs/network_functions.php | 284 ++++++++++++- inc/libs/nickname_functions.php | 2 +- inc/modules/admin/admin-inc.php | 3 + .../admin/what-list_network_params.php | 57 +-- inc/modules/admin/what-list_network_types.php | 8 +- inc/wrapper-functions.php | 5 + .../html/admin/admin_add_network_params.tpl | 12 +- .../html/admin/admin_del_network_params.tpl | 27 ++ .../admin/admin_del_network_params_row.tpl | 25 ++ .../admin/admin_del_network_types_row.tpl | 2 +- .../html/admin/admin_edit_network_params.tpl | 27 ++ .../admin/admin_edit_network_params_row.tpl | 29 ++ .../html/admin/admin_list_network_params.tpl | 14 +- 20 files changed, 777 insertions(+), 376 deletions(-) create mode 100644 DOCS/de/surfbar/README.txt delete mode 100644 DOCS/de/surfbar/README_surfbar.txt create mode 100644 templates/de/html/admin/admin_del_network_params.tpl create mode 100644 templates/de/html/admin/admin_del_network_params_row.tpl create mode 100644 templates/de/html/admin/admin_edit_network_params.tpl create mode 100644 templates/de/html/admin/admin_edit_network_params_row.tpl diff --git a/.gitattributes b/.gitattributes index d8bbdeef28..00ddc0e1b9 100644 --- a/.gitattributes +++ b/.gitattributes @@ -35,7 +35,7 @@ DOCS/de/rallye/README.txt -text DOCS/de/rewrite/.htaccess -text DOCS/de/rewrite/README.txt -text DOCS/de/rewrite/README_htaccess.de -text -DOCS/de/surfbar/README_surfbar.txt -text +DOCS/de/surfbar/README.txt -text DOCS/de/task/README.txt -text DOCS/de/themes/README.txt -text DOCS/en/AUTHORS.txt -text @@ -989,6 +989,8 @@ templates/de/html/admin/admin_del_cats_row.tpl -text templates/de/html/admin/admin_del_email_bonus.tpl -text templates/de/html/admin/admin_del_email_normal.tpl -text templates/de/html/admin/admin_del_email_notify.tpl -text +templates/de/html/admin/admin_del_network_params.tpl -text +templates/de/html/admin/admin_del_network_params_row.tpl -text templates/de/html/admin/admin_del_network_types.tpl -text templates/de/html/admin/admin_del_network_types_row.tpl -text templates/de/html/admin/admin_del_networks.tpl -text @@ -1009,6 +1011,8 @@ templates/de/html/admin/admin_edit_cats_row.tpl -text templates/de/html/admin/admin_edit_email.tpl -text templates/de/html/admin/admin_edit_email_row.tpl -text templates/de/html/admin/admin_edit_email_select.tpl -text +templates/de/html/admin/admin_edit_network_params.tpl -text +templates/de/html/admin/admin_edit_network_params_row.tpl -text templates/de/html/admin/admin_edit_network_types.tpl -text templates/de/html/admin/admin_edit_network_types_row.tpl -text templates/de/html/admin/admin_edit_networks.tpl -text diff --git a/DOCS/TODOs.txt b/DOCS/TODOs.txt index 9bc0f08a9b..4afbb20065 100644 --- a/DOCS/TODOs.txt +++ b/DOCS/TODOs.txt @@ -1,212 +1,209 @@ ### WARNING: THIS FILE IS AUTO-GENERATED BY ./DOCS/todo-builder.sh (uid=/user=quix0r) ### ### DO NOT EDIT THIS FILE. ### -./autoreg.php:59:// @TODO Add processing of request here -./beg.php:172: // @TODO Opps, what is missing here??? -./birthday_confirm.php:93: // @TODO Try to rewrite the following unset() -./inc/autopurge/purge-inact.php:56: // @TODO Rewrite these if() blocks to a filter +./autoreg.php:60:// @TODO Add processing of request here +./beg.php:173: // @TODO Opps, what is missing here??? +./birthday_confirm.php:94: // @TODO Try to rewrite the following unset() +./inc/autopurge/purge-inact.php:57: // @TODO Rewrite these if() blocks to a filter ./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/classes/cachesystem.class.php:468: // @TODO Add support for more types which break in last else-block +./inc/config-functions.php:144: // @TODO Make this all better... :-/ +./inc/expression-functions.php:136:// @TODO FILTER_COMPILE_CONFIG does not handle call-back functions so we handle it here again +./inc/extensions/ext-html_mail.php:138: // @TODO Move these arrays into config +./inc/extensions/ext-menu.php:54: // @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, do they really have UTF-8? * -./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, really UTF-8 * -./inc/extensions/ext-network.php:30: * @TODO GigaPromo: Traffic * -./inc/extensions/ext-network.php:31: * @TODO GolloX: Which charset? * -./inc/extensions/ext-network.php:32: * @TODO homeADS: Which charset? * -./inc/extensions/ext-network.php:33: * @TODO Mega-Ad: Traffic * -./inc/extensions/ext-network.php:34: * @TODO paid4ad: Which URLs for click and banner? * -./inc/extensions/ext-network.php:35: * @TODO secash: Traffic * -./inc/extensions/ext-network.php:36: * @TODO ultraPROMO: Traffic * -./inc/extensions/ext-network.php:37: * @TODO Der Werbepartner.cc: Has click/banner URL in API response * -./inc/extensions/ext-network.php:90: // @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:2488: // @TODO Add a little more infos here -./inc/functions.php:255: // @TODO Remove this sanity-check if all is fine -./inc/functions.php:2570: // @TODO Move this SQL code into a function, let's say 'getTimestampFromPoolId($id) ? -./inc/functions.php:258: // @TODO Try to rewrite all $DATA to $content -./inc/functions.php:2593: // @TODO Rewrite this old lost code to a template -./inc/functions.php:2682: // @TODO Are these convertions still required? -./inc/functions.php:2700:// @TODO Rewrite this function to use readFromFile() and writeToFile() -./inc/functions.php:3579:// @TODO Lame description for this function -./inc/functions.php:3601: // @TODO Move this in a filter -./inc/functions.php:3725: // @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/extensions/ext-network.php:23: * @TODO ADCocktail: All request parameters, BIDausKAS, WIDausKAS??? * +./inc/extensions/ext-network.php:24: * @TODO Affiliblatt: All except banner, do they really have UTF-8? * +./inc/extensions/ext-network.php:25: * @TODO doubleads: Which charset? * +./inc/extensions/ext-network.php:26: * @TODO Fusion-Ads: Has click/banner URL in API response, really UTF-8 * +./inc/extensions/ext-network.php:27: * @TODO GigaPromo: Traffic * +./inc/extensions/ext-network.php:28: * @TODO GolloX: Which charset? * +./inc/extensions/ext-network.php:29: * @TODO homeADS: Which charset? * +./inc/extensions/ext-network.php:30: * @TODO Mega-Ad: Traffic * +./inc/extensions/ext-network.php:31: * @TODO paid4ad: Which URLs for click and banner? * +./inc/extensions/ext-network.php:32: * @TODO secash: Traffic * +./inc/extensions/ext-network.php:33: * @TODO ultraPROMO: Traffic * +./inc/extensions/ext-network.php:34: * @TODO Der Werbepartner.cc: Has click/banner URL in API response * +./inc/extensions/ext-network.php:88: // @TODO network_type_handle is an internal name and needs documentation +./inc/extensions/ext-newsletter.php:216: // @TODO Move these into configuration +./inc/extensions/ext-rallye.php:331: // @TODO Move this code into rallye_functions.php +./inc/extensions/ext-rallye.php:94: // @TODO Fix config_rallye_prices to list_rallye_prices +./inc/extensions/ext-sql_patches.php:763: // @TODO Rewrite this to a filter +./inc/extensions/ext-sql_patches.php:95: /* @TODO SQL_ALTER_TABLE() should work now properly +./inc/extensions/ext-yoomedia.php:123: // @TODO Can this be moved into a database table? +./inc/extensions/ext-yoomedia.php:56:// @TODO Only deprecated when 'network' is ready! setExtensionDeprecated('Y'); +./inc/extensions-functions.php:380:// @TODO Change from ext_id to ext_name (not just even the variable! ;-) ) +./inc/extensions-functions.php:493: // @TODO Extension is loaded, what next? +./inc/functions.php:1011:// @TODO $simple is deprecated +./inc/functions.php:1046: // @TODO Do only use $content and deprecate $GLOBALS and $DATA in templates +./inc/functions.php:2489: // @TODO Add a little more infos here +./inc/functions.php:256: // @TODO Remove this sanity-check if all is fine +./inc/functions.php:2571: // @TODO Move this SQL code into a function, let's say 'getTimestampFromPoolId($id) ? +./inc/functions.php:2594: // @TODO Rewrite this old lost code to a template +./inc/functions.php:259: // @TODO Try to rewrite all $DATA to $content +./inc/functions.php:2683: // @TODO Are these convertions still required? +./inc/functions.php:2701:// @TODO Rewrite this function to use readFromFile() and writeToFile() +./inc/functions.php:3580:// @TODO Lame description for this function +./inc/functions.php:3602: // @TODO Move this in a filter +./inc/functions.php:3726: // @TODO This is still very static, rewrite it somehow +./inc/functions.php:474: // @TODO Do only use $content, not $DATA or raw variables +./inc/functions.php:544: // @TODO Extension 'msg' does not exist +./inc/functions.php:613:// @TODO Rewrite this to an extension 'smtp' +./inc/install-functions.php:63: // @TODO DEACTIVATED: changeDataInFile(getConfig('CACHE_PATH') . 'config-local.php', 'OUTPUT-MODE', "setConfigEntry('OUTPUT_MODE', '", "');", postRequestParameter('omode'), 0); +./inc/language/de.php:1158:// @TODO Rewrite these two constants +./inc/language/de.php:1174:// @TODO Rewrite these five constants +./inc/language/de.php:852:// @TODO Are these constants longer used? +./inc/language-functions.php:234: // @TODO These are all valid languages, again hard-coded +./inc/language-functions.php:46:// @TODO Rewrite all language constants to this function. +./inc/language/holiday_de.php:50:// @TODO Rewrite these two constants to one +./inc/language/rallye_de.php:114:// @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:313: // @TODO Make this filter working: $ADDON = runFilterChain('post_login_update', $content); -./inc/libs/user_functions.php:333: // @TODO Make this filter working: $URL = runFilterChain('do_login', array('content' => $content, 'addon' => $ADDON)); -./inc/libs/user_functions.php:409: // @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/language/refback_de.php:46:// @TODO Rewrite these constants to one +./inc/language/sponsor_de.php:119:// @TODO Rewrite these four constants to one and use sprintf() +./inc/libs/admins_functions.php:440: // @TODO This can be, somehow, rewritten +./inc/libs/beg_functions.php:58: // @TODO Try to rewrite the following unset() +./inc/libs/bonus_functions.php:216: // @TODO Try to find a way for rewriting this constant +./inc/libs/bonus_functions.php:304: // @TODO This query isn't right, it will only update if the user was for a longer time away! +./inc/libs/doubler_functions.php:46:// @TODO Lame description +./inc/libs/rallye_functions.php:719: $EXPIRE = 3; // @TODO The hard-coded value... +./inc/libs/rallye_functions.php:783: // @TODO Rewrite this to our API function +./inc/libs/refback_functions.php:61: // @TODO Try to rewrite the following unset() +./inc/libs/register_functions.php:287: // @TODO Rewrite these all to a single filter +./inc/libs/register_functions.php:363: // @TODO Rewrite this to a filter +./inc/libs/register_functions.php:370: // @TODO Rewrite this whole if() block to addPointsThroughReferalSystem(). This will also make following if() block obsolete +./inc/libs/register_functions.php:371: // @TODO Wether the registration bonus should only be added to user directly or through referal system should be configurable +./inc/libs/surfbar_functions.php:1497: // @TODO This can be somehow rewritten +./inc/libs/surfbar_functions.php:950: // @TODO Invalid salt should be refused +./inc/libs/task_functions.php:245: // @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:138: // @TODO These two constants are no longer used, maybe we reactivate this code? +./inc/libs/user_functions.php:225:// @TODO Double-check configuration entry here +./inc/libs/user_functions.php:314: // @TODO Make this filter working: $ADDON = runFilterChain('post_login_update', $content); +./inc/libs/user_functions.php:334: // @TODO Make this filter working: $URL = runFilterChain('do_login', array('content' => $content, 'addon' => $ADDON)); +./inc/libs/user_functions.php:410: // @TODO We should try to rewrite this to fetchUserData() somehow +./inc/libs/yoomedia_functions.php:116: $response = YOOMEDIA_QUERY_API('out_textmail.php', true); // @TODO Ask Yoo!Media for test script +./inc/load_config.php:77: // @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:253: // @TODO Rewrite this to $content = SQL_FETCHARRAY() -./inc/modules/admin/admin-inc.php:258: // @TODO ACL is 'allow'... hmmm -./inc/modules/admin/admin-inc.php:324: // @TODO Rewrite this to $content = SQL_FETCHARRAY() -./inc/modules/admin/admin-inc.php:330: // @TODO ACL is 'allow'... hmmm -./inc/modules/admin/admin-inc.php:430:// @TODO Try to rewrite this to adminAddMenuSelectionBox() -./inc/modules/admin/admin-inc.php:444: // @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: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/admin-inc.php:254: // @TODO Rewrite this to $content = SQL_FETCHARRAY() +./inc/modules/admin/admin-inc.php:259: // @TODO ACL is 'allow'... hmmm +./inc/modules/admin/admin-inc.php:325: // @TODO Rewrite this to $content = SQL_FETCHARRAY() +./inc/modules/admin/admin-inc.php:331: // @TODO ACL is 'allow'... hmmm +./inc/modules/admin/admin-inc.php:431:// @TODO Try to rewrite this to adminAddMenuSelectionBox() +./inc/modules/admin/admin-inc.php:445: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY(). Please look some lines above for the dynamic query +./inc/modules/admin/overview-inc.php:164: // @TODO Rewrite this to a filter +./inc/modules/admin/overview-inc.php:278: // @TODO Rewrite this to something with include files and/or filter +./inc/modules/admin/overview-inc.php:316: // @TODO This may also be rewritten to include files +./inc/modules/admin/overview-inc.php:318: default: // @TODO Unknown support mode +./inc/modules/admin/overview-inc.php:439: // @TODO Try to move this in includes +./inc/modules/admin/overview-inc.php:45:// @TODO This function does also check for uncompleted tasks +./inc/modules/admin/what-add_guestnl_cat.php:49: // @TODO Check if category does already exist +./inc/modules/admin/what-add_surfbar_url.php:57: // @TODO Find all convertSelectionsToTimestamp() calls and rewrite postRequestParameter() calls to $postData +./inc/modules/admin/what-admin_add.php:120: // @TODO This can be somehow rewritten to a function +./inc/modules/admin/what-admin_add.php:61: // @TODO Cant this be rewritten? +./inc/modules/admin/what-admin_add.php:77: // @TODO This can be somehow rewritten to a function +./inc/modules/admin/what-adminedit.php:58: // @TODO Kill all constants in this file +./inc/modules/admin/what-admins_mails.php:61: // @TODO Can this be rewritten??? +./inc/modules/admin/what-bonus.php:48:// @TODO Unused at the moment +./inc/modules/admin/what-config_admins.php:146: // @TODO Rewrite this to filter 'run_sqls' +./inc/modules/admin/what-config_mods.php:141: // @TODO Rewritings: mod->module in template +./inc/modules/admin/what-config_mods.php:57: // @TODO This can be moved into mysql-function.php, see checkModulePermissions() function +./inc/modules/admin/what-config_rallye_prices.php:209: // @TODO Rewritings: level->price_level, infos->info in template +./inc/modules/admin/what-config_rallye_prices.php:226: // @TODO Rewrite these two constants +./inc/modules/admin/what-config_register.php:78: // @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' , '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 loadTemplate() 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-rallyes.php:90: // @TODO Reactivate this: $content['admin'] = '' . $login . ''; -./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-rallyes.php:90: // @TODO Reactivate this: $content['admin'] = '' . $content['login'] . ''; -./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:1578: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY() -./inc/mysql-manager.php:1676: // @TODO Rewrite this to a filter -./inc/mysql-manager.php:2120: // @TODO Rewrite this to a filter -./inc/mysql-manager.php:2161:// @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:422:// @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 +./inc/modules/admin/what-email_stats.php:48:// @TODO Unused at the moment +./inc/modules/admin/what-extensions.php:348: // @TODO Rewrite this to a filter +./inc/modules/admin/what-guest_add.php:137: // @TODO This can be somehow rewritten to a function +./inc/modules/admin/what-guest_add.php:69: // @TODO Cant this be rewritten? +./inc/modules/admin/what-guest_add.php:85: // @TODO This can be somehow rewritten to a function +./inc/modules/admin/what-holiday_list.php:48:// @TODO Unused at the moment +./inc/modules/admin/what-list_autopurge.php:55:// @TODO Rewrite those lines to filter +./inc/modules/admin/what-list_autopurge.php:85: // @TODO Rewritings: surname->surname,family->family in templates +./inc/modules/admin/what-list_cats.php:56: // @TODO No longer needed? define('__CATS_BASE' , 'mail_title, pay->payment in template +./inc/modules/admin/what-refbanner.php:145: // @TODO Rewritings: alt->alternate,cnt->counter,clx->clicks in template +./inc/modules/admin/what-unlock_emails.php:89: // @TODO Rewrite these if-blocks to a filter +./inc/modules/admin/what-unlock_sponsor.php:192: // @TODO Rewritings: remote->remote_addr, created->sponsor_created in template +./inc/modules/admin/what-usage.php:88: // @TODO This code is double, see loadTemplate() and loadEmailTemplate() in functions.php +./inc/modules/admin/what-usr_online.php:51: // @TODO Add a filter for sponsor +./inc/modules/guest/what-beg.php:60:// @TODO No more needed? define('__BEG_UID_TIMEOUT', createFancyTime(getConfig('beg_userid_timeout'))); +./inc/modules/guest/what-confirm.php:113: // @TODO Try to rewrite the following unset() +./inc/modules/guest/what-login.php:108: // @TODO Move this HTML code into a template +./inc/modules/guest/what-mediadata.php:183:// @TODO Rewrite all these if-blocks to filters +./inc/modules/guest/what-mediadata.php:70: // @TODO Find a better formular than this one +./inc/modules/guest/what-rallyes.php:91: // @TODO Reactivate this: $content['admin'] = '' . $login . ''; +./inc/modules/guest/what-sponsor_infos.php:70: // @TODO Rewritings: conv->conv_rate,name->conv_name in template +./inc/modules/guest/what-sponsor_infos.php:90: // @TODO Rewritings: name->pay_name,min->pay_min_count,min->pay_min_count,curr->pay_currency +./inc/modules/guest/what-sponsor_reg.php:287: // @TODO Swap this HTML code to templates +./inc/modules/guest/what-stats.php:116: // @TODO This can be somehow rewritten +./inc/modules/guest/what-stats.php:76:// @TODO This can be rewritten in a dynamic include +./inc/modules/member/what-beg.php:64:// @TODO No more needed? define('__BEG_UID_TIMEOUT', createFancyTime(getConfig('beg_userid_timeout'))); +./inc/modules/member/what-bonus.php:57: // @TODO Rewrite this to a filter +./inc/modules/member/what-categories.php:129: // @TODO Rewrite this to use $OUT .= ... +./inc/modules/member/what-doubler.php:56:// @TODO The '*100' is in the way to get moved into the template +./inc/modules/member/what-order.php:450: // @TODO Rewrite this to a filter +./inc/modules/member/what-order.php:65:// @TODO Rewrite this to a filter +./inc/modules/member/what-payout.php:221: // @TODO Rewrite this to a filter +./inc/modules/member/what-points.php:55:// @TODO Should we rewrite this to a filter? +./inc/modules/member/what-rallyes.php:91: // @TODO Reactivate this: $content['admin'] = '' . $content['login'] . ''; +./inc/modules/member/what-reflinks.php:54:// @TODO Move this into a filter +./inc/modules/member/what-stats.php:119: // @TODO Rewrite in template: clix->clicks +./inc/modules/member/what-transfer.php:136: // @TODO Rewrite this to a filter +./inc/modules/member/what-transfer.php:226: // @TODO Try to rewrite his to $content = SQL_FETCHARRAY(), see some lines above for two different queries +./inc/modules/member/what-transfer.php:311: // @TODO This should be somehow rewritten to $row = SQL_FETCHARRAY(), see switch() block above for SQL queries +./inc/modules/member/what-transfer.php:317: // @TODO Rewrite: tid->trans_id,stamp->time_trans +./inc/modules/member/what-transfer.php:94: // @TODO Rewrite this to a filter +./inc/modules/member/what-unconfirmed.php:143: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY() +./inc/modules/order.php:76: // @TODO Unused: 2,4 +./inc/monthly/monthly_bonus.php:69: // @TODO Rewrite this to a filter +./inc/mysql-manager.php:1579: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY() +./inc/mysql-manager.php:1677: // @TODO Rewrite this to a filter +./inc/mysql-manager.php:2121: // @TODO Rewrite this to a filter +./inc/mysql-manager.php:2162:// @TODO Fix inconsistency between last_module and getWhat() +./inc/mysql-manager.php:229: // @TODO Nothing helped??? +./inc/mysql-manager.php:264: // @TODO Rewrite this to a filter +./inc/mysql-manager.php:557: // @TODO Try to rewrite this to one or more functions +./inc/mysql-manager.php:94:// @TODO Can we cache this? +./inc/reset/reset_beg.php:51:// @TODO This should be converted in a daily beg rallye +./inc/reset/reset_birthday.php:92: // @TODO 4 is hard-coded here, should we move it out in config? +./inc/revision-functions.php:153:// @TODO Please describe this function +./inc/wrapper-functions.php:127:// @TODO Implement $compress +./inc/wrapper-functions.php:134:// @TODO Implement $decompress +./inc/wrapper-functions.php:428:// @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 +./mailid.php:95: // @TODO Rewrite this to a filter +./mailid_top.php:100: // @TODO Rewrite this to a filter +./mailid_top.php:136: // @TODO Rewrite this to a filter +./mailid_top.php:183: // @TODO Rewrite this to a filter +./mailid_top.php:190: // @TODO Rewrite this to a filter +./mailid_top.php:226: // @TODO Rewrite these blocks to filter +./mailid_top.php:261: // @TODO Try to rewrite the following unset() +./view.php:70: // @TODO No banner found, output some default banner ./templates/de/html/admin/admin_add_country.tpl:23: ./templates/de/html/admin/admin_admins_contct_form.tpl:4: ./templates/de/html/admin/admin_amenu_edit.tpl:4: @@ -229,7 +226,7 @@ ./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:431:// @DEPRECATED +./inc/modules/admin/admin-inc.php:432:// @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 diff --git a/DOCS/de/surfbar/README.txt b/DOCS/de/surfbar/README.txt new file mode 100644 index 0000000000..4cd512256e --- /dev/null +++ b/DOCS/de/surfbar/README.txt @@ -0,0 +1,21 @@ +README zur Surfbar (aka. Besuchertausch): +========================================= + +Die Surfbar erlaubt nun seit der SVN-Revision 1168 das Einblenden eines +Loginformulars, wenn ein Gast die Surfbar aufgerufen hat. Du kannst also deinen +Mitgliedern problemlos nun gestatten, die URL http://dein-mailtausch/surfbar.php +in ihre Favoriten (IE) bzw. Lesezeichen (Firefox) einzubinden. + +Was diese Erweiterung wird: +--------------------------- +Ein Besuchertausch mit der Moeglichkeit (bald!), Traffic-Kampagnen von +ext-network automatisch einzubinden. + +Was diese Erweiterung NICHT wird: +--------------------------------- +Eine echte Surfbar, die ausserhalb des Browserfensters als eigenstaendiges +Programm laeuft. Dazu muesste ich C++ (GNU natuerlich) koennen... :-( + +Oder vielleicht geht es bald mit PHP-GTK? ;-P + +[EOF] diff --git a/DOCS/de/surfbar/README_surfbar.txt b/DOCS/de/surfbar/README_surfbar.txt deleted file mode 100644 index 844467ad59..0000000000 --- a/DOCS/de/surfbar/README_surfbar.txt +++ /dev/null @@ -1,7 +0,0 @@ -README zur Surfbar (aka. Besuchertausch): -========================================= - -Die Surfbar erlaubt nun seit der SVN-Revision 1168 das Einblenden eines -Loginformulars, wenn ein Gast die Surfbar aufgerufen hat. Du kannst also deinen -Mitgliedern problemlos nun gestatten, die URL http://dein-mailtausch/surfbar.php -in ihre Favoriten (IE) bzw. Lesezeichen (Firefox) einzubinden. diff --git a/inc/db/lib-mysql3.php b/inc/db/lib-mysql3.php index 63978b1549..7f5a297c64 100644 --- a/inc/db/lib-mysql3.php +++ b/inc/db/lib-mysql3.php @@ -106,7 +106,7 @@ Query string:
incrementConfigEntry('sql_count'); // Debug output - if ((getOutputMode() != 1) && (isDebugModeEnabled()) && (isConfigEntrySet('DEBUG_SQL')) && (getConfig('DEBUG_SQL') == 'Y')) { + if ((getOutputMode() != 1) && (isDebugModeEnabled()) && (isSqlDebuggingEnabled())) { // // Debugging stuff... // diff --git a/inc/extensions/ext-network.php b/inc/extensions/ext-network.php index a13ecec5ff..757f77b697 100644 --- a/inc/extensions/ext-network.php +++ b/inc/extensions/ext-network.php @@ -20,10 +20,7 @@ * @TODO AbisZED: Which charset? * * @TODO Ad-Magnet: Layer(klick?). Layerviews.Skybannerklick/-view, * * @TODO Ad-Magnet: Banner-View, Textlink-Klick/-View. Page-Peel * - * @TODO ADCocktail: Traffic, BIDausKAS??? * - * @TODO Ads4.de: Traffic * - * @TODO Ads4Webbis: Traffic * - * @TODO Ads4World: Traffic * + * @TODO ADCocktail: All request parameters, BIDausKAS, WIDausKAS??? * * @TODO Affiliblatt: All except banner, do they really have UTF-8? * * @TODO doubleads: Which charset? * * @TODO Fusion-Ads: Has click/banner URL in API response, really UTF-8 * @@ -260,7 +257,7 @@ PRIMARY KEY (`network_reload_id`) (1, 1, 'banner', 'http://www.a3h.de/interface/out_banner.php', 'http://www.a3h.de/bannerklf.php?id=%CID%', 'http://www.a3h.de/banner.php?id=%CID%'), (2, 1, 'textlink', 'http://www.a3h.de/interface/out_textlink.php', 'http://www.a3h.de/textlinkklick.php?id=%CID%', NULL), (3, 1, 'surfbar', 'http://www.a3h.de/interface/out_sbanner.php', 'http://www.a3h.de/bannerklf.php?id=%CID%', 'http://www.a3h.de/banner.php?id=%CID%'), -(4, 1, 'focredbanner', 'http://www.a3h.de/interface/out_fbanner.php', 'http://www.a3h.de/bannerklf.php?id=%CID%', 'http://www.a3h.de/banner.php?id=%CID%'), +(4, 1, 'forcedbanner', 'http://www.a3h.de/interface/out_fbanner.php', 'http://www.a3h.de/bannerklf.php?id=%CID%', 'http://www.a3h.de/banner.php?id=%CID%'), (5, 1, 'textmail', 'http://www.a3h.de/interface/out_paidmail.php', 'http://www.a3h.de/emailf.php?id=%CID%', NULL), (6, 1, 'layer', 'http://www.a3h.de/interface/out_layer.php', 'http://www.a3h.de/layer.php?id=%CID%', NULL), (7, 1, 'popup', 'http://www.a3h.de/interface/out_popup.php', 'http://www.a3h.de/popup.php?id=%CID%', NULL), @@ -275,38 +272,41 @@ PRIMARY KEY (`network_reload_id`) // Network type handlers - AdCocktail addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES -(13, 4, 'focredbanner', 'http://www.adcocktail.com/sc/kas/kas_fk.php', 'http://fk.adcocktail.com/fk_k.php?uid=%UID%&wid=%CID%&wsid=%SID%', 'http://fk.adcocktail.com/fk_v.php?uid=%UID%&wid=%CID%&wsid=%SID%'), +(13, 4, 'forcedbanner', 'http://www.adcocktail.com/sc/kas/kas_fk.php', 'http://fk.adcocktail.com/fk_k.php?uid=%UID%&wid=%CID%&wsid=%SID%', 'http://fk.adcocktail.com/fk_v.php?uid=%UID%&wid=%CID%&wsid=%SID%'), (12, 4, 'textmail', 'http://www.adcocktail.com/sc/kas/kas_pm.php', 'http://pm.adcocktail.com/pm.php?uid=%UID%&wid=%CID%&wsid=%SID%', NULL)"); // Network type handlers - Ads4 addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES -(14, 5, 'focredbanner', 'http://www.ads4.de/interface/interface.php', 'http://www.ads4.de/forced_click.php?fb_id=%CID%&sid=%SID%', 'http://www.ads4.de/forced_view.php?fb_id=%CID%&sid=%SID%'), +(14, 5, 'forcedbanner', 'http://www.ads4.de/interface/interface.php', 'http://www.ads4.de/forced_click.php?fb_id=%CID%&sid=%SID%', 'http://www.ads4.de/forced_view.php?fb_id=%CID%&sid=%SID%'), (16, 5, 'htmlmail', 'http://www.ads4.de/interface/interface.php', 'http://www.ads4.de/paidmail_click.php?pm=%CID%&%sid=%SID%', NULL), -(15, 5, 'textmail', 'http://www.ads4.de/interface/interface.php', 'http://www.ads4.de/paidmail_click.php?pm=%CID%&%sid=%SID%', NULL)"); +(15, 5, 'textmail', 'http://www.ads4.de/interface/interface.php', 'http://www.ads4.de/paidmail_click.php?pm=%CID%&%sid=%SID%', NULL), +(119, 5, 'traffic', 'http://www.ads4.de/interface/interface.php', 'http://www.ads4.de/traffic_click.php?tr_id=%CID%&sid=%SID%', '')"); // Network type handlers - Ads4Webbis addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES (20, 6, 'banner_click', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/klickbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ads4webbis.de/codes/viewbanner.php?id=%UID%&bid=%CID%&aid=%SID%'), (19, 6, 'banner_view', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ads4webbis.de/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%'), (22, 6, 'button_view', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/buttonklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ads4webbis.de/codes/buttonview.php?id=%UID%&bid=%CID%&aid=%SID%'), -(17, 6, 'focredbanner', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/forcedbannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ads4webbis.de/codes/forcedbannerview.php?id=%UID%&bid=%CID%&aid=%SID%'), +(17, 6, 'forcedbanner', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/forcedbannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ads4webbis.de/codes/forcedbannerview.php?id=%UID%&bid=%CID%&aid=%SID%'), (18, 6, 'forcedtextlink', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/forcedtextlinkklick.php?id=%UID%&bid=%CID%&aid=%SID%', NULL), (24, 6, 'popup', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/popup.php?id=%UID%&bid=%CID%&aid=%SID%', NULL), (21, 6, 'skybanner_view', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/skybannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ads4webbis.de/codes/skybannerview.php?id=%UID%&bid=%CID%&aid=%SID%'), (23, 6, 'textlink_view', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/textlinkview.php?id=%UID%&bid=%CID%&aid=%SID%', NULL), -(25, 6, 'textmail', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/paidmail.php?id=%UID%&bid=%CID%&aid=%SID%', NULL)"); +(25, 6, 'textmail', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/paidmail.php?id=%UID%&bid=%CID%&aid=%SID%', NULL), +(120, 6, 'traffic', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/traffic.php?id=%UID%&bid=%CID%&aid=%SID%', NULL)"); // Network type handlers - Ads4World addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES (29, 7, 'banner_click', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/klickbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ads4world.de/codes/viewbanner.php?id=%UID%&bid=%CID%&aid=%SID%'), (28, 7, 'banner_view', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ads4world.de/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%'), (31, 7, 'button_view', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/buttonklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ads4world.de/codes/buttonview.php?id=%UID%&bid=%CID%&aid=%SID%'), -(26, 7, 'focredbanner', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/forcedbannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ads4world.de/codes/forcedbannerview.php?id=%UID%&bid=%CID%&aid=%SID%'), +(26, 7, 'forcedbanner', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/forcedbannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ads4world.de/codes/forcedbannerview.php?id=%UID%&bid=%CID%&aid=%SID%'), (27, 7, 'forcedtextlink', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/forcedtextlinkklick.php?id=%UID%&bid=%CID%&aid=%SID%', NULL), (33, 7, 'popup', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/popup.php?id=%UID%&bid=%CID%&aid=%SID%', NULL), (30, 7, 'skybanner_view', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/skybannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ads4world.de/codes/skybannerview.php?id=%UID%&bid=%CID%&aid=%SID%'), (32, 7, 'textlink_view', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/textlinkview.php?id=%UID%&bid=%CID%&aid=%SID%', NULL), -(34, 7, 'textmail', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/paidmail.php?id=%UID%&bid=%CID%&aid=%SID%', NULL)"); +(34, 7, 'textmail', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/paidmail.php?id=%UID%&bid=%CID%&aid=%SID%', NULL), +(121, 7, 'traffic', 'http://www.ads4world.de/interface/', 'http://www.ads4world.de/codes/traffic.php?id=%UID%&bid=%CID%&aid=%SID%', NULL)"); // Network type handlers - Affiliblatt @@ -314,7 +314,7 @@ PRIMARY KEY (`network_reload_id`) addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES (35, 9, 'banner_click', 'http://if.alstermarketing.de/interface/out_banner.php', 'http://www.alstermarketing.de/bannerklf.php?id=%CID%', 'http://www.alstermarketing.de/banner.php?id=%CID%'), (45, 9, 'banner_view', 'http://if.alstermarketing.de/interface/out_banner.php', 'http://www.alstermarketing.de/bannerklf.php?id=%CID%', 'http://www.alstermarketing.de/banner.php?id=%CID%'), -(38, 9, 'focredbanner', 'http://if.alstermarketing.de/interface/out_fbanner.php', 'http://www.alstermarketing.de/bannerklf.php?id=%CID%', 'http://www.alstermarketing.de/banner.php?id=%CID%'), +(38, 9, 'forcedbanner', 'http://if.alstermarketing.de/interface/out_fbanner.php', 'http://www.alstermarketing.de/bannerklf.php?id=%CID%', 'http://www.alstermarketing.de/banner.php?id=%CID%'), (48, 9, 'htmlmail', 'http://if.alstermarketing.de/interface/out_paidmail.php', 'http://www.alstermarketing.de/emailf.php?id=%CID%', NULL), (40, 9, 'layer_click', 'http://if.alstermarketing.de/interface/out_layer.php', 'http://www.alstermarketing.de/layer.php?id=%CID%', NULL), (49, 9, 'layer_view', 'http://if.alstermarketing.de/interface/out_layer.php', 'http://www.alstermarketing.de/layer.php?id=%CID%', NULL), @@ -332,7 +332,7 @@ PRIMARY KEY (`network_reload_id`) addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES (50, 10, 'banner_click', 'http://www.bonussponsor.de/interface/out_banner.php', 'http://www.bonussponsor.de/bannerklf.php?id=%CID%', 'http://www.bonussponsor.de/banner.php?id=%CID%'), (51, 10, 'banner_view', 'http://www.bonussponsor.de/interface/out_banner.php', 'http://www.bonussponsor.de/bannerklf.php?id=%CID%', 'http://www.bonussponsor.de/banner.php?id=%CID%'), -(54, 10, 'focredbanner', 'http://www.bonussponsor.de/interface/out_fbanner.php', 'http://www.bonussponsor.de/bannerklf.php?id=%CID%', 'http://www.bonussponsor.de/banner.php?id=%CID%'), +(54, 10, 'forcedbanner', 'http://www.bonussponsor.de/interface/out_fbanner.php', 'http://www.bonussponsor.de/bannerklf.php?id=%CID%', 'http://www.bonussponsor.de/banner.php?id=%CID%'), (56, 10, 'htmlmail', 'http://www.bonussponsor.de/interface/out_paidmail.php', 'http://www.bonussponsor.de/emailf.php?id=%CID%', NULL), (57, 10, 'layer_click', 'http://www.bonussponsor.de/interface/out_layer.php', 'http://www.bonussponsor.de/layer.php?id=%CID%', NULL), (58, 10, 'layer_view', 'http://www.bonussponsor.de/interface/out_layer.php', 'http://www.bonussponsor.de/layer.php?id=%CID%', NULL), @@ -349,7 +349,7 @@ PRIMARY KEY (`network_reload_id`) // Network type handlers - GigaPromo addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES (102, 12, 'banner_view', 'http://www.gigapromo.de/interface/output_viewbanner.php', 'http://www.gigapromo.de/view/klickbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.gigapromo.de/view/viewbanner.php?id=%UID%&bid=%CID%&aid=%SID%'), -(104, 12, 'focredbanner', 'http://www.gigapromo.de/interface/output_forcedbanner.php', 'http://www.gigapromo.de/view/forcedclickbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.gigapromo.de/view/forcedviewbanner.php?id=%UID%&bid=%CID%&aid=%SID%'), +(104, 12, 'forcedbanner', 'http://www.gigapromo.de/interface/output_forcedbanner.php', 'http://www.gigapromo.de/view/forcedclickbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.gigapromo.de/view/forcedviewbanner.php?id=%UID%&bid=%CID%&aid=%SID%'), (105, 12, 'forcedtextlink', 'http://www.gigapromo.de/interface/output_forcedtextlink.php', 'http://www.gigapromo.de/view/forcedclicktextlink.php?id=%UID%&bid=%CID%&aid=%SID%', NULL), (103, 12, 'layer_view', 'http://www.gigapromo.de/interface/output_layerviews.php', 'http://www.gigapromo.de/view/layer.php?id=%UID%&bid=%CID%&aid=%SID%', NULL), (108, 12, 'popdown', 'http://www.gigapromo.de/interface/output_popdown.php', 'http://www.gigapromo.de/view/popdown.php?id=%UID%&bid=%CID%&aid=%SID%', NULL), @@ -360,7 +360,7 @@ PRIMARY KEY (`network_reload_id`) addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES (63, 13, 'banner_click', 'http://www.make-euros.de/interface/out_banner.php', 'http://www.make-euros.de/bannerklf.php?id=%CID%', 'http://www.make-euros.de/banner.php?id=%CID%'), (64, 13, 'banner_view', 'http://www.make-euros.de/interface/out_banner.php', 'http://www.make-euros.de/bannerklf.php?id=%CID%', 'http://www.make-euros.de/banner.php?id=%CID%'), -(68, 13, 'focredbanner', 'http://www.make-euros.de/interface/out_fbanner.php', 'http://www.make-euros.de/bannerklf.php?id=%CID%', 'http://www.make-euros.de/banner.php?id=%CID%'), +(68, 13, 'forcedbanner', 'http://www.make-euros.de/interface/out_fbanner.php', 'http://www.make-euros.de/bannerklf.php?id=%CID%', 'http://www.make-euros.de/banner.php?id=%CID%'), (71, 13, 'htmlmail', 'http://www.make-euros.de/interface/out_paidmail.php', 'http://www.make-euros.de/emailf.php?id=%CID%', NULL), (72, 13, 'layer_click', 'http://www.make-euros.de/interface/out_layer.php', 'http://www.make-euros.de/layer.php?id=%CID%', NULL), (73, 13, 'layer_view', 'http://www.make-euros.de/interface/out_layer.php', 'http://www.make-euros.de/layer.php?id=%CID%', NULL), @@ -379,7 +379,7 @@ PRIMARY KEY (`network_reload_id`) (112, 14, 'banner_click', 'http://www.mega-ad.de/interface/', 'http://www.mega-ad.de/codes/klickbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.mega-ad.de/codes/view.php?id=%UID%&bid=%CID%&aid=%SID%'), (111, 14, 'banner_view', 'http://www.mega-ad.de/interface/', 'http://www.mega-ad.de/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.mega-ad.de/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%'), (114, 14, 'button_view', 'http://www.mega-ad.de/interface/', 'http://www.mega-ad.de/codes/buttonklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.mega-ad.de/codes/buttonview.php?id=%UID%&bid=%CID%&aid=%SID%'), -(109, 14, 'focredbanner', 'http://www.mega-ad.de/interface/', 'http://www.mega-ad.de/codes/forcedbannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.mega-ad.de/codes/forcedbannerview.php?id=%UID%&bid=%CID%&aid=%SID%'), +(109, 14, 'forcedbanner', 'http://www.mega-ad.de/interface/', 'http://www.mega-ad.de/codes/forcedbannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.mega-ad.de/codes/forcedbannerview.php?id=%UID%&bid=%CID%&aid=%SID%'), (110, 14, 'forcedtextlink', 'http://www.mega-ad.de/interface/', 'http://www.mega-ad.de/codes/forcedtextlinkklick.php?id=%UID%&bid=%CID%&aid=%SID%', NULL), (116, 14, 'popup', 'http://www.mega-ad.de/interface/', 'http://www.mega-ad.de/codes/popup.php?id=%UID%&bid=%CID%&aid=%SID%', NULL), (113, 14, 'skybanner_view', 'http://www.mega-ad.de/interface/', 'http://www.mega-ad.de/codes/skybannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.mega-ad.de/codes/skybannerview.php?id=%UID%&bid=%CID%&aid=%SID%'), @@ -390,7 +390,7 @@ PRIMARY KEY (`network_reload_id`) addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES (78, 15, 'banner_click', 'http://www.power-promo.de/interface/out_banner.php', 'http://www.power-promo.de/bannerklf.php?id=%CID%', 'http://www.power-promo.de/banner.php?id=%CID%'), (79, 15, 'banner_view', 'http://www.power-promo.de/interface/out_banner.php', 'http://www.power-promo.de/bannerklf.php?id=%CID%', 'http://www.power-promo.de/banner.php?id=%CID%'), -(84, 15, 'focredbanner', 'http://www.power-promo.de/interface/out_fbanner.php', 'http://www.power-promo.de/bannerklf.php?id=%CID%', 'http://www.power-promo.de/banner.php?id=%CID%'), +(84, 15, 'forcedbanner', 'http://www.power-promo.de/interface/out_fbanner.php', 'http://www.power-promo.de/bannerklf.php?id=%CID%', 'http://www.power-promo.de/banner.php?id=%CID%'), (86, 15, 'htmlmail', 'http://www.power-promo.de/interface/out_paidmail.php', 'http://www.power-promo.de/emailf.php?id=%CID%', NULL), (87, 15, 'layer_click', 'http://www.power-promo.de/interface/out_layer.php', 'http://www.power-promo.de/layer.php?id=%CID%', NULL), (88, 15, 'layer_view', 'http://www.power-promo.de/interface/out_layer.php', 'http://www.power-promo.de/layer.php?id=%CID%', NULL), @@ -409,7 +409,7 @@ PRIMARY KEY (`network_reload_id`) (96, 16, 'banner_click', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/klickbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.secash.de/codes/viewbanner.php?id=%UID%&bid=%CID%&aid=%SID%'), (95, 16, 'banner_view', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.secash.de/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%'), (98, 16, 'button_view', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/buttonklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.secash.de/codes/buttonview.php?id=%UID%&bid=%CID%&aid=%SID%'), -(93, 16, 'focredbanner', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/forcedbannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.secash.de/codes/forcedbannerview.php?id=%UID%&bid=%CID%&aid=%SID%'), +(93, 16, 'forcedbanner', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/forcedbannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.secash.de/codes/forcedbannerview.php?id=%UID%&bid=%CID%&aid=%SID%'), (94, 16, 'forcedtextlink', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/forcedtextlinkklick.php?id=%UID%&bid=%CID%&aid=%SID%', NULL), (100, 16, 'popup', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/popup.php?id=%UID%&bid=%CID%&aid=%SID%', NULL), (97, 16, 'skybanner_view', 'http://www.secash.de/interface/', 'http://www.secash.de/codes/skybannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.secash.de/codes/skybannerview.php?id=%UID%&bid=%CID%&aid=%SID%'), @@ -532,125 +532,145 @@ PRIMARY KEY (`network_reload_id`) (99, 5, 16, 'reward', 'verg', NULL), (100, 5, 16, 'reload', 'reload', NULL), (101, 5, 16, 'remain', 'uebrig', NULL), -(102, 5, 16, 'min_stay', 'ma', NULL)"); +(102, 5, 16, 'min_stay', 'ma', NULL), +(789, 5, 119, 'id', 'id', NULL), +(790, 5, 119, 'password', 'pwd', NULL), +(791, 5, 119, 'currency', 'waehrung', NULL), +(792, 5, 119, 'extra', 'mediatype', 'traffic'), +(793, 5, 119, 'reward', 'verg', NULL), +(794, 5, 119, 'reload', 'reload', NULL), +(795, 5, 119, 'remain', 'uebrig', NULL), +(796, 5, 119, 'min_stay', 'ma', NULL)"); // Request parameters per type handler - Ads4Webbis addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_param_id`, `network_id`, `network_type_id`, `request_param_key`, `request_param_value`, `request_param_default`) VALUES +(103, 6, 20, 'extra', 'typ', 'bannerklick'), +(104, 6, 20, 'id', 'id', NULL), +(105, 6, 20, 'password', 'pw', NULL), +(106, 6, 20, 'remain', 'uebrig', NULL), +(107, 6, 20, 'reload', 'reload', NULL), +(108, 6, 20, 'reward', 'verguetung', NULL), (109, 6, 17, 'extra', 'typ', 'forcedbanner'), (110, 6, 17, 'id', 'id', NULL), (111, 6, 17, 'password', 'pw', NULL), -(113, 6, 17, 'reload', 'reload', NULL), (112, 6, 17, 'remain', 'uebrig', NULL), +(113, 6, 17, 'reload', 'reload', NULL), (114, 6, 17, 'reward', 'verguetung', NULL), (115, 6, 18, 'extra', 'typ', 'forcedtextlink'), (116, 6, 18, 'id', 'id', NULL), (117, 6, 18, 'password', 'pw', NULL), -(119, 6, 18, 'reload', 'reload', NULL), (118, 6, 18, 'remain', 'uebrig', NULL), +(119, 6, 18, 'reload', 'reload', NULL), (120, 6, 18, 'reward', 'verguetung', NULL), (121, 6, 19, 'extra', 'typ', 'bannerview'), (122, 6, 19, 'id', 'id', NULL), (123, 6, 19, 'password', 'pw', NULL), -(125, 6, 19, 'reload', 'reload', NULL), (124, 6, 19, 'remain', 'uebrig', NULL), +(125, 6, 19, 'reload', 'reload', NULL), (126, 6, 19, 'reward', 'verguetung', NULL), -(103, 6, 20, 'extra', 'typ', 'bannerklick'), -(104, 6, 20, 'id', 'id', NULL), -(105, 6, 20, 'password', 'pw', NULL), -(107, 6, 20, 'reload', 'reload', NULL), -(106, 6, 20, 'remain', 'uebrig', NULL), -(108, 6, 20, 'reward', 'verguetung', NULL), (127, 6, 21, 'extra', 'typ', 'skybannerview'), (128, 6, 21, 'id', 'id', NULL), (129, 6, 21, 'password', 'pw', NULL), -(131, 6, 21, 'reload', 'reload', NULL), (130, 6, 21, 'remain', 'uebrig', NULL), +(131, 6, 21, 'reload', 'reload', NULL), (132, 6, 21, 'reward', 'verguetung', NULL), (133, 6, 22, 'extra', 'typ', 'buttonview'), (134, 6, 22, 'id', 'id', NULL), (135, 6, 22, 'password', 'pw', NULL), -(137, 6, 22, 'reload', 'reload', NULL), (136, 6, 22, 'remain', 'uebrig', NULL), +(137, 6, 22, 'reload', 'reload', NULL), (138, 6, 22, 'reward', 'verguetung', NULL), (139, 6, 23, 'extra', 'typ', 'textview'), (140, 6, 23, 'id', 'id', NULL), (141, 6, 23, 'password', 'pw', NULL), -(143, 6, 23, 'reload', 'reload', NULL), (142, 6, 23, 'remain', 'uebrig', NULL), +(143, 6, 23, 'reload', 'reload', NULL), (144, 6, 23, 'reward', 'verguetung', NULL), (145, 6, 24, 'extra', 'typ', 'popup'), (146, 6, 24, 'id', 'id', NULL), -(151, 6, 24, 'min_stay', 'ma', NULL), (147, 6, 24, 'password', 'pw', NULL), -(149, 6, 24, 'reload', 'reload', NULL), (148, 6, 24, 'remain', 'uebrig', NULL), +(149, 6, 24, 'reload', 'reload', NULL), (150, 6, 24, 'reward', 'verguetung', NULL), +(151, 6, 24, 'min_stay', 'ma', NULL), (152, 6, 25, 'extra', 'typ', 'paidmail'), (153, 6, 25, 'id', 'id', NULL), -(158, 6, 25, 'min_stay', 'ma', NULL), (154, 6, 25, 'password', 'pw', NULL), -(156, 6, 25, 'reload', 'reload', NULL), (155, 6, 25, 'remain', 'uebrig', NULL), -(157, 6, 25, 'reward', 'verguetung', NULL)"); +(156, 6, 25, 'reload', 'reload', NULL), +(157, 6, 25, 'reward', 'verguetung', NULL), +(158, 6, 25, 'min_stay', 'ma', NULL), +(797, 6, 120, 'extra', 'typ', 'traffic'), +(798, 6, 120, 'id', 'id', NULL), +(799, 6, 120, 'password', 'pw', NULL), +(800, 6, 120, 'remain', 'uebrig', NULL), +(801, 6, 120, 'reload', 'reload', NULL), +(802, 6, 120, 'reward', 'verguetung', NULL)"); // Request parameters per type handler - Ads4World addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_param_id`, `network_id`, `network_type_id`, `request_param_key`, `request_param_value`, `request_param_default`) VALUES -(159, 7, 29, 'type', 'typ', 'bannerklick'), +(159, 7, 29, 'extra', 'typ', 'bannerklick'), (160, 7, 29, 'id', 'id', NULL), (161, 7, 29, 'password', 'pw', NULL), (162, 7, 29, 'remain', 'uebrig', NULL), (163, 7, 29, 'reload', 'reload', NULL), (164, 7, 29, 'reward', 'verguetung', NULL), -(165, 7, 28, 'type', 'typ', 'bannerview'), +(165, 7, 28, 'extra', 'typ', 'bannerview'), (166, 7, 28, 'id', 'id', NULL), (167, 7, 28, 'password', 'pw', NULL), (168, 7, 28, 'remain', 'uebrig', NULL), (169, 7, 28, 'reload', 'reload', NULL), (170, 7, 28, 'reward', 'verguetung', NULL), -(171, 7, 31, 'type', 'typ', 'buttonview'), +(171, 7, 31, 'extra', 'typ', 'buttonview'), (172, 7, 31, 'id', 'id', NULL), (173, 7, 31, 'password', 'pw', NULL), (174, 7, 31, 'remain', 'uebrig', NULL), (175, 7, 31, 'reload', 'reload', NULL), (176, 7, 31, 'reward', 'verguetung', NULL), -(177, 7, 26, 'type', 'typ', 'forcedbanner'), +(177, 7, 26, 'extra', 'typ', 'forcedbanner'), (178, 7, 26, 'id', 'id', NULL), (179, 7, 26, 'password', 'pw', NULL), (180, 7, 26, 'remain', 'uebrig', NULL), (181, 7, 26, 'reload', 'reload', NULL), (182, 7, 26, 'reward', 'verguetung', NULL), -(183, 7, 27, 'type', 'typ', 'forcedtextlink'), +(183, 7, 27, 'extra', 'typ', 'forcedtextlink'), (184, 7, 27, 'id', 'id', NULL), (185, 7, 27, 'password', 'pw', NULL), (186, 7, 27, 'remain', 'uebrig', NULL), (187, 7, 27, 'reload', 'reload', NULL), (188, 7, 27, 'reward', 'verguetung', NULL), -(189, 7, 33, 'type', 'typ', 'popup'), +(189, 7, 33, 'extra', 'typ', 'popup'), (190, 7, 33, 'id', 'id', NULL), (191, 7, 33, 'password', 'pw', NULL), (192, 7, 33, 'remain', 'uebrig', NULL), (193, 7, 33, 'reload', 'reload', NULL), (194, 7, 33, 'reward', 'verguetung', NULL), (195, 7, 33, 'min_stay', 'ma', NULL), -(196, 7, 30, 'type', 'typ', 'skybannerview'), +(196, 7, 30, 'extra', 'typ', 'skybannerview'), (197, 7, 30, 'id', 'id', NULL), (198, 7, 30, 'password', 'pw', NULL), (199, 7, 30, 'remain', 'uebrig', NULL), (200, 7, 30, 'reload', 'reload', NULL), (201, 7, 30, 'reward', 'verguetung', NULL), -(202, 7, 32, 'type', 'typ', 'textview'), +(202, 7, 32, 'extra', 'typ', 'textview'), (203, 7, 32, 'id', 'id', NULL), (204, 7, 32, 'password', 'pw', NULL), (205, 7, 32, 'remain', 'uebrig', NULL), (206, 7, 32, 'reload', 'reload', NULL), (207, 7, 32, 'reward', 'verguetung', NULL), -(208, 7, 34, 'type', 'typ', 'textmails'), +(208, 7, 34, 'extra', 'typ', 'textmails'), (209, 7, 34, 'id', 'id', NULL), (210, 7, 34, 'password', 'pw', NULL), (211, 7, 34, 'remain', 'uebrig', NULL), (212, 7, 34, 'reload', 'reload', NULL), (213, 7, 34, 'reward', 'verguetung', NULL), -(214, 7, 34, 'min_stay', 'ma', NULL)"); +(214, 7, 34, 'min_stay', 'ma', NULL), +(803, 7, 121, 'extra', 'typ', 'traffic'), +(804, 7, 121, 'id', 'id', NULL), +(805, 7, 121, 'password', 'pw', NULL), +(806, 7, 121, 'remain', 'uebrig', NULL), +(807, 7, 121, 'reload', 'reload', NULL), +(808, 7, 121, 'reward', 'verguetung', NULL)"); // Request parameters per type handler - Affiliblatt @@ -1026,55 +1046,55 @@ PRIMARY KEY (`network_reload_id`) // Request parameters per type handler - Mega-Ad addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_param_id`, `network_id`, `network_type_id`, `request_param_key`, `request_param_value`, `request_param_default`) VALUES -(735, 14, 109, 'type', 'typ', 'forcedbanner'), +(735, 14, 109, 'extra', 'typ', 'forcedbanner'), (736, 14, 109, 'id', 'id', NULL), (737, 14, 109, 'password', 'pw', NULL), (738, 14, 109, 'remain', 'uebrig', NULL), (739, 14, 109, 'reload', 'reload', NULL), (740, 14, 109, 'reward', 'verguetung', NULL), -(741, 14, 110, 'type', 'typ', 'forcedtextlink'), +(741, 14, 110, 'extra', 'typ', 'forcedtextlink'), (742, 14, 110, 'id', 'id', NULL), (743, 14, 110, 'password', 'pw', NULL), (744, 14, 110, 'remain', 'uebrig', NULL), (745, 14, 110, 'reload', 'reload', NULL), (746, 14, 110, 'reward', 'verguetung', NULL), -(747, 14, 111, 'type', 'typ', 'bannerview'), +(747, 14, 111, 'extra', 'typ', 'bannerview'), (748, 14, 111, 'id', 'id', NULL), (749, 14, 111, 'password', 'pw', NULL), (750, 14, 111, 'remain', 'uebrig', NULL), (751, 14, 111, 'reload', 'reload', NULL), (752, 14, 111, 'reward', 'verguetung', NULL), -(753, 14, 112, 'type', 'typ', 'bannerklick'), +(753, 14, 112, 'extra', 'typ', 'bannerklick'), (754, 14, 112, 'id', 'id', NULL), (755, 14, 112, 'password', 'pw', NULL), (756, 14, 112, 'remain', 'uebrig', NULL), (757, 14, 112, 'reload', 'reload', NULL), (758, 14, 112, 'reward', 'verguetung', NULL), -(759, 14, 113, 'type', 'typ', 'skybannerview'), +(759, 14, 113, 'extra', 'typ', 'skybannerview'), (760, 14, 113, 'id', 'id', NULL), (761, 14, 113, 'password', 'pw', NULL), (762, 14, 113, 'remain', 'uebrig', NULL), (763, 14, 113, 'reload', 'reload', NULL), (764, 14, 113, 'reward', 'verguetung', NULL), -(765, 14, 114, 'type', 'typ', 'buttonview'), +(765, 14, 114, 'extra', 'typ', 'buttonview'), (766, 14, 114, 'id', 'id', NULL), (767, 14, 114, 'password', 'pw', NULL), (768, 14, 114, 'remain', 'uebrig', NULL), (769, 14, 114, 'reload', 'reload', NULL), (770, 14, 114, 'reward', 'verguetung', NULL), -(771, 14, 115, 'type', 'typ', 'textview'), +(771, 14, 115, 'extra', 'typ', 'textview'), (772, 14, 115, 'id', 'id', NULL), (773, 14, 115, 'password', 'pw', NULL), (774, 14, 115, 'remain', 'uebrig', NULL), (775, 14, 115, 'reload', 'reload', NULL), (776, 14, 115, 'reward', 'verguetung', NULL), -(777, 14, 116, 'type', 'typ', 'popup'), +(777, 14, 116, 'extra', 'typ', 'popup'), (778, 14, 116, 'id', 'id', NULL), (779, 14, 116, 'password', 'pw', NULL), (780, 14, 116, 'reload', 'reload', NULL), (781, 14, 116, 'remain', 'uebrig', NULL), (782, 14, 116, 'reward', 'verguetung', NULL), -(783, 14, 117, 'type', 'typ', 'paidmail'), +(783, 14, 117, 'extra', 'typ', 'paidmail'), (784, 14, 117, 'id', 'id', NULL), (785, 14, 117, 'password', 'pw', NULL), (786, 14, 117, 'reload', 'reload', NULL), @@ -1194,56 +1214,56 @@ PRIMARY KEY (`network_reload_id`) // Request parameters per type handler - SeCash addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_param_id`, `network_id`, `network_type_id`, `request_param_key`, `request_param_value`, `request_param_default`) VALUES -(631, 16, 93, 'type', 'typ', 'forcedbanner'), +(631, 16, 93, 'extra', 'typ', 'forcedbanner'), (632, 16, 93, 'id', 'id', NULL), (633, 16, 93, 'password', 'pw', NULL), (634, 16, 93, 'reward', 'verguetung', NULL), (635, 16, 93, 'reload', 'reload', NULL), (636, 16, 93, 'remain', 'uebrig', NULL), -(637, 16, 94, 'type', 'typ', 'forcedtextlink'), +(637, 16, 94, 'extra', 'typ', 'forcedtextlink'), (638, 16, 94, 'id', 'id', NULL), (639, 16, 94, 'password', 'pw', NULL), (640, 16, 94, 'reward', 'verguetung', NULL), (641, 16, 94, 'reload', 'reload', NULL), (642, 16, 94, 'remain', 'uebrig', NULL), -(643, 16, 95, 'type', 'typ', 'bannerview'), +(643, 16, 95, 'extra', 'typ', 'bannerview'), (644, 16, 95, 'id', 'id', NULL), (645, 16, 95, 'password', 'pw', NULL), (646, 16, 95, 'reward', 'verguetung', NULL), (647, 16, 95, 'reload', 'reload', NULL), (648, 16, 95, 'remain', 'uebrig', NULL), -(649, 16, 96, 'type', 'typ', 'bannerklick'), +(649, 16, 96, 'extra', 'typ', 'bannerklick'), (650, 16, 96, 'id', 'id', NULL), (651, 16, 96, 'password', 'pw', NULL), (652, 16, 96, 'reward', 'verguetung', NULL), (653, 16, 96, 'reload', 'reload', NULL), (654, 16, 96, 'remain', 'uebrig', NULL), -(655, 16, 97, 'type', 'typ', 'skybannerview'), +(655, 16, 97, 'extra', 'typ', 'skybannerview'), (656, 16, 97, 'id', 'id', NULL), (657, 16, 97, 'password', 'pw', NULL), (658, 16, 97, 'reward', 'verguetung', NULL), (659, 16, 97, 'reload', 'reload', NULL), (660, 16, 97, 'remain', 'uebrig', NULL), -(661, 16, 98, 'type', 'typ', 'buttonview'), +(661, 16, 98, 'extra', 'typ', 'buttonview'), (662, 16, 98, 'id', 'id', NULL), (663, 16, 98, 'password', 'pw', NULL), (664, 16, 98, 'reward', 'verguetung', NULL), (665, 16, 98, 'reload', 'reload', NULL), (666, 16, 98, 'remain', 'uebrig', NULL), -(667, 16, 99, 'type', 'typ', 'textview'), +(667, 16, 99, 'extra', 'typ', 'textview'), (668, 16, 99, 'id', 'id', NULL), (669, 16, 99, 'password', 'pw', NULL), (670, 16, 99, 'reward', 'verguetung', NULL), (671, 16, 99, 'reload', 'reload', NULL), (672, 16, 99, 'remain', 'uebrig', NULL), -(673, 16, 100, 'type', 'typ', 'popup'), +(673, 16, 100, 'extra', 'typ', 'popup'), (674, 16, 100, 'id', 'id', NULL), (675, 16, 100, 'password', 'pw', NULL), (676, 16, 100, 'reward', 'verguetung', NULL), (677, 16, 100, 'reload', 'reload', NULL), (678, 16, 100, 'remain', 'uebrig', NULL), (679, 16, 100, 'min_stay', 'ma', NULL), -(680, 16, 101, 'type', 'typ', 'paidmail'), +(680, 16, 101, 'extra', 'typ', 'paidmail'), (681, 16, 101, 'id', 'id', NULL), (682, 16, 101, 'password', 'pw', NULL), (683, 16, 101, 'reward', 'verguetung', NULL), diff --git a/inc/language/network_de.php b/inc/language/network_de.php index 43dc734c36..c8287d39c8 100644 --- a/inc/language/network_de.php +++ b/inc/language/network_de.php @@ -51,17 +51,19 @@ addMessages(array( 'ADMIN_NETWORK_NOTHING_FOUND' => "Es wurden keine Daten zum Editieren oder Löschen gefunden.", 'ADMIN_NETWORK_NOTHING_CHANGED' => "Es wurden keine Änderungen an den allgemeinen Daten ausgeführt.", 'ADMIN_NETWORK_NOTHING_REMOVED' => "Es wurden keine allgemeinen Daten gelöscht.", - 'ADMIN_NETWORK_TYPES_NOTHING_CHANGED' => "Es wurden keine Änderungen an den Werbeart-Handlern ausgeführt.", - 'ADMIN_NETWORK_TYPES_NOTHING_REMOVED' => "Es wurden keine Werbeart-Handler gelöscht.", 'ADMIN_NETWORK_ALREADY_ADDED' => "Ein Werbenetzwerk mit dem Kurznamen %s existiert bereits.", 'ADMIN_NETWORK_DATA_NOT_ADDED' => "Das Werbenetzwerk mit dem Kurznamen %s wurde nicht hinzugefügt.", + 'ADMIN_NETWORK_TYPES_NOTHING_CHANGED' => "Es wurden keine Änderungen an den Werbeart-Handlern ausgeführt.", + 'ADMIN_NETWORK_TYPES_NOTHING_REMOVED' => "Es wurden keine Werbeart-Handler gelöscht.", 'ADMIN_NETWORK_TYPES_404' => "Es wurden keine Werbearten-Handler zum Werbenetzwerk %s gefunden.", 'ADMIN_NETWORK_TYPES_HANDLE_ALREADY_ADDED' => "Ein Werbeart-Handler %s existiert bereits.", - 'ADMIN_NETWORK_REQUEST_PARAMETER_ALREADY_ADDED' => "Ein API-Abfrageparameter %s existiert bereits.", 'ADMIN_NETWORK_TYPES_NOT_ADDED' => "Der Werbeart-Handler %s wurde nicht hinzugefügt.", 'ADMIN_NETWORK_TYPES_NOTHING_FOUND' => "Es wurden keine Werbart-Handler zum Editieren oder Löschen gefunden.", - 'ADMIN_NETWORK_PARAMS_404' => "Es wurden keine API-Abfrageparameter zum Werbenetzwerk %s gefunden.", - 'ADMIN_NETWORK_REQUEST_PARAMETER_NOT_ADDED' => "Der API-Abfrageparameter %s wurde nicht hinzugefügt.", + 'ADMIN_NETWORK_REQUEST_PARAMETER_ALREADY_ADDED' => "Ein API-Parameter %s existiert bereits.", + 'ADMIN_NETWORK_REQUEST_PARAMS_404' => "Es wurden keine API-Parameter zum Werbenetzwerk %s gefunden.", + 'ADMIN_NETWORK_REQUEST_PARAMETER_NOT_ADDED' => "Der API-Parameter %s wurde nicht hinzugefügt.", + 'ADMIN_NETWORK_REQUEST_PARAMS_NOTHING_CHANGED' => "Es wurden keine Änderungen an den API-Parametern ausgeführt.", + 'ADMIN_NETWORK_REQUEST_PARAMS_NOTHING_REMOVED' => "Es wurden keine API-Parameter gelöscht.", // - Form titles 'ADMIN_NETWORK_ADD_TITLE' => "Neues Werbenetzwerk hinzufügen - Allgemeine Daten", 'ADMIN_NETWORK_EDIT_TITLE' => "Werbenetzwerk editieren - Allgemeine Daten", @@ -71,11 +73,13 @@ addMessages(array( 'ADMIN_NETWORK_TYPES_LIST_TITLE' => "Werbeart-Handler auflisten und verwalten", 'ADMIN_NETWORK_TYPES_EDIT_TITLE' => "Werbeart-Handler editieren", 'ADMIN_NETWORK_TYPES_DELETE_TITLE' => "Werbeart-Handle löschen", - 'ADMIN_NETWORK_PARAMS_ADD_TITLE' => "Werbenetzwerk verwalten - Neuen API-Abfrageparameter hinzufügen", - 'ADMIN_NETWORK_PARAMS_LIST_TITLE' => "API-Abfrageparameter auflisten und verwalten", + 'ADMIN_NETWORK_REQUEST_PARAMS_ADD_TITLE' => "Werbenetzwerk verwalten - Neuen API-Parameter hinzufügen", + 'ADMIN_NETWORK_REQUEST_PARAMS_LIST_TITLE' => "API-Parameter auflisten und verwalten", + 'ADMIN_NETWORK_REQUEST_PARAMS_EDIT_TITLE' => "API-Parameter editieren", + 'ADMIN_NETWORK_REQUEST_PARAMS_DELETE_TITLE' => "API-Parameter löschen", // - Link titles 'ADMIN_NETWORK_LIST_TYPES_LINK_TITLE' => "Weiter zu den Werbearten", - 'ADMIN_NETWORK_LIST_PARAMS_LINK_TITLE' => "Weiter zu den Abfrageparametern", + 'ADMIN_NETWORK_LIST_PARAMS_LINK_TITLE' => "Weiter zu den API-Parametern", 'ADMIN_NETWORK_LIST_CODE_TYPES_LINK_TITLE' => "Weiter zu den Rückgabewerten", 'ADMIN_NETWORK_LIST_CODES_LINK_TITLE' => "Weiter zu den Fehlercodes", // - Buttons @@ -90,27 +94,31 @@ addMessages(array( 'ADMIN_NETWORK_TYPES_DELETE' => "Löschen", 'ADMIN_NETWORK_TYPES_CHANGE' => "Handler ändern", 'ADMIN_NETWORK_TYPES_REMOVE' => "Handler entfernen", - 'ADMIN_NETWORK_PARAMS_ADD' => "Abfrageparameter hinzufügen", - 'ADMIN_NETWORK_PARAMS_EDIT' => "Editieren", - 'ADMIN_NETWORK_PARAMS_DELETE' => "Löschen", + 'ADMIN_NETWORK_REQUEST_PARAMS_ADD' => "API-Parameter hinzufügen", + 'ADMIN_NETWORK_REQUEST_PARAMS_EDIT' => "Editieren", + 'ADMIN_NETWORK_REQUEST_PARAMS_DELETE' => "Löschen", + 'ADMIN_NETWORK_REQUEST_PARAMS_CHANGE' => "API-Parameter ändern", + 'ADMIN_NETWORK_REQUEST_PARAMS_REMOVE' => "API-Parameter entfernen", // - Success titles 'ADMIN_NETWORK_ADDED_TITLE' => "Allgemeine Werbenetzwerkdaten hinzugefügt.", 'ADMIN_NETWORK_TYPES_ADDED_TITLE' => "Werbeart-Handler hinzugefügt.", - 'ADMIN_NETWORK_REQUEST_PARAM_ADDED_TITLE' => "API-Abfrageparameter hinzugefügt", + 'ADMIN_NETWORK_REQUEST_PARAM_ADDED_TITLE' => "API-Parameter hinzugefügt", // - Success nots 'ADMIN_NETWORK_UPDATED' => "Es wurden %s Einträge in den allgemeinen Daten aktualisiert.", 'ADMIN_NETWORK_REMOVED' => "Es wurden %s Einträge aus den allgemeinen Daten gelöscht.", 'ADMIN_NETWORK_TYPES_UPDATED' => "Es wurden %s Werbeart-Handler aktualisiert.", + 'ADMIN_NETWORK_REQUEST_PARAMS_UPDATED' => "Es wurden %s API-Parameter aktualisiert.", 'ADMIN_NETWORK_TYPES_REMOVED' => "Es wurden %s Werbeart-Handler gelöscht.", + 'ADMIN_NETWORK_REQUEST_PARAMS_REMOVED' => "Es wurden %s API-Parameter gelöscht.", // - Form notes 'ADMIN_NETWORK_ADD_NOTE' => "Mehr Datenschutz bei POST-Abfragen bedeutet, dass die von den Internetanbietern betriebenen Caches (Proxy) die POST-Daten nicht mitloggen (so eine Art Kodex). Der Zeichensatz ist meistens ISO-8859-1 oder WINDOWS-1252.", 'ADMIN_NETWORK_LIST_NOTE' => "Seien Sie mit dem Löschen und Editieren von Allgemeine Daten sehr vorsichtig. Sie sollten hierzu Rücksprache im Forum halten.", 'ADMIN_NETWORK_TYPES_ADD_NOTE' => "Fügen Sie hier weitere Werbearten dem ausgwählten Werbenetzwerk hinzu. Die Klick- und Banner-URL müssen dabei Platzhalter enthalten, die Sie der Dokumentation und dem Forum entnehmen können. Die API-URL muss nur bis zum Fragezeichen eingegeben werden. Richtig: http://www.some-sponsor.invalid/inteface/script.php, falsch: http://www.some-sponsor.invalid/inteface/script.php?uid=123&pw=xyzxyzxyz", 'ADMIN_NETWORK_TYPES_LIST_NOTE' => "Seien Sie mit dem Löschen und Editieren von Werbeart-Handlern sehr vorsichtig. Sie sollten hierzu Rücksprache im Forum halten. Dokumentation zu den Platzhaltern (%FOO%, %BAR% usw.) finden Sie in der Dokumentation DOCs/de/network/README.txt.", - 'ADMIN_NETWORK_PARAMS_ADD_NOTE' => "Fügen Sie hier weitere Abfrageparameter dem ausgwählten Werbenetzwerk hinzu. Geben Sie keine Werte an, wie z.B. 5 Sekunden oder 30 Mails, geben Sie bei Abfrageparameter den GET- bzw. POST-Parameternamen an.", - 'ADMIN_NETWORK_PARAMS_LIST_NOTE' => "Seien Sie mit dem Löschen und Editieren von API-Abfrageparameter sehr vorsichtig. Sie sollten hierzu Rücksprache im Forum halten. Dokumentation zu den Abfragenamen (%FOO%, %BAR% usw.) finden Sie in der Dokumentation DOCs/de/network/README.txt.", + 'ADMIN_NETWORK_REQUEST_PARAMS_ADD_NOTE' => "Fügen Sie hier weitere API-Parameter dem ausgwählten Werbenetzwerk hinzu. Geben Sie keine Werte an, wie z.B. 5 Sekunden oder 30 Mails, geben Sie bei API-Parameter den GET- bzw. POST-Parameternamen an.", + 'ADMIN_NETWORK_REQUEST_PARAMS_LIST_NOTE' => "Seien Sie mit dem Löschen und Editieren von API-Parameter sehr vorsichtig. Sie sollten hierzu Rücksprache im Forum halten. Dokumentation zu den Abfragenamen (%FOO%, %BAR% usw.) finden Sie in der Dokumentation DOCs/de/network/README.txt.", // - Other messages - 'ADMIN_NETWORK_PARAMS_LIST_LIMITED_TO_TYPE' => "Es wurden nur die Abfrageparameter des ausgewählten Werbeart-Handlers angezeigt.", + 'ADMIN_NETWORK_REQUEST_PARAMS_LIST_LIMITED_TO_TYPE' => "Es wurden nur die API-Parameter des ausgewählten Werbeart-Handlers angezeigt.", // - Advertise types 'ADMIN_NETWORK_TYPES_BANNER_CLICK' => "Banner-Klick", 'ADMIN_NETWORK_TYPES_BANNER_VIEW' => "Banner-View", @@ -140,6 +148,7 @@ addMessages(array( 'ADMIN_NETWORK_TYPES_SALE' => "Sale", 'ADMIN_NETWORK_TYPES_PAYPERACTIVE' => "PayPerAktiv", 'ADMIN_NETWORK_TYPES_PAGEPEEL' => "Page-Peel", + 'ADMIN_NETWORK_TYPES_TRAFFIC' => "Traffic", // These are visitor exchanges like ext-surfbar! // - Sponsor networks 'ADMIN_NETWORK_NONE_SUPPORTED' => "Es sind noch keine Werbenetzwerke eingerichtet.", 'ADMIN_NETWORK_SHORT_NAME' => "Kurzname", @@ -161,23 +170,23 @@ addMessages(array( 'ADMIN_NETWORK_TYPES_BANNER_URL' => "Banner-URL der Werbeart", // - API request parameter 'ADMIN_NETWORK_TYPE_SELECT' => "Werbeart-Handler auswählen", - 'ADMIN_NETWORK_PARAMS_KEY' => "Abfragename", - 'ADMIN_NETWORK_PARAMS_VALUE' => "Abfrageparameter", - 'ADMIN_NETWORK_PARAMS_DEFAULT' => "Standartwert", - 'ADMIN_NETWORK_PARAMS_ID' => "Affiliate-/Publisher-Id", - 'ADMIN_NETWORK_PARAMS_SID' => "Webseiten-Id", - 'ADMIN_NETWORK_PARAMS_HASH' => "Webseiten-Hash", - 'ADMIN_NETWORK_PARAMS_PASSWORD' => "Interface-Kennwort", - 'ADMIN_NETWORK_PARAMS_RELOAD' => "Maximale Reloadsperre", - 'ADMIN_NETWORK_PARAMS_MINIMUM_STAY' => "Mindestauffenthalt", - 'ADMIN_NETWORK_PARAMS_MAXIMUM_STAY' => "Maximaler Auffenthalt", - 'ADMIN_NETWORK_PARAMS_CURRENCY' => "Währung", - 'ADMIN_NETWORK_PARAMS_TYPE' => "Typ (z.B. klick/view)", - 'ADMIN_NETWORK_PARAMS_REMAIN' => "Mindestanzahl der restlichen Klicks", - 'ADMIN_NETWORK_PARAMS_REWARD' => "Mindestvergütung", - 'ADMIN_NETWORK_PARAMS_SIZE' => "Werbemittelgrösse", - 'ADMIN_NETWORK_PARAMS_EROTIC' => "Erotik erlaubt", - 'ADMIN_NETWORK_PARAMS_EXTRA' => "Extra-Parameter", + 'ADMIN_NETWORK_REQUEST_PARAMS_KEY' => "Abfragename", + 'ADMIN_NETWORK_REQUEST_PARAMS_VALUE' => "API-Parameter", + 'ADMIN_NETWORK_REQUEST_PARAMS_DEFAULT' => "Standartwert", + 'ADMIN_NETWORK_REQUEST_PARAMS_ID' => "Affiliate-/Publisher-Id", + 'ADMIN_NETWORK_REQUEST_PARAMS_SID' => "Webseiten-Id", + 'ADMIN_NETWORK_REQUEST_PARAMS_HASH' => "Webseiten-Hash", + 'ADMIN_NETWORK_REQUEST_PARAMS_PASSWORD' => "Interface-Kennwort", + 'ADMIN_NETWORK_REQUEST_PARAMS_RELOAD' => "Maximale Reloadsperre", + 'ADMIN_NETWORK_REQUEST_PARAMS_MINIMUM_STAY' => "Mindestauffenthalt", + 'ADMIN_NETWORK_REQUEST_PARAMS_MAXIMUM_STAY' => "Maximaler Auffenthalt", + 'ADMIN_NETWORK_REQUEST_PARAMS_CURRENCY' => "Währung", + 'ADMIN_NETWORK_REQUEST_PARAMS_TYPE' => "Typ (z.B. klick/view)", + 'ADMIN_NETWORK_REQUEST_PARAMS_REMAIN' => "Mindestanzahl der restlichen Klicks", + 'ADMIN_NETWORK_REQUEST_PARAMS_REWARD' => "Mindestvergütung", + 'ADMIN_NETWORK_REQUEST_PARAMS_SIZE' => "Werbemittelgrösse", + 'ADMIN_NETWORK_REQUEST_PARAMS_EROTIC' => "Erotik erlaubt", + 'ADMIN_NETWORK_REQUEST_PARAMS_EXTRA' => "Extra-Parameter", )); // [EOF] diff --git a/inc/libs/network_functions.php b/inc/libs/network_functions.php index 3bdfec6e1d..2dbcda200f 100644 --- a/inc/libs/network_functions.php +++ b/inc/libs/network_functions.php @@ -156,6 +156,8 @@ LIMIT 1", if (SQL_NUMROWS($result) == 1) { // Then get it $networkData = SQL_FETCHARRAY($result); + + // Solve disabled } // END - if // Free result @@ -199,6 +201,40 @@ LIMIT 1", return $networkTypeData; } +// "Getter" for a network request parameter data by provided id number +function getNetworkRequestParamsDataById ($id) { + // Ids lower one are not accepted + if ($id < 1) { + // Not good, should be fixed + debug_report_bug('Network request parameter id ' . $id . ' is smaller than 1.'); + } // END - if + + // By default we have no data + $networkRequestData = array(); + + // Query for the network data + $result = SQL_QUERY_ESC("SELECT + `network_param_id`, `network_id`, `network_type_id`, `request_param_key`, `request_param_value`, `request_param_default` +FROM + `{?_MYSQL_PREFIX?}_network_request_params` +WHERE + `network_param_id`=%s +LIMIT 1", + array(bigintval($id)), __FUNCTION__, __LINE__); + + // Do we have an entry? + if (SQL_NUMROWS($result) == 1) { + // Then get it + $networkRequestData = SQL_FETCHARRAY($result); + } // END - if + + // Free result + SQL_FREERESULT($result); + + // Return result + return $networkRequestData; +} + // Updates given network (id) with data from array function doNetworkUpdateDataByArray ($id, $networkData) { // Ids lower one are not accepted @@ -223,6 +259,18 @@ function doNetworkUpdateTypeByArray ($id, $networkTypeData) { return adminSaveSettings($networkTypeData, '_network_types', sprintf("`network_type_id`=%s", bigintval($id)), array(), false, false); } +// Updates given network request parameters (id) with data from array +function doNetworkUpdateParamsByArray ($id, $networkParamData) { + // Ids lower one are not accepted + if ($id < 1) { + // Not good, should be fixed + debug_report_bug('Network request parameter id ' . $id . ' is smaller than 1.'); + } // END - if + + // Just call our inner method + return adminSaveSettings($networkParamData, '_network_request_params', sprintf("`network_param_id`=%s", bigintval($id)), array(), false, false); +} + // Removes given network entry function doAdminRemoveNetworkEntry ($table, $column, $id, $limit = 1) { // Remove the entry @@ -269,6 +317,77 @@ ORDER BY return $content; } +// Generator (somewhat getter) for network type options +function generateNetworkTypeOptions ($id) { + // Is this an array, then we just came back from edit/delete actions + if (is_array($id)) $id = ''; + + // Is this cached? + if (!isset($GLOBALS['network_type_options'][$id])) { + // Generate output and cache it + $GLOBALS['network_type_options'][$id] = generateOptionList( + 'network_types', + 'network_type_id', + 'network_type_handle', + $id, + '', + sprintf("WHERE `network_id`=%s", getRequestParameter('network')) + ); + } // END - if + + // Return content + return $GLOBALS['network_type_options'][$id]; +} + +// Generator (somewhat getter) for request key options +function generateNetworkRequestKeyOptions ($key) { + // Is it cached? + if (!isset($GLOBALS['network_request_param_key'][$key])) { + // Generate and cache it + $GLOBALS['network_request_param_key'][$key] = generateOptionList( + '/ARRAY/', + array( + 'id', + 'sid', + 'hash', + 'password', + 'reload', + 'max_stay', + 'min_stay', + 'currency', + 'type', + 'remain', + 'reward', + 'size', + 'erotic', + 'extra' + ), + array( + '{--ADMIN_NETWORK_REQUEST_PARAMS_ID--}', + '{--ADMIN_NETWORK_REQUEST_PARAMS_SID--}', + '{--ADMIN_NETWORK_REQUEST_PARAMS_HASH--}', + '{--ADMIN_NETWORK_REQUEST_PARAMS_PASSWORD--}', + '{--ADMIN_NETWORK_REQUEST_PARAMS_RELOAD--}', + '{--ADMIN_NETWORK_REQUEST_PARAMS_MAXIMUM_STAY--}', + '{--ADMIN_NETWORK_REQUEST_PARAMS_MINIMUM_STAY--}', + '{--ADMIN_NETWORK_REQUEST_PARAMS_CURRENCY--}', + '{--ADMIN_NETWORK_REQUEST_PARAMS_TYPE--}', + '{--ADMIN_NETWORK_REQUEST_PARAMS_REMAIN--}', + '{--ADMIN_NETWORK_REQUEST_PARAMS_REWARD--}', + '{--ADMIN_NETWORK_REQUEST_PARAMS_SIZE--}', + '{--ADMIN_NETWORK_REQUEST_PARAMS_EROTIC--}', + '{--ADMIN_NETWORK_REQUEST_PARAMS_EXTRA--}' + ), + $key, + '', '', + $GLOBALS['network_params_disabled'] + ); + } // END - if + + // Return content + return $GLOBALS['network_request_param_key'][$key]; +} + //------------------------------------------------------------------------------ // Call-back functions //------------------------------------------------------------------------------ @@ -420,7 +539,7 @@ function doAdminNetworkProcessHandlenetworktypeForm () { if (!empty($OUT)) { // Prepare content for template $content = array( - 'rows' => $OUT, + 'rows' => $OUT, 'network_data' => getNetworkDataById(getRequestParameter('network')) ); @@ -443,6 +562,85 @@ function doAdminNetworkProcessHandlenetworktypeForm () { } // END - if } +// Handle network request parameter form +function doAdminNetworkProcessHandlerequestparamsForm () { + // Do we have selections? + if (countPostSelection() > 0) { + // Init cache array + $GLOBALS['network_params_disabled'] = array(); + + // Load network data + $networkData = getNetworkDataById(getRequestParameter('network')); + + // Something has been selected, so start displaying one by one + $SW = 2; $OUT = ''; + foreach (postRequestParameter('sel') as $id => $sel) { + // Is this selected? + if ($sel == 1) { + // Load this network's data + $networkRequestData = getNetworkRequestParamsDataById($id); + + // Do we have found the network? + if (count($networkRequestData) > 0) { + // Add color + $networkRequestData['sw'] = $SW; + + if (isPostRequestParameterSet('edit')) { + // Add options list for network type + $networkRequestData['type_options'] = generateNetworkTypeOptions($networkRequestData['network_type_id']); + + // Add options list for request key + $networkRequestData['key_options'] = generateNetworkRequestKeyOptions($networkRequestData['request_param_key']); + + // Add row template for deleting + $OUT .= loadTemplate('admin_edit_network_params_row', true, $networkRequestData); + } elseif (isPostRequestParameterSet('del')) { + // Fix empty banner URL + if (trim($networkRequestData['request_param_default']) == '') $networkRequestData['request_param_default'] = '---'; + + // Get type data + $networkRequestData['network_type_data'] = getNetworkTypeDataById($networkRequestData['network_type_id']); + + // Add row template for deleting + $OUT .= loadTemplate('admin_del_network_params_row', true, $networkRequestData); + } else { + // Problem! + debug_report_bug('Cannot detect edit/del.'); + } + + // Switch colors + $SW = 3 - $SW; + } // END - if + } // END - if + } // END - foreach + + // If we have no rows, we don't need to display the edit form + if (!empty($OUT)) { + // Prepare content for template + $content = array( + 'rows' => $OUT, + 'network_data' => getNetworkDataById(getRequestParameter('network')) + ); + + // Output main template + if (isPostRequestParameterSet('edit')) { + loadTemplate('admin_edit_network_params', false, $content); + } elseif (isPostRequestParameterSet('del')) { + loadTemplate('admin_del_network_params', false, $content); + } else { + // Problem! + debug_report_bug('Cannot detect edit/del.'); + } + + // Don't display the list/add new form + $GLOBALS['network_display'] = false; + } else { + // Nothing selected/found + loadTemplate('admin_settings_unsaved', false, getMessage('ADMIN_NETWORK_REQUEST_PARAMS_NOTHING_FOUND')); + } + } // END - if +} + // Changes given networks function doAdminNetworkProcessChangenetworkForm () { // Do we have selections? @@ -582,6 +780,12 @@ function doAdminNetworkProcessChangenetworktypeForm () { debug_report_bug('No entry in key=' . $key . ', id=' . $id . ' found.'); } // END - if + // Fix empty network_type_banner_url to NULL + if (($key == 'network_type_banner_url') && (trim($entry[$id]) == '')) { + // Set it to NULL + $entry[$id] = null; + } // END - if + // Add this entry $networkTypeData[$key] = $entry[$id]; } // END - foreach @@ -602,6 +806,57 @@ function doAdminNetworkProcessChangenetworktypeForm () { } // END - if } +// Changes given network request parameters +function doAdminNetworkProcessChangenetworkparamForm () { + // Do we have selections? + if (countPostSelection() > 0) { + // By default nothing is updated + $updated = 0; + + // Something has been selected, so start updating them + foreach (postRequestParameter('sel') as $id => $sel) { + // Update this entry? + if ($sel == 1) { + // Init data array + $networkParamsData = array(); + + // Transfer whole array, except 'sel' + foreach (postRequestArray() as $key => $entry) { + // Skip 'sel' and submit button + if (in_array($key, array('sel', 'change'))) continue; + + // Do we have this enty? + if (!isset($entry[$id])) { + // Not found, needs fixing + debug_report_bug('No entry in key=' . $key . ', id=' . $id . ' found.'); + } // END - if + + // Fix empty request_param_default to NULL + if (($key == 'request_param_default') && (trim($entry[$id]) == '')) { + // Set it to NULL + $entry[$id] = null; + } // END - if + + // Add this entry + $networkParamsData[$key] = $entry[$id]; + } // END - foreach + + // Update the network data + $updated += doNetworkUpdateParamsByArray($id, $networkParamsData); + } // END - if + } // END - foreach + + // Do we have updates? + if ($updated > 0) { + // Updates done + loadTemplate('admin_settings_saved', false, getMaskedMessage('ADMIN_NETWORK_REQUEST_PARAMS_UPDATED', $updated)); + } else { + // Nothing changed + loadTemplate('admin_settings_unsaved', false, getMessage('ADMIN_NETWORK_REQUEST_PARAMS_NOTHING_CHANGED')); + } + } // END - if +} + // Removes given network type handlers function doAdminNetworkProcessRemovenetworktypeForm () { // Do we have selections? @@ -629,6 +884,33 @@ function doAdminNetworkProcessRemovenetworktypeForm () { } // END - if } +// Removes given network request parameters +function doAdminNetworkProcessRemovenetworkparamForm () { + // Do we have selections? + if (countPostSelection() > 0) { + // By default nothing is removed + $removed = 0; + + // Something has been selected, so start updating them + foreach (postRequestParameter('sel') as $id => $sel) { + // Update this entry? + if ($sel == 1) { + // Remove this entry + $removed += doAdminRemoveNetworkEntry('request_params', 'network_param_id', $id); + } // END - if + } // END - foreach + + // Do we have removes? + if ($removed > 0) { + // Removals done + loadTemplate('admin_settings_saved', false, getMaskedMessage('ADMIN_NETWORK_REQUEST_PARAMS_REMOVED', $removed)); + } else { + // Nothing removed + loadTemplate('admin_settings_unsaved', false, getMessage('ADMIN_NETWORK_REQUEST_PARAMS_NOTHING_REMOVED')); + } + } // END - if +} + // Adds a request parameter to given network and type function doAdminNetworkProcessAddnetworkparamForm () { // Is the request parameter already used with given network? diff --git a/inc/libs/nickname_functions.php b/inc/libs/nickname_functions.php index 1862bc873f..aa7e715ead 100644 --- a/inc/libs/nickname_functions.php +++ b/inc/libs/nickname_functions.php @@ -40,7 +40,7 @@ // Some security stuff... if (!defined('__SECURITY')) { die(); -} +} // END - if // Checks wether the nickname is active function isNicknameOrUserid ($useridNick) { diff --git a/inc/modules/admin/admin-inc.php b/inc/modules/admin/admin-inc.php index 6d0f680f91..76d9c6666c 100644 --- a/inc/modules/admin/admin-inc.php +++ b/inc/modules/admin/admin-inc.php @@ -496,6 +496,9 @@ function adminSaveSettings (&$postData, $tableName = '_config', $whereStatement if ('' . $val . '' == '' . $test . '') { // Add numbers $tableData[] = sprintf("`%s`=%s", $id, $test); + } elseif (is_null($val)) { + // Add NULL + $tableData[] = sprintf("`%s`=NULL", $id); } else { // Add strings $tableData[] = sprintf("`%s`='%s'", $id, trim($val)); diff --git a/inc/modules/admin/what-list_network_params.php b/inc/modules/admin/what-list_network_params.php index 24657e39c2..488f774618 100644 --- a/inc/modules/admin/what-list_network_params.php +++ b/inc/modules/admin/what-list_network_params.php @@ -69,16 +69,16 @@ if (isGetRequestParameterSet('network')) { $networkData = getNetworkDataById(getRequestParameter('network')); // Init disabled list - $networkData['disabled'] = array(); + $GLOBALS['network_params_disabled'] = array(); // Only show params from given type handler if choosen $ADD = ''; - if (isPostRequestParameterSet('network_type_id')) { + if ((isPostRequestParameterSet('network_type_id')) && (!is_array(postRequestParameter('network_type_id')))) { // Only show from current type handler $ADD = sprintf(" AND p.`network_type_id`=%s", bigintval(postRequestParameter('network_type_id'))); // Display message - loadTemplate('admin_settings_saved', false, getMessage('ADMIN_NETWORK_PARAMS_LIST_LIMITED_TO_TYPE')); + loadTemplate('admin_settings_saved', false, getMessage('ADMIN_NETWORK_REQUEST_PARAMS_LIST_LIMITED_TO_TYPE')); } // END - if // Load all advert types for given network @@ -108,7 +108,7 @@ ORDER BY // Add it to network if the type matches selected if ($row['network_type_id'] == postRequestParameter('network_type_id')) { // Matches, then add it for disabling this entry - $networkData['disabled'][$row['request_param_key']] = true; + $GLOBALS['network_params_disabled'][$row['request_param_key']] = true; } // END - if // Is default value empty or null? @@ -134,60 +134,17 @@ ORDER BY loadTemplate('admin_list_network_params', false, $content); } else { // No entries found - loadTemplate('admin_settings_saved', false, getMaskedMessage('ADMIN_NETWORK_PARAMS_404', $networkData['network_title'])); + loadTemplate('admin_settings_saved', false, getMaskedMessage('ADMIN_NETWORK_REQUEST_PARAMS_404', $networkData['network_title'])); } // Free result SQL_FREERESULT($result); // Add options list for network type - $networkData['type_options'] = generateOptionList( - 'network_types', - 'network_type_id', - 'network_type_handle', - postRequestParameter('network_type_id'), - '', - sprintf("WHERE `network_id`=%s", getRequestParameter('network')) - ); + $networkData['type_options'] = generateNetworkTypeOptions(postRequestParameter('network_type_id')); // Add options for parameter keys - $networkData['key_options'] = generateOptionList( - '/ARRAY/', - array( - 'id', - 'sid', - 'hash', - 'password', - 'reload', - 'max_stay', - 'min_stay', - 'currency', - 'type', - 'remain', - 'reward', - 'size', - 'erotic', - 'extra' - ), - array( - '{--ADMIN_NETWORK_PARAMS_ID--}', - '{--ADMIN_NETWORK_PARAMS_SID--}', - '{--ADMIN_NETWORK_PARAMS_HASH--}', - '{--ADMIN_NETWORK_PARAMS_PASSWORD--}', - '{--ADMIN_NETWORK_PARAMS_RELOAD--}', - '{--ADMIN_NETWORK_PARAMS_MAXIMUM_STAY--}', - '{--ADMIN_NETWORK_PARAMS_MINIMUM_STAY--}', - '{--ADMIN_NETWORK_PARAMS_CURRENCY--}', - '{--ADMIN_NETWORK_PARAMS_TYPE--}', - '{--ADMIN_NETWORK_PARAMS_REMAIN--}', - '{--ADMIN_NETWORK_PARAMS_REWARD--}', - '{--ADMIN_NETWORK_PARAMS_SIZE--}', - '{--ADMIN_NETWORK_PARAMS_EROTIC--}', - '{--ADMIN_NETWORK_PARAMS_EXTRA--}' - ), - '', '', '', - $networkData['disabled'] - ); + $networkData['key_options'] = generateNetworkRequestKeyOptions(''); // Add form for adding new params loadTemplate('admin_add_network_params', false, $networkData); diff --git a/inc/modules/admin/what-list_network_types.php b/inc/modules/admin/what-list_network_types.php index d28dfaa339..ecf71dff0f 100644 --- a/inc/modules/admin/what-list_network_types.php +++ b/inc/modules/admin/what-list_network_types.php @@ -130,7 +130,7 @@ ORDER BY 'surfbar', 'surfbar_click', 'surfbar_view', - 'focredbanner', + 'forcedbanner', 'forcedtextlink', 'textlink', 'textlink_click', @@ -148,7 +148,8 @@ ORDER BY 'lead', 'sale', 'payperactive', - 'pagepeel' + 'pagepeel', + 'traffic' ), array( '{--ADMIN_NETWORK_TYPES_BANNER_CLICK_VIEW--}', @@ -178,7 +179,8 @@ ORDER BY '{--ADMIN_NETWORK_TYPES_LEAD--}', '{--ADMIN_NETWORK_TYPES_SALE--}', '{--ADMIN_NETWORK_TYPES_PAYPERACTIVE--}', - '{--ADMIN_NETWORK_TYPES_PAGEPEEL--}' + '{--ADMIN_NETWORK_TYPES_PAGEPEEL--}', + '{--ADMIN_NETWORK_TYPES_TRAFFIC--}' ), '', '', '', $networkData['disabled'] diff --git a/inc/wrapper-functions.php b/inc/wrapper-functions.php index 56e281e356..9de0106688 100644 --- a/inc/wrapper-functions.php +++ b/inc/wrapper-functions.php @@ -341,6 +341,11 @@ function isDebugModeEnabled () { return ((isConfigEntrySet('DEBUG_MODE')) && (getConfig('DEBUG_MODE') == 'Y')); } +// Checks wether SQL debugging is enabled +function isSqlDebuggingEnabled () { + return ((isConfigEntrySet('DEBUG_SQL')) && (getConfig('DEBUG_SQL') == 'Y')); +} + // Checks wether we shall debug regular expressions function isDebugRegExpressionEnabled () { // Simply check it diff --git a/templates/de/html/admin/admin_add_network_params.tpl b/templates/de/html/admin/admin_add_network_params.tpl index 092e4a287f..86d6d6feab 100644 --- a/templates/de/html/admin/admin_add_network_params.tpl +++ b/templates/de/html/admin/admin_add_network_params.tpl @@ -3,7 +3,7 @@ - + - + - + @@ -40,7 +40,7 @@
- {--ADMIN_NETWORK_PARAMS_ADD_TITLE--} + {--ADMIN_NETWORK_REQUEST_PARAMS_ADD_TITLE--} @@ -18,7 +18,7 @@
{--ADMIN_NETWORK_PARAMS_KEY--}:{--ADMIN_NETWORK_REQUEST_PARAMS_KEY--}:
{--ADMIN_NETWORK_PARAMS_VALUE--}:{--ADMIN_NETWORK_REQUEST_PARAMS_VALUE--}:
{--ADMIN_NETWORK_PARAMS_DEFAULT--}:{--ADMIN_NETWORK_REQUEST_PARAMS_DEFAULT--}:
@@ -48,5 +48,5 @@
- {--ADMIN_NETWORK_PARAMS_ADD_NOTE--} + {--ADMIN_NETWORK_REQUEST_PARAMS_ADD_NOTE--}
diff --git a/templates/de/html/admin/admin_del_network_params.tpl b/templates/de/html/admin/admin_del_network_params.tpl new file mode 100644 index 0000000000..1c74096753 --- /dev/null +++ b/templates/de/html/admin/admin_del_network_params.tpl @@ -0,0 +1,27 @@ +
+
+ + + + + $content[rows] + + + +
+
+ {--ADMIN_NETWORK_REQUEST_PARAMS_DELETE_TITLE--} +
+ +
+
+ +
+ {--ADMIN_NETWORK_REQUEST_PARAMS_LIST_NOTE--} +
+
diff --git a/templates/de/html/admin/admin_del_network_params_row.tpl b/templates/de/html/admin/admin_del_network_params_row.tpl new file mode 100644 index 0000000000..ccc39d5306 --- /dev/null +++ b/templates/de/html/admin/admin_del_network_params_row.tpl @@ -0,0 +1,25 @@ + + {--ADMIN_NETWORK_TYPES_HANDLE--}: + + + $content[network_type_data][network_type_handle] + + + + {--ADMIN_NETWORK_REQUEST_PARAMS_KEY--}: + + $content[request_param_key] + + + + {--ADMIN_NETWORK_REQUEST_PARAMS_VALUE--}: + + $content[request_param_value] + + + + {--ADMIN_NETWORK_REQUEST_PARAMS_DEFAULT--}: + + $content[request_param_default] + + diff --git a/templates/de/html/admin/admin_del_network_types_row.tpl b/templates/de/html/admin/admin_del_network_types_row.tpl index 2d9fa33be6..3cabf88e7f 100644 --- a/templates/de/html/admin/admin_del_network_types_row.tpl +++ b/templates/de/html/admin/admin_del_network_types_row.tpl @@ -1,7 +1,7 @@ {--ADMIN_NETWORK_TYPES_HANDLE--}: - + $content[network_type_handle] diff --git a/templates/de/html/admin/admin_edit_network_params.tpl b/templates/de/html/admin/admin_edit_network_params.tpl new file mode 100644 index 0000000000..715cbef9e7 --- /dev/null +++ b/templates/de/html/admin/admin_edit_network_params.tpl @@ -0,0 +1,27 @@ +
+
+ + + + + $content[rows] + + + +
+
+ {--ADMIN_NETWORK_REQUEST_PARAMS_EDIT_TITLE--} +
+ +
+
+ +
+ {--ADMIN_NETWORK_REQUEST_PARAMS_LIST_NOTE--} +
+
diff --git a/templates/de/html/admin/admin_edit_network_params_row.tpl b/templates/de/html/admin/admin_edit_network_params_row.tpl new file mode 100644 index 0000000000..90d3b33a8f --- /dev/null +++ b/templates/de/html/admin/admin_edit_network_params_row.tpl @@ -0,0 +1,29 @@ + + {--ADMIN_NETWORK_TYPES_HANDLE--}: + + + + + + + {--ADMIN_NETWORK_REQUEST_PARAMS_KEY--}: + + + + + + {--ADMIN_NETWORK_REQUEST_PARAMS_VALUE--}: + + + + + + {--ADMIN_NETWORK_REQUEST_PARAMS_DEFAULT--}: + + + + diff --git a/templates/de/html/admin/admin_list_network_params.tpl b/templates/de/html/admin/admin_list_network_params.tpl index 005e2da178..87d5490799 100644 --- a/templates/de/html/admin/admin_list_network_params.tpl +++ b/templates/de/html/admin/admin_list_network_params.tpl @@ -4,7 +4,7 @@
- {--ADMIN_NETWORK_PARAMS_LIST_TITLE--} + {--ADMIN_NETWORK_REQUEST_PARAMS_LIST_TITLE--}
($content[network_title]) @@ -14,22 +14,22 @@ {--ID_SELECT--} {--ADMIN_NETWORK_TYPES_HANDLE--} - {--ADMIN_NETWORK_PARAMS_KEY--} - {--ADMIN_NETWORK_PARAMS_VALUE--} - {--ADMIN_NETWORK_PARAMS_DEFAULT--} + {--ADMIN_NETWORK_REQUEST_PARAMS_KEY--} + {--ADMIN_NETWORK_REQUEST_PARAMS_VALUE--} + {--ADMIN_NETWORK_REQUEST_PARAMS_DEFAULT--} $content[rows] - - + +
- {--ADMIN_NETWORK_PARAMS_LIST_NOTE--} + {--ADMIN_NETWORK_REQUEST_PARAMS_LIST_NOTE--}
-- 2.39.5