]> git.mxchange.org Git - mailer.git/commitdiff
Admin area 'Referral levels' refactured:
authorRoland Häder <roland@mxchange.org>
Sat, 24 Nov 2012 22:40:38 +0000 (22:40 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 24 Nov 2012 22:40:38 +0000 (22:40 +0000)
- Listing/adding,editing/deleting of referral levels is now fully rewritten
  to use XML templates, also "build mails" are being sent
- Almost all admin templates with an id number are now expanded with
  'width="30"' to make it look the same (not all pages)
- TODOs.txt updated

84 files changed:
.gitattributes
DOCS/TODOs.txt
inc/callback-functions.php
inc/extensions/ext-sql_patches.php
inc/functions.php
inc/language/de.php
inc/modules/admin/what-config_points.php
inc/modules/admin/what-list_referral_levels.php [new file with mode: 0644]
inc/mysql-manager.php
inc/wrapper-functions.php
templates/de/emails/admin/admin_add_refdepths.tpl [new file with mode: 0644]
templates/de/emails/admin/admin_edit_refdepths.tpl [new file with mode: 0644]
templates/de/html/admin/admin_add_referral_level.tpl [new file with mode: 0644]
templates/de/html/admin/admin_add_reflevel.tpl
templates/de/html/admin/admin_admins_mails_list.tpl
templates/de/html/admin/admin_config_payouts.tpl
templates/de/html/admin/admin_config_points.tpl
templates/de/html/admin/admin_del_bank_packages.tpl
templates/de/html/admin/admin_delete_admins.tpl
templates/de/html/admin/admin_delete_email_bonus.tpl
templates/de/html/admin/admin_delete_email_normal.tpl
templates/de/html/admin/admin_delete_email_notify.tpl
templates/de/html/admin/admin_delete_extensions.tpl
templates/de/html/admin/admin_delete_rallye_prices.tpl
templates/de/html/admin/admin_delete_reflevel.tpl
templates/de/html/admin/admin_delete_user_subids.tpl
templates/de/html/admin/admin_edit_admins.tpl
templates/de/html/admin/admin_edit_admins_acls.tpl
templates/de/html/admin/admin_edit_payouts.tpl
templates/de/html/admin/admin_edit_refdepths.tpl [new file with mode: 0644]
templates/de/html/admin/admin_edit_refdepths_row.tpl [new file with mode: 0644]
templates/de/html/admin/admin_edit_reflevel.tpl
templates/de/html/admin/admin_edit_reflevel_row.tpl
templates/de/html/admin/admin_edit_user_subids.tpl
templates/de/html/admin/admin_list_admins.tpl
templates/de/html/admin/admin_list_admins_acls.tpl
templates/de/html/admin/admin_list_bank_package.tpl
templates/de/html/admin/admin_list_booking.tpl
templates/de/html/admin/admin_list_cats.tpl
templates/de/html/admin/admin_list_country.tpl
templates/de/html/admin/admin_list_country_form.tpl
templates/de/html/admin/admin_list_extensions.tpl
templates/de/html/admin/admin_list_forced_ads.tpl
templates/de/html/admin/admin_list_forced_campaigns.tpl
templates/de/html/admin/admin_list_forced_costs.tpl
templates/de/html/admin/admin_list_holiday.tpl
templates/de/html/admin/admin_list_home.tpl
templates/de/html/admin/admin_list_mods.tpl
templates/de/html/admin/admin_list_network_array_translation.tpl
templates/de/html/admin/admin_list_network_data.tpl
templates/de/html/admin/admin_list_network_request_params.tpl
templates/de/html/admin/admin_list_network_types.tpl
templates/de/html/admin/admin_list_network_vcheck_params.tpl
templates/de/html/admin/admin_list_nickname_history.tpl
templates/de/html/admin/admin_list_online.tpl
templates/de/html/admin/admin_list_payments.tpl
templates/de/html/admin/admin_list_points_accounts.tpl
templates/de/html/admin/admin_list_rallye_prices_simple.tpl
templates/de/html/admin/admin_list_rallyes.tpl
templates/de/html/admin/admin_list_refbanner.tpl
templates/de/html/admin/admin_list_refdepths.tpl [new file with mode: 0644]
templates/de/html/admin/admin_list_refdepths_row.tpl [new file with mode: 0644]
templates/de/html/admin/admin_list_reflevel.tpl
templates/de/html/admin/admin_list_reflevel_row.tpl
templates/de/html/admin/admin_list_server_name_log.tpl
templates/de/html/admin/admin_list_sponsor_pay.tpl
templates/de/html/admin/admin_list_sponsor_pay_del.tpl
templates/de/html/admin/admin_list_sponsor_pay_edit.tpl
templates/de/html/admin/admin_list_surfbar_actions.tpl
templates/de/html/admin/admin_list_surfbar_urls_row.tpl
templates/de/html/admin/admin_list_task.tpl
templates/de/html/admin/admin_list_task_delete.tpl
templates/de/html/admin/admin_list_user_subid.tpl
templates/de/html/admin/admin_list_user_subid_stats.tpl
templates/de/html/admin/admin_list_wernis_main.tpl
templates/de/html/admin/admin_overview_table.tpl
templates/de/html/admin/admin_unlock_emails.tpl
templates/de/html/admin/admin_unlock_sponsor.tpl
templates/de/html/admin/admin_unlock_surfbar_urls.tpl
templates/de/html/member/member_points.tpl
templates/xml/admin/admin_add_do_referral_levels.xml [new file with mode: 0644]
templates/xml/admin/admin_edit_do_referral_levels.xml [new file with mode: 0644]
templates/xml/admin/admin_edit_show_referral_levels.xml [new file with mode: 0644]
templates/xml/admin/admin_list_referral_levels.xml [new file with mode: 0644]

index 862be93aef6f903944929dd5b19c5dd253269646..a431b8c82b49cdbe660c39dec81edc147fa51897 100644 (file)
@@ -581,6 +581,7 @@ inc/modules/admin/what-list_notifications.php svneol=native#text/plain
 inc/modules/admin/what-list_payouts.php svneol=native#text/plain
 inc/modules/admin/what-list_point_accounts.php svneol=native#text/plain
 inc/modules/admin/what-list_rallyes.php svneol=native#text/plain
+inc/modules/admin/what-list_referral_levels.php svneol=native#text/plain
 inc/modules/admin/what-list_refs.php svneol=native#text/plain
 inc/modules/admin/what-list_server_name.php svneol=native#text/plain
 inc/modules/admin/what-list_sponsor.php svneol=native#text/plain
@@ -870,6 +871,7 @@ templates/de/emails/admin/admin_add_forced_ads.tpl svneol=native#text/plain
 templates/de/emails/admin/admin_add_forced_campaigns.tpl svneol=native#text/plain
 templates/de/emails/admin/admin_add_forced_costs.tpl svneol=native#text/plain
 templates/de/emails/admin/admin_add_grade_data.tpl svneol=native#text/plain
+templates/de/emails/admin/admin_add_refdepths.tpl svneol=native#text/plain
 templates/de/emails/admin/admin_add_user_subids.tpl svneol=native#text/plain
 templates/de/emails/admin/admin_admin_add_all_direct.tpl svneol=native#text/plain
 templates/de/emails/admin/admin_admin_add_all_ref_referral.tpl svneol=native#text/plain
@@ -900,6 +902,7 @@ templates/de/emails/admin/admin_edit_forced_campaigns.tpl svneol=native#text/pla
 templates/de/emails/admin/admin_edit_forced_costs.tpl svneol=native#text/plain
 templates/de/emails/admin/admin_edit_mem_edit_user_subids.tpl svneol=native#text/plain
 templates/de/emails/admin/admin_edit_points_data.tpl svneol=native#text/plain
+templates/de/emails/admin/admin_edit_refdepths.tpl svneol=native#text/plain
 templates/de/emails/admin/admin_edit_surfbar_actions.tpl svneol=native#text/plain
 templates/de/emails/admin/admin_edit_surfbar_urls.tpl svneol=native#text/plain
 templates/de/emails/admin/admin_edit_user_subids.tpl svneol=native#text/plain
@@ -1157,6 +1160,7 @@ templates/de/html/admin/admin_add_points_all.tpl svneol=native#text/plain
 templates/de/html/admin/admin_add_rallye.tpl svneol=native#text/plain
 templates/de/html/admin/admin_add_rallye_prices.tpl svneol=native#text/plain
 templates/de/html/admin/admin_add_refbanner.tpl svneol=native#text/plain
+templates/de/html/admin/admin_add_referral_level.tpl svneol=native#text/plain
 templates/de/html/admin/admin_add_reflevel.tpl svneol=native#text/plain
 templates/de/html/admin/admin_add_reflvl.tpl -text
 templates/de/html/admin/admin_add_shop_cat.tpl -text
@@ -1341,6 +1345,8 @@ templates/de/html/admin/admin_edit_rallyes.tpl svneol=native#text/plain
 templates/de/html/admin/admin_edit_rallyes_row.tpl svneol=native#text/plain
 templates/de/html/admin/admin_edit_refbanner.tpl svneol=native#text/plain
 templates/de/html/admin/admin_edit_refbanner_row.tpl svneol=native#text/plain
+templates/de/html/admin/admin_edit_refdepths.tpl svneol=native#text/plain
+templates/de/html/admin/admin_edit_refdepths_row.tpl svneol=native#text/plain
 templates/de/html/admin/admin_edit_reflevel.tpl svneol=native#text/plain
 templates/de/html/admin/admin_edit_reflevel_row.tpl svneol=native#text/plain
 templates/de/html/admin/admin_edit_sponsor_add_points.tpl svneol=native#text/plain
@@ -1483,6 +1489,8 @@ templates/de/html/admin/admin_list_rallyes_row.tpl svneol=native#text/plain
 templates/de/html/admin/admin_list_rallyes_row2.tpl svneol=native#text/plain
 templates/de/html/admin/admin_list_refbanner.tpl svneol=native#text/plain
 templates/de/html/admin/admin_list_refbanner_row.tpl svneol=native#text/plain
+templates/de/html/admin/admin_list_refdepths.tpl svneol=native#text/plain
+templates/de/html/admin/admin_list_refdepths_row.tpl svneol=native#text/plain
 templates/de/html/admin/admin_list_reflevel.tpl svneol=native#text/plain
 templates/de/html/admin/admin_list_reflevel_row.tpl svneol=native#text/plain
 templates/de/html/admin/admin_list_refs.tpl svneol=native#text/plain
index 668d40949ccb6d98a24c3a239671ab29f732f110..4b57be8a7ce3c8583a0ede504b0dea191cae8913 100644 (file)
 ./inc/extensions/ext-rallye.php:94:            // @TODO Fix config_rallye_prices to list_rallye_prices
 ./inc/extensions/ext-yoomedia.php:121:         // @TODO Can this be moved into a database table?
 ./inc/extensions/ext-yoomedia.php:54:// @TODO Only deprecated when 'ext-network' is ready! setExtensionDeprecated('Y');
-./inc/extensions-functions.php:2119:// @TODO This should be rewrittten to allow, more development states, e.g. 'planing','alpha','beta','beta2','stable'
+./inc/extensions-functions.php:2172:// @TODO This should be rewrittten to allow, more development states, e.g. 'planing','alpha','beta','beta2','stable'
 ./inc/extensions-functions.php:424:    // @TODO This redirect is still needed to register sql_patches! Please try to avoid it
 ./inc/extensions-functions.php:440:// @TODO Change from ext_id to ext_name (not just even the variable! ;-) )
 ./inc/extensions-functions.php:580:            // @TODO Extension is loaded, what next?
 ./inc/filter/bonus_filter.php:56:              // @TODO This query isn't right, it will only update if the user was for a longer time away!
 ./inc/filter/cache_filter.php:94:              // @TODO This should be rewritten not to load the cache file for just checking if it is there for save removal.
 ./inc/filter/forced_filter.php:73:             // @TODO This part is unfinished
-./inc/filters.php:1314:                // @TODO No banner found, output some default banner
+./inc/filters.php:1320:                // @TODO No banner found, output some default banner
 ./inc/functions.php:1102:                      // @TODO Move this SQL code into a function, let's say 'getTimestampFromPoolId($id) ?
 ./inc/functions.php:1188:                      // @TODO Are these convertions still required?
 ./inc/functions.php:1209:// @TODO Rewrite this function to use readFromFile() and writeToFile()
-./inc/functions.php:1814:      // @TODO Find a way to cache this
-./inc/functions.php:1919:      // @TODO This is still very static, rewrite it somehow
-./inc/functions.php:2123:      // @TODO Rename column data_type to e.g. mail_status
-./inc/functions.php:2473:// @TODO cacheFiles is not yet supported
+./inc/functions.php:1817:      // @TODO Find a way to cache this
+./inc/functions.php:1922:      // @TODO This is still very static, rewrite it somehow
+./inc/functions.php:2126:      // @TODO Rename column data_type to e.g. mail_status
+./inc/functions.php:2476:// @TODO cacheFiles is not yet supported
 ./inc/gen_sql_patches.php:95:// @TODO Rewrite this to a filter
 ./inc/header.php:66:// @TODO Find a way to not use direct module comparison
 ./inc/install-functions.php:402:       // @TODO Comparing with DEFAULT_MAIN_TITLE doesn't work
 ./inc/install-functions.php:97:        // @TODO DEACTIVATED: changeDataInLocalConfigurationFile('OUTPUT-MODE', "setConfigEntry('OUTPUT_MODE', '", "');", postRequestElement('omode'), 0);
-./inc/language/de.php:1141:    // @TODO Rewrite these two constants
-./inc/language/de.php:1157:    // @TODO Rewrite these three constants
+./inc/language/de.php:1147:    // @TODO Rewrite these two constants
+./inc/language/de.php:1163:    // @TODO Rewrite these three constants
 ./inc/language/de.php:46:      // @TODO Please sort these language elements
-./inc/language/de.php:735:// @TODO Are these constants longer used?
+./inc/language/de.php:741:// @TODO Are these constants longer used?
 ./inc/language-functions.php:255:      // @TODO These are all valid languages, again hard-coded
 ./inc/language-functions.php:44:// @TODO Rewrite all language constants to this function.
 ./inc/language/install_de.php:140:     // @TODO Move this to e.g. ext-smtp
 ./inc/modules/admin/what-admins_mails.php:58:                          // @TODO Can this be rewritten to an API function?
 ./inc/modules/admin/what-bonus.php:46:// @TODO Unused at the moment
 ./inc/modules/admin/what-config_mods.php:55:                   // @TODO This can be moved into mysql-function.php, see checkModulePermissions() function
-./inc/modules/admin/what-config_points.php:130:                                // @TODO Rewrite these two lines for new user_points columns (e.g. locked_order_points) with a filter
+./inc/modules/admin/what-config_points.php:90:                         // @TODO Rewrite these two lines for new user_points columns (e.g. locked_order_points) with a filter
 ./inc/modules/admin/what-config_rallye_prices.php:222:                 // @TODO Rewrite these two constants
 ./inc/modules/admin/what-config_register.php:75:       // @TODO Move this HTML code into a template
 ./inc/modules/admin/what-del_email.php:61:             // @TODO Unused: cat_id, payment_id
 ./inc/mysql-manager.php:1464:  // @TODO Rewrite this to a filter
 ./inc/mysql-manager.php:1770:                  // @TODO Rewrite this to a filter
 ./inc/mysql-manager.php:1967:                          // @TODO If we can rewrite the EL sub-system to support more than one parameter, this call_user_func_array() can be avoided
-./inc/mysql-manager.php:2079:                  // @TODO Used generic 'userid' here
-./inc/mysql-manager.php:2300:// @TODO cacheFiles is not yet supported
+./inc/mysql-manager.php:2090:                  // @TODO Used generic 'userid' here
+./inc/mysql-manager.php:2311:// @TODO cacheFiles is not yet supported
 ./inc/mysql-manager.php:398:   // @TODO Try to rewrite this to one or more functions
 ./inc/mysql-manager.php:44:// @TODO Can we cache this?
 ./inc/purge/purge-inact.php:55:        // @TODO Rewrite these if() blocks to a filter
 ./inc/template-functions.php:288:      // @TODO Remove these sanity checks if all is fine
 ./inc/template-functions.php:625:// @TODO $simple/$constants are deprecated
 ./inc/template-functions.php:723:                      // @TODO $userid is deprecated and should be removed from loadEmailTemplate() and replaced with $content[userid] in all templates
-./inc/wrapper-functions.php:3006:      // @TODO Find a way to not use direct module comparison
+./inc/wrapper-functions.php:3008:      // @TODO Find a way to not use direct module comparison
 ./inc/wrapper-functions.php:512:// @TODO Do some more sanity check here
 ./inc/xml-functions.php:240:   // @TODO Handle characters
 ./mailid.php:102:              // @TODO Rewrite this to a filter
 ./inc/sql_error.php:2:// @DEPRECATED
 ./inc/stats_bonus.php:2:// @DEPRECATED
 ./inc/template.php:2:// @DEPRECATED
+./templates/de/html/admin/admin_add_reflevel.tpl:1:<!-- @DEPRECATED //-->
 ./templates/de/html/admin/admin_add_reflvl.tpl:1:<!-- @DEPRECATED //-->
 ./templates/de/html/admin/admin_add_shop_cat.tpl:1:<!-- @DEPRECATED //-->
 ./templates/de/html/admin/admin_admins_contact_form.tpl:1:<!-- @DEPRECATED //-->
 ./templates/de/html/admin/admin_config_reg_pro.tpl:1:<!-- @DEPRECATED //-->
 ./templates/de/html/admin/admin_config_shop.tpl:1:<!-- @DEPRECATED //-->
 ./templates/de/html/admin/admin_config_transfer_pro.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_edit_reflevel_row.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_edit_reflevel.tpl:1:<!-- @DEPRECATED //-->
 ./templates/de/html/admin/admin_extensions_installed.tpl:1:<!-- @DEPRECATED //-->
 ./templates/de/html/admin/admin_extensions_list.tpl:1:<!-- @DEPRECATED //-->
 ./templates/de/html/admin/admin_extensions_search.tpl:1:<!-- @DEPRECATED //-->
 ./templates/de/html/admin/admin_forum_edit_del.tpl:1:<!-- @DEPRECATED //-->
 ./templates/de/html/admin/admin_forum_edit_forum.tpl:1:<!-- @DEPRECATED //-->
 ./templates/de/html/admin/admin_holiday_task.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_list_reflevel_row.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_list_reflevel.tpl:1:<!-- @DEPRECATED //-->
 ./templates/de/html/admin/admin_list_unconfirmed_header.tpl:1:<!-- @DEPRECATED //-->
 ./templates/de/html/admin/admin_logout_sql_patches.tpl:1:<!-- @DEPRECATED //-->
 ./templates/de/html/admin/admin_mods_footer_list.tpl:1:<!-- @DEPRECATED //-->
index ba91f20d62aec30d6b0c3016163bde97e6a5b037..d22e6ee36b26337a3d90f6f6d322082f69c3207b 100644 (file)
@@ -1362,5 +1362,12 @@ function doXmlCallbackFunctionExecute ($callbackName, $args, $columnIndex, $cont
        call_user_func_array($callbackName, $args);
 }
 
+// For 'doing' add referral level, the column-index is required
+function addXmlSpecialAdminAddDoReferralLevels () {
+       // So set it all here
+       $GLOBALS['__COLUMN_INDEX']['doXmlCallbackFunction']  = 'column';
+       $GLOBALS['__XML_ARGUMENTS']['doXmlCallbackFunction']['column_index'] = 'column';
+}
+
 // [EOF]
 ?>
index 20c046c163a0201de9bcc635ab32f21cd8daa02e..c548359f714fd6cb155e4653a003b5c8f81f6563 100644 (file)
@@ -41,10 +41,10 @@ if (!defined('__SECURITY')) {
 } // END - if
 
 // Version number
-setThisExtensionVersion('0.9.3');
+setThisExtensionVersion('0.9.5');
 
 // Version history array (add more with , '0.0.1' and so on)
-setExtensionVersionHistory(array('0.0.0', '0.0.1', '0.0.2', '0.0.3', '0.0.4', '0.0.5', '0.0.6', '0.0.7', '0.0.8', '0.0.9', '0.1.0', '0.1.1', '0.1.2', '0.1.3', '0.1.4', '0.1.5', '0.1.6', '0.1.7', '0.1.8', '0.1.9', '0.2.0', '0.2.1', '0.2.2', '0.2.3', '0.2.4', '0.2.5', '0.2.6', '0.2.7', '0.2.8', '0.2.9', '0.3.0', '0.3.1', '0.3.2', '0.3.3', '0.3.4', '0.3.5', '0.3.6', '0.3.7', '0.3.8', '0.3.9', '0.4.0', '0.4.1', '0.4.2', '0.4.3', '0.4.4', '0.4.5', '0.4.6', '0.4.7', '0.4.8', '0.4.9', '0.5.0', '0.5.1', '0.5.2', '0.5.3', '0.5.4', '0.5.5', '0.5.6', '0.5.7', '0.5.8', '0.5.9', '0.6.0', '0.6.1', '0.6.2', '0.6.3', '0.6.4', '0.6.5', '0.6.6', '0.6.7', '0.6.8', '0.6.9', '0.7.0', '0.7.1', '0.7.2', '0.7.3', '0.7.4', '0.7.5', '0.7.6', '0.7.7', '0.7.8', '0.7.9', '0.8.0', '0.8.1', '0.8.2', '0.8.3', '0.8.4', '0.8.5', '0.8.6', '0.8.7', '0.8.8', '0.8.9', '0.9.0', '0.9.1', '0.9.2', '0.9.3'));
+setExtensionVersionHistory(array('0.0.0', '0.0.1', '0.0.2', '0.0.3', '0.0.4', '0.0.5', '0.0.6', '0.0.7', '0.0.8', '0.0.9', '0.1.0', '0.1.1', '0.1.2', '0.1.3', '0.1.4', '0.1.5', '0.1.6', '0.1.7', '0.1.8', '0.1.9', '0.2.0', '0.2.1', '0.2.2', '0.2.3', '0.2.4', '0.2.5', '0.2.6', '0.2.7', '0.2.8', '0.2.9', '0.3.0', '0.3.1', '0.3.2', '0.3.3', '0.3.4', '0.3.5', '0.3.6', '0.3.7', '0.3.8', '0.3.9', '0.4.0', '0.4.1', '0.4.2', '0.4.3', '0.4.4', '0.4.5', '0.4.6', '0.4.7', '0.4.8', '0.4.9', '0.5.0', '0.5.1', '0.5.2', '0.5.3', '0.5.4', '0.5.5', '0.5.6', '0.5.7', '0.5.8', '0.5.9', '0.6.0', '0.6.1', '0.6.2', '0.6.3', '0.6.4', '0.6.5', '0.6.6', '0.6.7', '0.6.8', '0.6.9', '0.7.0', '0.7.1', '0.7.2', '0.7.3', '0.7.4', '0.7.5', '0.7.6', '0.7.7', '0.7.8', '0.7.9', '0.8.0', '0.8.1', '0.8.2', '0.8.3', '0.8.4', '0.8.5', '0.8.6', '0.8.7', '0.8.8', '0.8.9', '0.9.0', '0.9.1', '0.9.2', '0.9.3', '0.9.4', '0.9.5'));
 
 // Keep this extension always active!
 setExtensionAlwaysActive('Y');
@@ -975,6 +975,20 @@ PRIMARY KEY (`server_name_id`)
                                // Update notes (these will be set as task text!)
                                setExtensionUpdateNotes("Bereinigung von verkehrten <strong>SERVER_NAME</strong> Eintr&auml;gen hinzugef&uuml;gt.");
                                break;
+
+                       case '0.9.4': // SQL queries for v0.9.4
+                               addAdminMenuSql('setup', 'list_referral_levels', 'Referral-Ebenen', 'Erlaubt das Auflisten, hinzuf&uuml;gen, &auml;ndern und l&ouml;schen von Referral-Ebenen. Seien Sie beim L&ouml;schen vorsichtig, da deren Id-Nummern zum Verkn&uuml;pfen verwendet werden. Sollten Sie also eine Ebene l&ouml;schen, in der Mitglieder {OPEN_CONFIG}POINTS{CLOSE_CONFIG} haben sollten, sind diese verloren.', 15);
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Auflisten (usw.) von Referral-Ebenen ausgelagert in eigenen Men&uuml;punkt.");
+                               break;
+
+                       case '0.9.5': // SQL queries for v0.9.5
+                               addExtensionChangeTableColumnSql('refdepths', 'percents', 'percents', 'FLOAT(8,5) UNSIGNED NOT NULL DEFAULT 0.00000');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Referral-Prozente d&uuml;rfen nun auch 5 Stellen hinter dem Komma haben.");
+                               break;
                } // END - switch
                break;
 
