inc/modules/admin/what-list_holiday.php svneol=native#text/plain
inc/modules/admin/what-list_links.php svneol=native#text/plain
inc/modules/admin/what-list_network_api_translation.php svneol=native#text/plain
+inc/modules/admin/what-list_network_array_translation.php svneol=native#text/plain
inc/modules/admin/what-list_network_params.php svneol=native#text/plain
inc/modules/admin/what-list_network_types.php svneol=native#text/plain
inc/modules/admin/what-list_networks.php svneol=native#text/plain
templates/de/html/admin/admin_add_member_menu.tpl svneol=native#text/plain
templates/de/html/admin/admin_add_network.tpl svneol=native#text/plain
templates/de/html/admin/admin_add_network_api_translation.tpl svneol=native#text/plain
+templates/de/html/admin/admin_add_network_array_translation.tpl svneol=native#text/plain
templates/de/html/admin/admin_add_network_params.tpl svneol=native#text/plain
templates/de/html/admin/admin_add_network_type.tpl svneol=native#text/plain
templates/de/html/admin/admin_add_payment.tpl svneol=native#text/plain
templates/de/html/admin/admin_email_archiv_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_email_nav_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_expert_settings_form.tpl svneol=native#text/plain
+templates/de/html/admin/admin_export_network_array_translation.tpl svneol=native#text/plain
+templates/de/html/admin/admin_export_network_data.tpl svneol=native#text/plain
+templates/de/html/admin/admin_export_network_request_params.tpl svneol=native#text/plain
+templates/de/html/admin/admin_export_network_types.tpl svneol=native#text/plain
templates/de/html/admin/admin_extension_notes.tpl svneol=native#text/plain
templates/de/html/admin/admin_extension_reg_form.tpl svneol=native#text/plain
templates/de/html/admin/admin_extension_sql_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_mods_stats_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_network_api_translation.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_network_api_translation_row.tpl svneol=native#text/plain
+templates/de/html/admin/admin_list_network_array_translation.tpl svneol=native#text/plain
+templates/de/html/admin/admin_list_network_array_translation_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_network_config.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_network_config_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_list_network_params.tpl svneol=native#text/plain
templates/de/html/admin/admin_mods_stats_row.tpl svneol=native#text/plain
templates/de/html/admin/admin_network_added.tpl svneol=native#text/plain
templates/de/html/admin/admin_network_api_translation_added.tpl svneol=native#text/plain
+templates/de/html/admin/admin_network_array_translation_added.tpl svneol=native#text/plain
templates/de/html/admin/admin_network_request_param_added.tpl svneol=native#text/plain
templates/de/html/admin/admin_network_type_added.tpl svneol=native#text/plain
templates/de/html/admin/admin_newsletter.tpl svneol=native#text/plain
./inc/template-functions.php:1543:// @TODO Lame description for this function
./inc/template-functions.php:1565: // @TODO Move this in a filter
./inc/template-functions.php:193: * @TODO On some pages this is buggy
-./inc/template-functions.php:282: // @TODO Remove this sanity-check if all is fine
+./inc/template-functions.php:281: // @TODO Remove these sanity checks if all is fine
./inc/template-functions.php:608:// @TODO $simple/$constants are deprecated
./inc/wrapper-functions.php:512:// @TODO Do some more sanity check here
./inc/xml-functions.php:189: // @TODO Handle characters
./inc/modules/admin/what-config_admins.php:2:// @DEPRECATED
./inc/modules/admin/what-config_email.php:2:// @DEPRECATED
./inc/modules/admin/what-config_networks.php:2:// @DEPRECATED
+./inc/modules/admin/what-list_network_api_translation.php:2:// @DEPRECATED
./inc/modules/member/what-earnings.php:2:// @DEPRECATED
./inc/modules/member/what-surfbar_book.php:2:// @DEPRECATED
./inc/modules/member/what-surfbar_start.php:2:// @DEPRECATED
./templates/de/emails/register-member.tpl:1:@DEPRECATED
./templates/de/emails/sub-points.tpl:1:@DEPRECATED
./templates/de/emails/unlock-user.tpl:1:@DEPRECATED
+./templates/de/html/admin/admin_add_network_api_translation.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_admins_contct_select.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_config_admins_del_row.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_config_admins_del.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_list_chk_reg.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_list_country_del_row.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_list_country_edit_row.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_list_network_api_translation_row.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_list_network_api_translation.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_list_network_config_row.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_list_network_config.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_list_refs2.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_mods_stats2.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_mods_stats_row.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_mods_stats.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_network_api_translation_added.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_payout_add_new.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_reset_pass_done.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_send_reset_link.tpl:1:<!-- @DEPRECATED //-->
'Translations for array keys, generic data, DO NOT ALTER!');
// Array-Element translation tables per type/provider
- addDropTableSql('network_api_translation');
- addCreateTableSql('network_api_translation', "
-`network_api_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
+ addDropTableSql('network_array_translation');
+ addCreateTableSql('network_array_translation', "
+`network_array_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`network_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
`network_type_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`network_api_index` SMALLINT(5) UNSIGNED NOT NULL DEFAULT 0,
+`network_array_index` SMALLINT(5) UNSIGNED NOT NULL DEFAULT 0,
`sort` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-PRIMARY KEY (`network_api_id`),
-UNIQUE INDEX `provider_type_key` (`network_id`,`network_type_id`,`network_api_index`),
+PRIMARY KEY (`network_array_id`),
+UNIQUE INDEX `provider_type_key` (`network_id`,`network_type_id`,`network_array_index`),
INDEX (`sort`)",
'Translation of API responses, generic data, DO NOT ALTER!');
('ad-hit', 'Ad-Hit.de', 'http://www.ad-hit.de?ref=41', '|', '|', 'GET', 'WINDOWS-1252', 'N', 0),
('adcity', 'AdCity.eu', 'http://www.adcity.eu?ref=38', '|', '|', 'GET', 'WINDOWS-1252', 'N', 200),
('adgain', 'adgain.de', 'http://www.adgain.de/index.php?seite=anmeldung&ref=Quix0r', '|', '|', 'GET', 'ISO-8859-1', 'N', 150),
-('adkracher', 'ADkracher', 'http://www.adkracher.de/index.php?seite=anmeldung&ref=Quix0r', '|', '|', 'GET', 'ISO-8859-1', 'N', 350)");
+('adkracher', 'ADkracher', 'http://www.adkracher.de/index.php?seite=anmeldung&ref=Quix0r', '|', '|', 'GET', 'ISO-8859-1', 'N', 350),
+('adminlose', 'Adminlose.de', 'http://www.adminlose.de/index.php?ref=2148', '|', '|', 'GET', 'WINDOWS-1252', 'N', 200)");
// Network type handlers - A3H
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`,`network_type_reload_time_unit`) VALUES
(347, 34, 'textlink_view', 'http://www.adkracher.de/int/get.php', 'http://www.adkracher.de/kamp/sc_textview.php?uid=%UID%&bid=%CID%&sid=%SID%', NULL, 'h'),
(348, 34, 'traffic', 'http://www.adkracher.de/int/get.php', 'http://www.adkracher.de/kamp/ziel.php?uid=%UID%&bid=%CID%&sid=%SID%', NULL, 'h')");
+ // Network type handlers - Adminlose.de
+ 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`,`network_type_reload_time_unit`) VALUES
+(349, 35, 'banner_view', 'http://www.adminlose.de/interface/output_bannerviews.php', 'http://www.adminlose.de/lose/clickbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.adminlose.de/lose/viewbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
+(350, 35, 'textlink_view', 'http://www.adminlose.de/interface/output_textlinkviews.php', 'http://www.adminlose.de/lose/viewtextlink.php?id=%UID%&bid=%CID%&aid=%SID%', NULL, 'h'),
+(351, 35, 'forcedbanner', 'http://www.adminlose.de/interface/output_forcedbanner.php', 'http://www.adminlose.de/lose/forcedclickbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.adminlose.de/lose/forcedviewbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'h'),
+(352, 35, 'forcedtextlink', 'http://www.adminlose.de/interface/output_forcedtextlink.php', 'http://www.adminlose.de/lose/forcedclicktextlink.php?id=%UID%&bid=%CID%&aid=%SID%', NULL, 'h'),
+(353, 35, 'textmail', 'http://www.adminlose.de/interface/output_paidmails.php', 'http://www.adminlose.de/lose/paidmail.php?id=%UID%&bid=%CID%&aid=%SID%', NULL, 'h'),
+(354, 35, 'traffic', 'http://www.adminlose.de/interface/output_traffic.php', 'http://www.adminlose.de/lose/traffic.php?id=%UID%&bid=%CID%&aid=%SID%', NULL, 'h'),
+(355, 35, 'popup', 'http://www.adminlose.de/interface/output_popup.php', 'http://www.adminlose.de/lose/popup.php?id=%UID%&bid=%CID%&aid=%SID%', NULL, 'h'),
+(356, 35, 'popdown', 'http://www.adminlose.de/interface/output_popup.php', 'http://www.adminlose.de/lose/popdown.php?id=%UID%&bid=%CID%&aid=%SID%', NULL, 'h')");
+
// Network type handlers - AdPaid
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`,`network_type_reload_time_unit`) VALUES
(177, 5, 'banner', 'http://www.adpaid.de/interface/out_banner.php', 'http://www.adpaid.de/bannerklf.php?id=%CID%', 'http://www.adpaid.de/banner.php?id=%CID%', 'h'),
(34, 348, 'reward', 'verguetung', NULL),
(34, 348, 'sid', 'sid', NULL)");
+ // Request parameters per type handler - Adminlose.de
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
+(35, 349, 'id', 'id', 'NULL),
+(35, 349, 'password', 'pw', 'NULL),
+(35, 349, 'reload', 'reload', 'NULL),
+(35, 349, 'reward', 'verguetung', 'NULL),
+(35, 349, 'remain', 'uebrig', 'NULL),
+(35, 349, 'type', 'typ', 'view'),
+(35, 350, 'id', 'id', 'NULL),
+(35, 350, 'password', 'pw', 'NULL),
+(35, 350, 'reload', 'reload', 'NULL),
+(35, 350, 'reward', 'verguetung', 'NULL),
+(35, 350, 'remain', 'uebrig', 'NULL),
+(35, 350, 'type', 'typ', 'view'),
+(35, 351, 'id', 'id', 'NULL),
+(35, 351, 'password', 'pw', 'NULL),
+(35, 351, 'reload', 'reload', 'NULL),
+(35, 351, 'reward', 'verguetung', 'NULL),
+(35, 351, 'remain', 'uebrig', 'NULL),
+(35, 352, 'id', 'id', 'NULL),
+(35, 352, 'password', 'pw', 'NULL),
+(35, 352, 'reload', 'reload', 'NULL),
+(35, 352, 'reward', 'verguetung', 'NULL),
+(35, 352, 'type', 'uebrig', 'NULL),
+(35, 353, 'id', 'id', 'NULL),
+(35, 353, 'password', 'pw', 'NULL),
+(35, 353, 'reward', 'verguetung', 'NULL),
+(35, 353, 'remain', 'uebrig', 'NULL),
+(35, 353, 'minimum_stay', 'ma', 'NULL),
+(35, 354, 'id', 'id', 'NULL),
+(35, 354, 'password', 'pw', 'NULL),
+(35, 354, 'reload', 'reload', 'NULL),
+(35, 354, 'reward', 'verguetung', 'NULL),
+(35, 354, 'remain', 'uebrig', 'NULL),
+(35, 355, 'id', 'id', 'NULL),
+(35, 355, 'password', 'pw', 'NULL),
+(35, 355, 'reload', 'reload', 'NULL),
+(35, 355, 'reward', 'verguetung', 'NULL),
+(35, 355, 'remain', 'uebrig', 'NULL),
+(35, 355, 'minimum_stay', 'ma', 'NULL),
+(35, 355, 'type', 'typ', 'popup'),
+(35, 356, 'id', 'id', 'NULL),
+(35, 356, 'password', 'pw', 'NULL),
+(35, 356, 'reload', 'reload', 'NULL),
+(35, 356, 'reward', 'verguetung', 'NULL),
+(35, 356, 'remain', 'uebrig', 'NULL),
+(35, 356, 'minimum_stay', 'ma', 'NULL),
+(35, 356, 'type', 'typ', 'popdown')");
+
// Request parameters per type handler - AdPaid
addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES
(5, 177, 'id', 'id', NULL),
(23, 166, 'sid', 'sid', NULL)");
// API array elements - A3H
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(1, 1, 7, 1),
(1, 1, 2, 2),
(1, 1, 3, 3),
(1, 10, 25, 10)");
// API array elements - AbisZED-Netz
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(2, 187, 7, 1),
(2, 187, 2, 2),
(2, 187, 3, 3),
(2, 201, 25, 10)");
// API array elements - Ad-Hit.de
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(31, 302, 1, 1),
(31, 302, 2, 2),
(31, 302, 4, 3),
// API array elements - AD-Magnet
// API array elements - ADCity.eu
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(32, 312, 1, 1),
(32, 312, 2, 2),
(32, 312, 4, 3),
// API array elements - ADCocktail
// API array elements - AdConvention
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(30, 292, 1, 1),
(30, 292, 2, 2),
(30, 292, 4, 3),
(30, 301, 9, 7)");
// API array elements - adgain.de
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(33, 322, 1, 1),
(33, 322, 2, 2),
(33, 322, 5, 3),
(33, 335, 9, 6)");
// API array elements - adgain.de
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(34, 336, 1, 1),
(34, 336, 2, 2),
(34, 336, 5, 3),
(34, 348, 6, 5),
(34, 348, 10, 6)");
+ // API array elements - Adminlose.de
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
+(35, 349, 1, 1),
+(35, 349, 2, 2),
+(35, 349, 4, 3),
+(35, 349, 5, 4),
+(35, 349, 6, 5),
+(35, 349, 10, 6),
+(35, 350, 1, 1),
+(35, 350, 2, 2),
+(35, 350, 4, 3),
+(35, 350, 5, 4),
+(35, 350, 6, 5),
+(35, 350, 9, 6),
+(35, 351, 1, 1),
+(35, 351, 2, 2),
+(35, 351, 4, 3),
+(35, 351, 5, 4),
+(35, 351, 6, 5),
+(35, 352, 1, 1),
+(35, 352, 2, 2),
+(35, 352, 4, 3),
+(35, 352, 5, 4),
+(35, 352, 6, 5),
+(35, 352, 9, 6),
+(35, 353, 1, 1),
+(35, 353, 2, 2),
+(35, 353, 5, 3),
+(35, 353, 6, 4),
+(35, 353, 10, 5),
+(35, 353, 37, 6),
+(35, 353, 9, 7),
+(35, 354, 1, 1),
+(35, 354, 2, 2),
+(35, 354, 4, 3),
+(35, 354, 5, 4),
+(35, 354, 6, 5),
+(35, 355, 1, 1),
+(35, 355, 2, 2),
+(35, 355, 4, 3),
+(35, 355, 5, 4),
+(35, 355, 6, 5),
+(35, 355, 10, 6),
+(35, 356, 1, 1),
+(35, 356, 2, 2),
+(35, 356, 4, 3),
+(35, 356, 5, 4),
+(35, 356, 6, 5),
+(35, 356, 10, 6)");
+
// API array elements - AdPaid
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(5, 177, 7, 1),
(5, 177, 2, 2),
(5, 177, 3, 3),
(5, 185, 9, 9)");
// API array elements - Ads4.de
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(6, 14, 7, 1),
(6, 14, 2, 2),
(6, 14, 6, 3),
(6, 119, 10, 6)");
// API array elements - Ads4Webbis
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(7, 17, 1, 1),
(7, 17, 2, 2),
(7, 17, 4, 3),
(7, 120, 27, 8)");
// API array elements - Ads4World
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(8, 26, 1, 1),
(8, 26, 2, 2),
(8, 26, 4, 3),
// API array elements - Affiliblatt
// API array elements - AllAds4You
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(10, 167, 1, 1),
(10, 167, 2, 2),
(10, 167, 4, 3),
(10, 176, 40, 8)");
// API array elements - Alster-Marketing
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(11, 35, 7, 1),
(11, 35, 2, 2),
(11, 35, 3, 3),
(11, 49, 6, 5)");
// API array elements - BonusSponsor
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(12, 50, 7, 1),
(12, 50, 2, 2),
(12, 50, 3, 3),
(12, 62, 9, 19)");
// API array elements - City-Ads
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(24, 212, 1, 1),
(24, 212, 2, 2),
(24, 212, 4, 3),
(24, 221, 27, 8)");
// API array elements - doubleads
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(26, 232, 1, 1),
(26, 232, 2, 2),
(26, 232, 3, 3),
(26, 246, 25, 10)");
// API array elements - FuCoExSponsor.net
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(29, 273, 7, 1),
(29, 273, 2, 2),
(29, 273, 5, 3),
(29, 289, 10, 6)");
// API array elements - Fusion-Ads
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(13, 290, 1, 1),
(13, 290, 2, 2),
(13, 290, 6, 3),
(13, 291, 10, 8)");
// API array elements - GigaPromo
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(14, 102, 7, 1),
(14, 102, 2, 2),
(14, 102, 4, 3),
(14, 122, 6, 5)");
// API array elements - Gold-Sponsor
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(25, 222, 1, 1),
(25, 222, 2, 2),
(25, 222, 4, 3),
(25, 231, 9, 7)");
// API array elements - homeADS
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(28, 260, 1, 1),
(28, 260, 2, 2),
(28, 260, 3, 3),
(28, 272, 5, 10)");
// API array elements - HPSponsor
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(15, 135, 1, 1),
(15, 135, 2, 2),
(15, 135, 4, 3),
(15, 144, 27, 8)");
// API array elements - Make-Euros.de
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(16, 63, 7, 1),
(16, 63, 2, 2),
(16, 63, 3, 3),
(16, 76, 9, 9)");
// API array elements - Mega-Ad
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(17, 109, 1, 1),
(17, 109, 2, 2),
(17, 109, 4, 3),
(17, 123, 6, 5)");
// API array elements - Power-Promo
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(18, 78, 7, 1),
(18, 78, 2, 2),
(18, 78, 3, 3),
(18, 92, 25, 10)");
// API array elements - SeCash
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(19, 93, 1, 1),
(19, 93, 2, 2),
(19, 93, 4, 3),
(19, 124, 6, 5)");
// API array elements - The Swizerland Ad Network
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(20, 200, 6, 5),
(20, 202, 1, 1),
(20, 202, 2, 2),
(20, 211, 27, 8)");
// API array elements - UltraPOMO
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(21, 125, 1, 1),
(21, 125, 2, 2),
(21, 125, 4, 3),
(21, 134, 6, 5)");
// API array elements - VIPads
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(27, 247, 7, 1),
(27, 247, 2, 2),
(27, 247, 5, 3),
(27, 259, 10, 6)");
// API array elements - Der Werbepartner.cc
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(22, 145, 1, 1),
(22, 145, 2, 2),
(22, 145, 6, 3),
(22, 155, 10, 7)");
// API array elements - Yoo!Media
- addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`,`network_type_id`,`network_api_index`,`sort`) VALUES
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES
(23, 156, 1, 1),
(23, 156, 2, 2),
(23, 156, 3, 3),
addAdminMenuSql('network', 'list_networks', 'Auflisten/Verwalten', '<strong>Entwicklereinstellungen!</strong> Hier ändern Sie die Einstellungen an den Grunddaten (Stammdaten) des jeweiligen Werbenetzwerks ab. Sie sollten hier generell nichts einstellen und <a href="http://forum.mxchange.org/forum-43.html" target="_blank" title="Direktlink zum Forum">im Forum</a> um Hilfe fragen, wenn Sie selber ein Werbenetzwerk einrichten möchten.', 6);
addAdminMenuSql('network', 'list_network_types', 'Werbearten-Handler', '<strong>Entwicklereinstellungen!</strong> Hier ändern Sie die Einstellungen zu den Werbearten-Handler pro Werbenetzwerken. Sie sollten hier generell nichts einstellen und <a href="http://forum.mxchange.org/forum-43.html" target="_blank" title="Direktlink zum Forum">im Forum</a> um Hilfe fragen, wenn Sie selber ein Werbenetzwerk einrichten möchten.', 7);
addAdminMenuSql('network', 'list_network_params', 'Abfrageparameter', '<strong>Entwicklereinstellungen!</strong> Hier stellen Sie die Abfrageparameter (wie sie genannt werden müssen, um das API-Script korrekt aufrufen zu können) ein, pro Werbenetzwerk. Sie sollten hier generell nichts einstellen und <a href="http://forum.mxchange.org/forum-43.html" target="_blank" title="Direktlink zum Forum">im Forum</a> um Hilfe fragen, wenn Sie selber ein Werbenetzwerk einrichten möchten.', 8);
- addAdminMenuSql('network', 'list_network_api_translation', 'Antwort-Array', '<strong>Entwicklereinstellungen!</strong> Hier stellen Sie die Zuweisungen der aus der analysierten API-Antwort Array-Elementen zu den Datenspalten ein. Sie sollten hier generell nichts einstellen und <a href="http://forum.mxchange.org/forum-43.html" target="_blank" title="Direktlink zum Forum">im Forum</a> um Hilfe fragen, wenn Sie selber ein Werbenetzwerk einrichten möchten.', 10);
+ addAdminMenuSql('network', 'list_network_array_translation', 'Antwort-Array', '<strong>Entwicklereinstellungen!</strong> Hier stellen Sie die Zuweisungen der aus der analysierten API-Antwort Array-Elementen zu den Datenspalten ein. Sie sollten hier generell nichts einstellen und <a href="http://forum.mxchange.org/forum-43.html" target="_blank" title="Direktlink zum Forum">im Forum</a> um Hilfe fragen, wenn Sie selber ein Werbenetzwerk einrichten möchten.', 10);
addAdminMenuSql('network', 'list_network_error_codes', 'Fehlercodes', '<strong>Entwicklereinstellungen!</strong> Hier stellen Sie die Fehlercodes ein, die im Falle eines Fehlers pro API-Script kommen können. Sie sollten hier generell nichts einstellen und <a href="http://forum.mxchange.org/forum-43.html" target="_blank" title="Direktlink zum Forum">im Forum</a> um Hilfe fragen, wenn Sie selber ein Werbenetzwerk einrichten möchten.', 11);
// Configuration entries
addDropTableSql('network_types');
addDropTableSql('network_request_params');
addDropTableSql('network_error_codes');
- addDropTableSql('network_api_translation');
+ addDropTableSql('network_array_translation');
addDropTableSql('network_api_config');
addDropTableSql('network_types_config');
addDropTableSql('network_cache');
// Admin actions - submit buttons
'ADMIN_ACTION_EDIT_SUBMIT' => "Bearbeiten",
+ 'ADMIN_ACTION_EXPORT_SUBMIT' => "Exportieren",
'ADMIN_ACTION_CHANGE_SUBMIT' => "Editierungen ausführen",
'ADMIN_ACTION_DELETE_SUBMIT' => "Löschen",
'ADMIN_ACTION_REMOVE_SUBMIT' => "Einträge löschen",
'ADMIN_NETWORK_REQUEST_PARAMETER_NOT_ADDED' => "Der API-Parameter <span class=\"data\">%s</span> wurde nicht hinzugefügt.",
'ADMIN_NETWORK_REQUEST_PARAMETER_NOTHING_CHANGED' => "Es wurden keine Änderungen an den API-Parametern ausgeführt.",
'ADMIN_NETWORK_REQUEST_PARAMETER_NOTHING_REMOVED' => "Es wurden keine API-Parameter gelöscht.",
- 'ADMIN_NETWORK_API_TRANSLATION_404' => "Es wurden keine Übersetzungen zum Antwort-Array zum Werbenetzwerk <span class=\"data\">%s</span> gefunden.",
- 'ADMIN_NETWORK_API_TRANSLATION_NOT_ADDED' => "Die Array-Element-Übersetzung <span class=\"data\">%s</span> wurde nicht hinzugefügt.",
- 'ADMIN_NETWORK_API_TRANSLATION_ALREADY_ADDED' => "Eine Array-Element-Übersetzung <span class=\"data\">%s</span> existiert bereits.",
+ 'ADMIN_NETWORK_ARRAY_TRANSLATION_404' => "Es wurden keine Übersetzungen zum Antwort-Array zum Werbenetzwerk <span class=\"data\">%s</span> gefunden.",
+ 'ADMIN_NETWORK_ARRAY_TRANSLATION_NOT_ADDED' => "Die Array-Element-Übersetzung <span class=\"data\">%s</span> wurde nicht hinzugefügt.",
+ 'ADMIN_NETWORK_ARRAY_TRANSLATION_ALREADY_ADDED' => "Eine Array-Element-Übersetzung <span class=\"data\">%s</span> existiert bereits.",
'ADMIN_NETWORK_TYPE_HANDLER_ALREADY_CONFIGURED' => "Kann Daten des ausgewählten Werbeart-Handlers nicht hinzufügen, da bereits Daten vorhanden sind. Haben Sie das Formular ein zweites Mal versendet?",
// - Form titles
'ADMIN_ADD_NETWORK_TITLE' => "Neues Werbenetzwerk hinzufügen - Allgemeine Daten",
'ADMIN_NETWORK_REQUEST_PARAMETER_LIST_TITLE' => "API-Parameter auflisten und verwalten",
'ADMIN_NETWORK_REQUEST_PARAMETER_EDIT_TITLE' => "API-Parameter editieren",
'ADMIN_NETWORK_REQUEST_PARAMETER_DELETE_TITLE' => "API-Parameter löschen",
- 'ADMIN_ADD_NETWORK_API_TRANSLATION_TITLE' => "Werbenetzwerk verwalten - Neues API-Arrayelement hinzufügen",
- 'ADMIN_LIST_NETWORK_API_TRANSLATION_TITLE' => "API-Arrayelemente auflisten und verwalten",
+ 'ADMIN_ADD_NETWORK_ARRAY_TRANSLATION_TITLE' => "Werbenetzwerk verwalten - Neues API-Arrayelement hinzufügen",
+ 'ADMIN_LIST_NETWORK_ARRAY_TRANSLATION_TITLE' => "API-Arrayelemente auflisten und verwalten",
'ADMIN_ADD_CONFIG_NETWORK_TYPE_TITLE' => "Werbeart-Handler einrichten - {%%pipe,translateNetworkTypeHandler=%s%%}",
'ADMIN_SHOW_CONFIG_NETWORK_TYPE_TITLE' => "Eingerichteter Werbeart-Handler - {%%pipe,translateNetworkTypeHandler=%s%%}",
'ADMIN_CONFIG_NETWORK_TYPES_TITLE' => "Werbeart-Handler einrichten",
'ADMIN_NETWORK_TYPES_CONFIG_LINK_TITLE' => "Weiter zur Werbart-Handler-Konfiguration",
'ADMIN_LIST_NETWORK_TYPES_LINK_TITLE' => "Weiter zu den Werbearten",
'ADMIN_LIST_NETWORK_PARAMS_LINK_TITLE' => "Weiter zu den API-Parametern",
- 'ADMIN_LIST_NETWORK_API_TRANSLATION_LINK_TITLE' => "Weiter zu den Übersetzungen zum Antwort-Arrayn",
+ 'ADMIN_LIST_NETWORK_ARRAY_TRANSLATION_LINK_TITLE' => "Weiter zu den Übersetzungen zum Antwort-Arrayn",
'ADMIN_LIST_NETWORK_ERROR_CODES_LINK_TITLE' => "Weiter zu den Fehlercodes",
// - Buttons
'ADMIN_ADD_NETWORK_SUBMIT' => "Allgemeine Daten anlegen",
'ADMIN_ADD_NETWORK_REQUEST_PARAMETER_SUBMIT' => "API-Parameter hinzufügen",
'ADMIN_CHANGE_NETWORK_REQUEST_PARAMETER_SUBMIT' => "API-Parameter ändern",
'ADMIN_REMOVE_NETWORK_REQUEST_PARAMETER_SUBMIT' => "API-Parameter entfernen",
- 'ADMIN_ADD_NETWORK_API_TRANSLATION_SUBMIT' => "API-Arrayelement hinzufügen",
+ 'ADMIN_ADD_NETWORK_ARRAY_TRANSLATION_SUBMIT' => "API-Arrayelement hinzufügen",
'ADMIN_ADD_CONFIG_NETWORK_TYPE_SUBMIT' => "Jetzt den Werbeart-Handler einrichten",
'ADMIN_ADD_CONFIG_NETWORK_TYPE_FORM_SUBMIT' => "Werbeart-Handlerdaten hinzufügen",
'ADMIN_EDIT_CONFIG_NETWORK_TYPE_SUBMIT' => "Konfiguration ändern",
'ADMIN_NETWORK_ADDED_TITLE' => "Allgemeine Werbenetzwerkdaten hinzugefügt",
'ADMIN_NETWORK_TYPES_ADDED_TITLE' => "Werbeart-Handler hinzugefügt",
'ADMIN_NETWORK_REQUEST_PARAM_ADDED_TITLE' => "API-Parameter hinzugefügt",
- 'ADMIN_NETWORK_API_TRANSLATION_ADDED_TITLE' => "Array-Element-Übersetzung hinzugefügt",
+ 'ADMIN_NETWORK_ARRAY_TRANSLATION_ADDED_TITLE' => "Array-Element-Übersetzung hinzugefügt",
// - Success nots
'ADMIN_NETWORK_UPDATED' => "Es wurden <span class=\"data\">%s</span> Einträge in den allgemeinen Daten aktualisiert.",
'ADMIN_NETWORK_REMOVED' => "Es wurden <span class=\"data\">%s</span> Einträge aus den allgemeinen Daten gelöscht.",
'ADMIN_NETWORK_TYPES_LIST_NOTE' => "Seien Sie mit dem Löschen und Editieren von Werbeart-Handlern sehr vorsichtig. Sie sollten hierzu Rücksprache <a href=\"http://forum.mxchange.org/forum-43.html\" target=\"_blank\" title=\"Direktlink zum Forum\">im Forum</a> halten. Dokumentation zu den Platzhaltern (%FOO%, %BAR% usw.) finden Sie in der Dokumentation DOCs/de/network/README.txt.",
'ADMIN_ADD_NETWORK_REQUEST_PARAMETER_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_PARAMETER_LIST_NOTE' => "Seien Sie mit dem Löschen und Editieren von API-Parameter sehr vorsichtig. Sie sollten hierzu Rücksprache <a href=\"http://forum.mxchange.org/forum-43.html\" target=\"_blank\" title=\"Direktlink zum Forum\">im Forum</a> halten. Dokumentation zu den Abfragenamen (%FOO%, %BAR% usw.) finden Sie in der Dokumentation DOCs/de/network/README.txt.",
- 'ADMIN_ADD_NETWORK_API_TRANSLATION_NOTE' => "Fügen Sie hier weitere Array-Element-Übersetzungen zu dem ausgewählten Netzwerk und Werbeart-Handler ein.",
- 'ADMIN_LIST_NETWORK_API_TRANSLATION_NOTE' => "Seien Sie mit dem Editieren bzw. Löschen von Array-Elementen sehr vorsichtig, die API-Abfrage köntte unerwartete Ergebnisse bzw. Fehler zurückliefern.",
+ 'ADMIN_ADD_NETWORK_ARRAY_TRANSLATION_NOTE' => "Fügen Sie hier weitere Array-Element-Übersetzungen zu dem ausgewählten Netzwerk und Werbeart-Handler ein.",
+ 'ADMIN_LIST_NETWORK_ARRAY_TRANSLATION_NOTE' => "Seien Sie mit dem Editieren bzw. Löschen von Array-Elementen sehr vorsichtig, die API-Abfrage köntte unerwartete Ergebnisse bzw. Fehler zurückliefern.",
'ADMIN_NETWORK_REQUIRE_ID_CARD_NOTE' => "Unter <strong>{--ADMIN_NETWORK_REQUIRE_ID_CARD--}</strong> ist das durch den Webnetzwerkbetreiber Verlangen einer Kopie des Personalausweises bzw. Gewerbescheins zu verstehen. Mehr dazu erfahen Sie <a href=\"http://forum.mxchange.org/topic-499.html\" rel=\"external\" target=\"_blank\">im Forum</a>.",
'ADMIN_CONFIG_NETWORK_API_NOTE' => "Geben Sie unter <strong>{--ADMIN_CONFIG_NETWORK_API_ENTER_REFERRAL_BUTTON--}</strong> einen Button im Format 88x31 ein. Sollte das Werbenetzwerk keinen anbieten, lassen Sie dieses Feld einfach leer. Andere Formate als 88x31 werden auf 88x31 geschrumpft dargestellt. Bitte geben Sie nur die URLs und <strong>keinen</strong> HTML-Code ein.",
'ADMIN_CONFIG_NETWORK_TYPES_NOTE' => "Für jede Werbeart sind unterschiedliche Reloadsperren, Mindestauffenthalte und mehr einstellbar. Damit ist es möglich, dass Sie z.B. für Forced-Banner eine kürzere/längere Reloadsperre eingeben können als für Paidmails.",
'ADMIN_EDIT_CONFIG_NETWORK_TYPE_FORM_NOTE' => "{--ADMIN_ADD_CONFIG_NETWORK_TYPE_FORM_NOTE--}",
// - Other messages
'ADMIN_NETWORK_REQUEST_PARAMETER_LIST_LIMITED_TO_TYPE' => "Es wurden nur die API-Parameter des ausgewählten Werbeart-Handlers angezeigt.",
- 'ADMIN_LIST_NETWORK_API_TRANSLATION_LIMITED_TO_TYPE' => "Es wurden nur die Array-Element-Übersetzungen des ausgewählten Werbeart-Handlers angezeigt.",
+ 'ADMIN_LIST_NETWORK_ARRAY_TRANSLATION_LIMITED_TO_TYPE' => "Es wurden nur die Array-Element-Übersetzungen des ausgewählten Werbeart-Handlers angezeigt.",
// - Advertise types
'ADMIN_NETWORK_TYPES_BANNER' => "Banner-Klick/-View",
'ADMIN_NETWORK_TYPES_BANNER_CLICK' => "Banner-Klick",
'ADMIN_NETWORK_REQUEST_PARAMETER_MINIMUM_STAY' => "Mindestauffenthalt",
'ADMIN_NETWORK_REQUEST_PARAMETER_MAXIMUM_STAY' => "Maximaler Auffenthalt",
'ADMIN_NETWORK_REQUEST_PARAMETER_CURRENCY' => "Währung",
- 'ADMIN_NETWORK_REQUEST_PARAMETER_TYPE' => "Typ (z.B. klick/view/html/text)",
+ 'ADMIN_NETWORK_REQUEST_PARAMETER_TYPE' => "Typ (z.B. click/view)",
'ADMIN_NETWORK_REQUEST_PARAMETER_REMAIN' => "Mindestanzahl der restlichen Klicks",
'ADMIN_NETWORK_REQUEST_PARAMETER_REWARD' => "Mindestvergütung",
'ADMIN_NETWORK_REQUEST_PARAMETER_SIZE' => "Werbemittelgrösse",
'ADMIN_NETWORK_REQUEST_PARAMETER_EXTRA' => "Extra-Parameter",
'ADMIN_NETWORK_REQUEST_PARAMETER_COUNTRY' => "Ländercode",
// - API array index translation
- 'ADMIN_NETWORK_API_TRANSLATION_INDEX' => "Neuen Array-Index eintragen",
- 'ADMIN_NETWORK_API_TRANSLATION_INDEX_TRANSLATION' => "Index-Übersetzung auswählen",
- 'ADMIN_NETWORK_API_INDEX_TRANSLATION' => "Index-Übersetzung",
- 'ADMIN_NETWORK_API_INDEX_SORTING' => "Index-Reihenfolge",
+ 'ADMIN_NETWORK_ARRAY_TRANSLATION_INDEX' => "Neuen Array-Index eintragen",
+ 'ADMIN_NETWORK_ARRAY_TRANSLATION_INDEX_TRANSLATION' => "Index-Übersetzung auswählen",
+ 'ADMIN_NETWORK_ARRAY_INDEX_TRANSLATION' => "Index-Übersetzung",
+ 'ADMIN_NETWORK_ARRAY_INDEX_SORTING' => "Index-Reihenfolge",
// Network API configuration
'ADMIN_CONFIG_NETWORK_API_ENTER_AFFILIATE_ID' => "Ihre Affiliate oder User-Id:",
'ADMIN_CONFIG_NETWORK_API_ENTER_API_PASSWORD' => "Ihr Interface-Kennwort:",
'ADMIN_CONFIG_NETWORK_TYPE_HANDLER_NOT_SAVED' => "Werbeart-Handler wurde NICHT gespeichert.",
'ADMIN_NETWORK_TYPE_HANDLER_NOT_CONFIGURED' => "Werart-Handler wurde noch nicht eingerichtet. Bitte verwenden Sie dazu das passende Formular.",
'ADMIN_CONFIG_NETWORK_TYPE_HANDLER_NOT_CHANGED' => "Werbeart-Handler wurde NICHT geändert.",
+ // SQL export for all network tables
+ 'ADMIN_EXPORT_NETWORK_NOTE' => "Verwenden Sie diesen SQL-Befehl nicht in phpMyAdmin oder anderen SQL-Clients, dieser SQL-Befehl ist zum Einfügen in das Script <strong>ext-network.php</strong> konzipiert.",
+ 'ADMIN_EXPORT_ALL_NETWORK_DATA_LINK' => "Gesamte Tabelle <strong>network_data</strong> zum Einfügen in ext-network.php exportieren",
+ 'ADMIN_EXPORT_NETWORK_DATA_TITLE' => "Tabellenexport - Netzwerkgrunddaten",
+ 'ADMIN_EXPORT_NETWORK_TYPES_LINK' => "Werbeart-Handler des aktuell angezeigten Werbenetzwerkes exportieren",
+ 'ADMIN_EXPORT_NETWORK_TYPES_TITLE' => "Tabellenexport - Werbeart-Handlerdaten",
+ 'ADMIN_EXPORT_NETWORK_PARAMS_LINK' => "Abfrageparameter des aktuell angezeigten Werbenetzwerkes exportieren",
+ 'ADMIN_EXPORT_NETWORK_REQUEST_PARAMS_TITLE' => "Tabellenexport - Abfrage-Parameter",
+ 'ADMIN_EXPORT_NETWORK_ARRAY_TRANSLATION_LINK' => "Antwort-Array-Elemente des aktuell angezeigten Werbenetzwerkes exportieren",
+ 'ADMIN_EXPORT_NETWORK_ARRAY_TRANSLATION_TITLE' => "Tabellenexport - Arrayfeldübersetzungen",
// Error codes
'ADMIN_NETWORK_AFF_ID_PASS_WRONG_ERROR_CODE' => "Affiliate-Id oder -Passwort falsch",
'ADMIN_NETWORK_SITE_ID_NOT_ASSIGNED_ERROR_CODE' => "Seiten-Id nicht zugewiesen/ungültig",
return $GLOBALS['current_network_id'];
}
-// Handle a (maybe) sent form here
-function doNetworkHandleForm () {
- // Was the form sent?
- if ((isFormSent()) || (isFormSent('edit')) || (isFormSent('delete')) || (isFormSent('do_edit')) || (isFormSent('do_delete'))) {
- // Do we have a 'do'?
- if (isGetRequestElementSet('do')) {
- // Process the request
- doAdminNetworkProcessForm();
- } else {
- // No 'do' found
- loadTemplate('admin_settings_unsaved', false, '{--ADMIN_NETWORK_DO_404--}');
- }
+// Detects if a supported form has been sent
+function detectNetworkProcessForm () {
+ // 'do' must be provided in URL
+ if (!isGetRequestElementSet('do')) {
+ // Not provided!
+ debug_report_bug(__FUNCTION__, __LINE__, 'No "do" has been provided. Please fix your templates.');
+ } // END - if
+
+ // Default is invalid
+ $GLOBALS['network_form_name'] = 'invalid';
+
+ // Now search all valid
+ foreach (array('ok', 'edit', 'delete', 'do_edit', 'do_delete') as $form) {
+ // Is it detected
+ if (isFormSent($form)) {
+ // Use this form name
+ $GLOBALS['network_form_name'] = $form;
+
+ // Abort loop
+ break;
+ } // END - if
+ } // END - foreach
+
+ // Has the form being detected?
+ if ($GLOBALS['network_form_name'] == 'invalid') {
+ // Not supported
+ debug_report_bug(__FUNCTION__, __LINE__, 'POST form could not be detected.');
} // END - if
}
-// Processes an admin form
-function doAdminNetworkProcessForm () {
- // Form really sent?
- if ((!isFormSent()) && (!isFormSent('edit')) && (!isFormSent('delete')) && (!isFormSent('do_edit')) && (!isFormSent('do_delete'))) {
- // Abort here
- loadTemplate('admin_settings_unsaved', false, '{--ADMIN_NETWORK_FORM_NOT_SENT--}');
- return;
+// Handle a (maybe) sent form here
+function doNetworkHandleForm () {
+ // Do we have a form sent?
+ if (countRequestPost() > 0) {
+ // Detect sent POST form
+ detectNetworkProcessForm();
} elseif (!isGetRequestElementSet('do')) {
- // No 'do' found
- loadTemplate('admin_settings_unsaved', false, '{--ADMIN_NETWORK_DO_404--}');
+ // Skip any further requests
return;
}
+ // Process the request
+ doAdminNetworkProcessForm();
+}
+
+// Processes an admin form
+function doAdminNetworkProcessForm () {
// Create function name
$functionName = sprintf("doAdminNetworkProcess%s", capitalizeUnderscoreString(getRequestElement('do')));
function isNetworkTypeHandleValid ($type, $networkId) {
// Query for it
$result = SQL_QUERY_ESC("SELECT `network_type_id` FROM `{?_MYSQL_PREFIX?}_network_types` WHERE `network_id`=%s AND `network_type_handle`='%s' LIMIT 1",
- array($networkId, $type), __FUNCTION__, __LINE__);
+ array(
+ $networkId,
+ $type
+ ), __FUNCTION__, __LINE__);
// Does it exist?
$isValid = (SQL_NUMROWS($result) == 1);
function isNetworkRequestElementValid ($key, $type, $networkId) {
// Query for it
$result = SQL_QUERY_ESC("SELECT `network_request_param_id` FROM `{?_MYSQL_PREFIX?}_network_request_params` WHERE `network_id`=%s AND `network_type_id`=%s AND `network_request_param_key`='%s' LIMIT 1",
- array($networkId, $type, $key), __FUNCTION__, __LINE__);
+ array(
+ $networkId,
+ $type,
+ $key
+ ), __FUNCTION__, __LINE__);
// Does it exist?
$isValid = (SQL_NUMROWS($result) == 1);
}
// Checks wether the given network API array translation
-function isNetworkApiTranslationValid ($key, $type, $networkId) {
+function isNetworkArrayTranslationValid ($key, $type, $networkId) {
// Query for it
- $result = SQL_QUERY_ESC("SELECT `network_api_id` FROM `{?_MYSQL_PREFIX?}_network_api_translation` WHERE `network_id`=%s AND `network_type_id`=%s AND `network_api_index`='%s' LIMIT 1",
- array($networkId, $type, $key), __FUNCTION__, __LINE__);
+ $result = SQL_QUERY_ESC("SELECT `network_array_id` FROM `{?_MYSQL_PREFIX?}_network_array_translation` WHERE `network_id`=%s AND `network_type_id`=%s AND `network_array_index`='%s' LIMIT 1",
+ array(
+ $networkId,
+ $type,
+ $key
+ ), __FUNCTION__, __LINE__);
// Does it exist?
$isValid = (SQL_NUMROWS($result) == 1);
$GLOBALS['network_data'][$networkId] = array();
// Query for the network data
- $result = SQL_QUERY_ESC("SELECT
+ $result = SQL_QUERY_ESC('SELECT
`network_id`,
`network_short_name`,
`network_title`,
`{?_MYSQL_PREFIX?}_network_data`
WHERE
`network_id`=%s
-LIMIT 1",
+LIMIT 1',
array(bigintval($networkId)), __FUNCTION__, __LINE__);
// Do we have an entry?
$GLOBALS['network_data'][$networkId] = array();
// Query for the network data
- $result = SQL_QUERY_ESC("SELECT
+ $result = SQL_QUERY_ESC('SELECT
d.`network_id`,
d.`network_short_name`,
d.`network_title`,
d.`network_id`=t.`network_id`
WHERE
t.`network_type_id`=%s
-LIMIT 1",
+LIMIT 1',
array(bigintval($networkId)), __FUNCTION__, __LINE__);
// Do we have an entry?
$GLOBALS['network_type_data'][$networkId] = array();
// Query for the network data
- $result = SQL_QUERY_ESC("SELECT
- `network_type_id`
+ $result = SQL_QUERY_ESC('SELECT
+ `network_type_id`,
`network_id`,
`network_type_handle`,
`network_type_api_url`,
`{?_MYSQL_PREFIX?}_network_types`
WHERE
`network_type_id`=%s
-LIMIT 1",
+LIMIT 1',
array(bigintval($networkId)), __FUNCTION__, __LINE__);
// Do we have an entry?
$networkRequestData = array();
// Query for the network data
- $result = SQL_QUERY_ESC("SELECT
+ $result = SQL_QUERY_ESC('SELECT
`network_request_param_id`,
`network_id`,
`network_type_id`,
`{?_MYSQL_PREFIX?}_network_request_params`
WHERE
`network_request_param_id`=%s
-LIMIT 1",
+LIMIT 1',
array(bigintval($networkId)), __FUNCTION__, __LINE__);
// Do we have an entry?
function doAdminRemoveNetworkEntry ($table, $column, $networkId, $limit = 1) {
// Remove the entry
SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_network_%s` WHERE `%s`=%s LIMIT %s",
- array($table, $column, $networkId, $limit), __FUNCTION__, __LINE__);
+ array(
+ $table,
+ $column,
+ $networkId,
+ $limit
+ ), __FUNCTION__, __LINE__);
// Return affected rows
return SQL_AFFECTEDROWS();
$content = '';
// Query all types of this network
- $result = SQL_QUERY_ESC("SELECT
- `network_type_id`,`network_type_handle`
+ $result = SQL_QUERY_ESC('SELECT
+ `network_type_id`,
+ `network_type_handle`
FROM
`{?_MYSQL_PREFIX?}_network_types`
WHERE
`network_id`=%s
ORDER BY
- `network_type_handle` ASC",
+ `network_type_handle` ASC',
array(
bigintval($networkId)
), __FUNCTION__, __LINE__);
// Translates API index
function translateNetworkApiIndex ($index) {
// Do we have cache?
- if (!isset($GLOBALS['network_api_index'])) {
+ if (!isset($GLOBALS['network_array_index'])) {
// Get an array of all API array indexes
- $GLOBALS['network_api_index'] = array();
+ $GLOBALS['network_array_index'] = array();
// Get all entries
$result = SQL_QUERY('SELECT
- `network_api_id`,`network_api_index`,`network_translation_name`
+ `network_array_id`,
+ `network_array_index`,
+ `network_translation_name`
FROM
- `{?_MYSQL_PREFIX?}_network_api_translation`
+ `{?_MYSQL_PREFIX?}_network_array_translation`
INNER JOIN
`{?_MYSQL_PREFIX?}_network_translations`
ON
- `network_api_index`=`network_translation_id`
+ `network_array_index`=`network_translation_id`
ORDER BY
`sort` ASC', __FUNCTION__, __LINE__);
// Get all entries
while ($row = SQL_FETCHARRAY($result)) {
// Add it to our global array
- $GLOBALS['network_api_index'][$row['network_api_index']] = $row;
+ $GLOBALS['network_array_index'][$row['network_array_index']] = $row;
} // END - while
} // END - if
$name = 'unknown';
// Is the entry there?
- if (isset($GLOBALS['network_api_index'][$index])) {
+ if (isset($GLOBALS['network_array_index'][$index])) {
// Then get the name
- $name = $GLOBALS['network_api_index'][$index]['network_translation_name'];
+ $name = $GLOBALS['network_array_index'][$index]['network_translation_name'];
} // END - if
// Return translation
// Do we have found the network?
if (count($networkData) > 0) {
- if (isFormSent('edit')) {
- // Add row template for editing
- $OUT .= loadTemplate('admin_edit_networks_row', true, $networkData);
- } elseif (isFormSent('delete')) {
- // Add row template for deleting
- $OUT .= loadTemplate('admin_delete_networks_row', true, $networkData);
- } else {
- // Problem!
- debug_report_bug(__FUNCTION__, __LINE__, 'Cannot detect edit/del.');
- }
+ // Add row template with given form name
+ $OUT .= loadTemplate('admin_' . $GLOBALS['network_form_name'] . '_networks_row', true, $networkData);
} // END - if
} // END - if
} // END - foreach
// If we have no rows, we don't need to display the edit form
if (!empty($OUT)) {
// Output main template
- if (isFormSent('edit')) {
- loadTemplate('admin_edit_networks', false, $OUT);
- } elseif (isFormSent('delete')) {
- loadTemplate('admin_delete_networks', false, $OUT);
- } else {
- // Problem!
- debug_report_bug(__FUNCTION__, __LINE__, 'Cannot detect edit/del.');
- }
+ loadTemplate('admin_' . $GLOBALS['network_form_name'] . '_networks', false, $OUT);
// Don't display the list/add new form
$GLOBALS['network_display'] = false;
}
// Adds a API response array entry
-function doAdminNetworkProcessAddNetworkApiTranslation () {
+function doAdminNetworkProcessAddNetworkArrayTranslation () {
// Is the request parameter already used with given network?
- if (isNetworkApiTranslationValid(postRequestElement('network_api_index'), postRequestElement('network_type_id'), getRequestElement('network_id'))) {
+ if (isNetworkArrayTranslationValid(postRequestElement('network_array_index'), postRequestElement('network_type_id'), getRequestElement('network_id'))) {
// Already added
- loadTemplate('admin_settings_unsaved', false, '{%message,ADMIN_NETWORK_API_TRANSLATION_ALREADY_ADDED=' . postRequestElement('network_api_index') . '%}');
+ loadTemplate('admin_settings_unsaved', false, '{%message,ADMIN_NETWORK_ARRAY_TRANSLATION_ALREADY_ADDED=' . postRequestElement('network_array_index') . '%}');
// ... so abort here
return false;
// Add sorting
setPostRequestElement('sort', (countSumTotalData(
bigintval(postRequestElement('network_id')),
- 'network_api_translation',
- 'network_api_id',
+ 'network_array_translation',
+ 'network_array_id',
'network_id',
true,
sprintf(" AND `network_type_id`=%s", bigintval(postRequestElement('network_type_id')))
) + 1));
// Add the whole request to database
- SQL_QUERY(getInsertSqlFromArray(postRequestArray(), 'network_api_translation'), __FUNCTION__, __LINE__);
+ SQL_QUERY(getInsertSqlFromArray(postRequestArray(), 'network_array_translation'), __FUNCTION__, __LINE__);
// Output message
if (!SQL_HASZEROAFFECTED()) {
// Successfully added
- loadTemplate('admin_network_api_translation_added', false, postRequestArray());
+ loadTemplate('admin_network_array_translation_added', false, postRequestArray());
} else {
// Not added
- loadTemplate('admin_settings_unsaved', false, '{%message,ADMIN_NETWORK_API_TRANSLATION_NOT_ADDED=' . postRequestElement('network_api_index') . '%}');
+ loadTemplate('admin_settings_unsaved', false, '{%message,ADMIN_NETWORK_ARRAY_TRANSLATION_NOT_ADDED=' . postRequestElement('network_array_index') . '%}');
}
}
return $code;
}
+// ----------------------------------------------------------------------------
+// Call-back functions for exporting data
+// ----------------------------------------------------------------------------
+
+// Callback function to export network tables
+function doAdminNetworkProcessExport () {
+ // Init table with all valid what->table entries
+ $validExports = array(
+ // General network data
+ 'list_networks' => 'network_data',
+ // Network type handler
+ 'list_network_types' => 'network_types',
+ // Network request parameter
+ 'list_network_params' => 'network_request_params',
+ // Network API response array index translation
+ 'list_network_array_translation' => 'network_array_translation',
+ );
+
+ // Is the 'what' key valid?
+ if (!isset($validExports[getWhat()])) {
+ // Not valid
+ debug_report_bug(__FUNCTION__, __LINE__, 'what=' . getWhat() . ' - not supported');
+ } // END - if
+
+ // Generate call-back, some tables require to export not all columns
+ $callbackName = 'doAdminNetworkExport' . capitalizeUnderscoreString($validExports[getWhat()]);
+
+ // Is the call-back function there?
+ if (!function_exists($callbackName)) {
+ // No, this is really bad
+ debug_report_bug(__FUNCTION__, __LINE__, 'Invalid call-back function ' . $callbackName . ' detected.');
+ } elseif (isset($GLOBALS[__FUNCTION__][$callbackName])) {
+ // Already called!
+ debug_report_bug(__FUNCTION__, __LINE__, 'Double-call of export function ' . $callbackName . ' detected.');
+ }
+
+ // Call the function
+ call_user_func($callbackName);
+
+ // Mark it as called
+ $GLOBALS[__FUNCTION__][$callbackName] = true;
+
+ // Don't display the list/add new form
+ $GLOBALS['network_display'] = false;
+}
+
+// Exports (and displays) the table 'network_data'
+function doAdminNetworkExportNetworkData () {
+ // Query for all networks
+ $result = SQL_QUERY('SELECT
+ `network_short_name`,
+ `network_title`,
+ `network_reflink`,
+ `network_data_separator`,
+ `network_row_separator`,
+ `network_request_type`,
+ `network_charset`,
+ `network_require_id_card`,
+ `network_query_amount`
+FROM
+ `{?_MYSQL_PREFIX?}_network_data`
+ORDER BY
+ `network_id` ASC',
+ __FUNCTION__, __LINE__);
+
+ // Start an empty SQL query
+ $SQL = '';
+
+ // Load all entries
+ while ($content = SQL_FETCHARRAY($result)) {
+ // Add row
+ $SQL .= "<pre>('" .
+ $content['network_short_name'] . "', '" .
+ $content['network_title'] . "', '" .
+ $content['network_reflink'] . "', '" .
+ $content['network_data_separator'] . "', '" .
+ $content['network_row_separator'] . "', '" .
+ $content['network_request_type'] . "', '" .
+ $content['network_charset'] . "', '" .
+ $content['network_require_id_card'] . "', " .
+ $content['network_query_amount'] . '),</pre>';
+ } // END - while
+
+ // Remove last commata and close braces
+ $SQL = substr($SQL, 0, -7) . '</pre>';
+
+ // Free result
+ SQL_FREERESULT($result);
+
+ // Output the SQL query
+ loadTemplate('admin_export_network_data', false, $SQL);
+}
+
+// Exports (and displays) the table 'network_types'
+function doAdminNetworkExportNetworkTypes () {
+ // 'network_id' must be set
+ if (!isGetRequestElementSet('network_id')) {
+ // Only network handlers of one network will be exported per time
+ debug_report_bug(__FUNCTION__, __LINE__, 'network_id not provided, please fix your links.');
+ } // END - if
+
+ // Get all network types of given network
+ $result = SQL_QUERY_ESC('SELECT
+ `network_type_id`,
+ `network_id`,
+ `network_type_handle`,
+ `network_type_api_url`,
+ `network_type_click_url`,
+ `network_type_banner_url`
+FROM
+ `{?_MYSQL_PREFIX?}_network_types`
+WHERE
+ `network_id`=%s
+ORDER BY
+ `network_type_id` ASC',
+ array(
+ bigintval(getRequestElement('network_id'))
+ ), __FUNCTION__, __LINE__);
+
+ // Start an empty SQL query
+ $SQL = "<pre>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\n";
+
+ // Load all entries
+ while ($content = SQL_FETCHARRAY($result)) {
+ // Add row
+ $SQL .= '(' .
+ $content['network_type_id'] . ', ' .
+ $content['network_id'] . ", '" .
+ $content['network_type_handle'] . "', '" .
+ $content['network_type_api_url'] . "', '" .
+ $content['network_type_click_url'] . "', ";
+
+ // Is the column NULL?
+ if (is_null($content['network_type_banner_url'])) {
+ // Column is NULL
+ $SQL .= "NULL),\n";
+ } else {
+ // Column is set
+ $SQL .= $content['network_type_banner_url'] . "'),\n";
+ }
+ } // END - while
+
+ // Remove last commata and close braces
+ $SQL = substr($SQL, 0, -1) . '</pre>';
+
+ // Free result
+ SQL_FREERESULT($result);
+
+ // Output the SQL query
+ loadTemplate('admin_export_network_types', false, $SQL);
+}
+
+// Exports (and displays) the table 'network_request_params'
+function doAdminNetworkExportNetworkRequestParams () {
+ // 'network_id' must be set
+ if (!isGetRequestElementSet('network_id')) {
+ // Only network request parameters of one network will be exported per time
+ debug_report_bug(__FUNCTION__, __LINE__, 'network_id not provided, please fix your links.');
+ } // END - if
+
+ // Get all network types of given network
+ $result = SQL_QUERY_ESC('SELECT
+ `network_id`,
+ `network_type_id`,
+ `network_request_param_key`,
+ `network_request_param_value`,
+ `network_request_param_default`
+FROM
+ `{?_MYSQL_PREFIX?}_network_request_params`
+WHERE
+ `network_id`=%s
+ORDER BY
+ `network_type_id` ASC ,
+ `network_request_param_id` ASC',
+ array(
+ bigintval(getRequestElement('network_id'))
+ ), __FUNCTION__, __LINE__);
+
+ // Start an empty SQL query
+ $SQL = "<pre>INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`,`network_type_id`,`network_request_param_key`,`network_request_param_value`,`network_request_param_default`) VALUES\n";
+
+ // Load all entries
+ while ($content = SQL_FETCHARRAY($result)) {
+ // Add row
+ $SQL .= '(' .
+ $content['network_id'] . ', ' .
+ $content['network_type_id'] . ", '" .
+ $content['network_request_param_key'] . "', '" .
+ $content['network_request_param_value'] . "', '";
+
+ // Is the column NULL?
+ if (is_null($content['network_request_param_default'])) {
+ // Column is NULL
+ $SQL .= "NULL),\n";
+ } else {
+ // Column is set
+ $SQL .= $content['network_request_param_default'] . "'),\n";
+ }
+ } // END - while
+
+ // Remove last commata and close braces
+ $SQL = substr($SQL, 0, -2) . '</pre>';
+
+ // Free result
+ SQL_FREERESULT($result);
+
+ // Output the SQL query
+ loadTemplate('admin_export_network_request_params', false, $SQL);
+}
+
+// Exports (and displays) the table 'network_array_translation'
+function doAdminNetworkExportNetworkArrayTranslation () {
+ // 'network_id' must be set
+ if (!isGetRequestElementSet('network_id')) {
+ // Only network API array index translations of one network will be exported per time
+ debug_report_bug(__FUNCTION__, __LINE__, 'network_id not provided, please fix your links.');
+ } // END - if
+
+ // Get all network types of given network
+ $result = SQL_QUERY_ESC('SELECT
+ `network_id`,
+ `network_type_id`,
+ `network_array_index`,
+ `sort`
+FROM
+ `{?_MYSQL_PREFIX?}_network_array_translation`
+WHERE
+ `network_id`=%s
+ORDER BY
+ `network_type_id` ASC,
+ `sort` ASC',
+ array(
+ bigintval(getRequestElement('network_id'))
+ ), __FUNCTION__, __LINE__);
+
+ // Start an empty SQL query
+ $SQL = "<pre>INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`,`network_type_id`,`network_array_index`,`sort`) VALUES\n";
+
+ // Load all entries
+ while ($content = SQL_FETCHARRAY($result)) {
+ // Add row
+ $SQL .= '(' .
+ $content['network_id'] . ', ' .
+ $content['network_type_id'] . ', ' .
+ $content['network_array_index'] . ', ' .
+ $content['sort'] . "),\n";
+ } // END - while
+
+ // Remove last commata and close braces
+ $SQL = substr($SQL, 0, -2) . '</pre>';
+
+ // Free result
+ SQL_FREERESULT($result);
+
+ // Output the SQL query
+ loadTemplate('admin_export_network_array_translation', false, $SQL);
+}
+
// [EOF]
?>
<?php
-/************************************************************************
- * Mailer v0.2.1-FINAL Start: 04/22/2010 *
- * =================== Last change: 04/22/2010 *
- * *
- * -------------------------------------------------------------------- *
- * File : what-list_network_api_translation.php *
- * -------------------------------------------------------------------- *
- * Short description : List/manage network array index translations *
- * -------------------------------------------------------------------- *
- * Kurzbeschreibung : Verwaltet API-Abfrageparameter *
- * -------------------------------------------------------------------- *
- * $Revision:: $ *
- * $Date:: $ *
- * $Tag:: 0.2.1-FINAL $ *
- * $Author:: $ *
- * -------------------------------------------------------------------- *
- * Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team *
- * For more information visit: http://mxchange.org *
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. *
- * *
- * This program is distributed in the hope that it will be useful, *
- * but WITHOUT ANY WARRANTY; without even the implied warranty of *
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
- * GNU General Public License for more details. *
- * *
- * You should have received a copy of the GNU General Public License *
- * along with this program; if not, write to the Free Software *
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, *
- * MA 02110-1301 USA *
- ************************************************************************/
-
-// Some security stuff...
-if ((!defined('__SECURITY')) || (!isAdmin())) {
- die();
-} // END - if
-
-// Add description as navigation point
-addYouAreHereLink('admin', __FILE__);
-
-// These are expert settings!
-if (doVerifyExpertSettings() != 'agreed') {
- // Abort here
- return;
-} // END - if
-
-// By default we should display list/add new forms
-$GLOBALS['network_display'] = true;
-
-// Handle form here
-doNetworkHandleForm();
-
-// Display forms?
-if ($GLOBALS['network_display'] === false) {
- // Abort here
- return;
-} // END - if
-
-// Do we have a network selected?
-if (isGetRequestElementSet('network_id')) {
- // Get its data for template
- $networkData = getNetworkDataById(getRequestElement('network_id'));
-
- // Init type
- $networkData['network_type_id'] = 0;
-
- // Init disabled list
- $GLOBALS['network_translation_disabled'] = array();
-
- // Only show params from given type handler if choosen
- $ADD = '';
- if ((isPostRequestElementSet('network_type_id')) && (!is_array(postRequestElement('network_type_id')))) {
- // Only show from current type handler
- $ADD = sprintf(" AND p.`network_type_id`=%s", bigintval(postRequestElement('network_type_id')));
-
- // Overwrite type
- $networkData['network_type_id'] = bigintval(postRequestElement('network_type_id'));
-
- // Display message
- displayMessage('{--ADMIN_LIST_NETWORK_API_TRANSLATION_LIMITED_TO_TYPE--}');
- } // END - if
-
- // Load all advert codes for given network
- $result = SQL_QUERY_ESC("SELECT
- p.`network_api_id`, t.`network_type_id`, t.`network_type_handle`, p.`network_api_index`, p.`sort`
-FROM
- `{?_MYSQL_PREFIX?}_network_api_translation` AS p
-INNER JOIN
- `{?_MYSQL_PREFIX?}_network_types` AS t
-ON
- p.`network_type_id`=t.`network_type_id`
-WHERE
- p.`network_id`=%s
- ".$ADD."
-ORDER BY
- t.`network_type_handle` ASC,
- p.`network_api_id` ASC",
- array(
- bigintval(getRequestElement('network_id'))
- ), __FILE__, __LINE__);
-
- // Do we have entries?
- if (!SQL_HASZERONUMS($result)) {
- // List all entries
- $OUT = '';
- while ($row = SQL_FETCHARRAY($result)) {
- // Add it to network if the type matches selected
- if ($row['network_type_id'] == postRequestElement('network_type_id')) {
- // Matches, then add it for disabling this entry
- $GLOBALS['network_translation_disabled'][$row['network_api_index']] = true;
- } // END - if
-
- // Add row template and switch color
- $OUT .= loadTemplate('admin_list_network_api_translation_row', true, $row);
- } // END - while
-
- // Load main template
- loadTemplate('admin_list_network_api_translation', false, $OUT);
- } else {
- // No entries found
- displayMessage('{%message,ADMIN_NETWORK_API_TRANSLATION_404=' . $networkData['network_title'] . '%}');
- }
-
- // Free result
- SQL_FREERESULT($result);
-
- // Add form for adding new array_translation pair
- loadTemplate('admin_add_network_api_translation', false, $networkData);
-} else {
- // Generate network list for this script
- outputHtml(generateAdminNetworkList());
-}
-
-// [EOF]
+// @DEPRECATED
?>
--- /dev/null
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL Start: 04/22/2010 *
+ * =================== Last change: 04/22/2010 *
+ * *
+ * -------------------------------------------------------------------- *
+ * File : what-list_network_array_translation.php *
+ * -------------------------------------------------------------------- *
+ * Short description : List/manage network array index translations *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung : Verwaltet API-Abfrageparameter *
+ * -------------------------------------------------------------------- *
+ * $Revision:: $ *
+ * $Date:: $ *
+ * $Tag:: 0.2.1-FINAL $ *
+ * $Author:: $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder *
+ * Copyright (c) 2009 - 2011 by Mailer Developer Team *
+ * For more information visit: http://mxchange.org *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the Free Software *
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, *
+ * MA 02110-1301 USA *
+ ************************************************************************/
+
+// Some security stuff...
+if ((!defined('__SECURITY')) || (!isAdmin())) {
+ die();
+} // END - if
+
+// Add description as navigation point
+addYouAreHereLink('admin', __FILE__);
+
+// These are expert settings!
+if (doVerifyExpertSettings() != 'agreed') {
+ // Abort here
+ return;
+} // END - if
+
+// By default we should display list/add new forms
+$GLOBALS['network_display'] = true;
+
+// Handle form here
+doNetworkHandleForm();
+
+// Display forms?
+if ($GLOBALS['network_display'] === false) {
+ // Abort here
+ return;
+} // END - if
+
+// Do we have a network selected?
+if (isGetRequestElementSet('network_id')) {
+ // Get its data for template
+ $networkData = getNetworkDataById(getRequestElement('network_id'));
+
+ // Init type
+ $networkData['network_type_id'] = 0;
+
+ // Init disabled list
+ $GLOBALS['network_translation_disabled'] = array();
+
+ // Only show params from given type handler if choosen
+ $ADD = '';
+ if ((isPostRequestElementSet('network_type_id')) && (!is_array(postRequestElement('network_type_id')))) {
+ // Only show from current type handler
+ $ADD = sprintf(" AND p.`network_type_id`=%s", bigintval(postRequestElement('network_type_id')));
+
+ // Overwrite type
+ $networkData['network_type_id'] = bigintval(postRequestElement('network_type_id'));
+
+ // Display message
+ displayMessage('{--ADMIN_LIST_NETWORK_ARRAY_TRANSLATION_LIMITED_TO_TYPE--}');
+ } // END - if
+
+ // Load all advert codes for given network
+ $result = SQL_QUERY_ESC("SELECT
+ p.`network_array_id`,
+ t.`network_type_id`,
+ t.`network_type_handle`,
+ p.`network_array_index`,
+ p.`sort`
+FROM
+ `{?_MYSQL_PREFIX?}_network_array_translation` AS p
+INNER JOIN
+ `{?_MYSQL_PREFIX?}_network_types` AS t
+ON
+ p.`network_type_id`=t.`network_type_id`
+WHERE
+ p.`network_id`=%s
+ ".$ADD."
+ORDER BY
+ t.`network_type_handle` ASC,
+ p.`network_array_id` ASC",
+ array(
+ bigintval(getRequestElement('network_id'))
+ ), __FILE__, __LINE__);
+
+ // Do we have entries?
+ if (!SQL_HASZERONUMS($result)) {
+ // List all entries
+ $OUT = '';
+ while ($row = SQL_FETCHARRAY($result)) {
+ // Add it to network if the type matches selected
+ if ($row['network_type_id'] == postRequestElement('network_type_id')) {
+ // Matches, then add it for disabling this entry
+ $GLOBALS['network_translation_disabled'][$row['network_array_index']] = true;
+ } // END - if
+
+ // Add row template and switch color
+ $OUT .= loadTemplate('admin_list_network_array_translation_row', true, $row);
+ } // END - while
+
+ // Load main template
+ loadTemplate('admin_list_network_array_translation', false, $OUT);
+ } else {
+ // No entries found
+ displayMessage('{%message,ADMIN_NETWORK_ARRAY_TRANSLATION_404=' . $networkData['network_title'] . '%}');
+ }
+
+ // Free result
+ SQL_FREERESULT($result);
+
+ // Add form for adding new array_translation pair
+ loadTemplate('admin_add_network_array_translation', false, $networkData);
+} else {
+ // Generate network list for this script
+ outputHtml(generateAdminNetworkList());
+}
+
+// [EOF]
+?>
// Load a template file and return it's content (only it's name; do not use ' or ")
function loadTemplate ($template, $return = false, $content = array(), $compileCode = true) {
+ // @TODO Remove these sanity checks if all is fine
if (!is_bool($return)) {
- // @TODO Remove this sanity-check if all is fine
+ // $return has to be boolean
debug_report_bug(__FUNCTION__, __LINE__, 'return[] is not bool (' . gettype($return) . ')');
} elseif (!is_string($template)) {
// $template has to be string
debug_report_bug(__FUNCTION__, __LINE__, 'template[] is not string (' . gettype($template) . ')');
}
+ // Init returned content
+ $ret = '';
+
// Set current template
$GLOBALS['current_template'] = $template;
// Make all template names lowercase
$template = strtolower($template);
- // Init some data
- $ret = '';
-
// Base directory
$basePath = sprintf("%stemplates/%s/html/", getPath(), getLanguage());
$extraPath = detectExtraTemplatePath($template);
$GLOBALS['tpl_content'][$template] = readFromFile($FQFN);
// Do we have to compile the code?
- $ret = '';
if ((isInString('$', $GLOBALS['tpl_content'][$template])) || (isInString('{--', $GLOBALS['tpl_content'][$template])) || (isInString('{?', $GLOBALS['tpl_content'][$template])) || (isInString('{%', $GLOBALS['tpl_content'][$template]))) {
// Normal HTML output?
if ((isHtmlOutputMode()) && (substr($template, 0, 3) != 'js_')) {
-<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_network_api_translation&do=add_network_api_translation&network_id={%get=network_id%}%}" method="post">
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
- <tr>
- <td class="table_header bottom" colspan="2" align="center">
- <strong>{--ADMIN_ADD_NETWORK_API_TRANSLATION_TITLE--}</strong>
- <div class="tiny">
- (<a href="{%network,getNetworkDataById,network_reflink=%network_id%%}" target="_blank" title="{%network,getNetworkDataById,network_title=%network_id%%}">{%network,getNetworkDataById,network_title=%network_id%%}</a>)
- </div>
- </td>
- </tr>
- <tr>
- <td align="right" width="250">{--ADMIN_SELECT_NETWORK_TYPE--}:</td>
- <td>
- <select name="network_type_id" class="form_select" size="1">
- {%pipe,generateNetworkTypeOptions=$content[network_type_id]%}
- </select>
- </td>
- </tr>
- <tr>
- <td class="bottom" align="right" width="250">{--ADMIN_NETWORK_API_TRANSLATION_INDEX_TRANSLATION--}:</td>
- <td class="bottom">
- <select class="form_select" name="network_api_index" size="1">
- {%pipe,generateNetworkTranslationOptions%}
- </select>
- </td>
- </tr>
- <tr>
- <td class="table_footer" colspan="2" align="center">
- <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
- <input type="submit" class="form_submit" name="ok" value="{--ADMIN_ADD_NETWORK_API_TRANSLATION_SUBMIT--}" />
- </td>
- </tr>
-</table>
-</form>
-</div>
-
-<div class="notice">
- {--ADMIN_ADD_NETWORK_API_TRANSLATION_NOTE--}
-</div>
+<!-- @DEPRECATED //-->
--- /dev/null
+<div align="center">
+<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_network_array_translation&do=add_network_array_translation&network_id={%get=network_id%}%}" method="post">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
+ <tr>
+ <td class="table_header bottom" colspan="2" align="center">
+ <strong>{--ADMIN_ADD_NETWORK_ARRAY_TRANSLATION_TITLE--}</strong>
+ <div class="tiny">
+ (<a href="{%network,getNetworkDataById,network_reflink=%network_id%%}" target="_blank" title="{%network,getNetworkDataById,network_title=%network_id%%}">{%network,getNetworkDataById,network_title=%network_id%%}</a>)
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td align="right" width="250">{--ADMIN_SELECT_NETWORK_TYPE--}:</td>
+ <td>
+ <select name="network_type_id" class="form_select" size="1">
+ {%pipe,generateNetworkTypeOptions=$content[network_type_id]%}
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td class="bottom" align="right" width="250">{--ADMIN_NETWORK_ARRAY_TRANSLATION_INDEX_TRANSLATION--}:</td>
+ <td class="bottom">
+ <select class="form_select" name="network_array_index" size="1">
+ {%pipe,generateNetworkTranslationOptions%}
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td class="table_footer" colspan="2" align="center">
+ <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+ <input type="submit" class="form_submit" name="ok" value="{--ADMIN_ADD_NETWORK_ARRAY_TRANSLATION_SUBMIT--}" />
+ </td>
+ </tr>
+</table>
+</form>
+</div>
+
+<div class="notice">
+ {--ADMIN_ADD_NETWORK_ARRAY_TRANSLATION_NOTE--}
+</div>
--- /dev/null
+<div align="center">
+<div class="table dashed">
+
+<div class="table_header bottom">
+ <strong>{--ADMIN_EXPORT_NETWORK_ARRAY_TRANSLATION_TITLE--}</strong>
+</div>
+
+<div class="bottom">
+ $content
+</div>
+
+<div class="table_footer">
+ {--ADMIN_EXPORT_NETWORK_NOTE--}
+</div>
+
+</div>
+</div>
--- /dev/null
+<div align="center">
+<div class="table dashed">
+
+<div class="table_header bottom">
+ <strong>{--ADMIN_EXPORT_NETWORK_DATA_TITLE--}</strong>
+</div>
+
+<div class="bottom">
+ $content
+</div>
+
+<div class="table_footer">
+ {--ADMIN_EXPORT_NETWORK_NOTE--}
+</div>
+
+</div>
+</div>
--- /dev/null
+<div align="center">
+<div class="table dashed">
+
+<div class="table_header bottom">
+ <strong>{--ADMIN_EXPORT_NETWORK_REQUEST_PARAMS_TITLE--}</strong>
+</div>
+
+<div class="bottom">
+ $content
+</div>
+
+<div class="table_footer">
+ {--ADMIN_EXPORT_NETWORK_NOTE--}
+</div>
+
+</div>
+</div>
--- /dev/null
+<div align="center">
+<div class="table dashed">
+
+<div class="table_header bottom">
+ <strong>{--ADMIN_EXPORT_NETWORK_TYPES_TITLE--}</strong>
+</div>
+
+<div class="bottom">
+ $content
+</div>
+
+<div class="table_footer">
+ {--ADMIN_EXPORT_NETWORK_NOTE--}
+</div>
+
+</div>
+</div>
-<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_network_api_translation&do=handle_api_translation&network_id={%get=network_id%}%}" method="post">
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
- <tr>
- <td colspan="5" align="center" class="table_header bottom">
- <div>
- <strong>{--ADMIN_LIST_NETWORK_API_TRANSLATION_TITLE--}</strong>
- </div>
- <div class="tiny">
- (<a href="{%network,getNetworkDataById,network_reflink=%network_id%%}" target="_blank" title="{%network,getNetworkDataById,network_title=%network_id%%}">{%network,getNetworkDataById,network_title=%network_id%%}</a>)
- </div>
- </td>
- </tr>
- <tr>
- <td align="center" class="header_column bottom right" height="25"><strong>{--ID_SELECT--}</strong></td>
- <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_TYPES_HANDLE--}</strong></td>
- <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_API_INDEX_TRANSLATION--}</strong></td>
- <td align="center" class="header_column bottom"><strong>{--ADMIN_NETWORK_API_INDEX_SORTING--}</strong></td>
- </tr>
- $content
- <tr>
- <td colspan="6" class="table_footer">
- <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
- <input type="submit" class="form_submit" name="edit" value="{--ADMIN_ACTION_EDIT_SUBMIT--}" />
- <input type="submit" class="form_delete" name="delete" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
- </td>
- </tr>
-</table>
-</form>
-
-<div class="notice">
- {--ADMIN_LIST_NETWORK_API_TRANSLATION_NOTE--}
-</div>
-</div>
+<!-- @DEPRECATED //-->
-<tr>
- <td class="{%template,ColorSwitch%} bottom right" align="center">
- <input type="checkbox" title="{--ID_SELECT--} $content[network_api_id]" class="form_field" name="sel[$content[network_api_id]]" value="1" />
- </td>
- <td class="{%template,ColorSwitch%} bottom right" align="center">
- {%pipe,translateNetworkTypeHandler=$content[network_type_handle]%}
- </td>
- <td class="{%template,ColorSwitch%} bottom right" align="center">
- {%pipe,translateNetworkApiIndex=$content[network_api_index]%}
- </td>
- <td class="{%template,ColorSwitch%} bottom" align="center">
- $content[sort]
- </td>
-</tr>
+<!-- @DEPRECATED //-->
--- /dev/null
+<div align="center">
+<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=list_network_array_translation&do=handle_array_translation&network_id={%get=network_id%}%}" method="post">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
+ <tr>
+ <td colspan="5" align="center" class="table_header bottom">
+ <div>
+ <strong>{--ADMIN_LIST_NETWORK_ARRAY_TRANSLATION_TITLE--}</strong>
+ </div>
+ <div class="tiny">
+ (<a href="{%network,getNetworkDataById,network_reflink=%network_id%%}" target="_blank" title="{%network,getNetworkDataById,network_title=%network_id%%}">{%network,getNetworkDataById,network_title=%network_id%%}</a>)
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td align="center" class="header_column bottom right" height="25"><strong>{--ID_SELECT--}</strong></td>
+ <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_TYPES_HANDLE--}</strong></td>
+ <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_ARRAY_INDEX_TRANSLATION--}</strong></td>
+ <td align="center" class="header_column bottom"><strong>{--ADMIN_NETWORK_ARRAY_INDEX_SORTING--}</strong></td>
+ </tr>
+ $content
+ <tr>
+ <td colspan="6" class="table_footer">
+ <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
+ <input type="submit" class="form_submit" name="edit" value="{--ADMIN_ACTION_EDIT_SUBMIT--}" />
+ <input type="submit" class="form_delete" name="delete" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
+ </td>
+ </tr>
+</table>
+</form>
+
+<div class="para">
+ <a href="{%url=modules.php?module=admin&what=list_network_array_translation&do=export&network_id={%get=network_id%}%}">{--ADMIN_EXPORT_NETWORK_ARRAY_TRANSLATION_LINK--}</a>
+</div>
+
+<div class="notice">
+ {--ADMIN_LIST_NETWORK_ARRAY_TRANSLATION_NOTE--}
+</div>
+</div>
--- /dev/null
+<tr>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ <input type="checkbox" title="{--ID_SELECT--} $content[network_array_id]" class="form_field" name="sel[$content[network_array_id]]" value="1" />
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ {%pipe,translateNetworkTypeHandler=$content[network_type_handle]%}
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ {%pipe,translateNetworkApiIndex=$content[network_array_index]%}
+ </td>
+ <td class="{%template,ColorSwitch%} bottom" align="center">
+ $content[sort]
+ </td>
+</tr>
</table>
</form>
+<div class="para">
+ <a href="{%url=modules.php?module=admin&what=list_network_params&do=export&network_id={%get=network_id%}%}">{--ADMIN_EXPORT_NETWORK_PARAMS_LINK--}</a>
+</div>
+
<div class="notice">
{--ADMIN_NETWORK_REQUEST_PARAMETER_LIST_NOTE--}
</div>
</table>
</form>
+<div class="para">
+ <a href="{%url=modules.php?module=admin&what=list_network_types&do=export&network_id={%get=network_id%}%}">{--ADMIN_EXPORT_NETWORK_TYPES_LINK--}</a>
+</div>
+
<div class="notice">
{--ADMIN_NETWORK_TYPES_LIST_NOTE--}
</div>
</table>
</form>
+<div class="para">
+ <a href="{%url=modules.php?module=admin&what=list_networks&do=export%}">{--ADMIN_EXPORT_ALL_NETWORK_DATA_LINK--}</a>
+</div>
+
<div class="notice">
{--ADMIN_LIST_NETWORK_NOTE--}
</div>
href="{%url=modules.php?module=admin&what=config_network_types&network_id=$content[network_id]%}" title="{--ADMIN_NETWORK_TYPES_CONFIG_LINK_TITLE--}">TC</a>|<a
href="{%url=modules.php?module=admin&what=list_network_types&network_id=$content[network_id]%}" title="{--ADMIN_LIST_NETWORK_TYPES_LINK_TITLE--}">T</a>|<a
href="{%url=modules.php?module=admin&what=list_network_params&network_id=$content[network_id]%}" title="{--ADMIN_LIST_NETWORK_PARAMS_LINK_TITLE--}">P</a>|<a
- href="{%url=modules.php?module=admin&what=list_network_api_translation&network_id=$content[network_id]%}" title="{--ADMIN_LIST_NETWORK_API_TRANSLATION_LINK_TITLE--}">RC</a>|<a
+ href="{%url=modules.php?module=admin&what=list_network_array_translation&network_id=$content[network_id]%}" title="{--ADMIN_LIST_NETWORK_ARRAY_TRANSLATION_LINK_TITLE--}">RC</a>|<a
href="{%url=modules.php?module=admin&what=list_network_error_codes&network_id=$content[network_id]%}" title="{--ADMIN_LIST_NETWORK_ERROR_CODES_LINK_TITLE--}">EC</a>]
</td>
<td class="{%template,ColorSwitch%} bottom right" align="center">
-<div align="center" style="margin-top:10px;margin-bottom:10px">
-
-<div style="width:550px" class="table dashed">
- <div class="table_header bottom">
- {--ADMIN_NETWORK_API_TRANSLATION_ADDED_TITLE--}
- </div>
- <div class="message">
- Die Array-Element-Übersetzung $content[network_api_index] wurde
- soeben hinzugefügt. Sie sollten nun als nächstes die <a
- href="{%url=modules.php?module=admin&what=list_network_error_codes&network_id=$content[network_id]%}">Fehlercodes
- hinzufügen</a>.
- </div>
-</div>
-
-</div>
+<!-- @DEPRECATED //-->
--- /dev/null
+<div align="center" style="margin-top:10px;margin-bottom:10px">
+
+<div style="width:550px" class="table dashed">
+ <div class="table_header bottom">
+ {--ADMIN_NETWORK_ARRAY_TRANSLATION_ADDED_TITLE--}
+ </div>
+ <div class="message">
+ Die Array-Element-Übersetzung $content[network_array_index] wurde
+ soeben hinzugefügt. Sie sollten nun als nächstes die <a
+ href="{%url=modules.php?module=admin&what=list_network_error_codes&network_id=$content[network_id]%}">Fehlercodes
+ hinzufügen</a>.
+ </div>
+</div>
+
+</div>
<div class="message">
Der API-Abfrageparameter $content[network_request_param_key]/$content[network_request_param_value]
wurde soeben hinzugefügt. Sie sollten nun als nächstes die
- <a href="{%url=modules.php?module=admin&what=list_network_api_translation&network_id=$content[network_id]%}">API-Arrayelemente hinzufügen</a>.
+ <a href="{%url=modules.php?module=admin&what=list_network_array_translation&network_id=$content[network_id]%}">API-Arrayelemente hinzufügen</a>.
</div>
</div>