index 91ef0668200e4cdceaf4e7e274243fad32a2841c..5d255e12bfe30e6fce3316f314d887e48cb13dac 100644 (file)
@@ -1344,6 +1344,9 @@ function handleExtraValues ($filterFunction, $value, $extraValue) {
 
 // Tries to determine if call-back functions and/or extra values shall be parsed
 function doHandleExtraValues ($filterFunctions, $extraValues, $key, $entries, $userIdColumn, $search, $id = NULL) {
+       // $search shall not be NULL
+       assert(!is_null($search));
+
        // Debug mode enabled?
        if (isDebugModeEnabled()) {
                // Debug message
@@ -1351,7 +1354,7 @@ function doHandleExtraValues ($filterFunctions, $extraValues, $key, $entries, $u
        } // END - if
 
        // Send data through the filter function if found
-       if ($key == $userIdColumn[0]) {
+       if ($key === $userIdColumn[0]) {
                // Is the userid, we have to process it with convertZeroToNull()
                $entries = convertZeroToNull($entries);
        } elseif ((!empty($filterFunctions[$key])) && (isset($extraValues[$key]))) {
index 60f0403bbd09b957c70af0c27d0284669619f4e7..6052f574a08a53fa2d3dd74ace47fd26c971905f 100644 (file)
@@ -211,17 +211,27 @@ addMessages(array(
        'CHOOSE_MORE_CATEGORIES' => "Bitte w&auml;hlen Sie mehr Kategorien aus! Minimum ist: <span class=\"data\">{?least_cats?}</span>",
        'ADMIN_CONFIG_REJECT_DOUBLE_EMAIL' => "Doppelt angemeldete Email-Adressen ablehnen?",
        'ADMIN_EDIT_POINTS' => "Willkommensgutschrift und andere Festbetr&auml;ge editieren",
-       'ADMIN_EDIT_REFERRAL_DEPTHS' => "Referral-Ebenen editieren / l&ouml;schen / hinzuf&uuml;gen",
+
+       // Referral levels (admin/generic)
        'ADMIN_ADD_NEW_REFERRAL_DEPTH_TITLE' => "Neue Referral-Ebene hinzuf&uuml;gen",
+       'ADMIN_LIST_REFERRAL_LEVELS_TITLE' => "Auflisten von Referral-Ebenen",
+       'ADMIN_EDIT_REFERRAL_DEPTHS_TITLE' => "Referral-Ebenen editieren",
+       'ADMIN_DELETE_REFERRAL_DEPTHS_TITLE' => "Referral-Ebenen l&ouml;schen",
+       'ADMIN_REFERRA_LEVELS_NO_SELECTIONS' => "Sie haben keine Referral-Ebenen zum Editieren/L&ouml;schen ausgew&auml;hlt.",
        'ADMIN_ADD_DEPTH' => "Referral-Ebene hinzuf&uuml;gen",
-       'ADMIN_ENTER_REFERRAL_LEVEL' => "Referral-Ebene eingeben",
-       'ADMIN_ENTER_REFERRAL_PERCENTS' => "Prozentuale Verg&uuml;tung",
-       'ADMIN_EDIT_DELETE_REFERRAL_DEPTH_TITLE' => "Referral-Ebenen editieren / l&ouml;schen",
-       'REFERRAL_LEVEL' => "Referral-Ebene",
-       'REFERRAL_LEVEL_PERCENTS' => "Referral-Ebene (&#37)",
-       'REFERRAL_PERCENT' => "Prozentuale Verg&uuml;tung",
-       'ADMIN_EDIT_LEVEL' => "Ref-Ebene editieren",
-       'ADMIN_DELETE_LEVEL' => "Ref-Ebene l&ouml;schen",
+       'ADMIN_EDIT_REFERRAL_DEPTHS' => "Referral-Ebenen editieren / l&ouml;schen / hinzuf&uuml;gen",
+       'ADMIN_REFERRAL_DEPTHS_ID' => "Ref-Level id",
+       'ADMIN_ENTER_REFERRAL_LEVEL' => "Referral-Ebene eingeben:",
+       'ADMIN_ENTER_REFERRAL_PERCENTS' => "Prozentuale Verg&uuml;tung:",
+       'REFERRAL_LEVEL' => "Referral-Ebene:",
+       'REFERRAL_PERCENTS' => "Prozentuale Verg&uuml;tung:",
+       'MEMBER_REFERRAL_LEVEL_PERCENTS' => "Referral-Ebene (&#37):",
+       'ADMIN_EDIT_REFDEPTHS_SUBJECT' => "Referral-Ebene ge&auml;ndert",
+       'ADMIN_ADD_REFDEPTHS_SUBJECT' => "Referral-Ebene hinzugef&uuml;gt",
+       'ADMIN_EDIT_LEVEL_SUBMIT' => "Ref-Ebene editieren",
+       'ADMIN_DELETE_LEVEL_SUBMIT' => "Ref-Ebene l&ouml;schen",
+       'ADMIN_CHANGE_REFERRAL_DEPTHS_SUBMIT' => "Referral-Ebenen &auml;ndern",
+
        'GUEST_SURNAME' => "Vorname",
        'GUEST_FAMILY' => "Nachname",
        'GUEST_STREET_NR' => "Stra&szlig;e und Hausnummer",
@@ -529,10 +539,6 @@ addMessages(array(
        'ADMIN_REMOVE_MAX_RECEIVE' => "Maximal-Werte l&ouml;schen",
        'ADMIN_MAX_RECEIVE_SAVED' => "Maximal-Werte gespeichert...",
        'ADMIN_MAX_RECEIVE_DELETED' => "Maximal-Werte gel&ouml;scht...",
-       'ADMIN_EDIT_REFERRAL_DEPTHS_TITLE' => "Referral-Ebenen editieren",
-       'ADMIN_DELETE_REFERRAL_DEPTHS_TITLE' => "Referral-Ebenen l&ouml;schen",
-       'ADMIN_CHANGE_REFERRAL_DEPTHS' => "Referral-Ebenen &auml;ndern",
-       'ADMIN_REFERRAL_DEPTHS_ID' => "Ref-Level id",
        'ADMIN_CHANGE_REF' => "&Auml;ndern",
        'ADMIN_REFERRAL_DEPTHS_SAVED' => "Referral-Ebenen gespeichert...",
        'ADMIN_REFERRAL_DEPTHS_DELETED' => "Referral-Ebenen gel&ouml;scht...",
@@ -1265,7 +1271,7 @@ addMessages(array(
 
        // Admin - List referrals
        'ADMIN_LIST_USER_NO_REFERRALS' => "Das Mitglied <span class=\"data\">%s</span> hat in dieser Referral-Ebene keine Mitglieder geworben.",
-       'ADMIN_NO_REFERRAL_LEVELS' => "In Ihrem {?mt_word?} sind keine Referral-Ebenen eingerichtet! Ihre Mitglieder erhalten <u>keine</u> {?POINTS?} gutgeschrieben. Richten Sie mindestens Referral-Ebene 0 mit 100% Verg&uuml;tung ein.",
+       'ADMIN_REFERRAL_LEVELS_404' => "In Ihrem {?mt_word?} sind keine Referral-Ebenen eingerichtet! Ihre Mitglieder erhalten <u>keine</u> {?POINTS?} gutgeschrieben. Richten Sie mindestens Referral-Ebene 0 mit 100&#37; Verg&uuml;tung ein.",
        'ADMIN_LIST_USER_NODATA' => "Das Mitglied <span class=\"data\">%s</span> wurde bereits gel&ouml;scht.",
 
        // Footer navigation (e.g. installer)
index b50f23eb2c40ce206061e3b55e4fbbf1b3325b57..036d3e9c4ad42c46ed7d427019033990a4958457 100644 (file)
@@ -55,61 +55,21 @@ if (isGetRequestElementSet('sub')) {
                                unsetPostRequestElement('ok');
                        } // END - if
                        break;
-
-               case 'ref':
-                       if (isGetRequestElementSet('do')) {
-                               if (((!isPostRequestElementSet('level')) || (!isPostRequestElementSet('percents'))) && (getRequestElement('do') == 'add')) {
-                                       unsetPostRequestElement('ok');
-                               }
-                       }
-                       break;
        } // END - switch
 } else {
        // Display overview
        setGetRequestElement('sub', 'overview');
 }
 
-if (isFormSent()) {
+// Is a form sent?
+if ((isFormSent('do_delete')) || (isFormSent('do_edit')) || (isFormSent('do_add'))) {
+       // Init SQLs
        initSqls();
        switch (getRequestElement('sub')) {
                case 'points':
                        adminSaveSettingsFromPostData();
                        break;
 
-               case 'ref':
-                       switch (getRequestElement('do')) {
-                               case 'add':
-                                       addSql("INSERT INTO `{?_MYSQL_PREFIX?}_refdepths` (`level`, `percents`) VALUES ('".bigintval(postRequestElement('level'))."','".bigintval(postRequestElement('percents'))."')");
-                                       break;
-
-                               case 'edit': // Change entries
-                                       foreach (postRequestElement('level') as $id => $value) {
-                                               // Secure id
-                                               $id = bigintval($id);
-
-                                               // Revert german commata
-                                               setPostRequestElement('percents', array($id => convertCommaToDot(postRequestElement('percents', $id))));
-
-                                               // Update entry
-                                               SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_refdepths` SET `level`=%s,`percents`=%s WHERE `id`=%s LIMIT 1",
-                                                       array(bigintval($value), convertCommaToDot(postRequestElement('percents', $id)), $id), __FILE__, __LINE__);
-                                       } // END - foreach
-                                       $message = '{--ADMIN_REFERRAL_DEPTHS_SAVED--}';
-                                       break;
-
-                               case 'delete':
-                                       foreach (postRequestElement('id') as $id => $value) {
-                                               SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_refdepths` WHERE `id`=%s LIMIT 1",
-                                               array(bigintval($id)), __FILE__, __LINE__);
-                                       } // END - foreach
-                                       $message = '{--ADMIN_REFERRAL_DEPTHS_DELETED--}';
-                                       break;
-                       } // END - switch
-
-                       // Update cache file
-                       rebuildCache('refdepths', 'refdepths');
-                       break;
-
                case 'settings':
                        $REF = bigintval(postRequestElement('ref_payout'));
                        updateConfiguration(
@@ -170,61 +130,6 @@ WHERE
 
        // Load template
        loadTemplate('admin_config_point_settings', FALSE, $content);
-} elseif (getRequestElement('sub') == 'ref') {
-       // 12          3     32    2                        3321
-       if ((isFormSent('delete')) && (ifPostContainsSelections())) {
-               // Delete entries
-               $OUT = '';
-               foreach (postRequestElement('sel') as $id => $value) {
-                       $result = SQL_QUERY_ESC("SELECT `id`, `level`, `percents` FROM `{?_MYSQL_PREFIX?}_refdepths` WHERE `id`=%s LIMIT 1",
-                               array(bigintval($id)), __FILE__, __LINE__);
-                       $content = SQL_FETCHARRAY($result);
-                       SQL_FREERESULT($result);
-
-                       // Load row template and switch color
-                       $OUT .= loadTemplate('admin_delete_reflevel_row', TRUE, $content);
-               } // END - foreach
-
-               // Load main template
-               loadTemplate('admin_delete_reflevel', FALSE, $OUT);
-       } elseif ((isFormSent('edit')) && (ifPostContainsSelections())) {
-               // Edit entries
-               $OUT = '';
-               foreach (postRequestElement('sel') as $id => $value) {
-                       $result = SQL_QUERY_ESC("SELECT `id`, `level`, `percents` FROM `{?_MYSQL_PREFIX?}_refdepths` WHERE `id`=%s LIMIT 1",
-                               array(bigintval($id)), __FILE__, __LINE__);
-                       $content = SQL_FETCHARRAY($result);
-                       SQL_FREERESULT($result);
-
-                       // Load row template and switch color
-                       $OUT .= loadTemplate('admin_edit_reflevel_row', TRUE, $content);
-               } // END - foreach
-
-               // Load main template
-               loadTemplate('admin_edit_reflevel', FALSE, $OUT);
-       } else {
-               // Referral levels
-               $result = SQL_QUERY("SELECT `id`, `level`, `percents` FROM `{?_MYSQL_PREFIX?}_refdepths` ORDER BY `level` ASC", __FILE__, __LINE__);
-               if (!SQL_HASZERONUMS($result)) {
-                       // Make referral levels editable and deletable
-                       $OUT = '';
-
-                       // List already existing categories for editing
-                       while ($content = SQL_FETCHARRAY($result)) {
-                               // Load row template and switch color
-                               $OUT .= loadTemplate('admin_list_reflevel_row', TRUE, $content);
-                       } // END - while
-
-                       // Free memory
-                       SQL_FREERESULT($result);
-
-                       // Load main template
-                       loadTemplate('admin_list_reflevel', FALSE, $OUT);
-               }
-
-               // Form for adding new referral levels
-               loadTemplate('admin_add_reflevel');
-       }
 } elseif (getRequestElement('sub') == 'points') {
        // Load template
        loadTemplate('admin_config_sub_points');
diff --git a/inc/modules/admin/what-list_referral_levels.php b/inc/modules/admin/what-list_referral_levels.php
new file mode 100644 (file)
index 0000000..8f0f9e0
--- /dev/null
@@ -0,0 +1,95 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 11/24/2012 *
+ * ===================                          Last change: 11/24/2012 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : what-list_referral_levels.php                    *
+ * -------------------------------------------------------------------- *
+ * Short description : List/add/edit/delete referral levels             *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Auflisten/hinzufuegen/editieren/loeschen v. R.L. *
+ * -------------------------------------------------------------------- *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2012 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__);
+
+// By default show the list...
+$show = TRUE;
+
+// Check for 'id' element
+if ((!isFormSent('add')) && (countRequestPost() > 0) && (!ifPostContainsSelections('id'))) {
+       // Not found so output message
+       displayMessage('{--ADMIN_REFERRA_LEVELS_NO_SELECTIONS--}');
+
+       // Abort here
+       return;
+} // END - if
+
+// Add/edit or delete button hit?
+if (isFormSent('add')) {
+       // Add it
+       doGenericXmlTemplateCallback('admin_add_do_referral_levels');
+} elseif (isFormSent('edit')) {
+       // Show entries for editing
+       doGenericXmlTemplateCallback('admin_edit_show_referral_levels');
+
+       // Do not show the list of URLs after this template
+       $show = FALSE;
+} elseif (isFormSent('do_edit')) {
+       // Change data of entries
+       doGenericXmlTemplateCallback('admin_edit_do_referral_levels');
+} elseif (isFormSent('delete')) {
+       // Show entries for deletion
+       doGenericXmlTemplateCallback('admin_delete_show_referral_levels');
+
+       // Do not show the list of URLs after this template
+       $show = FALSE;
+} elseif (isFormSent('do_delete')) {
+       // Remove entries from database
+       doGenericXmlTemplateCallback('admin_delete_do_referral_levels');
+}
+
+// Show entries?
+if ($show === FALSE) {
+       // No, a form has already been show
+       return FALSE;
+} // END - if
+
+// List all referral_levels
+doGenericXmlTemplateCallback('admin_list_referral_levels');
+
+// Form for adding new referral levels
+loadTemplate('admin_add_referral_level');
+
+// [EOF]
+?>
index ace74be26f4831d058a6e2687d219abe20fc0e0c..679d415d40235a35dd061089cef05002e0006c7f 100644 (file)
@@ -2026,7 +2026,7 @@ function doGenericAddEntries ($tableName, $columns = array(), $filterFunctions =
                // Is columnIndex set?
                if (!is_null($columnIndex)) {
                        // Check conditions
-                       //* DEBUG: */ die('columnIndex=<pre>'.print_r($columnIndex,TRUE).'</pre>'.debug_get_printable_backtrace());
+                       //* DEBUG: */ die('columnName=<pre>'.print_r($columnName,TRUE).'</pre>columnIndex=<pre>'.print_r($columnIndex,TRUE).'</pre>'.debug_get_printable_backtrace());
                        assert((is_array($columnName)) && (is_string($columnIndex)) && (isset($columnName[$columnIndex])));
 
                        // Then use that index "blindly"
@@ -2040,11 +2040,22 @@ function doGenericAddEntries ($tableName, $columns = array(), $filterFunctions =
                $sqlColumns[$key] = SQL_ESCAPE($columnName);
                $sqlValues[$key]  = SQL_ESCAPE(postRequestElement($columnName));
 
+               // Search for it
+               $search = key(search_array($columns, 'column', $columnName));
+
                // Try to handle call-back functions and/or extra values on the list
-               $sqlValues[$key] = doHandleExtraValues($filterFunctions, $extraValues, $key . '_list', $sqlValues[$key], $userIdColumn, key(search_array($columns, 'column', $key)));
+               //* DEBUG: */ outputHtml($key . '/' . $columnName . '=<pre>'.print_r($columns,true).'</pre>search_array()=<pre>'.print_r(search_array($columns, 'column', $columnName), true).'</pre>');
+               //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'sqlValues[' . $key . '(' . gettype($key) . ')][' . gettype($sqlValues[$key]) . ']=' . $sqlValues[$key] . ' - BEFORE!');
+               if (is_string($key)) {
+                       // Key is a string
+                       $sqlValues[$key] = doHandleExtraValues($filterFunctions, $extraValues, $key . '_list', $sqlValues[$key], array(''), $search);
+               } else {
+                       // Is a number
+                       $sqlValues[$key] = doHandleExtraValues($filterFunctions, $extraValues, $key, $sqlValues[$key], array(''), $search);
+               }
 
                // Is the value not a number?
-               //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'sqlValues[' . $key . '][' . gettype($sqlValues[$key]) . ']=' . $sqlValues[$key]);
+               //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'sqlValues[' . $key . '(' . gettype($key) . ')][' . gettype($sqlValues[$key]) . ']=' . $sqlValues[$key] . ' - AFTER!');
                if (($sqlValues[$key] != 'NULL') && (is_string($sqlValues[$key]))) {
                        // Add quotes around it
                        $sqlValues[$key] = chr(39) . $sqlValues[$key] . chr(39);
index 2e401e4bc565234818cddc67e5d3b3b11d43f8e7..2e500b1617efa3bfb7f4a79d87fb0319d5fb6bb0 100644 (file)
@@ -2865,18 +2865,20 @@ function search_array ($array, $key, $value, $parentIndex = NULL) {
        if (is_array($array)) {
                // Search for whole array
                foreach ($array as $idx => $dummy) {
-                       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'key=' . $key . ',value=' . $value . ',idx=' . $idx);
+                       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'key=' . $key . ',value=' . $value . ',idx=' . $idx . ',parentIndex[' . gettype($parentIndex) . ']=' . $parentIndex);
+                       //* DEBUG: */ print 'idx=' . $idx . ',parentIndex[' . gettype($parentIndex) . ']=' . $parentIndex . ',key=' . $key . ',value=' . $value . ',array=<pre>'.print_r($array, TRUE).'</pre>';
                        // Is dummy an array?
-                       if (is_array($dummy)) {
+                       if ((is_array($dummy)) && ((is_null($parentIndex)) || ($parentIndex === $value))) {
                                // Then search again
                                $subResult = search_array($dummy, $key, $value, $idx);
                                //* DEBUG: */ print 'subResult=<pre>' . print_r($subResult, TRUE).'</pre>';
 
                                // And merge both
                                $results = merge_array($results, $subResult, TRUE);
-                       } elseif ((isset($array[$key])) && ($array[$key] == $value)) {
+                       } elseif (($key == $idx) && (isset($array[$key])) && ($array[$key] === $value)) {
                                // Is found, so add it
                                $results[$parentIndex] = $array;
+                               //* DEBUG: */ print 'ARRAY: key=' . $key . ',idx=' . $idx . ',value=' . $value . ',parentIndex[' . gettype($parentIndex) . ']=' . $parentIndex . ',array=<pre>' . print_r($array, TRUE).'</pre>';
                        }
                } // END - foreach
        } // END - if
diff --git a/templates/de/emails/admin/admin_add_refdepths.tpl b/templates/de/emails/admin/admin_add_refdepths.tpl
new file mode 100644 (file)
index 0000000..408547a
--- /dev/null
@@ -0,0 +1,17 @@
+Hallo Administrator,
+
+es wurde soeben eine neue Referral-Ebene hinzugef&uuml;gt.
+
+Hier sind alle Daten dazu:
+------------------------------------------
+{--ID_SELECT--} $content[id]
+------------------------------------------
+{--REFERRAL_LEVEL--} {%pipe,translateComma=$content[level]%}
+------------------------------------------
+{--REFERRAL_PERCENTS--} {%pipe,translateComma=$content[percents]%}&#37;
+------------------------------------------
+
+Mit freundlichen Gr&uuml;&szlig;en,
+  Ihr {?MAIN_TITLE?} Script
+
+{?URL?}/admin.php
diff --git a/templates/de/emails/admin/admin_edit_refdepths.tpl b/templates/de/emails/admin/admin_edit_refdepths.tpl
new file mode 100644 (file)
index 0000000..231851c
--- /dev/null
@@ -0,0 +1,17 @@
+Hallo Administrator,
+
+es wurde soeben eine Referral-Ebene ge&auml;ndert.
+
+Hier sind alle Daten dazu:
+------------------------------------------
+{--ID_SELECT--} $content[id]
+------------------------------------------
+{--REFERRAL_LEVEL--} {%pipe,translateComma=$content[level]%}
+------------------------------------------
+{--REFERRAL_PERCENTS--} {%pipe,translateComma=$content[percents]%}&#37;
+------------------------------------------
+
+Mit freundlichen Gr&uuml;&szlig;en,
+  Ihr {?MAIN_TITLE?} Script
+
+{?URL?}/admin.php
diff --git a/templates/de/html/admin/admin_add_referral_level.tpl b/templates/de/html/admin/admin_add_referral_level.tpl
new file mode 100644 (file)
index 0000000..b1eff25
--- /dev/null
@@ -0,0 +1,32 @@
+<div align="center">
+{%form,formMethodPost=modules.php?module=admin&amp;what=list_referral_levels&amp;do=do_add%}
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
+<tr>
+       <td class="table_header bottom" colspan="2" align="center">
+               <strong>{--ADMIN_ADD_NEW_REFERRAL_DEPTH_TITLE--}</strong>
+       </td>
+</tr>
+
+<tr>
+       <td align="right" width="50%">{--ADMIN_ENTER_REFERRAL_LEVEL--}</td>
+       <td width="50%">
+               <input type="text" class="form_field" name="level" size="3" maxlength="3" />
+       </td>
+</tr>
+
+<tr>
+       <td class="bottom" align="right" width="200">{--ADMIN_ENTER_REFERRAL_PERCENTS--}</td>
+       <td class="bottom">
+               <input type="text" class="form_field" name="percents" size="3" maxlength="3" />&#37;
+       </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="add" value="{--ADMIN_ADD_DEPTH--}" />
+       </td>
+</tr>
+</table>
+{%form_close%}
+</div>
index 4d3fcceb6ac8ed4bf2a71e61e215f2a3418822d0..11f5d85d80b1ca4d16cf4c19e14af24e5ec2a60f 100644 (file)
@@ -1,29 +1 @@
-<div align="center">
-{%form,formMethodPost=modules.php?module=admin&amp;what=config_points&amp;sub=ref&amp;do=add%}
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td class="table_header bottom" colspan="2" align="center">
-                       <strong>{--ADMIN_ADD_NEW_REFERRAL_DEPTH_TITLE--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td align="right" width="200">{--ADMIN_ENTER_REFERRAL_LEVEL--}:</td>
-               <td>
-                       <input type="text" class="form_field" name="level" size="3" maxlength="3" />
-               </td>
-       </tr>
-       <tr>
-               <td class="bottom" align="right" width="200">{--ADMIN_ENTER_REFERRAL_PERCENTS--}:</td>
-               <td class="bottom">
-                       <input type="text" class="form_field" name="percents" size="3" maxlength="3" />&#37;
-               </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_DEPTH--}" />
-               </td>
-       </tr>
-</table>
-{%form_close%}
-</div>
+<!-- @DEPRECATED //-->
index 1bd75e77247e27d7d44fd75581a67982b724839d..f533137a671dabbfa1e5c0ea5fd8cbcf36a523d1 100644 (file)
@@ -7,7 +7,7 @@
                </td>
        </tr>
        <tr>
-               <td width="30" class="header_column bottom right" align="center">
+               <td width="30" class="header_column bottom right" align="center" width="30">
                        <strong>{--ID_SELECT--}</strong>
                </td>
                <td width="235" class="header_column bottom right" align="center">
index 7a5512a831b8115b3a910e66c3fa3fd5c692ea21..0dc3cbbe4251976275dbaeb8bd97b84020ac9bbf 100644 (file)
@@ -1,25 +1,28 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=config_payouts%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td colspan="5" align="center" class="table_header bottom">
-               <strong>{--ADMIN_PAYOUT_EDIT_DELETE_TITLE--}</strong></td>
-       </tr>
-       <tr>
-               <td width="30" class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
-               <td width="100" class="header_column bottom right" align="center"><strong>{--ADMIN_PAYOUT_FROM--}</strong></td>
-               <td width="150" class="header_column bottom right" align="center"><strong>{--ADMIN_PAYOUT_TITLE--}</strong></td>
-               <td width="150" class="header_column bottom right" align="center"><strong>{--ADMIN_PAYOUT_RATE2--}</strong></td>
-               <td width="150" class="header_column bottom" align="center"><strong>{--ADMIN_PAYOUT_MIN_POINTS2--}</strong></td>
-       </tr>
-       $content
-       <tr>
-               <td colspan="5" 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>
+<tr>
+       <td colspan="5" align="center" class="table_header bottom">
+       <strong>{--ADMIN_PAYOUT_EDIT_DELETE_TITLE--}</strong></td>
+</tr>
+
+<tr>
+       <td width="30" class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+       <td width="100" class="header_column bottom right" align="center"><strong>{--ADMIN_PAYOUT_FROM--}</strong></td>
+       <td width="150" class="header_column bottom right" align="center"><strong>{--ADMIN_PAYOUT_TITLE--}</strong></td>
+       <td width="150" class="header_column bottom right" align="center"><strong>{--ADMIN_PAYOUT_RATE2--}</strong></td>
+       <td width="150" class="header_column bottom" align="center"><strong>{--ADMIN_PAYOUT_MIN_POINTS2--}</strong></td>
+</tr>
+
+$content
+
+<tr>
+       <td colspan="5" 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_close%}
 </div>
index a113f04b70f45145d47fb7af302554d7233b8f48..90654df357055db593ff618487e6bf254dc6952c 100644 (file)
@@ -9,10 +9,6 @@
        <strong><big>&middot;</big></strong>&nbsp;<a href="{%url=modules.php?module=admin&amp;what=config_points&amp;sub=points%}">{--ADMIN_EDIT_POINTS--}</a>
 </div>
 
-<div align="left" style="padding-left:5px">
-       <strong><big>&middot;</big></strong>&nbsp;<a href="{%url=modules.php?module=admin&amp;what=config_points&amp;sub=ref%}">{--ADMIN_EDIT_REFERRAL_DEPTHS--}</a>
-</div>
-
 <div align="left" style="padding-left:5px">
        <strong><big>&middot;</big></strong>&nbsp;<a href="{%url=modules.php?module=admin&amp;what=config_points&amp;sub=settings%}">{--ADMIN_EDIT_POINT_SETTINGS--}</a>
 </div>
index c1b3ab5324925fcf5160ed95ccb28dd2faf9a97b..6555fa184cc9c9afc7e381b06a7fb213dc2fa8c5 100644 (file)
@@ -7,10 +7,10 @@
                </td>
        </tr>
        <tr>
-               <td width="20" colspan="2" align="center" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
-               <td width="120" align="center" class="header_column bottom right"><strong>{--ADMIN_LIST_BANK_PACKAGES_TITLE--}:</strong></td>
+               <td width="30" colspan="2" align="center" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
+               <td width="115" align="center" class="header_column bottom right"><strong>{--ADMIN_LIST_BANK_PACKAGES_TITLE--}:</strong></td>
                <td width="360" align="center" class="header_column bottom right"><strong>{--ADMIN_LIST_BANK_PACKAGES_DESCR--}:</strong></td>
-               <td width="120" align="center" class="header_column bottom"><strong>{--ADMIN_LIST_BANK_PACKAGES_ACCOUNT_FEE--}</strong></td>
+               <td width="115" align="center" class="header_column bottom"><strong>{--ADMIN_LIST_BANK_PACKAGES_ACCOUNT_FEE--}</strong></td>
        </tr>
        $content
        <tr>
index 3162be774e56239ff79c8c33afa9e9d3bda1a2ff..9dc905af50e3b4b261e02b42a9357b842452a26a 100644 (file)
@@ -7,9 +7,9 @@
                </td>
        </tr>
        <tr>
-               <td align="center" class="header_column bottom right" width="20"><strong>{--ID_SELECT--}</strong></td>
-               <td align="center" class="header_column bottom right" width="160"><strong>{--ADMIN_ADMINS_CONTACT--}:</strong></td>
-               <td align="center" class="header_column bottom right" width="160"><strong>{--ADMIN_ADMINS_EMAIL--}:</strong></td>
+               <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
+               <td align="center" class="header_column bottom right" width="155"><strong>{--ADMIN_ADMINS_CONTACT--}:</strong></td>
+               <td align="center" class="header_column bottom right" width="155"><strong>{--ADMIN_ADMINS_EMAIL--}:</strong></td>
                <td align="center" class="header_column bottom right" width="160"><strong>{--ADMIN_ADMINS_ACCESS_MODE--}:</strong></td>
                <td align="center" class="header_column bottom" width="160"><strong>{--ADMIN_LA_MODE--}:</strong></td>
        </tr>
index 10944f482215a31c586287c0f6330ca5518366b5..5a3b95c798e4773ef07466313c5e834234ffb400 100644 (file)
@@ -1,25 +1,27 @@
 <div align="center">
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="99%">
-       <tr>
-               <td class="table_header bottom" colspan="5" align="center" height="35">
-                       {--ADMIN_EMAIL_DELETED--}
-               </td>
-       </tr>
-       <tr>
-               <td class="bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
-               <td class="bottom right" align="center"><strong>{--EMAIL_SUBJECT--}</strong></td>
-               <td class="bottom right" align="center"><strong>{--EMAIL_URL--}</strong></td>
-               <td class="bottom right" align="center"><strong>{--EMAIL_TIMESTAMP--}</strong></td>
-               <td class="bottom" align="center"><strong>{--EMAIL_DELETE_COUNT--}</strong></td>
-       </tr>
-       <tr>
-               <td class="right" align="center">$content[id]</td>
-               <td class="right" align="center">$content[subject]</td>
-               <td class="right" align="center">
-                       {%template,DereferrerUrl=$content[url]%}
-               </td>
-               <td class="right" align="center">$content[timestamp]</td>
-               <td align="center">$content[count]</td>
-       </tr>
+<tr>
+       <td class="table_header bottom" colspan="5" align="center" height="35">
+               {--ADMIN_EMAIL_DELETED--}
+       </td>
+</tr>
+
+<tr>
+       <td class="bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
+       <td class="bottom right" align="center"><strong>{--EMAIL_SUBJECT--}</strong></td>
+       <td class="bottom right" align="center"><strong>{--EMAIL_URL--}</strong></td>
+       <td class="bottom right" align="center"><strong>{--EMAIL_TIMESTAMP--}</strong></td>
+       <td class="bottom" align="center"><strong>{--EMAIL_DELETE_COUNT--}</strong></td>
+</tr>
+
+<tr>
+       <td class="right" align="center">$content[id]</td>
+       <td class="right" align="center">$content[subject]</td>
+       <td class="right" align="center">
+               {%template,DereferrerUrl=$content[url]%}
+       </td>
+       <td class="right" align="center">$content[timestamp]</td>
+       <td align="center">$content[count]</td>
+</tr>
 </table>
 </div>
index dc3cad1cd5a692b5caf3abb282114d98654bd6bf..fa239610304ab65f6050b64154d2148a39907713 100644 (file)
@@ -1,25 +1,27 @@
 <div align="center">
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="99%">
-       <tr>
-               <td class="table_header" colspan="8" align="center" height="35">
-                       {--ADMIN_EMAIL_DELETED--}
-               </td>
-       </tr>
-       <tr>
-               <td class="top right" align="center"><strong>{--ID_SELECT--}</strong></td>
-               <td class="top right" align="center"><strong>{--EMAIL_SENDER--}</strong></td>
-               <td class="top right" align="center"><strong>{--EMAIL_SUBJECT--}</strong></td>
-               <td class="top right" align="center"><strong>{--EMAIL_URL--}</strong></td>
-               <td class="top right" align="center"><strong>{--EMAIL_TIMESTAMP--}</strong></td>
-       </tr>
-       <tr>
-               <td class="top right" align="center">$content[id]</td>
-               <td class="top right" align="center">{%pipe,generateUserProfileLink=$content[sender]%}</td>
-               <td class="top right" align="center">$content[subject]</td>
-               <td class="top right" align="center">
-                       {%template,DereferrerUrl=$content[url]%}
-               </td>
-               <td class="top" align="center">$content[timestamp]</td>
-       </tr>
+<tr>
+       <td class="table_header" colspan="8" align="center" height="35">
+               {--ADMIN_EMAIL_DELETED--}
+       </td>
+</tr>
+
+<tr>
+       <td class="top right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
+       <td class="top right" align="center"><strong>{--EMAIL_SENDER--}</strong></td>
+       <td class="top right" align="center"><strong>{--EMAIL_SUBJECT--}</strong></td>
+       <td class="top right" align="center"><strong>{--EMAIL_URL--}</strong></td>
+       <td class="top right" align="center"><strong>{--EMAIL_TIMESTAMP--}</strong></td>
+</tr>
+
+<tr>
+       <td class="top right" align="center">$content[id]</td>
+       <td class="top right" align="center">{%pipe,generateUserProfileLink=$content[sender]%}</td>
+       <td class="top right" align="center">$content[subject]</td>
+       <td class="top right" align="center">
+               {%template,DereferrerUrl=$content[url]%}
+       </td>
+       <td class="top" align="center">$content[timestamp]</td>
+</tr>
 </table>
 </div>
index bb3ba3be0a4aa2469d6ed48c2d124b81fbdcbc7d..259ea54959eb77d6ef475929d5af041dcf47e317 100644 (file)
@@ -1,23 +1,25 @@
 <div align="center">
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="99%">
-       <tr>
-               <td class="table_header bottom" colspan="5" align="center" height="35">
-                       {--ADMIN_NOTIFICATION_DELETED_TITLE--}
-               </td>
-       </tr>
-       <tr>
-               <td class="bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
-               <td class="bottom right" align="center"><strong>{--EMAIL_SUBJECT--}</strong></td>
-               <td class="bottom right" align="center"><strong>{--EMAIL_URL--}</strong></td>
-               <td class="bottom right" align="center"><strong>{--EMAIL_TIMESTAMP--}</strong></td>
-               <td class="bottom" align="center"><strong>{--EMAIL_DELETE_COUNT--}</strong></td>
-       </tr>
-       <tr>
-               <td class="right" align="center">$content[id]</td>
-               <td class="right" align="center">$content[subject]</td>
-               <td class="right" align="center">{%template,DereferrerUrl=$content[url]%}</td>
-               <td class="right" align="center">$content[timestamp]</td>
-               <td align="center">$content[count]</td>
-       </tr>
+<tr>
+       <td class="table_header bottom" colspan="5" align="center" height="35">
+               {--ADMIN_NOTIFICATION_DELETED_TITLE--}
+       </td>
+</tr>
+
+<tr>
+       <td class="bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
+       <td class="bottom right" align="center"><strong>{--EMAIL_SUBJECT--}</strong></td>
+       <td class="bottom right" align="center"><strong>{--EMAIL_URL--}</strong></td>
+       <td class="bottom right" align="center"><strong>{--EMAIL_TIMESTAMP--}</strong></td>
+       <td class="bottom" align="center"><strong>{--EMAIL_DELETE_COUNT--}</strong></td>
+</tr>
+
+<tr>
+       <td class="right" align="center">$content[id]</td>
+       <td class="right" align="center">$content[subject]</td>
+       <td class="right" align="center">{%template,DereferrerUrl=$content[url]%}</td>
+       <td class="right" align="center">$content[timestamp]</td>
+       <td align="center">$content[count]</td>
+</tr>
 </table>
 </div>
index 3516081211456171ee7b0bd0c7efa495a9dc3622..999f881b6bcf90e4aa6bc6e864ea1e8cf2fa832e 100644 (file)
@@ -1,22 +1,25 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=extensions%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td colspan="3" align="center" class="table_header">
-                       <strong>{--ADMIN_REMOVING_THESE_EXTENSIONS--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td align="center" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
-               <td align="center" class="header_column bottom right"><strong>{--ADMIN_EXTENSION_NAME--}</strong></td>
-               <td align="center" class="header_column bottom"><strong>{--ADMIN_EXTENSION_VERSION--}</strong></td>
-       </tr>
-       $content
-       <tr>
-               <td colspan="3" class="table_footer">
-                       <input type="submit" name="do_delete" class="form_delete" value="{--ADMIN_REMOVE_EXTENSIONS--}" />
-               </td>
-       </tr>
+<tr>
+       <td colspan="3" align="center" class="table_header">
+               <strong>{--ADMIN_REMOVING_THESE_EXTENSIONS--}</strong>
+       </td>
+</tr>
+
+<tr>
+       <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
+       <td align="center" class="header_column bottom right"><strong>{--ADMIN_EXTENSION_NAME--}</strong></td>
+       <td align="center" class="header_column bottom"><strong>{--ADMIN_EXTENSION_VERSION--}</strong></td>
+</tr>
+
+$content
+
+<tr>
+       <td colspan="3" class="table_footer">
+               <input type="submit" name="do_delete" class="form_delete" value="{--ADMIN_REMOVE_EXTENSIONS--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index 500951103ee137e4cd8b3358bdf0c2680d4b179c..65f75f09b9261ecd58791aecc6d01b5b2e9fe6c9 100644 (file)
@@ -1,31 +1,34 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=config_rallye_prices&amp;rallye_id=$content[rallye_id]%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td colspan="4" align="center" class="table_header">
-                       <strong>{--ADMIN_DELETE_RALLYE_PRICES_TITLE--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td align="center" width="10" class="header_column bottom right">
-                       <strong>{--ID_SELECT--}</strong>
-               </td>
-               <td align="center" width="50" class="header_column bottom right">
-                       <strong>{--RALLYE_LEVEL--}:</strong>
-               </td>
-               <td align="center" width="200" class="header_column bottom right">
-                       <strong>{--ADMIN_RALLYE_PRICE_POINTS--}:</strong>
-               </td>
-               <td align="center" width="320" class="header_column bottom">
-                       <strong>{--ADMIN_RALLYE_PRICE_INFO--}:</strong>
-               </td>
-       </tr>
-       $content[rows]
-       <tr>
-               <td colspan="4" class="table_footer">
-                       <input type="submit" name="do_delete" class="form_delete" value="{--ADMIN_REMOVE_RALLYE_PRICES_SUBMIT--}" />
-               </td>
-       </tr>
+<tr>
+       <td colspan="4" align="center" class="table_header">
+               <strong>{--ADMIN_DELETE_RALLYE_PRICES_TITLE--}</strong>
+       </td>
+</tr>
+
+<tr>
+       <td align="center" width="10" class="header_column bottom right">
+               <strong>{--ID_SELECT--}</strong>
+       </td>
+       <td align="center" width="50" class="header_column bottom right">
+               <strong>{--RALLYE_LEVEL--}:</strong>
+       </td>
+       <td align="center" width="200" class="header_column bottom right">
+               <strong>{--ADMIN_RALLYE_PRICE_POINTS--}:</strong>
+       </td>
+       <td align="center" width="320" class="header_column bottom">
+               <strong>{--ADMIN_RALLYE_PRICE_INFO--}:</strong>
+       </td>
+</tr>
+
+$content[rows]
+
+<tr>
+       <td colspan="4" class="table_footer">
+               <input type="submit" name="do_delete" class="form_delete" value="{--ADMIN_REMOVE_RALLYE_PRICES_SUBMIT--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index 237f3e7fc6bc8cdf8a96854a01ce4fa015776764..79b4aa2d6436c18f8fc4cc96f50571f7ea1ef15b 100644 (file)
@@ -1,5 +1,5 @@
 <div align="center">
-{%form,formMethodPost=modules.php?module=admin&amp;what=config_points&amp;sub=ref&amp;do=del%}
+{%form,formMethodPost=modules.php?module=admin&amp;what=list_referral_level&amp;do=del%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
        <tr>
                <td align="center" class="bottom table_header">
@@ -9,7 +9,7 @@
        $content
        <tr>
                <td align="center" class="table_footer">
-                       <input type="submit" name="ok" class="form_delete" value="{--ADMIN_ACTION_REMOVE_SUBMIT--}" />
+                       <input type="submit" name="do_delete" class="form_delete" value="{--ADMIN_ACTION_REMOVE_SUBMIT--}" />
                </td>
        </tr>
 </table>
index 85426228cba0822eed6863c3e352d464442c7d5f..c5dab349cb93a97337673de77cbd6ffd1c414437 100644 (file)
@@ -6,12 +6,15 @@
                <strong>{--ADMIN_DELETE_USER_SUBID_TITLE--}</strong>
        </td>
 </tr>
+
 <tr>
-       <td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+       <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
        <td class="header_column bottom right" align="center"><strong>{--SUBID_VALUE--}</strong></td>
        <td class="header_column bottom" align="center"><strong>{--SUBID_ADDED--}</strong></td>
 </tr>
+
 $content[rows]
+
 <tr>
        <td class="table_footer" colspan="3">
                <input type="hidden" name="userid" value="{%get,bigintval=userid%}" />
index 6e6a943e6b443a50aa38f74c77962c577b1b3ade..396c9e87365dd8fc1cdba5759b91922c73783425 100644 (file)
@@ -7,9 +7,9 @@
                </td>
        </tr>
        <tr>
-               <td align="center" class="header_column bottom right" width="20"><strong>{--ID_SELECT--}</strong></td>
-               <td align="center" class="header_column bottom right" width="160"><strong>{--ADMIN_ADMINS_CONTACT--}:</strong></td>
-               <td align="center" class="header_column bottom right" width="160"><strong>{--ADMIN_ADMINS_EMAIL--}:</strong></td>
+               <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
+               <td align="center" class="header_column bottom right" width="155"><strong>{--ADMIN_ADMINS_CONTACT--}:</strong></td>
+               <td align="center" class="header_column bottom right" width="155"><strong>{--ADMIN_ADMINS_EMAIL--}:</strong></td>
                <td align="center" class="header_column bottom right" width="240"><strong>{--ADMIN_ADMINS_PASSWORD--}:</strong></td>
                <td align="center" class="header_column bottom right" width="100"><strong>{--ADMIN_ADMINS_ACCESS_MODE--}:</strong></td>
                <td align="center" class="header_column bottom" width="100"><strong>{--ADMIN_LA_MODE--}:</strong></td>
index 497e0f4423dd4b69d8ce39bf7ba36f48740f39a0..142f84abc1b1a9be7ee59d02359c53d3184a4246 100644 (file)
@@ -1,25 +1,28 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_admins_acls%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td colspan="5" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_ADMINS_EDIT_ACLS_TITLE--}:</strong>
-               </td>
-       </tr>
-       <tr>
-               <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
-               <td align="center" class="header_column bottom right" width="120"><strong>{--ADMIN_ADMINS_LOGIN_ID--}:</strong></td>
-               <td align="center" class="header_column bottom right" width="204"><strong>{--ADMIN_MENU_ACTION--}:</strong></td>
-               <td align="center" class="header_column bottom right" width="204"><strong>{--ADMIN_MENU_WHAT--}:</strong></td>
-               <td align="center" class="header_column bottom" width="120"><strong>{--ADMIN_ADMINS_ACCESS_MODE--}:</strong></td>
-       </tr>
-       $content
-       <tr>
-               <td colspan="5" class="table_footer">
-                       <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
-                       <input type="submit" class="form_submit" name="do_edit" value="{--ADMIN_ADMINS_CHANGE_ACLS_SUBMIT--}" />
-               </td>
-       </tr>
+<tr>
+       <td colspan="5" align="center" class="table_header bottom">
+               <strong>{--ADMIN_ADMINS_EDIT_ACLS_TITLE--}:</strong>
+       </td>
+</tr>
+
+<tr>
+       <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
+       <td align="center" class="header_column bottom right" width="120"><strong>{--ADMIN_ADMINS_LOGIN_ID--}:</strong></td>
+       <td align="center" class="header_column bottom right" width="204"><strong>{--ADMIN_MENU_ACTION--}:</strong></td>
+       <td align="center" class="header_column bottom right" width="204"><strong>{--ADMIN_MENU_WHAT--}:</strong></td>
+       <td align="center" class="header_column bottom" width="120"><strong>{--ADMIN_ADMINS_ACCESS_MODE--}:</strong></td>
+</tr>
+
+$content
+
+<tr>
+       <td colspan="5" class="table_footer">
+               <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+               <input type="submit" class="form_submit" name="do_edit" value="{--ADMIN_ADMINS_CHANGE_ACLS_SUBMIT--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index 7e51ccb915b1f07f27642f423af444037b52272e..255cb5baa9e991f76a6f71a7dd8e8a5baf1f9e29 100644 (file)
@@ -1,25 +1,28 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=config_payouts%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td colspan="5" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_PAYOUT_EDIT_TITLE--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td width="20" class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
-               <td width="200" class="header_column bottom right" align="center"><strong>{--ADMIN_PAYOUT_TITLE--}</strong></td>
-               <td width="150" class="header_column bottom right" align="center"><strong>{--ADMIN_PAYOUT_RATE2--}</strong></td>
-               <td width="100" class="header_column bottom right" align="center"><strong>{--ADMIN_PAYOUT_MIN_POINTS2--}</strong></td>
-               <td width="180" class="header_column bottom" align="center"><strong>{--ADMIN_PAYOUT_ALLOW_URLS--}</strong></td>
-       </tr>
-       $content
-       <tr>
-               <td colspan="5" class="table_footer">
-                       <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
-                       <input type="submit" class="form_submit" name="do_edit" value="{--ADMIN_ACTION_EDIT_SUBMIT--}" />
-               </td>
-       </tr>
+<tr>
+       <td colspan="5" align="center" class="table_header bottom">
+               <strong>{--ADMIN_PAYOUT_EDIT_TITLE--}</strong>
+       </td>
+</tr>
+
+<tr>
+       <td width="30" class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+       <td width="200" class="header_column bottom right" align="center"><strong>{--ADMIN_PAYOUT_TITLE--}</strong></td>
+       <td width="145" class="header_column bottom right" align="center"><strong>{--ADMIN_PAYOUT_RATE2--}</strong></td>
+       <td width="105" class="header_column bottom right" align="center"><strong>{--ADMIN_PAYOUT_MIN_POINTS2--}</strong></td>
+       <td width="180" class="header_column bottom" align="center"><strong>{--ADMIN_PAYOUT_ALLOW_URLS--}</strong></td>
+</tr>
+
+$content
+
+<tr>
+       <td colspan="5" class="table_footer">
+               <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+               <input type="submit" class="form_submit" name="do_edit" value="{--ADMIN_ACTION_EDIT_SUBMIT--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
diff --git a/templates/de/html/admin/admin_edit_refdepths.tpl b/templates/de/html/admin/admin_edit_refdepths.tpl
new file mode 100644 (file)
index 0000000..e8e8565
--- /dev/null
@@ -0,0 +1,18 @@
+<div align="center">
+{%form,formMethodPost=modules.php?module=admin&amp;what=list_referral_levels&amp;do=edit%}
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="550">
+       <tr>
+               <td align="center" colspan="2" class="bottom table_header">
+                       <strong>{--ADMIN_EDIT_REFERRAL_DEPTHS_TITLE--}:</strong>
+               </td>
+       </tr>
+       $content
+       <tr>
+               <td align="center" colspan="2" class="table_footer">
+                       <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+                       <input type="submit" class="form_submit" name="do_edit" value="{--ADMIN_CHANGE_REFERRAL_DEPTHS_SUBMIT--}" />
+               </td>
+       </tr>
+</table>
+{%form_close%}
+</div>
diff --git a/templates/de/html/admin/admin_edit_refdepths_row.tpl b/templates/de/html/admin/admin_edit_refdepths_row.tpl
new file mode 100644 (file)
index 0000000..0b5c98c
--- /dev/null
@@ -0,0 +1,20 @@
+<tr>
+       <td colspan="2" align="center" class="table_header bottom">
+               <strong>{--ADMIN_REFERRAL_DEPTHS_ID--} $content[id]:</strong>
+               <input type="hidden" name="id[$content[id]]" value="1" />
+       </td>
+</tr>
+
+<tr>
+       <td class="{%template,ColorSwitch%}" align="right">{--REFERRAL_LEVEL--}</td>
+       <td class="{%template,ColorSwitch%}" align="left">
+               <input type="text" class="form_field" name="level[$content[id]]" value="$content[level]" size="3" maxlength="5" />
+       </td>
+</tr>
+
+<tr>
+       <td class="{%template,ColorSwitch%} bottom" align="right">{--REFERRAL_PERCENTS--}</td>
+       <td class="{%template,ColorSwitch%} bottom" align="left">
+               <input type="text" class="form_field" name="percents[$content[id]]" value="{%pipe,translateComma=$content[percents]%}" size="3" maxlength="5" />&#37;
+       </td>
+</tr>
index 21384def7babba4bca679ac19616887fa12dc2e6..11f5d85d80b1ca4d16cf4c19e14af24e5ec2a60f 100644 (file)
@@ -1,18 +1 @@
-<div align="center">
-{%form,formMethodPost=modules.php?module=admin&amp;what=config_points&amp;sub=ref&amp;do=edit%}
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="550">
-       <tr>
-               <td align="center" colspan="2" class="bottom table_header">
-                       <strong>{--ADMIN_EDIT_REFERRAL_DEPTHS_TITLE--}:</strong>
-               </td>
-       </tr>
-       $content
-       <tr>
-               <td align="center" colspan="2" class="table_footer">
-                       <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
-                       <input type="submit" class="form_submit" name="ok" value="{--ADMIN_CHANGE_REFERRAL_DEPTHS--}" />
-               </td>
-       </tr>
-</table>
-{%form_close%}
-</div>
+<!-- @DEPRECATED //-->
index bf1d6885e24e97953cedc7d404e0f783fd9e26d0..11f5d85d80b1ca4d16cf4c19e14af24e5ec2a60f 100644 (file)
@@ -1,19 +1 @@
-<tr>
-       <td colspan="2" align="center" class="table_header bottom">
-               <strong>{--ADMIN_REFERRAL_DEPTHS_ID--} $content[id]:</strong>
-       </td>
-</tr>
-
-<tr>
-       <td class="{%template,ColorSwitch%}" align="right">{--REFERRAL_LEVEL--}:&nbsp;</td>
-       <td class="{%template,ColorSwitch%}" align="left">
-               <input type="text" class="form_field" name="level[$content[id]]" value="$content[level]" size="3" maxlength="5" />
-       </td>
-</tr>
-
-<tr>
-       <td class="{%template,ColorSwitch%} bottom" align="right">{--REFERRAL_PERCENT--}:&nbsp;</td>
-       <td class="{%template,ColorSwitch%} bottom" align="left">
-               <input type="text" class="form_field" name="perc[$content[id]]" value="{%pipe,translateComma=$content[percents]%}" size="3" maxlength="5" />&#37;
-       </td>
-</tr>
+<!-- @DEPRECATED //-->
index 43c4e57f96fe4c7732c27149d0ca0a0ccb40a3cd..e52195c4f2465da19ecef9cf668f43c6dd37a781 100644 (file)
@@ -7,7 +7,7 @@
        </td>
 </tr>
 <tr>
-       <td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+       <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
        <td class="header_column bottom right" align="center"><strong>{--SUBID_VALUE--}</strong></td>
        <td class="header_column bottom" align="center"><strong>{--SUBID_ADDED--}</strong></td>
 </tr>
index 4c59a954814566a6326c6e8d222e79d7c53a83f5..87fa8b51b275baeb21d615cdd27ce89af115e7be 100644 (file)
@@ -7,10 +7,10 @@
                </td>
        </tr>
        <tr>
-               <td align="center" class="header_column bottom right" width="20"><strong>{--ID_SELECT--}</strong></td>
-               <td align="center" class="header_column bottom right" width="160"><strong>{--ADMIN_ADMINS_CONTACT--}:</strong></td>
+               <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
+               <td align="center" class="header_column bottom right" width="155"><strong>{--ADMIN_ADMINS_CONTACT--}:</strong></td>
                <td align="center" class="header_column bottom right" width="300"><strong>{--ADMIN_ADMINS_EMAIL--}:</strong></td>
-               <td align="center" class="header_column bottom right" width="160"><strong>{--ADMIN_ADMINS_ACCESS_MODE--}:</strong></td>
+               <td align="center" class="header_column bottom right" width="155"><strong>{--ADMIN_ADMINS_ACCESS_MODE--}:</strong></td>
                <td align="center" class="header_column bottom" width="160"><strong>{--ADMIN_LA_MODE--}:</strong></td>
        </tr>
        $content
index 4c7007ff99c90f2cb1670bdad58fa13f414655ba..a0e179dbc59a954f38f0e87c15bd2194b47a460f 100644 (file)
@@ -1,26 +1,29 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_admins_acls%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td colspan="5" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_ADMINS_LIST_ACLS--}:</strong>
-               </td>
-       </tr>
-       <tr>
-               <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
-               <td align="center" class="header_column bottom right" width="120"><strong>{--ADMIN_ADMINS_LOGIN_ID--}:</strong></td>
-               <td align="center" class="header_column bottom right" width="204"><strong>{--ADMIN_MENU_ACTION--}:</strong></td>
-               <td align="center" class="header_column bottom right" width="204"><strong>{--ADMIN_MENU_WHAT--}:</strong></td>
-               <td align="center" class="header_column bottom" width="120"><strong>{--ADMIN_ADMINS_ACCESS_MODE--}:</strong></td>
-       </tr>
-       $content
-       <tr>
-               <td colspan="5" 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>
+<tr>
+       <td colspan="5" align="center" class="table_header bottom">
+               <strong>{--ADMIN_ADMINS_LIST_ACLS--}:</strong>
+       </td>
+</tr>
+
+<tr>
+       <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
+       <td align="center" class="header_column bottom right" width="120"><strong>{--ADMIN_ADMINS_LOGIN_ID--}:</strong></td>
+       <td align="center" class="header_column bottom right" width="204"><strong>{--ADMIN_MENU_ACTION--}:</strong></td>
+       <td align="center" class="header_column bottom right" width="204"><strong>{--ADMIN_MENU_WHAT--}:</strong></td>
+       <td align="center" class="header_column bottom" width="120"><strong>{--ADMIN_ADMINS_ACCESS_MODE--}:</strong></td>
+</tr>
+
+$content
+
+<tr>
+       <td colspan="5" 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_close%}
 </div>
index e32822e7b7038cbef5f35f058071f899c859bb38..147cfb78c8a2463acf7482f0005dbb53e54fc223 100644 (file)
@@ -7,10 +7,10 @@
                </td>
        </tr>
        <tr>
-               <td width="20" colspan="2" align="center" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
+               <td width="30" colspan="2" align="center" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
                <td width="80" align="center" class="header_column bottom right"><strong>{--ADMIN_LIST_BANK_PACKAGES_TITLE--}:</strong></td>
-               <td width="120" align="center" class="header_column bottom right"><strong>{--ADMIN_LIST_BANK_PACKAGES_DESCR--}:</strong></td>
-               <td width="120" align="center" class="header_column bottom right"><strong>{--ADMIN_LIST_BANK_PACKAGES_ACCOUNT_FEE--}</strong></td>
+               <td width="115" align="center" class="header_column bottom right"><strong>{--ADMIN_LIST_BANK_PACKAGES_DESCR--}:</strong></td>
+               <td width="115" align="center" class="header_column bottom right"><strong>{--ADMIN_LIST_BANK_PACKAGES_ACCOUNT_FEE--}</strong></td>
                <td width="80" align="center" class="header_column bottom right"><strong>{--ADMIN_LIST_BANK_PACKAGES_ACCOUNT_INTEREST_PLUS--}</strong></td>
                <td width="80" align="center" class="header_column bottom right"><strong>{--ADMIN_LIST_BANK_PACKAGES_ACCOUNT_INTEREST_MINUS--}</strong></td>
                <td width="120" align="center" class="header_column bottom"><strong>{--ADMIN_LIST_BANK_PACKAGES_STATUS--}</strong></td>
index ff38ce325f1668e8e58c508705d2d6d3eb72d182..05f0fce922fdd7812c44ef19a4744a7c6e1f19cc 100644 (file)
@@ -7,7 +7,7 @@
        </td>
 </tr>
 <tr>
-       <td align="center" class="header_column bottom right">
+       <td align="center" class="header_column bottom right" width="30">
                <strong>{--ID_SELECT--}</strong>
        </td>
        <td align="center" class="header_column bottom right">
index 674a0be70e9b4072337f91142f9173c996bddb50..a8f9cfdae2856089f026938662adc25ed7532b82 100644 (file)
@@ -1,25 +1,28 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=config_cats%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td align="center" colspan="4" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_CATEGORIES_TITLE--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
-               <td class="header_column bottom right" align="center"><strong>{--CATEGORY_NAME--}</strong></td>
-               <td class="header_column bottom right" align="center"><strong>{--ADMIN_IS_VISIBLE--}</strong></td>
-               <td class="header_column bottom" align="center"><strong>{--SORTING_KEY--}</strong></td>
-       </tr>
-       $content
-       <tr>
-               <td class="table_footer" colspan="4">
-                       <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
-                       <input type="submit" class="form_submit" name="edit" value="{--ADMIN_EDIT_CATEGORIES--}" />
-                       <input type="submit" class="form_delete" name="delete" value="{--ADMIN_DELETE_CATEGORIES--}" />
-               </td>
-       </tr>
+<tr>
+       <td align="center" colspan="4" class="table_header bottom">
+               <strong>{--ADMIN_CONFIG_CATEGORIES_TITLE--}</strong>
+       </td>
+</tr>
+
+<tr>
+       <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
+       <td class="header_column bottom right" align="center"><strong>{--CATEGORY_NAME--}</strong></td>
+       <td class="header_column bottom right" align="center"><strong>{--ADMIN_IS_VISIBLE--}</strong></td>
+       <td class="header_column bottom" align="center"><strong>{--SORTING_KEY--}</strong></td>
+</tr>
+
+$content
+
+<tr>
+       <td class="table_footer" colspan="4">
+               <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
+               <input type="submit" class="form_submit" name="edit" value="{--ADMIN_EDIT_CATEGORIES--}" />
+               <input type="submit" class="form_delete" name="delete" value="{--ADMIN_DELETE_CATEGORIES--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index 49ebc49f34162b2a6692144afac78f679607b41e..06bfca980377bc1e799878cd9e65d977af1bd16a 100644 (file)
@@ -1,26 +1,29 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_country%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed" align="center">
-       <tr>
-               <td colspan="4" align="center" class="table_header">
-                       <strong>{--ADMIN_LIST_COUNTRIES_TITLE--}:</strong>
-               </td>
-       </tr>
-       <tr>
-               <td width="20" align="center" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
-               <td width="80" align="center" class="header_column bottom right"><strong>{--ADMIN_COUNTRY_CODE--}:</strong></td>
-               <td width="400" align="center" class="header_column bottom right"><strong>{--ADMIN_COUNTRY_NAME--}:</strong></td>
-               <td width="120" align="center" class="header_column bottom"><strong>{--ADMIN_COUNTRY_STATUS--}</strong></td>
-       </tr>
-       $content[rows]
-       <tr>
-               <td colspan="4" class="table_footer">
-                       <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
-                       <input type="submit" class="form_submit" name="change" value="{--ADMIN_DE_ACTIVATE--}" />
-                       <input type="submit" class="form_submit" name="edit" value="{--ADMIN_EDIT--}" />
-                       <input type="submit" class="form_delete" name="delete" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
-               </td>
-       </tr>
+<tr>
+       <td colspan="4" align="center" class="table_header">
+               <strong>{--ADMIN_LIST_COUNTRIES_TITLE--}:</strong>
+       </td>
+</tr>
+
+<tr>
+       <td width="30" align="center" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
+       <td width="80" align="center" class="header_column bottom right"><strong>{--ADMIN_COUNTRY_CODE--}:</strong></td>
+       <td width="390" align="center" class="header_column bottom right"><strong>{--ADMIN_COUNTRY_NAME--}:</strong></td>
+       <td width="120" align="center" class="header_column bottom"><strong>{--ADMIN_COUNTRY_STATUS--}</strong></td>
+</tr>
+
+$content[rows]
+
+<tr>
+       <td colspan="4" class="table_footer">
+               <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
+               <input type="submit" class="form_submit" name="change" value="{--ADMIN_DE_ACTIVATE--}" />
+               <input type="submit" class="form_submit" name="edit" value="{--ADMIN_EDIT--}" />
+               <input type="submit" class="form_delete" name="delete" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index ec460aa1a061b9c3d1f0128bf1a0fab32266234c..24a5213c655ba0668d80b75decd48c3a7cbdf644 100644 (file)
@@ -1,22 +1,25 @@
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_country%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed" align="center">
-       <tr>
-               <td colspan="4" align="center" class="table_header">
-                       <strong>$content[title]:</strong>
-               </td>
-       </tr>
-       <tr>
-               <td width="20" align="center" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
-               <td width="80" align="center" class="header_column bottom right"><strong>{--ADMIN_COUNTRY_CODE--}:</strong></td>
-               <td width="300" align="center" class="header_column bottom right"><strong>{--ADMIN_COUNTRY_NAME--}:</strong></td>
-               <td width="120" align="center" class="header_column bottom"><strong>{--ADMIN_COUNTRY_STATUS--}</strong></td>
-       </tr>
-       $content[rows]
-       <tr>
-               <td colspan="4" class="table_footer">
-                       $content[reset]
-                       <input type="submit" name="$content[do]" class="$content[class]" value="$content[submit]" />
-               </td>
-       </tr>
+<tr>
+       <td colspan="4" align="center" class="table_header">
+               <strong>$content[title]:</strong>
+       </td>
+</tr>
+
+<tr>
+       <td width="30" align="center" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
+       <td width="80" align="center" class="header_column bottom right"><strong>{--ADMIN_COUNTRY_CODE--}:</strong></td>
+       <td width="280" align="center" class="header_column bottom right"><strong>{--ADMIN_COUNTRY_NAME--}:</strong></td>
+       <td width="120" align="center" class="header_column bottom"><strong>{--ADMIN_COUNTRY_STATUS--}</strong></td>
+</tr>
+
+$content[rows]
+
+<tr>
+       <td colspan="4" class="table_footer">
+               $content[reset]
+               <input type="submit" name="$content[do]" class="$content[class]" value="$content[submit]" />
+       </td>
+</tr>
 </table>
 {%form_close%}
index d7c4a98f2159ebb7c366d8e733dfcab92e29073f..8130516aa0e3dc05e1c86fd6b3f9dad572ffe6e5 100644 (file)
@@ -1,27 +1,27 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=extensions%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td colspan="5" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_REGISTERED_EXTENSIONS--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td align="center" class="header_column bottom right" width="40"><strong>{--ID_SELECT--}</strong></td>
-               <td align="center" class="header_column bottom right" width="200"><strong>{--ADMIN_EXTENSION_NAME--}</strong></td>
-               <td align="center" class="header_column bottom right" width="90"><strong>{--ADMIN_EXTENSION_CSSFILE--}</strong></td>
-               <td align="center" class="header_column bottom right" width="90"><strong>{--ADMIN_EXTENSION_ACTIVE--}</strong></td>
-               <td align="center" class="header_column bottom" width="90"><strong>{--ADMIN_EXTENSION_VERSION--}</strong></td>
-       </tr>
-       $content
-       <tr>
-               <td colspan="5" class="table_footer">
-                       <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
-                       <input type="submit" class="form_submit" name="change" value="{--ADMIN_DE_ACTIVATE--}" />
-                       <input type="submit" class="form_submit" name="edit" value="{--ADMIN_EDIT--}" />
-                       <input type="submit" class="form_delete" name="delete" value="{--ADMIN_ACTION_UNINSTALL_SUBMIT--}" />
-               </td>
-       </tr>
+<tr>
+       <td colspan="5" align="center" class="table_header bottom">
+               <strong>{--ADMIN_REGISTERED_EXTENSIONS--}</strong>
+       </td>
+</tr>
+<tr>
+       <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
+       <td align="center" class="header_column bottom right" width="200"><strong>{--ADMIN_EXTENSION_NAME--}</strong></td>
+       <td align="center" class="header_column bottom right" width="95"><strong>{--ADMIN_EXTENSION_CSSFILE--}</strong></td>
+       <td align="center" class="header_column bottom right" width="95"><strong>{--ADMIN_EXTENSION_ACTIVE--}</strong></td>
+       <td align="center" class="header_column bottom" width="90"><strong>{--ADMIN_EXTENSION_VERSION--}</strong></td>
+</tr>
+$content
+<tr>
+       <td colspan="5" class="table_footer">
+               <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
+               <input type="submit" class="form_submit" name="change" value="{--ADMIN_DE_ACTIVATE--}" />
+               <input type="submit" class="form_submit" name="edit" value="{--ADMIN_EDIT--}" />
+               <input type="submit" class="form_delete" name="delete" value="{--ADMIN_ACTION_UNINSTALL_SUBMIT--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index 14fe499fbd3a614cf23855f9fd15665de656f1c5..cab22eacd3dc1184b42c632a8d617c93d414e9e2 100644 (file)
@@ -6,15 +6,18 @@
                <strong>{--ADMIN_LIST_FORCED_ADS_TITLE--}</strong>
        </td>
 </tr>
+
 <tr>
-       <td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+       <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
        <td class="header_column bottom right" align="center"><strong>{--_USERID--}</strong></td>
        <td class="header_column bottom right" align="center"><strong>{--ADMIN_TEST_URL--}</strong></td>
        <td class="header_column bottom right" align="center"><strong>{--ADMIN_FORCED_ADS_TYPE--}</strong></td>
        <td class="header_column bottom right" align="center"><strong>{--ADMIN_FORCED_ADS_HAS_FRAMEBREAKER--}</strong></td>
        <td class="header_column bottom" align="center"><strong>{--ADMIN_FORCED_ADS_ADDED--}</strong></td>
 </tr>
+
 $content
+
 <tr>
        <td class="table_footer" colspan="6">
                <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
index b329f3ec192c688713f5cdfc26c18fe985f70362..f7042fa0d73f8dad57661949155e6b3521d0739a 100644 (file)
@@ -6,8 +6,9 @@
                <strong>{--ADMIN_LIST_FORCED_CAMPAIGNS_TITLE--}</strong>
        </td>
 </tr>
+
 <tr>
-       <td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+       <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
        <td class="header_column bottom right" align="center"><strong>{--_USERID--}</strong></td>
        <td class="header_column bottom right" align="center"><strong>{--ADMIN_FORCED_CAMPAIGN_STATUS--}</strong></td>
        <td class="header_column bottom right" align="center"><strong>{--ADMIN_FORCED_CAMPAIGN_ORDERED_CLICKS--}</strong></td>
@@ -19,7 +20,9 @@
        <td class="header_column bottom right" align="center"><strong>{--ADMIN_FORCED_CAMPAIGN_EXPIRED--}</strong></td>
        <td class="header_column bottom" align="center"><strong>{--ADMIN_FORCED_CAMPAIGN_CREATED--}</strong></td>
 </tr>
+
 $content
+
 <tr>
        <td class="table_footer" colspan="11">
                <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
index ef0bca650e47866dad67135014eb3b55ca5a995b..19b448321a0622eaea38ab5e5d20be2d984f4b86 100644 (file)
@@ -6,13 +6,16 @@
                <strong>{--ADMIN_LIST_FORCED_COSTS_TITLE--}</strong>
        </td>
 </tr>
+
 <tr>
-       <td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+       <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
        <td class="header_column bottom right" align="center"><strong>{--ADMIN_FORCED_COSTS_PRICE_CLICK--}</strong></td>
        <td class="header_column bottom right" align="center"><strong>{--ADMIN_FORCED_COSTS_PAYMENT_CLICK--}</strong></td>
        <td class="header_column bottom" align="center"><strong>{--ADMIN_FORCED_COSTS_VISIBILITY--}</strong></td>
 </tr>
+
 $content
+
 <tr>
        <td class="table_footer" colspan="4">
                <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
index d43a527ff729d532737feb80611bba3f94a6f7db..c13d34ca2b48f465d35a209936d6181db34810d6 100644 (file)
@@ -1,22 +1,22 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=del_holiday%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td width="10" class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
-               <td width="50" class="header_column bottom right" align="center"><strong>{--_USERID--}:</strong></td>
-               <td width="80" class="header_column bottom right" align="center"><strong>{--ADMIN_HOLIDAY_TSTART--}:</strong></td>
-               <td width="80" class="header_column bottom right" align="center"><strong>{--ADMIN_HOLIDAY_TEND--}:</strong></td>
-               <td width="100" class="header_column bottom right" align="center"><strong>{--ADMIN_HOLIDAY_COMMENTS--}:</strong></td>
-               <td width="100" class="header_column bottom right" align="center"><strong>{--ACCOUNT_STATUS--}:</strong></td>
-               <td width="160" class="header_column bottom" align="center"><strong>{--LAST_ONLINE_SHORT--}:</strong></td>
-       </tr>
-       $content
-       <tr>
-               <td colspan="7" class="table_footer"><input
-                       type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
-               <input type="submit" name="ok" class="form_delete"
-                       value="{--ADMIN_HOLIDAY_STOP_CHECKED--}" /></td>
-       </tr>
+<tr>
+       <td width="10" class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+       <td width="50" class="header_column bottom right" align="center"><strong>{--_USERID--}:</strong></td>
+       <td width="80" class="header_column bottom right" align="center"><strong>{--ADMIN_HOLIDAY_TSTART--}:</strong></td>
+       <td width="80" class="header_column bottom right" align="center"><strong>{--ADMIN_HOLIDAY_TEND--}:</strong></td>
+       <td width="100" class="header_column bottom right" align="center"><strong>{--ADMIN_HOLIDAY_COMMENTS--}:</strong></td>
+       <td width="100" class="header_column bottom right" align="center"><strong>{--ACCOUNT_STATUS--}:</strong></td>
+       <td width="160" class="header_column bottom" align="center"><strong>{--LAST_ONLINE_SHORT--}:</strong></td>
+</tr>
+$content
+<tr>
+       <td colspan="7" class="table_footer">
+               <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
+               <input type="submit" name="ok" class="form_delete" value="{--ADMIN_HOLIDAY_STOP_CHECKED--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index 37b8c24d931c9ad8483b41251ada1addd71f9b88..1a33a6064833996fd0d6129f4965ad69aa28b928 100644 (file)
@@ -1,20 +1,23 @@
 <div align="center">
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td colspan="3" align="center" class="table_header">
-                       <strong>{--ADMIN_CONFIG_HOME_TITLE--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td align="center" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
-               <td align="center" class="header_column bottom right"><strong>{--ADMIN_MENU_WHAT--}</strong></td>
-               <td align="center" class="header_column bottom"><strong>{--ADMIN_HOME_ACTION--}</strong></td>
-       </tr>
-       $content
-       <tr>
-               <td colspan="3" class="table_footer">
-                       <div class="notice">{--ADMIN_CONFIG_HOME_NOTICE--}</div>
-               </td>
-       </tr>
+<tr>
+       <td colspan="3" align="center" class="table_header">
+               <strong>{--ADMIN_CONFIG_HOME_TITLE--}</strong>
+       </td>
+</tr>
+
+<tr>
+       <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
+       <td align="center" class="header_column bottom right"><strong>{--ADMIN_MENU_WHAT--}</strong></td>
+       <td align="center" class="header_column bottom"><strong>{--ADMIN_HOME_ACTION--}</strong></td>
+</tr>
+
+$content
+
+<tr>
+       <td colspan="3" class="table_footer">
+               <div class="notice">{--ADMIN_CONFIG_HOME_NOTICE--}</div>
+       </td>
+</tr>
 </table>
 </div>
index f615632472d238ba160df6883de30c694f6785cb..50e0815d306136e8985bb4f4ccd8a242b911e192 100644 (file)
@@ -7,7 +7,7 @@
        </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" height="25" width="30"><strong>{--ID_SELECT--}</strong></td>
        <td align="center" class="header_column bottom right"><strong>{--ADMIN_MODS_NAME--}</strong></td>
        <td align="center" class="header_column bottom right"><strong>{--ADMIN_MODS_TITLE--}</strong></td>
        <td align="center" class="header_column bottom right"><strong>{--ADMIN_MODS_IS_LOCKED--}</strong></td>
index 26cd4246a8998a7052ff9a2a263dc4c77cde7e53..270dcb89084f6c2e60430a76a741e6984fc9239d 100644 (file)
@@ -1,30 +1,33 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_network_array_translation&amp;do=handle_array_translations&amp;network_id=$content[network_id]%}
 <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_TYPE_HANDLER--}</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[rows]
-       <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>
+<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" width="30"><strong>{--ID_SELECT--}</strong></td>
+       <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_TYPE_HANDLER--}</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[rows]
+
+<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_close%}
 
index e7ae683a07d9256f578fbaa7986f82b8948de276..41a3847c61bd05a45f0e98ce8982d6d0cfdd6772 100644 (file)
@@ -14,7 +14,7 @@
        <td colspan="3" class="header_column bottom separator">&nbsp;</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" height="25" width="30"><strong>{--ID_SELECT--}</strong></td>
        <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_SHORT_NAME--}</strong></td>
        <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_REFERRAL_LINK--}</strong></td>
        <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_DATA_SEPARATOR2--}</strong></td>
index 50fcc5a10e5f98523010121198705624998c2bcf..624982fa9fda125e54959a8f70b30df3328bb534 100644 (file)
@@ -12,7 +12,7 @@
                </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" height="25" width="30"><strong>{--ID_SELECT--}</strong></td>
                <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_TYPE_HANDLER--}</strong></td>
                <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_REQUEST_PARAMETER_KEY_SHORT--}</strong></td>
                <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_REQUEST_PARAMETER_VALUE--}</strong></td>
index 68687cc0f8d1eaf691b3d6a8f467448174617ea3..8670f3fae7537d168e90bbee73244e61160838e5 100644 (file)
@@ -1,33 +1,36 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_network_types&amp;do=handle_network_types&amp;network_id=$content[network_id]%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td colspan="7" align="center" class="table_header bottom">
-                       <div>
-                               <strong>{--ADMIN_LIST_NETWORK_TYPE_HANDLER_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_TYPE_HANDLER--}</strong></td>
-               <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_TYPE_HANDLER_API_URL--}</strong></td>
-               <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_TYPE_HANDLER_CLICK_URL--}</strong></td>
-               <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_TYPE_HANDLER_BANNER_URL--}</strong></td>
-               <td align="center" class="header_column bottom right"><strong>{--TIME_UNIT--}</strong></td>
-               <td align="center" class="header_column bottom"><strong>{--ADMIN_NETWORK_TYPE_HANDLER_TEXT_ENCODING--}</strong></td>
-       </tr>
-       $content[rows]
-       <tr>
-               <td colspan="7" 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>
+<tr>
+       <td colspan="7" align="center" class="table_header bottom">
+               <div>
+                       <strong>{--ADMIN_LIST_NETWORK_TYPE_HANDLER_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" width="30"><strong>{--ID_SELECT--}</strong></td>
+       <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_TYPE_HANDLER--}</strong></td>
+       <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_TYPE_HANDLER_API_URL--}</strong></td>
+       <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_TYPE_HANDLER_CLICK_URL--}</strong></td>
+       <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_TYPE_HANDLER_BANNER_URL--}</strong></td>
+       <td align="center" class="header_column bottom right"><strong>{--TIME_UNIT--}</strong></td>
+       <td align="center" class="header_column bottom"><strong>{--ADMIN_NETWORK_TYPE_HANDLER_TEXT_ENCODING--}</strong></td>
+</tr>
+
+$content[rows]
+
+<tr>
+       <td colspan="7" 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_close%}
 
index d81d211bfbcfc3e1d7b0c81ef97d8768c258ad4c..9fe0a9cde4094860d46b58c15b18e656d768b0ee 100644 (file)
@@ -1,30 +1,32 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_network_vcheck_params&amp;do=handle_vcheck_params&amp;network_id=$content[network_id]%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td colspan="4" align="center" class="table_header bottom">
-                       <div>
-                               <strong>{--ADMIN_LIST_NETWORK_VCHECK_PARAMETER_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_VCHECK_PARAMETER_KEY--}</strong></td>
-               <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_VCHECK_PARAMETER_VALUE--}</strong></td>
-               <td align="center" class="header_column bottom"><strong>{--ADMIN_NETWORK_VCHECK_PARAMETER_DEFAULT--}</strong></td>
-       </tr>
-       $content[rows]
-       <tr>
-               <td colspan="4" 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>
+<tr>
+       <td colspan="4" align="center" class="table_header bottom">
+               <div>
+                       <strong>{--ADMIN_LIST_NETWORK_VCHECK_PARAMETER_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" width="30"><strong>{--ID_SELECT--}</strong></td>
+       <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_VCHECK_PARAMETER_KEY--}</strong></td>
+       <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_VCHECK_PARAMETER_VALUE--}</strong></td>
+       <td align="center" class="header_column bottom"><strong>{--ADMIN_NETWORK_VCHECK_PARAMETER_DEFAULT--}</strong></td>
+</tr>
+
+$content[rows]
+<tr>
+       <td colspan="4" 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_close%}
 
index 0240f22e6df4eb7f5c85e2e7515e5fd01ade47fe..460f4e91b4f230b042abe8e1d9c66615460afb42 100644 (file)
@@ -6,14 +6,17 @@
                <strong>{--ADMIN_LIST_NICKNAME_HISTORY_TITLE--}</strong>
        </td>
 </tr>
+
 <tr>
-       <td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+       <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
        <td class="header_column bottom right" align="center"><strong>{--_USERID--}</strong></td>
        <td class="header_column bottom right" align="center"><strong>{--ADMIN_HISTORY_VALUE--}</strong></td>
        <td class="header_column bottom right" align="center"><strong>{--ENTRY_ADDED--}</strong></td>
        <td class="header_column bottom" align="center"><strong>{--ADMIN_HISTORY_ENTRY_LAST_USED--}</strong></td>
 </tr>
+
 $content[rows]
+
 <tr>
        <td class="table_footer" colspan="5">
                <input type="hidden" name="history_id[0]" value="1" />
index b4c08edf049b93aba375892e578f036243a20087..876cfc713219f51e04c8764738bfcc965512a60c 100644 (file)
@@ -5,6 +5,7 @@
                <strong>{--ADMIN_ONLINE_DETAILS--}</strong>
        </td>
 </tr>
+
 <tr>
        <td align="center" width="5%" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
        <td align="center" width="10%" class="header_column bottom right"><strong>{--_USERID--}:</strong></td>
@@ -15,7 +16,9 @@
        <td align="center" width="5%" class="header_column bottom right"><strong>{--ADMIN_MENU_WHAT--}:</strong></td>
        <td align="center" width="10%" class="header_column bottom"><strong>{--LAST_SEEN--}:</strong></td>
 </tr>
+
 $content[rows]
+
 <tr>
        <td colspan="8" class="table_footer">
                {--ONLINE_TIMEOUT_IS--}
index 23afb8f96526e3a799793d8b70ac12a7c5e5c98f..b39fa7b534502b336e5adcea263222e5d8c2eb22 100644 (file)
@@ -7,7 +7,7 @@
                </td>
        </tr>
        <tr>
-               <td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+               <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
                <td class="header_column bottom right" align="center"><strong>{--ADMIN_PAYMENT_TIME--}:</strong></td>
                <td class="header_column bottom right" align="center"><strong>{--ADMIN_PAYMENT_PAYMENT--}:</strong></td>
                <td class="header_column bottom right" align="center"><strong>{--ADMIN_PAYMENT_PRICE--}:</strong></td>
index 3095ea22b25fccf9153ee033623ef81785c2fd16..794da222eeacf6a2d404e698e71f99554cb09f23 100644 (file)
@@ -7,7 +7,7 @@
        </td>
 </tr>
 <tr>
-       <td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+       <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
        <td class="header_column bottom right" align="center"><strong>{--ADMIN_POINTS_ACCOUNT_SUBJECT--}</strong></td>
        <td class="header_column bottom right" align="center"><strong>{--ADMIN_POINTS_ACCOUNT_COLUMN_NAME--}</strong></td>
        <td class="header_column bottom right" align="center"><strong>{--ADMIN_POINTS_ACCOUNT_LOCKED_MODE--}</strong></td>
index 8701caf40d2baca66ca8f8f674b70d43718eb29d..2a76082e848beaf1f821195caa4e21ffc0db00c6 100644 (file)
@@ -7,7 +7,7 @@
                </td>
        </tr>
        <tr>
-               <td align="center" width="10" class="header_column bottom right">
+               <td align="center" width="30" class="header_column bottom right">
                        <strong>{--ID_SELECT--}</strong>
                </td>
                <td align="center" width="50" class="header_column bottom right">
@@ -16,7 +16,7 @@
                <td align="center" width="200" class="header_column bottom right">
                        <strong>{--ADMIN_RALLYE_PRICE_POINTS--}:</strong>
                </td>
-               <td align="center" width="320" class="header_column bottom">
+               <td align="center" width="300" class="header_column bottom">
                        <strong>{--ADMIN_RALLYE_PRICE_INFO--}:</strong>
                </td>
        </tr>
index 7873f7668ca11708881a5e1929b51d87d35fb052..4046b7bce1c0e2de06f930428a77972ab9b0d8b9 100644 (file)
@@ -1,23 +1,26 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_rallyes%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td colspan="6" align="center" class="table_header">
-                       <strong>{--ADMIN_LIST_RALLYES_TITLE--}:</strong>
-               </td>
-       </tr>
-       <tr>
-               <td align="center" width="10" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
-               <td align="center" class="header_column bottom" colspan="5"><strong>{--ADMIN_LIST_RALLYE_DATA_OVERVIEW_TITLE--}:</strong></td>
-       </tr>
-       $content[rows]
-       <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>
+<tr>
+       <td colspan="6" align="center" class="table_header">
+               <strong>{--ADMIN_LIST_RALLYES_TITLE--}:</strong>
+       </td>
+</tr>
+
+<tr>
+       <td align="center" width="10" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
+       <td align="center" class="header_column bottom" colspan="5"><strong>{--ADMIN_LIST_RALLYE_DATA_OVERVIEW_TITLE--}:</strong></td>
+</tr>
+
+$content[rows]
+
+<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_close%}
 </div>
index 781d46d53fcab8d31595ee87a5e866db9fce7daf..3419f47467c651af69dbe32c9574e2ef66882be9 100644 (file)
@@ -7,7 +7,7 @@
                </td>
        </tr>
        <tr>
-               <td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+               <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
                <td class="header_column bottom right" align="center"><strong>{--REFERRAL_URL--}:</strong></td>
                <td class="header_column bottom right" align="center"><strong>{--REFERRAL_TITLE--}:</strong></td>
                <td class="header_column bottom right" align="center"><strong>{--REFERRAL_VIEWS--}:</strong></td>
diff --git a/templates/de/html/admin/admin_list_refdepths.tpl b/templates/de/html/admin/admin_list_refdepths.tpl
new file mode 100644 (file)
index 0000000..cb3e835
--- /dev/null
@@ -0,0 +1,28 @@
+<div align="center">
+{%form,formMethodPost=modules.php?module=admin&amp;what=list_referral_levels%}
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
+<tr>
+       <td align="center" colspan="3" class="table_header">
+               <strong>{--ADMIN_LIST_REFERRAL_LEVELS_TITLE--}</strong>
+       </td>
+</tr>
+<tr>
+       <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
+       <td class="header_column bottom right" align="center"><strong>{--REFERRAL_LEVEL--}</strong></td>
+       <td class="header_column bottom" align="center"><strong>{--REFERRAL_PERCENTS--}</strong></td>
+</tr>
+$content
+<tr>
+       <td class="table_footer" colspan="3">
+               <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
+               <input type="submit" class="form_submit" name="edit" value="{--ADMIN_EDIT_LEVEL_SUBMIT--}" />
+               <input type="submit" class="form_delete" name="delete" value="{--ADMIN_DELETE_LEVEL_SUBMIT--}" />
+       </td>
+</tr>
+</table>
+{%form_close%}
+</div>
+
+<div class="notice">
+       {--ADMIN_REFERRAL_LEVEL_ZERO_NOTICE--}
+</div>
diff --git a/templates/de/html/admin/admin_list_refdepths_row.tpl b/templates/de/html/admin/admin_list_refdepths_row.tpl
new file mode 100644 (file)
index 0000000..8f30e9a
--- /dev/null
@@ -0,0 +1,11 @@
+<tr>
+       <td align="center" class="bottom right {%template,ColorSwitch%}">
+               <input type="checkbox" class="form_field" title="{--ID_SELECT--} $content[id]" name="id[$content[id]]" value="1" />
+       </td>
+       <td align="center" class="bottom right {%template,ColorSwitch%}">
+               $content[level]
+       </td>
+       <td align="center" class="bottom {%template,ColorSwitch%}">
+               {%pipe,translateComma=$content[percents]%}&#37;
+       </td>
+</tr>
index 7f9f5da6aa08cdf947e1b85c255702248c5faebf..11f5d85d80b1ca4d16cf4c19e14af24e5ec2a60f 100644 (file)
@@ -1,28 +1 @@
-<div align="center">
-{%form,formMethodPost=modules.php?module=admin&amp;what=config_points&amp;sub=ref%}
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td align="center" colspan="3" class="table_header">
-                       <strong>{--ADMIN_EDIT_DELETE_REFERRAL_DEPTH_TITLE--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td class="header_column bottom right" width="30" align="center"><strong>{--ID_SELECT--}</strong></td>
-               <td class="header_column bottom right" align="center"><strong>{--REFERRAL_LEVEL--}:</strong></td>
-               <td class="header_column bottom" align="center"><strong>{--REFERRAL_PERCENT--}:</strong></td>
-       </tr>
-       $content
-       <tr>
-               <td class="table_footer" colspan="3">
-                       <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
-                       <input type="submit" class="form_submit" name="edit" value="{--ADMIN_EDIT_LEVEL--}" />
-                       <input type="submit" class="form_delete" name="delete" value="{--ADMIN_DELETE_LEVEL--}" />
-               </td>
-       </tr>
-</table>
-{%form_close%}
-</div>
-
-<div class="notice">
-       {--ADMIN_REFERRAL_LEVEL_ZERO_NOTICE--}
-</div>
+<!-- @DEPRECATED //-->
index 1f24f6103b8802fb403dfffeb1f2ccbcfb5e60ce..11f5d85d80b1ca4d16cf4c19e14af24e5ec2a60f 100644 (file)
@@ -1,11 +1 @@
-<tr>
-       <td align="center" class="bottom right {%template,ColorSwitch%}">
-               <input type="checkbox" class="form_field" title="{--ID_SELECT--} $content[id]" name="sel[$content[id]]" value="1" />
-       </td>
-       <td align="center" class="bottom right {%template,ColorSwitch%}">
-               $content[level]
-       </td>
-       <td align="center" class="bottom {%template,ColorSwitch%}">
-               {%pipe,translateComma=$content[percents]%}&#37;
-       </td>
-</tr>
+<!-- @DEPRECATED //-->
index 03cb6e1a2585d1c6d81f2e0a7ae803cad478c573..445dfa35463b9b4a858036deffebe330f086c25e 100644 (file)
@@ -7,7 +7,7 @@
        </td>
 </tr>
 <tr>
-       <td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+       <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
        <td class="header_column bottom right" align="center"><strong>{--ADMIN_SERVER_NAME--}</strong></td>
        <td class="header_column bottom right" align="center"><strong>{--REMOTE_IP--}</strong></td>
        <td class="header_column bottom right" align="center"><strong>{--USER_AGENT--}</strong></td>
index 6d06c00b2d8216e8e4d5baaad0ce7f2add12bace..d196fd18e8412b722665e1a715323ace3e6fb9db 100644 (file)
@@ -7,9 +7,9 @@
        </td>
 </tr>
 <tr>
-       <td align="center" class="header_column bottom right" width="20"><strong>{--ID_SELECT--}</strong></td>
-       <td align="center" class="header_column bottom right" width="160"><strong>{--SPONSOR_PAYTYPE_NAME--}:</strong></td>
-       <td align="center" class="header_column bottom right" width="150"><strong>{--SPONSOR_PAYTYPE_RATE--}:</strong></td>
+       <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
+       <td align="center" class="header_column bottom right" width="155"><strong>{--SPONSOR_PAYTYPE_NAME--}:</strong></td>
+       <td align="center" class="header_column bottom right" width="155"><strong>{--SPONSOR_PAYTYPE_RATE--}:</strong></td>
        <td align="center" class="header_column bottom right" width="150"><strong>{--SPONSOR_PAYTYPE_MIN_COUNT2--}:</strong></td>
        <td align="center" class="header_column bottom" width="160"><strong>{--SPONSOR_PAYTYPE_CURRENCY--}:</strong></td>
 </tr>
index 5bac03e90f7377f242ad3130d9b520f3ada0628a..6349408e6cc61bd1f3fbbf0dd9b79a0af1aef5b2 100644 (file)
@@ -6,14 +6,17 @@
                <strong>{--SPONSOR_DELETE_PAY_ENTRIES--}</strong>
        </td>
 </tr>
+
 <tr>
-       <td align="center" class="header_column bottom right" width="20"><strong>{--ID_SELECT--}</strong></td>
+       <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
        <td align="center" class="header_column bottom right" width="160"><strong>{--SPONSOR_PAYTYPE_NAME--}:</strong></td>
-       <td align="center" class="header_column bottom right" width="150"><strong>{--SPONSOR_PAYTYPE_RATE--}:</strong></td>
-       <td align="center" class="header_column bottom right" width="150"><strong>{--SPONSOR_PAYTYPE_MIN_COUNT2--}:</strong></td>
+       <td align="center" class="header_column bottom right" width="145"><strong>{--SPONSOR_PAYTYPE_RATE--}:</strong></td>
+       <td align="center" class="header_column bottom right" width="145"><strong>{--SPONSOR_PAYTYPE_MIN_COUNT2--}:</strong></td>
        <td align="center" class="header_column bottom" width="160"><strong>{--SPONSOR_PAYTYPE_CURRENCY--}:</strong></td>
 </tr>
+
 $content
+
 <tr>
        <td align="center" colspan="5" class="table_footer">
                <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
index 853d1e6a4abf4f984dd05257988020bd450e7008..4123cf41818294b1d3af0354dced19644fff356e 100644 (file)
@@ -6,14 +6,17 @@
                <strong>{--SPONSOR_EDIT_PAY_ENTRIES--}</strong>
        </td>
 </tr>
+
 <tr>
-       <td align="center" class="header_column bottom right" width="20"><strong>{--ID_SELECT--}</strong></td>
+       <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
        <td align="center" class="header_column bottom right" width="160"><strong>{--SPONSOR_PAYTYPE_NAME--}:</strong></td>
-       <td align="center" class="header_column bottom right" width="150"><strong>{--SPONSOR_PAYTYPE_RATE--}:</strong></td>
-       <td align="center" class="header_column bottom right" width="150"><strong>{--SPONSOR_PAYTYPE_MIN_COUNT2--}:</strong></td>
+       <td align="center" class="header_column bottom right" width="145"><strong>{--SPONSOR_PAYTYPE_RATE--}:</strong></td>
+       <td align="center" class="header_column bottom right" width="145"><strong>{--SPONSOR_PAYTYPE_MIN_COUNT2--}:</strong></td>
        <td align="center" class="header_column bottom" width="160"><strong>{--SPONSOR_PAYTYPE_CURRENCY--}:</strong></td>
 </tr>
+
 $content
+
 <tr>
        <td align="center" colspan="5" class="table_footer">
                <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
index 98985d31ee9f84ed1338cbaa447954ab1ce4728f..43b0daf96cdef3a60cb154a64b92bc19d9f2d9b2 100644 (file)
@@ -7,7 +7,7 @@
        </td>
 </tr>
 <tr>
-       <td align="center" class="header_column bottom right {%template,ColorSwitch%}">
+       <td align="center" class="header_column bottom right {%template,ColorSwitch%}" width="30">
                <strong>{--ID_SELECT--}</strong>
        </td>
        <td align="center" class="header_column bottom right {%template,ColorSwitch%}">
index e30e9d99bfb3f93eec6ab0f173207fb6c1fa61f0..c2eef7295f0fda1c9a51cba8d7da97a473b0b32f 100644 (file)
@@ -1,11 +1,12 @@
 <tr>
-       <td class="right {%template,ColorSwitch%}" align="center"><strong>{--ID_SELECT--}</strong></td>
+       <td class="right {%template,ColorSwitch%}" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
        <td class="right {%template,ColorSwitch%}" align="center"><strong>{--_USERID--}</strong></td>
        <td class="right {%template,ColorSwitch%}" align="center"><strong>{--ADMIN_BOOKING_PACKAGE_ID--}</strong></td>
        <td class="right {%template,ColorSwitch%}" align="center"><strong>{--ADMIN_TEST_URL--}</strong></td>
        <td class="right {%template,ColorSwitch%}" align="center"><strong>{--ADMIN_SURFBAR_VIEWS_TOTAL--}</strong></td>
        <td class="right {%template,ColorSwitch%}" align="center"><strong>{--ADMIN_SURFBAR_STATUS--}</strong></td>
 </tr>
+
 <tr>
        <td align="center" class="bottom right {%template,ColorSwitch%}">
                <input type="checkbox" class="form_field" title="{--ID_SELECT--} $content[url_id]" name="url_id[$content[url_id]]" value="1" />
@@ -26,6 +27,7 @@
                {%pipe,translateSurfbarUrlStatus=$content[url_status]%}
        </td>
 </tr>
+
 <tr>
        <td class="right {%template,ColorSwitch%}" align="center"><strong>{--ADMIN_SURFBAR_REGISTERED--}</strong></td>
        <td class="right {%template,ColorSwitch%}" align="center"><strong>{--ADMIN_SURFBAR_FIXED_RELOAD--}</strong></td>
@@ -34,6 +36,7 @@
        <td class="right {%template,ColorSwitch%}" align="center"><strong>{--ADMIN_SURFBAR_LOCK_REASON--}</strong></td>
        <td class="{%template,ColorSwitch%}" align="center"><strong>{--_UNUSED--}</strong></td>
 </tr>
+
 <tr>
        <td align="center" class="bottom right {%template,ColorSwitch%}">
                $content[url_registered]
index 15ec420d5df4adf71f49578e6794cfe9f53c397b..d07a075aa31fd86a59ee80b77033825a7a0688c4 100644 (file)
@@ -7,7 +7,7 @@
        </td>
 </tr>
 <tr>
-       <td align="center" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
+       <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
        <td align="center" class="header_column bottom right"><strong>{--ADMIN_ASSIGNED_ADMIN--}</strong></td>
        <td align="center" class="header_column bottom right"><strong>{--ADMIN_REGISTER_EXTENSION--}</strong></td>
        <td align="center" class="header_column bottom right"><strong>{--ADMIN_TASK_INFOS--}</strong></td>
index eca5de334e17151900cdc07856419ff5f554ec7f..bc31e699f8875af41e891d2d251774aef16c340f 100644 (file)
@@ -7,7 +7,7 @@
        </td>
 </tr>
 <tr>
-       <td align="center" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
+       <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
        <td align="center" class="header_column bottom right"><strong>{--ADMIN_ASSIGNED_ADMIN--}</strong></td>
        <td align="center" class="header_column bottom right"><strong>{--ADMIN_REGISTER_EXTENSION--}</strong></td>
        <td align="center" class="header_column bottom right"><strong>{--ADMIN_TASK_INFOS--}</strong></td>
index 557ad3709ac52bc74a21192cbf5e7512e4ab3993..e10a272ab1d5dd8fe31db151621b2592e495bfb7 100644 (file)
@@ -6,13 +6,16 @@
                <strong>{--ADMIN_LIST_USER_SUBID_TITLE--}</strong>
        </td>
 </tr>
+
 <tr>
-       <td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+       <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
        <td class="header_column bottom right" align="center"><strong>{--_USERID--}</strong></td>
        <td class="header_column bottom right" align="center"><strong>{--SUBID_VALUE--}</strong></td>
        <td class="header_column bottom" align="center"><strong>{--SUBID_ADDED--}</strong></td>
 </tr>
+
 $content[rows]
+
 <tr>
        <td class="table_footer" colspan="4">
                <input type="hidden" name="userid" value="{%get,bigintval=userid%}" />
index 3ef4db18ba505caa940acfa8027dbdd45e96eb67..975f86e853b7261c780384929c0de9563526bb33 100644 (file)
@@ -7,7 +7,7 @@
                </td>
        </tr>
        <tr>
-               <td align="center" class="header_column bottom right" width="20"><strong>{--ID_SELECT--}</strong></td>
+               <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
                <td align="center" class="header_column bottom right"><strong>{--SUBID_VALUE--}</strong></td>
                <td align="center" class="header_column bottom right"><strong>{--REFERRER_URL--}</strong></td>
                <td align="center" class="header_column bottom right"><strong>{--REMOTE_IP--}</strong></td>
index d71db9157988187dc6bd0ce9c2e081dabcc2657e..8d9e8a88d4df41f8b397c6a817352fdbdd11aa2a 100644 (file)
@@ -6,7 +6,7 @@
        </td>
 </tr>
 <tr>
-       <td class="header_column bottom right" align="center" width="60"><strong>{--ID_SELECT--}</strong></td>
+       <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
        <td class="header_column bottom right" align="center" width="90"><strong>{--_USERID--}</strong></td>
        <td class="header_column bottom right" align="center"><strong>{--ADMIN_WERNIS_WDS66_ACCOUNT--}</strong></td>
        <td class="header_column bottom right" align="center"><strong>{--ADMIN_WERNIS_TRANSFERED--}</strong></td>
index 2f3eb97980ec22eeb2ee816b7f9f335f19da55dc..482241479480cbc960111587559596a174e6fbc9 100644 (file)
@@ -6,8 +6,9 @@
                <strong>{--ADMIN_TASK_SYSTEM_WELCOME--}</strong>
        </td>
 </tr>
+
 <tr>
-       <td align="center" class="bottom right left header_column"><strong>{--ID_SELECT--}</strong></td>
+       <td align="center" class="bottom right left header_column" width="30"><strong>{--ID_SELECT--}</strong></td>
        <td align="center" class="bottom right header_column"><strong>{--ADMIN_ASSIGNED_ADMIN--}</strong></td>
        <td align="center" class="bottom right header_column"><strong>{--ADMIN_REGISTER_EXTENSION--}</strong></td>
        <td align="center" class="bottom right header_column"><strong>{--ADMIN_TASK_INFOS--}</strong></td>
@@ -15,7 +16,9 @@
        <td align="center" class="bottom right header_column"><strong>{--ADMIN_TASK_TYPE--}</strong></td>
        <td align="center" class="bottom right header_column"><strong>{--ADMIN_TASK_CREATED--}</strong></td>
 </tr>
+
 $content
+
 <tr>
        <td colspan="7" align="center" class="table_footer">
                <input type="reset" value="{--ADMIN_UNSELECT_ALL--}" class="form_reset" />
index f23ff2cab26456b11d26c30f56a16fe78986ebec..28d8a03a0c603c167ba80f0b61823334337c184a 100644 (file)
@@ -1,35 +1,39 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=unlock_emails%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="99%">
-       <tr>
-               <td colspan="8" align="center" class="table_header bottom" height="35">
-                       {--ADMIN_UNLOCK_EMAILS--}
-               </td>
-       </tr>
-       <tr>
-               <td class="header_column right" align="center" width="10"><strong>{--ID_SELECT--}</strong></td>
-               <td class="header_column right" align="center"><strong>{--EMAIL_SENDER--}</strong></td>
-               <td class="header_column right" align="center"><strong>{--EMAIL_SUBJECT--}</strong></td>
-               <td class="header_column right" align="center"><strong>{--EMAIL_URL--}</strong></td>
-               <td class="header_column right" align="center"><strong>{--EMAIL_CATEGORY--}</strong></td>
-               <td class="header_column right" align="center"><strong>{--EMAIL_PAYMENT--}</strong></td>
-               <td class="header_column right" align="center"><strong>{--EMAIL_TIMESTAMP--}</strong></td>
-               <td class="header_column" style="white-space: nowrap" align="center"><strong>{--EMAIL_TSEND--}</strong></td>
-       </tr>
-       $content[rows]
-       <tr>
-               <td class="table_footer bottom top" colspan="8" align="center" height="35">
-                       {--ADMIN_ENTER_REDIRECT_URL--}:
-                       <input type="text" class="form_field" name="redirect" size="30" maxlength="255" value="{?reject_url?}" />
-               </td>
-       </tr>
-       <tr>
-               <td class="table_footer" colspan="8" align="center" height="35">
-                       <input type="reset" class="form_reset" value="{--RESET_SELECT--}" />
-                       <input type="submit" class="form_submit" name="accept" value="{--ADMIN_EMAIL_ACCEPT--}" />
-                       <input type="submit" class="form_delete" name="reject" value="{--ADMIN_EMAIL_REJECT--}" />
-               </td>
-       </tr>
+<tr>
+       <td colspan="8" align="center" class="table_header bottom" height="35">
+               {--ADMIN_UNLOCK_EMAILS--}
+       </td>
+</tr>
+
+<tr>
+       <td class="header_column right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
+       <td class="header_column right" align="center"><strong>{--EMAIL_SENDER--}</strong></td>
+       <td class="header_column right" align="center"><strong>{--EMAIL_SUBJECT--}</strong></td>
+       <td class="header_column right" align="center"><strong>{--EMAIL_URL--}</strong></td>
+       <td class="header_column right" align="center"><strong>{--EMAIL_CATEGORY--}</strong></td>
+       <td class="header_column right" align="center"><strong>{--EMAIL_PAYMENT--}</strong></td>
+       <td class="header_column right" align="center"><strong>{--EMAIL_TIMESTAMP--}</strong></td>
+       <td class="header_column" style="white-space: nowrap" align="center"><strong>{--EMAIL_TSEND--}</strong></td>
+</tr>
+
+$content[rows]
+
+<tr>
+       <td class="table_footer bottom top" colspan="8" align="center" height="35">
+               {--ADMIN_ENTER_REDIRECT_URL--}:
+               <input type="text" class="form_field" name="redirect" size="30" maxlength="255" value="{?reject_url?}" />
+       </td>
+</tr>
+
+<tr>
+       <td class="table_footer" colspan="8" align="center" height="35">
+               <input type="reset" class="form_reset" value="{--RESET_SELECT--}" />
+               <input type="submit" class="form_submit" name="accept" value="{--ADMIN_EMAIL_ACCEPT--}" />
+               <input type="submit" class="form_delete" name="reject" value="{--ADMIN_EMAIL_REJECT--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index f38d83fea8887c88020ed93118c225f3dba9ca3e..8ba5571933381349fc1a30ded66ed4da2123d95c 100644 (file)
@@ -6,13 +6,16 @@
                <strong>{--ADMIN_SPONSOR_UNLOCK_TITLE--}</strong>
        </td>
 </tr>
+
 <tr>
-       <td align="center" class="header_column bottom right"><strong>{--ID_SELECT--}</strong></td>
+       <td align="center" class="header_column bottom right" width="30"><strong>{--ID_SELECT--}</strong></td>
        <td align="center" class="header_column bottom right"><strong>{--SURNAME_FAMILY--}:</strong></td>
        <td align="center" class="header_column bottom right"><strong>{--REMOTE_IP--}:</strong></td>
        <td align="center" class="header_column bottom"><strong>{--SPONSOR_CREATED--}:</strong></td>
 </tr>
+
 $content
+
 <tr>
        <td colspan="4" class="table_footer" align="center">
                <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
index 5514e3104ccf1739a51f01d7c4a37d173a9833cf..62d56a838963f75a870754dfc1230f54cd485fc2 100644 (file)
@@ -7,7 +7,7 @@
        </td>
 </tr>
 <tr>
-       <td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
+       <td class="header_column bottom right" align="center" width="30"><strong>{--ID_SELECT--}</strong></td>
        <td class="header_column bottom right" align="center"><strong>{--_USERID--}</strong></td>
        <td class="header_column bottom right" align="center"><strong>{--ADMIN_SURFBAR_URL--}</strong></td>
        <td class="header_column bottom right" align="center"><strong>{--ADMIN_TEST_URL--}</strong></td>
index 1fa784943745900b783c64810e4a603bf060997a..731dd2926316c0b16d7f67a5a7a0245c3fa91592 100644 (file)
@@ -1,7 +1,7 @@
 <div align="center">
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
        <tr>
-               <td align="center" class="header_column bottom"><strong>{--REFERRAL_LEVEL_PERCENTS--}</strong></td>
+               <td align="center" class="header_column bottom"><strong>{--MEMBER_REFERRAL_LEVEL_PERCENTS--}:</strong></td>
                <td align="center" class="header_column bottom"><strong>{?POINTS?}</strong></td>
                <td align="center" class="header_column bottom"><strong>{--POINTS_ORDER--}</strong></td>
                <td align="center" class="header_column bottom"><strong>{--REFERRALS--}</strong></td>
diff --git a/templates/xml/admin/admin_add_do_referral_levels.xml b/templates/xml/admin/admin_add_do_referral_levels.xml
new file mode 100644 (file)
index 0000000..f3f1cfe
--- /dev/null
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+This template provides meta data for adding referral level to the database.
+
+@author                Roland Haeder <webmaster@mxchange.org>
+@version       0.2.1-FINAL
+@copyright     (c) 2003 - 2009 by Roland Haeder
+@copyright     (c) 2009 - 2012 by Mailer Developer Team
+@license       GNU GPL 2.0 or any newer version
+@link          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
+//-->
+<admin-entry-meta-data>
+       <!--
+       Call-back function which should all following parameter handled over
+       to. This will always be type of string but we like homogene XMLs.
+       //-->
+       <callback-function type="string" value="adminAddEntries" />
+       <!--
+       Name of the database table where the entries should be read/write from/to.
+       //-->
+       <database-table name="" type="string" value="refdepths" />
+       <!--
+       And all column names to read/write, leave this list tag empty for all (*).
+       //-->
+       <database-column-list>
+               <database-column-list-entry name="" type="string" table="" value="level" alias="" function="" />
+               <database-column-list-entry name="" type="string" table="" value="percents" alias="" function="" />
+       </database-column-list>
+       <!--
+       "Filter" call-back functions to call back for piping the fetched data
+       through (can be left empty, no call-back function will be called)
+       //-->
+       <callback-function-list>
+               <callback-function-list-entry name="" type="string" value="bigintval" />
+               <callback-function-list-entry name="" type="string" value="convertCommaToDot" />
+       </callback-function-list>
+       <!--
+       Extra parameters (2nd, 3rd, ...) for above call-back functions. If an array
+       is provided, we have more than two parameters to handle over to the
+       call-back function. See function handleExtraValues() for details.
+       //-->
+       <extra-parameter-list>
+       </extra-parameter-list>
+       <!--
+       Columns for converting single time selections into a timestamp
+       //-->
+       <time-columns-list>
+       </time-columns-list>
+</admin-entry-meta-data>
diff --git a/templates/xml/admin/admin_edit_do_referral_levels.xml b/templates/xml/admin/admin_edit_do_referral_levels.xml
new file mode 100644 (file)
index 0000000..c14d5c3
--- /dev/null
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+This template provides meta data for doing edits on referral levels
+
+@author                Roland Haeder <webmaster@mxchange.org>
+@version       0.2.1-FINAL
+@copyright     (c) 2003 - 2009 by Roland Haeder
+@copyright     (c) 2009 - 2012 by Mailer Developer Team
+@license       GNU GPL 2.0 or any newer version
+@link          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
+//-->
+<admin-entry-meta-data>
+       <!--
+       Call-back function which should all following parameter handled over
+       to. This will always be type of string but we like homogene XMLs.
+       //-->
+       <callback-function type="string" value="adminEditEntriesConfirm" />
+       <!--
+       Name of the database table where the entries should be read/write from/to.
+       //-->
+       <database-table name="" type="string" value="refdepths" />
+       <!--
+       And all column names to read/write, leave this list tag empty for all (*).
+       //-->
+       <database-column-list>
+               <database-column-list-entry name="" type="string" table="" value="level" alias="" function="" />
+               <database-column-list-entry name="" type="string" table="" value="percents" alias="" function="" />
+       </database-column-list>
+       <!--
+       "Filter" call-back functions to call back for piping the fetched data
+       through (can be left empty, no call-back function will be called)
+       //-->
+       <callback-function-list>
+               <callback-function-list-entry name="" type="string" value="bigintval" />
+               <callback-function-list-entry name="" type="string" value="convertCommaToDot" />
+       </callback-function-list>
+       <!--
+       Extra parameters (2nd, 3rd, ...) for above call-back functions. If an array
+       is provided, we have more than two parameters to handle over to the
+       call-back function. See function handleExtraValues() for details.
+       //-->
+       <extra-parameter-list>
+       </extra-parameter-list>
+       <!--
+       Columns for converting single time selections into a timestamp
+       //-->
+       <time-columns-list>
+       </time-columns-list>
+       <!--
+       Wether to 'edit/delete/change' (change) the entries (true) or just read them for displaying (false)
+       //-->
+       <enable-modify-entries name="" type="bool" value="true" />
+       <!--
+       The table column which should be taken for the ids (see first parameter).
+       This' type can again only be 'string' (remember why?).
+       //-->
+       <table-id-column name="" type="string" value="id" />
+       <!--
+       The table column which should be taken for user ids
+       This' type can again only be 'string' (remember why?).
+       //-->
+       <table-userid-column name="" type="string" value="" />
+       <!--
+       Raw userid column ($key) to skip which is always an invalid (?) entry
+       This' type can again only be 'string' (remember why?).
+       //-->
+       <raw-userid-column-key name="" type="string" value="" />
+       <!--
+       Cache file to delete
+       //-->
+       <cache-file name="" type="string" value="refdepths" />
+</admin-entry-meta-data>
diff --git a/templates/xml/admin/admin_edit_show_referral_levels.xml b/templates/xml/admin/admin_edit_show_referral_levels.xml
new file mode 100644 (file)
index 0000000..e63add7
--- /dev/null
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+This template provides meta data for editing referral levels.
+
+@author                Roland Haeder <webmaster@mxchange.org>
+@version       0.2.1-FINAL
+@copyright     (c) 2003 - 2009 by Roland Haeder
+@copyright     (c) 2009 - 2012 by Mailer Developer Team
+@license       GNU GPL 2.0 or any newer version
+@link          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
+//-->
+<admin-entry-meta-data>
+       <!--
+       Call-back function which should all following parameter handled over
+       to. This will always be type of string but we like homogene XMLs.
+       //-->
+       <callback-function type="string" value="adminEditEntriesConfirm" />
+       <!--
+       Name of the database table where the entries should be read/write from/to.
+       //-->
+       <database-table name="" type="string" value="refdepths" />
+       <!--
+       And all column names to read/write, leave this list tag empty for all (*).
+       //-->
+       <database-column-list>
+               <!--
+               A column name list entry. The type is always string, or do you have
+               numerical column names?
+               //-->
+               <database-column-list-entry name="" type="string" table="" value="id" alias="" function="" />
+               <database-column-list-entry name="" type="string" table="" value="level" alias="" function="" />
+               <database-column-list-entry name="" type="string" table="" value="percents" alias="" function="" />
+       </database-column-list>
+       <!--
+       "Filter" call-back functions to call back for piping the fetched data
+       through (can be left empty, no call-back function will be called)
+       //-->
+       <callback-function-list>
+               <!--
+               A call-back function list entry
+               //-->
+               <callback-function-list-entry name="" type="string" value="bigintval" />
+               <callback-function-list-entry name="" type="string" value="bigintval" />
+       </callback-function-list>
+       <!--
+       Extra parameters (2nd, 3rd, ...) for above call-back functions. If an array
+       is provided, we have more than two parameters to handle over to the
+       call-back function. See function handleExtraValues() for details.
+       //-->
+       <extra-parameter-list>
+       </extra-parameter-list>
+       <!--
+       Columns for converting single time selections into a timestamp
+       //-->
+       <time-columns-list>
+       </time-columns-list>
+       <!--
+       Wether to 'edit/delete/change' (change) the entries (true) or just read them for displaying (false)
+       //-->
+       <enable-modify-entries name="" type="bool" value="false" />
+       <!--
+       The table column which should be taken for the ids (see first parameter).
+       This' type can again only be 'string' (remember why?).
+       //-->
+       <table-id-column name="" type="string" value="id" />
+       <!--
+       The table column which should be taken for user ids
+       This' type can again only be 'string' (remember why?).
+       //-->
+       <table-userid-column name="" type="string" value="" />
+       <!--
+       Raw userid column ($key) to skip which is always an invalid (?) entry
+       This' type can again only be 'string' (remember why?).
+       //-->
+       <raw-userid-column-key name="" type="string" value="" />
+       <!--
+       Cache file to delete
+       //-->
+       <cache-file name="" type="string" value="" />
+</admin-entry-meta-data>
diff --git a/templates/xml/admin/admin_list_referral_levels.xml b/templates/xml/admin/admin_list_referral_levels.xml
new file mode 100644 (file)
index 0000000..3cdf9c9
--- /dev/null
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+This template provides meta data for listing member's referral_levels
+
+@author                Roland Haeder <webmaster@mxchange.org>
+@version       0.2.1-FINAL
+@copyright     (c) 2003 - 2009 by Roland Haeder
+@copyright     (c) 2009 - 2012 by Mailer Developer Team
+@license       GNU GPL 2.0 or any newer version
+@link          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
+//-->
+<member-list-data>
+       <!--
+       Call-back function, the extracted data from this XML will then be re-read
+       from that function. The most common function this XML uses is
+       doGenericListEntries() so mostly you can leave this alone unless you have JOINs.
+       //-->
+       <callback-function type="string" value="doGenericListEntries" />
+       <!--
+       Now we need information which template should be loaded and which functions
+       shall be called back. So lets start with the main list template. This mostly
+       requires no call-back function.
+       //-->
+       <list-template type="string" value="admin_list_refdepths" />
+       <!--
+       The template for all rows, mostly this name has a '_row' suffix and again,
+       no call-back function is usually required.
+       //-->
+       <list-row-template type="string" value="admin_list_refdepths_row" />
+       <!--
+       Message id to display if no entry could be found
+       //-->
+       <no-entry-found-message type="string" value="ADMIN_REFERRAL_LEVELS_404" />
+       <!--
+       The table(s) we shall grab the data from, all as list.
+       //-->
+       <data-tables>
+               <!--
+               A single table entry, with alias and without the configurable
+               _MYSQL_PREFIX. You can specify the table's name or alias later on.
+               //-->
+               <data-table type="string" alias="" value="refdepths" />
+               <!--
+               Columns to perform the SELECT statement on, with alias and name plus which table.
+               //-->
+               <select-data-from-list>
+                       <!--
+                       A single entry with table name (can be left empty), value (must
+                       always be set), alias (again can be left empty) and SQL function
+                       (can also be left empty) which shall be applied on the column.
+                       //-->
+                       <select-data-from-list-entry type="string" table="" value="id" alias="" function="" />
+                       <select-data-from-list-entry type="string" table="" value="level" alias="" function="" />
+                       <select-data-from-list-entry type="string" table="" value="percents" alias="" function="" />
+               </select-data-from-list>
+               <!--
+               And the column list to perform the WHERE statement on.
+               //-->
+               <where-select-from-list>
+               </where-select-from-list>
+               <!--
+               Columns to perform the ORDER BY statement (GROUP BY is not yet supported)
+               //-->
+               <order-by-list>
+                       <!--
+                       A single entry to perform the ORDER BY statement on, see above WHERE entry for details.
+                       //-->
+                       <order-by-list-entry type="string" table="" order="level" value="ASC" />
+               </order-by-list>
+       </data-tables>
+       <!--
+       List all column names from the 'select-data-from-list' node here, but now
+       with call-back informations. The list must only contain those entries where
+       a call-back function shall be called for.
+       //-->
+       <column-callback-list>
+       </column-callback-list>
+       <!--
+       How the named column shall be logical linked to the above.
+       //-->
+       <where-condition type="string" name="" condition="" />
+</member-list-data>