Heacy rewrite/cleanup:
authorRoland Häder <roland@mxchange.org>
Mon, 27 May 2013 13:37:29 +0000 (13:37 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 27 May 2013 13:37:29 +0000 (13:37 +0000)
- Removed all deprecated files (with only @DEPRECATED in it)
- Listing of blacklist entries added (may be uncomplete, untested)
- Fixed AJAX installer + added first admin registration to it
- Prepared better CAPTCHA support
- Various other fixes (tons!)
- TODOs.txt updated

552 files changed:
.gitattributes
DOCS/TODOs.txt
DOCS/en/DESIGNING.txt
api.php
debug.php
img.php
img/captcha-error.png [new file with mode: 0644]
inc/ajax-functions.php
inc/ajax/ajax_
inc/ajax/ajax_admin.php
inc/ajax/ajax_installer.php
inc/autopurge.php [deleted file]
inc/birthday_mails.php [deleted file]
inc/callback-functions.php
inc/captcha-base.png [new file with mode: 0644]
inc/check-reset.php [deleted file]
inc/classes/cachesystem.class.php
inc/code-functions.php
inc/config-functions.php
inc/config-local.php.dist
inc/db/lib-mysql3.php
inc/doubler_send.php [deleted file]
inc/email-functions.php
inc/extensions-functions.php
inc/extensions.php [deleted file]
inc/extensions/admins/.htaccess [new file with mode: 0644]
inc/extensions/admins/mode-update.php [new file with mode: 0644]
inc/extensions/autopurge/.htaccess [new file with mode: 0644]
inc/extensions/autopurge/mode-update.php [new file with mode: 0644]
inc/extensions/beg/.htaccess [new file with mode: 0644]
inc/extensions/beg/mode-update.php [new file with mode: 0644]
inc/extensions/bonus/mode-update.php
inc/extensions/doubler/.htaccess [new file with mode: 0644]
inc/extensions/doubler/mode-setup.php [new file with mode: 0644]
inc/extensions/doubler/mode-update.php [new file with mode: 0644]
inc/extensions/ext-admins.php
inc/extensions/ext-autopurge.php
inc/extensions/ext-bank.php
inc/extensions/ext-beg.php
inc/extensions/ext-blacklist.php
inc/extensions/ext-doubler.php
inc/extensions/ext-forced.php
inc/extensions/ext-grade.php
inc/extensions/ext-holiday.php
inc/extensions/ext-html_mail.php
inc/extensions/ext-order.php
inc/extensions/ext-other.php
inc/extensions/ext-payout.php
inc/extensions/ext-rallye.php
inc/extensions/ext-ranking.php [new file with mode: 0644]
inc/extensions/ext-register.php
inc/extensions/ext-removeip.php
inc/extensions/ext-rewrite.php
inc/extensions/ext-sql_patches.php
inc/extensions/ext-surfbar.php
inc/extensions/ext-task.php
inc/extensions/ext-timezone.php
inc/extensions/ext-top10.php
inc/extensions/ext-transaction.php [new file with mode: 0644]
inc/extensions/ext-transfer.php
inc/extensions/ext-yoomedia.php
inc/extensions/forced/.htaccess [new file with mode: 0644]
inc/extensions/forced/mode-setup.php [new file with mode: 0644]
inc/extensions/order/mode-update.php
inc/extensions/other/.htaccess [new file with mode: 0644]
inc/extensions/other/mode-update.php [new file with mode: 0644]
inc/extensions/payout/.htaccess [new file with mode: 0644]
inc/extensions/payout/mode-update.php [new file with mode: 0644]
inc/extensions/rallye/.htaccess [new file with mode: 0644]
inc/extensions/rallye/mode-update.php [new file with mode: 0644]
inc/extensions/register/mode-update.php
inc/extensions/sql_patches/mode-remove.php
inc/extensions/sql_patches/mode-update.php
inc/extensions/surfbar/.htaccess [new file with mode: 0644]
inc/extensions/surfbar/mode-setup.php [new file with mode: 0644]
inc/extensions/task/.htaccess [new file with mode: 0644]
inc/extensions/task/mode-update.php [new file with mode: 0644]
inc/extensions/transaction/.htaccess [new file with mode: 0644]
inc/extensions/transaction/mode-setup.php [new file with mode: 0644]
inc/extensions/transfer/.htaccess [new file with mode: 0644]
inc/extensions/transfer/mode-setup.php [new file with mode: 0644]
inc/extensions/transfer/mode-update.php [new file with mode: 0644]
inc/extensions/user/mode-setup.php
inc/extensions/user/mode-update.php
inc/fatal_errors.php [deleted file]
inc/filter-functions.php
inc/filter/blacklist_filter.php
inc/filter/forced_filter.php
inc/filter/html_mail_filter.php [new file with mode: 0644]
inc/filter/order_filter.php
inc/filter/surfbar_filter.php
inc/filter/transaction_filter.php [new file with mode: 0644]
inc/filters.php
inc/fix_menu.php
inc/functions.php
inc/gen_sql_patches.php
inc/hooks.php [deleted file]
inc/hourly/hourly_transaction.php [new file with mode: 0644]
inc/http-functions.php
inc/img/img_transaction_captcha.php [new file with mode: 0644]
inc/inc-functions.php
inc/install-functions.php
inc/install-inc.php
inc/install/install_page_
inc/install/install_page_1.php
inc/install/install_page_2.php
inc/install/install_page_3.php
inc/install/install_page_5.php
inc/install/install_page_finalize.php
inc/install/install_page_finished.php
inc/install/install_page_welcome.php
inc/js/js-install_ajax.php
inc/language-functions.php
inc/language.php [deleted file]
inc/language/active_de.php
inc/language/admins_de.php
inc/language/autopurge_de.php
inc/language/bank_de.php
inc/language/beg_de.php
inc/language/blacklist_de.php
inc/language/bonus_de.php
inc/language/booking_de.php
inc/language/coupon_de.php
inc/language/de.php
inc/language/doubler_de.php
inc/language/holiday_de.php
inc/language/install_de.php
inc/language/mailid_de.php
inc/language/nickname_de.php
inc/language/optimize_de.php
inc/language/other_de.php
inc/language/pro_de.php [deleted file]
inc/language/rallye_de.php
inc/language/refback_de.php
inc/language/sponsor_de.php
inc/language/task_de.php
inc/language/theme_de.php
inc/language/transfer_de.php
inc/language/user_de.php
inc/language/validator_de.php
inc/libs/bonus_functions.php
inc/libs/earning_functions.php
inc/libs/forced_functions.php
inc/libs/mailid_functions.php
inc/libs/mediadata_functions.php
inc/libs/network_functions.php
inc/libs/output_functions.php [deleted file]
inc/libs/rallye_functions.php
inc/libs/refback_functions.php
inc/libs/register_functions.php
inc/libs/sponsor_functions.php
inc/libs/surfbar_functions.php
inc/libs/task_functions.php
inc/libs/theme_functions.php
inc/libs/transaction_functions.php [new file with mode: 0644]
inc/libs/yoomedia_functions.php
inc/load_config.php
inc/load_extensions.php [deleted file]
inc/loader/load-
inc/loader/load-admins.php
inc/loader/load-config.php
inc/loader/load-earning.php
inc/loader/load-extension.php
inc/loader/load-filter.php
inc/loader/load-imprint.php
inc/loader/load-modules.php
inc/loader/load-payments.php
inc/loader/load-points_data.php
inc/loader/load-refdepths.php
inc/loader/load-refsystem.php
inc/loader/load-revision.php
inc/loader/load-themes.php
inc/mails/birthday_mails.php [deleted file]
inc/mails/doubler_mails.php
inc/module-functions.php
inc/modules/admin.php
inc/modules/admin/admin-inc.php
inc/modules/admin/overview-inc.php
inc/modules/admin/what-add_tester_user.php
inc/modules/admin/what-admins_contact.php [deleted file]
inc/modules/admin/what-autopurge.php [deleted file]
inc/modules/admin/what-config_booking.php [new file with mode: 0644]
inc/modules/admin/what-config_cache.php [deleted file]
inc/modules/admin/what-config_cats.php [deleted file]
inc/modules/admin/what-config_mods.php [deleted file]
inc/modules/admin/what-config_rallye_prices.php [deleted file]
inc/modules/admin/what-config_reg.php [deleted file]
inc/modules/admin/what-config_rewrite.php
inc/modules/admin/what-config_secure.php
inc/modules/admin/what-del_task.php [deleted file]
inc/modules/admin/what-edit_sponsor.php
inc/modules/admin/what-list_
inc/modules/admin/what-list_autopurge.php
inc/modules/admin/what-list_blacklist.php [new file with mode: 0644]
inc/modules/admin/what-list_network_vcheck_params.php [deleted file]
inc/modules/admin/what-list_newsletter.php [deleted file]
inc/modules/admin/what-list_norefs.php [deleted file]
inc/modules/admin/what-list_task.php
inc/modules/admin/what-list_user.php
inc/modules/admin/what-list_user_amounts.php
inc/modules/admin/what-list_yoomedia_tm.php
inc/modules/admin/what-newsletter.php [deleted file]
inc/modules/admin/what-optimize.php
inc/modules/admin/what-payments.php
inc/modules/admin/what-repair_amenu.php [deleted file]
inc/modules/admin/what-repair_gmenu.php [deleted file]
inc/modules/admin/what-repair_mmenu.php [deleted file]
inc/modules/admin/what-send_coupon.php
inc/modules/admin/what-stats.php [deleted file]
inc/modules/admin/what-unlock_emails.php
inc/modules/admin/what-user_online.php [deleted file]
inc/modules/admin/what-welcome.php
inc/modules/frameset.php [deleted file]
inc/modules/frametester.php
inc/modules/guest/what-mediadata.php
inc/modules/guest/what-register.php
inc/modules/guest/what-sponsor_reg.php
inc/modules/member/what-order.php
inc/modules/member/what-refback.php
inc/modules/member/what-reflist.php
inc/modules/member/what-stats.php
inc/modules/member/what-transaction_fees.php [new file with mode: 0644]
inc/modules/member/what-transactions.php [new file with mode: 0644]
inc/modules/sponsor/account.php
inc/modules/welcome.php [deleted file]
inc/mysql-connect.php
inc/mysql-manager.php
inc/patch-system.php [deleted file]
inc/pool-update.php [deleted file]
inc/pool/pool-user.php
inc/profile-updte.php [deleted file]
inc/purge/purge-inact.php
inc/referral-functions.php
inc/request-functions.php
inc/revision-functions.php
inc/security.php [deleted file]
inc/sql-functions.php
inc/sql_error.php [deleted file]
inc/stats-functions.php
inc/stats_bonus.php [deleted file]
inc/stylesheet.php
inc/template-functions.php
inc/template.php [deleted file]
inc/wrapper-functions.php
inc/xml-functions.php
inc/yearly/.htaccess [new file with mode: 0644]
inc/yearly/yearly_ [new file with mode: 0644]
js.php
js/ajax-common.js
js/install-common.js
js/install-data.js
js/jquery-ui.custom.js [deleted file]
js/jquery-uncompressed.js [deleted file]
mailid.php
mailid_top.php [deleted file]
show_bonus.php
templates/de/emails/admin/admin_autopurge_del_mails.tpl [deleted file]
templates/de/emails/admin/admin_autopurge_delete.tpl [deleted file]
templates/de/emails/admin/admin_autopurge_inactive.tpl [deleted file]
templates/de/emails/admin/admin_autopurge_points.tpl [deleted file]
templates/de/emails/admin/admin_autopurge_tsks.tpl [deleted file]
templates/de/emails/admin/admin_autopurge_turbo.tpl [deleted file]
templates/de/emails/admin/admin_autopurge_unconfirmed.tpl [deleted file]
templates/de/emails/admin/admin_holiday_unlock.tpl
templates/de/emails/admin/admin_only_forced_campaign_pending_active.tpl [new file with mode: 0644]
templates/de/emails/admin/admin_purge_task.tpl
templates/de/emails/member/member_holiday_unlock.tpl
templates/de/html/admin/admin_add_config_network_type.tpl
templates/de/html/admin/admin_add_config_network_type_form.tpl
templates/de/html/admin/admin_add_network_vcheck_param.tpl [deleted file]
templates/de/html/admin/admin_add_payout.tpl
templates/de/html/admin/admin_add_reflevel.tpl [deleted file]
templates/de/html/admin/admin_add_reflvl.tpl [deleted file]
templates/de/html/admin/admin_add_shop_cat.tpl [deleted file]
templates/de/html/admin/admin_add_tester_user.tpl
templates/de/html/admin/admin_admins_contact_form.tpl [deleted file]
templates/de/html/admin/admin_admins_mails_edit.tpl
templates/de/html/admin/admin_admins_mails_list.tpl
templates/de/html/admin/admin_config_
templates/de/html/admin/admin_config_active.tpl
templates/de/html/admin/admin_config_admin.tpl
templates/de/html/admin/admin_config_autopurge.tpl
templates/de/html/admin/admin_config_autopurge_pro.tpl [deleted file]
templates/de/html/admin/admin_config_beg.tpl
templates/de/html/admin/admin_config_beg_pro.tpl [deleted file]
templates/de/html/admin/admin_config_birthday.tpl
templates/de/html/admin/admin_config_blacklist.tpl
templates/de/html/admin/admin_config_bonus.tpl
templates/de/html/admin/admin_config_bonus_pro.tpl [deleted file]
templates/de/html/admin/admin_config_booking.tpl [new file with mode: 0644]
templates/de/html/admin/admin_config_cache.tpl [deleted file]
templates/de/html/admin/admin_config_coupon.tpl
templates/de/html/admin/admin_config_doubler.tpl
templates/de/html/admin/admin_config_doubler_pro.tpl [deleted file]
templates/de/html/admin/admin_config_extensions.tpl
templates/de/html/admin/admin_config_holiday.tpl
templates/de/html/admin/admin_config_home.tpl
templates/de/html/admin/admin_config_home_main.tpl
templates/de/html/admin/admin_config_home_settings_pro.tpl [deleted file]
templates/de/html/admin/admin_config_mediadata.tpl
templates/de/html/admin/admin_config_menu.tpl
templates/de/html/admin/admin_config_network.tpl
templates/de/html/admin/admin_config_network_api.tpl
templates/de/html/admin/admin_config_network_types.tpl
templates/de/html/admin/admin_config_network_types_row.tpl
templates/de/html/admin/admin_config_newsletter.tpl
templates/de/html/admin/admin_config_nickname.tpl
templates/de/html/admin/admin_config_order.tpl
templates/de/html/admin/admin_config_other.tpl
templates/de/html/admin/admin_config_payouts.tpl
templates/de/html/admin/admin_config_point_settings.tpl
templates/de/html/admin/admin_config_points.tpl
templates/de/html/admin/admin_config_profile.tpl
templates/de/html/admin/admin_config_proxy.tpl
templates/de/html/admin/admin_config_refback.tpl
templates/de/html/admin/admin_config_refid.tpl
templates/de/html/admin/admin_config_reg_pro.tpl [deleted file]
templates/de/html/admin/admin_config_register.tpl
templates/de/html/admin/admin_config_register2.tpl
templates/de/html/admin/admin_config_removeip.tpl
templates/de/html/admin/admin_config_rewrite.tpl
templates/de/html/admin/admin_config_secure.tpl
templates/de/html/admin/admin_config_session.tpl
templates/de/html/admin/admin_config_shop.tpl [deleted file]
templates/de/html/admin/admin_config_sponsor.tpl
templates/de/html/admin/admin_config_stats.tpl
templates/de/html/admin/admin_config_sub_points.tpl
templates/de/html/admin/admin_config_surfbar.tpl
templates/de/html/admin/admin_config_timezone.tpl
templates/de/html/admin/admin_config_title.tpl
templates/de/html/admin/admin_config_top10.tpl
templates/de/html/admin/admin_config_transfer.tpl
templates/de/html/admin/admin_config_transfer_pro.tpl [deleted file]
templates/de/html/admin/admin_config_user.tpl
templates/de/html/admin/admin_config_user_subid.tpl
templates/de/html/admin/admin_config_validator.tpl
templates/de/html/admin/admin_config_wernis.tpl
templates/de/html/admin/admin_config_yoomedia.tpl
templates/de/html/admin/admin_del_bank_packages.tpl
templates/de/html/admin/admin_delete_admin_menu.tpl
templates/de/html/admin/admin_delete_admins.tpl
templates/de/html/admin/admin_delete_admins_acls.tpl
templates/de/html/admin/admin_delete_forced_ads.tpl
templates/de/html/admin/admin_delete_forced_costs.tpl
templates/de/html/admin/admin_delete_guest_menu.tpl
templates/de/html/admin/admin_delete_member_menu.tpl
templates/de/html/admin/admin_delete_network_array_translation.tpl
templates/de/html/admin/admin_delete_network_request_params.tpl
templates/de/html/admin/admin_delete_network_types.tpl
templates/de/html/admin/admin_delete_networks.tpl
templates/de/html/admin/admin_delete_payouts_row.tpl
templates/de/html/admin/admin_edit_admin_menu_form.tpl
templates/de/html/admin/admin_edit_admins.tpl
templates/de/html/admin/admin_edit_admins_acls.tpl
templates/de/html/admin/admin_edit_cats_row.tpl
templates/de/html/admin/admin_edit_config_network_type_form.tpl
templates/de/html/admin/admin_edit_forced_ads.tpl
templates/de/html/admin/admin_edit_forced_campaigns.tpl
templates/de/html/admin/admin_edit_forced_costs.tpl
templates/de/html/admin/admin_edit_guest_menu_form.tpl
templates/de/html/admin/admin_edit_member_menu.tpl
templates/de/html/admin/admin_edit_mods.tpl
templates/de/html/admin/admin_edit_network_array_translation.tpl
templates/de/html/admin/admin_edit_network_request_params.tpl
templates/de/html/admin/admin_edit_network_types.tpl
templates/de/html/admin/admin_edit_networks.tpl
templates/de/html/admin/admin_edit_payouts_row.tpl
templates/de/html/admin/admin_edit_points_data.tpl
templates/de/html/admin/admin_edit_reflevel.tpl [deleted file]
templates/de/html/admin/admin_edit_reflevel_row.tpl [deleted file]
templates/de/html/admin/admin_email_archiv.tpl
templates/de/html/admin/admin_export_network_vcheck_params.tpl [deleted file]
templates/de/html/admin/admin_extension_reg_form.tpl
templates/de/html/admin/admin_extensions_installed.tpl [deleted file]
templates/de/html/admin/admin_extensions_list.tpl [deleted file]
templates/de/html/admin/admin_extensions_search.tpl [deleted file]
templates/de/html/admin/admin_forum_add.tpl [deleted file]
templates/de/html/admin/admin_forum_descr.tpl [deleted file]
templates/de/html/admin/admin_forum_display_cat.tpl [deleted file]
templates/de/html/admin/admin_forum_edit_del.tpl [deleted file]
templates/de/html/admin/admin_forum_edit_forum.tpl [deleted file]
templates/de/html/admin/admin_holiday_task.tpl [deleted file]
templates/de/html/admin/admin_import_theme.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_bonus_emails.tpl
templates/de/html/admin/admin_list_booking.tpl
templates/de/html/admin/admin_list_doubler_already.tpl
templates/de/html/admin/admin_list_doubler_overview.tpl
templates/de/html/admin/admin_list_doubler_waiting.tpl
templates/de/html/admin/admin_list_emails.tpl
templates/de/html/admin/admin_list_links.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_query_api.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 [deleted file]
templates/de/html/admin/admin_list_network_vcheck_params_row.tpl [deleted file]
templates/de/html/admin/admin_list_notify_emails.tpl
templates/de/html/admin/admin_list_online.tpl
templates/de/html/admin/admin_list_rallye_usr.tpl
templates/de/html/admin/admin_list_rallyes_row.tpl
templates/de/html/admin/admin_list_reflevel.tpl [deleted file]
templates/de/html/admin/admin_list_reflevel_row.tpl [deleted file]
templates/de/html/admin/admin_list_sponsor_details.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_task.tpl
templates/de/html/admin/admin_list_task_delete.tpl
templates/de/html/admin/admin_list_unconfirmed_header.tpl [deleted file]
templates/de/html/admin/admin_list_user_amounts.tpl
templates/de/html/admin/admin_list_user_row.tpl
templates/de/html/admin/admin_logout_sql_patches.tpl [deleted file]
templates/de/html/admin/admin_member_menu_status.tpl
templates/de/html/admin/admin_mods_footer_list.tpl [deleted file]
templates/de/html/admin/admin_mods_footer_stats.tpl [deleted file]
templates/de/html/admin/admin_mods_footer_stats2.tpl [deleted file]
templates/de/html/admin/admin_mods_header_list.tpl [deleted file]
templates/de/html/admin/admin_mods_header_stats.tpl [deleted file]
templates/de/html/admin/admin_mods_header_stats2.tpl [deleted file]
templates/de/html/admin/admin_mods_list.tpl [deleted file]
templates/de/html/admin/admin_mods_list_row.tpl [deleted file]
templates/de/html/admin/admin_network_vcheck_param_added.tpl [deleted file]
templates/de/html/admin/admin_new_ext.tpl [deleted file]
templates/de/html/admin/admin_newsletter_tsk.tpl [deleted file]
templates/de/html/admin/admin_online_footer.tpl [deleted file]
templates/de/html/admin/admin_online_header.tpl [deleted file]
templates/de/html/admin/admin_optimize.tpl
templates/de/html/admin/admin_overview_header.tpl [deleted file]
templates/de/html/admin/admin_overview_list.tpl
templates/de/html/admin/admin_overview_table.tpl
templates/de/html/admin/admin_patches.tpl [deleted file]
templates/de/html/admin/admin_patches_row.tpl [deleted file]
templates/de/html/admin/admin_payout_failed_transfer.tpl
templates/de/html/admin/admin_reg.tpl [deleted file]
templates/de/html/admin/admin_reg_row.tpl [deleted file]
templates/de/html/admin/admin_show_config_network_type.tpl
templates/de/html/admin/admin_theme_list.tpl [deleted file]
templates/de/html/doubler/doubler_index.tpl
templates/de/html/ext/ext_grade.tpl
templates/de/html/ext/ext_primera.tpl [deleted file]
templates/de/html/ext/ext_ranking.tpl [new file with mode: 0644]
templates/de/html/ext/ext_surfbar.tpl
templates/de/html/ext/ext_transaction.tpl [new file with mode: 0644]
templates/de/html/fatal_footer.tpl [deleted file]
templates/de/html/fatal_header.tpl [deleted file]
templates/de/html/guest/guest_active_none_row.tpl
templates/de/html/guest/guest_confirm_table.tpl [deleted file]
templates/de/html/guest/guest_doubler.tpl
templates/de/html/guest/guest_list_active_row_none.tpl
templates/de/html/guest/guest_list_rallye.tpl
templates/de/html/guest/guest_paidlinks_register.tpl [deleted file]
templates/de/html/guest/guest_paidlinks_register_header.tpl [deleted file]
templates/de/html/guest/guest_receive_table.tpl
templates/de/html/guest/guest_show_rallye.tpl
templates/de/html/impressum.tpl
templates/de/html/install/install_header.tpl [deleted file]
templates/de/html/install/install_main_ajax.tpl
templates/de/html/install/install_menu.tpl
templates/de/html/install/install_page_base_data.tpl
templates/de/html/install/install_page_database_config.tpl
templates/de/html/install/install_page_extensions.tpl
templates/de/html/install/install_page_first_admin.tpl [new file with mode: 0644]
templates/de/html/install/install_page_other_config.tpl
templates/de/html/install/install_page_smtp_config.tpl
templates/de/html/mediadata.tpl
templates/de/html/mediadata_extra_hrow.tpl
templates/de/html/member/member_add_subid.tpl
templates/de/html/member/member_beg.tpl
templates/de/html/member/member_beg_404.tpl
templates/de/html/member/member_bonus.tpl
templates/de/html/member/member_bonus_404.tpl
templates/de/html/member/member_delete_user_subids.tpl
templates/de/html/member/member_doubler.tpl
templates/de/html/member/member_edit_user_subids.tpl
templates/de/html/member/member_list_beg.tpl
templates/de/html/member/member_list_rallye.tpl
templates/de/html/member/member_list_refback_deleted_row.tpl
templates/de/html/member/member_list_refback_row.tpl
templates/de/html/member/member_list_referral_row.tpl
templates/de/html/member/member_list_unconfirmed.tpl
templates/de/html/member/member_list_unconfirmed_nopoints.tpl
templates/de/html/member/member_nickname_form.tpl
templates/de/html/member/member_payout.tpl
templates/de/html/member/member_payout_form.tpl
templates/de/html/member/member_payout_form_banner.tpl
templates/de/html/member/member_points.tpl
templates/de/html/member/member_pool_table.tpl
templates/de/html/member/member_receive_table.tpl
templates/de/html/member/member_stats_table.tpl
templates/de/html/member/member_themes_row.tpl
templates/de/html/member/member_transaction_fees.tpl [new file with mode: 0644]
templates/de/html/member/member_transaction_fees_config_row.tpl [new file with mode: 0644]
templates/de/html/member/member_transactions.tpl [new file with mode: 0644]
templates/de/html/member/member_transactions_form.tpl [new file with mode: 0644]
templates/de/html/member/member_transactions_row.tpl [new file with mode: 0644]
templates/de/html/member/member_transfer_list.tpl
templates/de/html/member/member_transfer_new.tpl
templates/de/html/member/member_transfer_overview.tpl
templates/de/html/member/member_unconfirmed_404.tpl [deleted file]
templates/de/html/member/member_unconfirmed_404_nopoints.tpl [deleted file]
templates/de/html/member/member_unconfirmed_row.tpl [deleted file]
templates/de/html/member/member_unconfirmed_row_nopoints.tpl [deleted file]
templates/de/html/member/member_unconfirmed_table.tpl [deleted file]
templates/de/html/member/member_unconfirmed_table_nopoints.tpl [deleted file]
templates/de/html/member/member_wernis_mode_choose.tpl
templates/de/html/member/member_wernis_mode_list.tpl
templates/de/html/member/member_wernis_mode_payout.tpl
templates/de/html/member/member_wernis_mode_withdraw.tpl
templates/de/html/message.tpl
templates/de/html/metadata.tpl [deleted file]
templates/de/html/select/select_forced_ads_id_banner_box.tpl [new file with mode: 0644]
templates/de/html/select/select_forced_ads_id_banner_option.tpl [new file with mode: 0644]
templates/de/html/select/select_network_configured_box.tpl
templates/de/html/select/select_network_unconfigured_box.tpl
templates/de/html/show_bonus_msg.tpl
templates/de/html/theme_one.tpl [deleted file]
templates/de/html/theme_select_box.tpl [deleted file]
templates/de/html/theme_select_form.tpl [deleted file]
templates/xml/admin/admin_add_do_forced_ads.xml
templates/xml/admin/admin_list_blacklist.xml [new file with mode: 0644]
templates/xml/admin/admin_list_booking.xml
templates/xml/admin/admin_list_forced_ads.xml
templates/xml/admin/admin_list_forced_campaigns.xml
templates/xml/admin/admin_list_grade_data.xml
templates/xml/admin/admin_list_nickname_history.xml
templates/xml/admin/admin_list_server_name_log.xml
templates/xml/admin/admin_list_surfbar_urls.xml
templates/xml/admin/admin_list_user_subid.xml
templates/xml/admin/admin_list_user_subid_stats.xml
templates/xml/admin_list_data_template.xml
templates/xml/member/member_list_booking.xml
templates/xml/member/member_list_subid.xml
templates/xml/member/member_list_subid_stats.xml
theme/business/css/general.css
theme/business/css/install.css
theme/business/css/register.css
theme/default/css/ajax.css
theme/default/css/general.css
theme/default/css/register.css
theme/desert/css/general.css
theme/desert/css/register.css
theme/org/css/general.css
theme/org/css/register.css
theme/schleuder/css/general.css
theme/schleuder/css/register.css
theme/ship-simu/css/general.css
theme/ship-simu/css/install.css [new file with mode: 0644]
theme/ship-simu/css/register.css

index 58b7ba4876d42cf552470f505a6b7d58da6393dc..4da017eb54c8748efa2e5256f021486b0ae22683 100644 (file)
@@ -101,6 +101,7 @@ DOCS/tpl-validator.php svneol=native#text/plain
 /debug.php svneol=native#text/plain
 /doubler.php svneol=native#text/plain
 /img.php svneol=native#text/plain
+img/captcha-error.png -text svneol=unset#image/png
 img/politician-stop/politiker-stopp-print-kopf.png -text svneol=unset#image/png
 img/politician-stop/politiker-stopp_150x24.png -text svneol=unset#image/png
 img/uberwach/uberwach-button-gruen.gif -text svneol=unset#image/gif
@@ -111,17 +112,15 @@ inc/ajax/.htaccess svneol=native#text/plain
 inc/ajax/ajax_ svneol=native#text/plain
 inc/ajax/ajax_admin.php svneol=native#text/plain
 inc/ajax/ajax_installer.php svneol=native#text/plain
-inc/autopurge.php svneol=native#text/plain
 inc/autopurge/.htaccess svneol=native#text/plain
 inc/autopurge/purge- svneol=native#text/plain
-inc/birthday_mails.php svneol=native#text/plain
 inc/cache/.htaccess svneol=native#text/plain
 inc/cache/_compiled/.htaccess svneol=native#text/plain
 inc/cache/_compiled/email/.htaccess svneol=native#text/plain
 inc/cache/_compiled/html/.htaccess svneol=native#text/plain
 inc/cache/_compiled/xml/.htaccess svneol=native#text/plain
 inc/callback-functions.php svneol=native#text/plain
-inc/check-reset.php svneol=native#text/plain
+inc/captcha-base.png -text svneol=unset#image/png
 inc/classes/.htaccess svneol=native#text/plain
 inc/classes/cachesystem.class.php svneol=native#text/plain
 inc/classes/primera_api.class.php svneol=native#text/plain
@@ -155,14 +154,21 @@ inc/debug/client/.htaccess svneol=native#text/plain
 inc/debug/relay/.htaccess svneol=native#text/plain
 inc/debug/request_ svneol=native#text/plain
 inc/debug/server/.htaccess svneol=native#text/plain
-inc/doubler_send.php svneol=native#text/plain
 inc/email-functions.php svneol=native#text/plain
 inc/expression-functions.php svneol=native#text/plain
 inc/extensions-functions.php svneol=native#text/plain
-inc/extensions.php svneol=native#text/plain
 inc/extensions/.htaccess svneol=native#text/plain
+inc/extensions/admins/.htaccess svneol=native#text/plain
+inc/extensions/admins/mode-update.php svneol=native#text/plain
+inc/extensions/autopurge/.htaccess svneol=native#text/plain
+inc/extensions/autopurge/mode-update.php svneol=native#text/plain
+inc/extensions/beg/.htaccess svneol=native#text/plain
+inc/extensions/beg/mode-update.php svneol=native#text/plain
 inc/extensions/bonus/.htaccess svneol=native#text/plain
 inc/extensions/bonus/mode-update.php svneol=native#text/plain
+inc/extensions/doubler/.htaccess svneol=native#text/plain
+inc/extensions/doubler/mode-setup.php svneol=native#text/plain
+inc/extensions/doubler/mode-update.php svneol=native#text/plain
 inc/extensions/ext- svneol=native#text/plain
 inc/extensions/ext-active.php svneol=native#text/plain
 inc/extensions/ext-admins.php svneol=native#text/plain
@@ -218,6 +224,7 @@ inc/extensions/ext-payout.php svneol=native#text/plain
 inc/extensions/ext-politician-stop.php svneol=native#text/plain
 inc/extensions/ext-profile.php svneol=native#text/plain
 inc/extensions/ext-rallye.php svneol=native#text/plain
+inc/extensions/ext-ranking.php svneol=native#text/plain
 inc/extensions/ext-refback.php svneol=native#text/plain
 inc/extensions/ext-refsell.php svneol=native#text/plain
 inc/extensions/ext-register.php svneol=native#text/plain
@@ -239,6 +246,7 @@ inc/extensions/ext-terms.php svneol=native#text/plain
 inc/extensions/ext-theme.php svneol=native#text/plain
 inc/extensions/ext-timezone.php svneol=native#text/plain
 inc/extensions/ext-top10.php svneol=native#text/plain
+inc/extensions/ext-transaction.php svneol=native#text/plain
 inc/extensions/ext-transfer.php svneol=native#text/plain
 inc/extensions/ext-uberwach.php svneol=native#text/plain
 inc/extensions/ext-update.php svneol=native#text/plain
@@ -248,10 +256,18 @@ inc/extensions/ext-validator.php svneol=native#text/plain
 inc/extensions/ext-wernis.php svneol=native#text/plain
 inc/extensions/ext-yacy.php svneol=native#text/plain
 inc/extensions/ext-yoomedia.php svneol=native#text/plain
+inc/extensions/forced/.htaccess svneol=native#text/plain
+inc/extensions/forced/mode-setup.php svneol=native#text/plain
 inc/extensions/network/.htaccess svneol=native#text/plain
 inc/extensions/network/mode-setup.php svneol=native#text/plain
 inc/extensions/order/.htaccess svneol=native#text/plain
 inc/extensions/order/mode-update.php svneol=native#text/plain
+inc/extensions/other/.htaccess svneol=native#text/plain
+inc/extensions/other/mode-update.php svneol=native#text/plain
+inc/extensions/payout/.htaccess svneol=native#text/plain
+inc/extensions/payout/mode-update.php svneol=native#text/plain
+inc/extensions/rallye/.htaccess svneol=native#text/plain
+inc/extensions/rallye/mode-update.php svneol=native#text/plain
 inc/extensions/register/.htaccess svneol=native#text/plain
 inc/extensions/register/mode-update.php svneol=native#text/plain
 inc/extensions/sponsor/.htaccess svneol=native#text/plain
@@ -259,11 +275,19 @@ inc/extensions/sponsor/mode-setup.php svneol=native#text/plain
 inc/extensions/sql_patches/.htaccess svneol=native#text/plain
 inc/extensions/sql_patches/mode-remove.php svneol=native#text/plain
 inc/extensions/sql_patches/mode-update.php svneol=native#text/plain
+inc/extensions/surfbar/.htaccess svneol=native#text/plain
+inc/extensions/surfbar/mode-setup.php svneol=native#text/plain
+inc/extensions/task/.htaccess svneol=native#text/plain
+inc/extensions/task/mode-update.php svneol=native#text/plain
+inc/extensions/transaction/.htaccess svneol=native#text/plain
+inc/extensions/transaction/mode-setup.php svneol=native#text/plain
+inc/extensions/transfer/.htaccess svneol=native#text/plain
+inc/extensions/transfer/mode-setup.php svneol=native#text/plain
+inc/extensions/transfer/mode-update.php svneol=native#text/plain
 inc/extensions/user/.htaccess svneol=native#text/plain
 inc/extensions/user/mode-remove.php svneol=native#text/plain
 inc/extensions/user/mode-setup.php svneol=native#text/plain
 inc/extensions/user/mode-update.php svneol=native#text/plain
-inc/fatal_errors.php svneol=native#text/plain
 inc/filter-functions.php svneol=native#text/plain
 inc/filter/.htaccess svneol=native#text/plain
 inc/filter/_filter.php svneol=native#text/plain
@@ -279,6 +303,7 @@ inc/filter/coupon_filter.php svneol=native#text/plain
 inc/filter/doubler_filter.php svneol=native#text/plain
 inc/filter/earning_filter.php svneol=native#text/plain
 inc/filter/forced_filter.php svneol=native#text/plain
+inc/filter/html_mail_filter.php svneol=native#text/plain
 inc/filter/mediadata_filter.php svneol=native#text/plain
 inc/filter/menu_filter.php svneol=native#text/plain
 inc/filter/online_filter.php svneol=native#text/plain
@@ -291,6 +316,7 @@ inc/filter/removeip_filter.php svneol=native#text/plain
 inc/filter/surfbar_filter.php svneol=native#text/plain
 inc/filter/theme_filter.php svneol=native#text/plain
 inc/filter/timezone_filter.php svneol=native#text/plain
+inc/filter/transaction_filter.php svneol=native#text/plain
 inc/filter/uberwach_filter.php svneol=native#text/plain
 inc/filter/user_filter.php svneol=native#text/plain
 inc/filters.php svneol=native#text/plain
@@ -304,13 +330,14 @@ inc/gen_mediadata.php svneol=native#text/plain
 inc/gen_sql_patches.php svneol=native#text/plain
 inc/handler.php svneol=native#text/plain
 inc/header.php svneol=native#text/plain
-inc/hooks.php svneol=native#text/plain
 inc/hourly/.htaccess svneol=native#text/plain
 inc/hourly/hourly_ svneol=native#text/plain
+inc/hourly/hourly_transaction.php svneol=native#text/plain
 inc/http-functions.php svneol=native#text/plain
 inc/img/.htaccess svneol=native#text/plain
 inc/img/img- svneol=native#text/plain
 inc/img/img_ svneol=native#text/plain
+inc/img/img_transaction_captcha.php svneol=native#text/plain
 inc/inc-functions.php svneol=native#text/plain
 inc/install-functions.php svneol=native#text/plain
 inc/install-inc.php svneol=native#text/plain
@@ -338,7 +365,6 @@ inc/js/js-surfbar_member_edit.php svneol=native#text/plain
 inc/js/js-surfbar_stopped.php svneol=native#text/plain
 inc/js/js-uberwach.php svneol=native#text/plain
 inc/language-functions.php svneol=native#text/plain
-inc/language.php svneol=native#text/plain
 inc/language/.htaccess svneol=native#text/plain
 inc/language/_de.php svneol=native#text/plain
 inc/language/_en.php svneol=native#text/plain
@@ -382,7 +408,6 @@ inc/language/optimize_de.php svneol=native#text/plain
 inc/language/order_de.php svneol=native#text/plain
 inc/language/other_de.php svneol=native#text/plain
 inc/language/payout_de.php svneol=native#text/plain
-inc/language/pro_de.php svneol=native#text/plain
 inc/language/profile_de.php svneol=native#text/plain
 inc/language/rallye_de.php svneol=native#text/plain
 inc/language/refback_de.php svneol=native#text/plain
@@ -437,7 +462,6 @@ inc/libs/online_functions.php svneol=native#text/plain
 inc/libs/optimize_functions.php svneol=native#text/plain
 inc/libs/order_functions.php svneol=native#text/plain
 inc/libs/other_functions.php svneol=native#text/plain
-inc/libs/output_functions.php svneol=native#text/plain
 inc/libs/payout_functions.php svneol=native#text/plain
 inc/libs/politician-stop_functions.php svneol=native#text/plain
 inc/libs/profile_functions.php svneol=native#text/plain
@@ -453,6 +477,7 @@ inc/libs/task_functions.php svneol=native#text/plain
 inc/libs/theme_functions.php svneol=native#text/plain
 inc/libs/timezone_functions.php svneol=native#text/plain
 inc/libs/top10_functions.php svneol=native#text/plain
+inc/libs/transaction_functions.php svneol=native#text/plain
 inc/libs/transfer_functions.php svneol=native#text/plain
 inc/libs/uberwach_functions.php svneol=native#text/plain
 inc/libs/user_functions.php svneol=native#text/plain
@@ -460,7 +485,6 @@ inc/libs/wernis_functions.php svneol=native#text/plain
 inc/libs/yoomedia_functions.php svneol=native#text/plain
 inc/load_cache.php svneol=native#text/plain
 inc/load_config.php svneol=native#text/plain
-inc/load_extensions.php svneol=native#text/plain
 inc/loader/.htaccess svneol=native#text/plain
 inc/loader/load- svneol=native#text/plain
 inc/loader/load-admins.php svneol=native#text/plain
@@ -480,7 +504,6 @@ inc/loader/load_cache- svneol=native#text/plain
 inc/mails/.htaccess svneol=native#text/plain
 inc/mails/_mails.php svneol=native#text/plain
 inc/mails/beg_mails.php svneol=native#text/plain
-inc/mails/birthday_mails.php svneol=native#text/plain
 inc/mails/bonus_mails.php svneol=native#text/plain
 inc/mails/doubler_mails.php svneol=native#text/plain
 inc/math-functions.php svneol=native#text/plain
@@ -532,11 +555,9 @@ inc/modules/admin/what-add_tester_user.php svneol=native#text/plain
 inc/modules/admin/what-admin_add.php svneol=native#text/plain
 inc/modules/admin/what-adminedit.php svneol=native#text/plain
 inc/modules/admin/what-admins_add.php svneol=native#text/plain
-inc/modules/admin/what-admins_contact.php svneol=native#text/plain
 inc/modules/admin/what-admins_contct.php svneol=native#text/plain
 inc/modules/admin/what-admins_edit.php svneol=native#text/plain
 inc/modules/admin/what-admins_mails.php svneol=native#text/plain
-inc/modules/admin/what-autopurge.php svneol=native#text/plain
 inc/modules/admin/what-bonus.php svneol=native#text/plain
 inc/modules/admin/what-cache_stats.php svneol=native#text/plain
 inc/modules/admin/what-config_ svneol=native#text/plain
@@ -547,8 +568,7 @@ inc/modules/admin/what-config_beg.php svneol=native#text/plain
 inc/modules/admin/what-config_birthday.php svneol=native#text/plain
 inc/modules/admin/what-config_blacklist.php svneol=native#text/plain
 inc/modules/admin/what-config_bonus.php svneol=native#text/plain
-inc/modules/admin/what-config_cache.php svneol=native#text/plain
-inc/modules/admin/what-config_cats.php svneol=native#text/plain
+inc/modules/admin/what-config_booking.php svneol=native#text/plain
 inc/modules/admin/what-config_coupon.php svneol=native#text/plain
 inc/modules/admin/what-config_doubler.php svneol=native#text/plain
 inc/modules/admin/what-config_extensions.php svneol=native#text/plain
@@ -557,7 +577,6 @@ inc/modules/admin/what-config_home.php svneol=native#text/plain
 inc/modules/admin/what-config_imprint.php svneol=native#text/plain
 inc/modules/admin/what-config_mediadata.php svneol=native#text/plain
 inc/modules/admin/what-config_menu.php svneol=native#text/plain
-inc/modules/admin/what-config_mods.php svneol=native#text/plain
 inc/modules/admin/what-config_network.php svneol=native#text/plain
 inc/modules/admin/what-config_network_api.php svneol=native#text/plain
 inc/modules/admin/what-config_network_types.php svneol=native#text/plain
@@ -569,10 +588,8 @@ inc/modules/admin/what-config_payouts.php svneol=native#text/plain
 inc/modules/admin/what-config_points.php svneol=native#text/plain
 inc/modules/admin/what-config_profile.php svneol=native#text/plain
 inc/modules/admin/what-config_proxy.php svneol=native#text/plain
-inc/modules/admin/what-config_rallye_prices.php svneol=native#text/plain
 inc/modules/admin/what-config_refback.php svneol=native#text/plain
 inc/modules/admin/what-config_refid.php svneol=native#text/plain
-inc/modules/admin/what-config_reg.php svneol=native#text/plain
 inc/modules/admin/what-config_register.php svneol=native#text/plain
 inc/modules/admin/what-config_register2.php svneol=native#text/plain
 inc/modules/admin/what-config_removeip.php svneol=native#text/plain
@@ -594,7 +611,6 @@ inc/modules/admin/what-config_yoomedia.php svneol=native#text/plain
 inc/modules/admin/what-del_email.php svneol=native#text/plain
 inc/modules/admin/what-del_holiday.php svneol=native#text/plain
 inc/modules/admin/what-del_sponsor.php svneol=native#text/plain
-inc/modules/admin/what-del_task.php svneol=native#text/plain
 inc/modules/admin/what-del_transfer.php svneol=native#text/plain
 inc/modules/admin/what-del_user.php svneol=native#text/plain
 inc/modules/admin/what-edit_emails.php svneol=native#text/plain
@@ -613,6 +629,7 @@ inc/modules/admin/what-list_admins_acls.php svneol=native#text/plain
 inc/modules/admin/what-list_autopurge.php svneol=native#text/plain
 inc/modules/admin/what-list_bank_package.php svneol=native#text/plain
 inc/modules/admin/what-list_beg.php svneol=native#text/plain
+inc/modules/admin/what-list_blacklist.php svneol=native#text/plain
 inc/modules/admin/what-list_bonus.php svneol=native#text/plain
 inc/modules/admin/what-list_booking.php svneol=native#text/plain
 inc/modules/admin/what-list_cats.php svneol=native#text/plain
@@ -631,10 +648,7 @@ inc/modules/admin/what-list_network_array_translation.php svneol=native#text/pla
 inc/modules/admin/what-list_network_data.php svneol=native#text/plain
 inc/modules/admin/what-list_network_request_params.php svneol=native#text/plain
 inc/modules/admin/what-list_network_types.php svneol=native#text/plain
-inc/modules/admin/what-list_network_vcheck_params.php svneol=native#text/plain
-inc/modules/admin/what-list_newsletter.php svneol=native#text/plain
 inc/modules/admin/what-list_nickname.php svneol=native#text/plain
-inc/modules/admin/what-list_norefs.php svneol=native#text/plain
 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
@@ -664,24 +678,19 @@ inc/modules/admin/what-logs.php svneol=native#text/plain
 inc/modules/admin/what-maintenance.php svneol=native#text/plain
 inc/modules/admin/what-mem_add.php svneol=native#text/plain
 inc/modules/admin/what-memedit.php svneol=native#text/plain
-inc/modules/admin/what-newsletter.php svneol=native#text/plain
 inc/modules/admin/what-optimize.php svneol=native#text/plain
 inc/modules/admin/what-payments.php svneol=native#text/plain
 inc/modules/admin/what-query_network_apis.php svneol=native#text/plain
 inc/modules/admin/what-refbanner.php svneol=native#text/plain
-inc/modules/admin/what-repair_amenu.php svneol=native#text/plain
 inc/modules/admin/what-repair_amnu.php svneol=native#text/plain
 inc/modules/admin/what-repair_cats.php svneol=native#text/plain
-inc/modules/admin/what-repair_gmenu.php svneol=native#text/plain
 inc/modules/admin/what-repair_gmnu.php svneol=native#text/plain
 inc/modules/admin/what-repair_lang.php svneol=native#text/plain
-inc/modules/admin/what-repair_mmenu.php svneol=native#text/plain
 inc/modules/admin/what-repair_mmnu.php svneol=native#text/plain
 inc/modules/admin/what-repair_refs.php svneol=native#text/plain
 inc/modules/admin/what-send_bonus.php svneol=native#text/plain
 inc/modules/admin/what-send_coupon.php svneol=native#text/plain
 inc/modules/admin/what-send_newsletter.php svneol=native#text/plain
-inc/modules/admin/what-stats.php svneol=native#text/plain
 inc/modules/admin/what-stats_mods.php svneol=native#text/plain
 inc/modules/admin/what-sub_points.php svneol=native#text/plain
 inc/modules/admin/what-surfbar_stats.php svneol=native#text/plain
@@ -693,11 +702,9 @@ inc/modules/admin/what-unlock_surfbar_urls.php svneol=native#text/plain
 inc/modules/admin/what-updates.php svneol=native#text/plain
 inc/modules/admin/what-usage.php svneol=native#text/plain
 inc/modules/admin/what-user_contct.php svneol=native#text/plain
-inc/modules/admin/what-user_online.php svneol=native#text/plain
 inc/modules/admin/what-usr_online.php svneol=native#text/plain
 inc/modules/admin/what-welcome.php svneol=native#text/plain
 inc/modules/chk_login.php svneol=native#text/plain
-inc/modules/frameset.php svneol=native#text/plain
 inc/modules/frametester.php svneol=native#text/plain
 inc/modules/guest/.htaccess svneol=native#text/plain
 inc/modules/guest/action- svneol=native#text/plain
@@ -787,6 +794,8 @@ inc/modules/member/what-subids.php svneol=native#text/plain
 inc/modules/member/what-support.php svneol=native#text/plain
 inc/modules/member/what-surfbar_list.php svneol=native#text/plain
 inc/modules/member/what-themes.php svneol=native#text/plain
+inc/modules/member/what-transaction_fees.php svneol=native#text/plain
+inc/modules/member/what-transactions.php svneol=native#text/plain
 inc/modules/member/what-transfer.php svneol=native#text/plain
 inc/modules/member/what-unconfirmed.php svneol=native#text/plain
 inc/modules/member/what-welcome.php svneol=native#text/plain
@@ -800,7 +809,6 @@ inc/modules/sponsor/guest.php svneol=native#text/plain
 inc/modules/sponsor/logout.php svneol=native#text/plain
 inc/modules/sponsor/settings.php svneol=native#text/plain
 inc/modules/sponsor/welcome.php svneol=native#text/plain
-inc/modules/welcome.php svneol=native#text/plain
 inc/monthly/.htaccess svneol=native#text/plain
 inc/monthly/monthly_ svneol=native#text/plain
 inc/monthly/monthly_beg.php svneol=native#text/plain
@@ -809,7 +817,6 @@ inc/monthly/monthly_newsletter.php svneol=native#text/plain
 inc/monthly/monthly_surfbar.php svneol=native#text/plain
 inc/mysql-connect.php svneol=native#text/plain
 inc/mysql-manager.php svneol=native#text/plain
-inc/patch-system.php svneol=native#text/plain
 inc/phpmailer/ChangeLog.txt svneol=native#text/plain
 inc/phpmailer/class.phpmailer.php svneol=native#text/plain
 inc/phpmailer/class.pop3.php svneol=native#text/plain
@@ -859,12 +866,10 @@ inc/phpmailer/test/phpmailer_test.php svneol=native#text/plain
 inc/phpmailer/test/phpunit.php svneol=native#text/plain
 inc/phpmailer/test/test.png -text svneol=unset#image/png
 inc/pool-functions.php svneol=native#text/plain
-inc/pool-update.php svneol=native#text/plain
 inc/pool/.htaccess svneol=native#text/plain
 inc/pool/pool- svneol=native#text/plain
 inc/pool/pool-bonus.php svneol=native#text/plain
 inc/pool/pool-user.php svneol=native#text/plain
-inc/profile-updte.php svneol=native#text/plain
 inc/purge/.htaccess svneol=native#text/plain
 inc/purge/purge- svneol=native#text/plain
 inc/purge/purge-coupon.php svneol=native#text/plain
@@ -879,22 +884,20 @@ inc/request-functions.php svneol=native#text/plain
 inc/reset/.htaccess svneol=native#text/plain
 inc/reset/reset_ svneol=native#text/plain
 inc/revision-functions.php svneol=native#text/plain
-inc/security.php svneol=native#text/plain
 inc/session-functions.php svneol=native#text/plain
 inc/session.php svneol=native#text/plain
 inc/sql-functions.php svneol=native#text/plain
-inc/sql_error.php svneol=native#text/plain
 inc/stats-functions.php svneol=native#text/plain
-inc/stats_bonus.php svneol=native#text/plain
 inc/stylesheet.php svneol=native#text/plain
 inc/template-functions.php svneol=native#text/plain
-inc/template.php svneol=native#text/plain
 inc/versions.php svneol=native#text/plain
 inc/weekly/.htaccess svneol=native#text/plain
 inc/weekly/weekly_ svneol=native#text/plain
 inc/weekly/weekly_surfbar.php svneol=native#text/plain
 inc/wrapper-functions.php svneol=native#text/plain
 inc/xml-functions.php svneol=native#text/plain
+inc/yearly/.htaccess svneol=native#text/plain
+inc/yearly/yearly_ svneol=native#text/plain
 /index.php svneol=native#text/plain
 /install.php svneol=native#text/plain
 /js.php svneol=native#text/plain
@@ -908,17 +911,14 @@ js/ajax-test.js svneol=native#text/javascript
 js/core-common.js svneol=native#text/javascript
 js/install-common.js svneol=native#text/javascript
 js/install-data.js svneol=native#text/javascript
-js/jquery-ui.custom.js svneol=native#text/javascript
 js/jquery-ui.js svneol=native#text/javascript
 js/jquery-ui.uncompressed.js svneol=native#text/javascript
-js/jquery-uncompressed.js svneol=native#text/javascript
 js/jquery.js svneol=native#text/javascript
 js/jquery.uncompressed.js svneol=native#text/javascript
 js/menu-common.js svneol=native#text/javascript
 /lead-confirm.php svneol=native#text/plain
 /login.php svneol=native#text/plain
 /mailid.php svneol=native#text/plain
-/mailid_top.php svneol=native#text/plain
 /modules.php svneol=native#text/plain
 /network-delurl.php svneol=native#text/plain
 /network-vcheck.php svneol=native#text/plain
@@ -943,13 +943,6 @@ templates/de/emails/admin/admin_admin_add_all_ref_referral.tpl svneol=native#tex
 templates/de/emails/admin/admin_admin_add_all_referral.tpl svneol=native#text/plain
 templates/de/emails/admin/admin_admin_add_single_direct.tpl svneol=native#text/plain
 templates/de/emails/admin/admin_admin_add_single_referral.tpl svneol=native#text/plain
-templates/de/emails/admin/admin_autopurge_del_mails.tpl svneol=native#text/plain
-templates/de/emails/admin/admin_autopurge_delete.tpl svneol=native#text/plain
-templates/de/emails/admin/admin_autopurge_inactive.tpl svneol=native#text/plain
-templates/de/emails/admin/admin_autopurge_points.tpl svneol=native#text/plain
-templates/de/emails/admin/admin_autopurge_tsks.tpl svneol=native#text/plain
-templates/de/emails/admin/admin_autopurge_turbo.tpl svneol=native#text/plain
-templates/de/emails/admin/admin_autopurge_unconfirmed.tpl svneol=native#text/plain
 templates/de/emails/admin/admin_beg_direct.tpl svneol=native#text/plain
 templates/de/emails/admin/admin_beg_ref_referral.tpl svneol=native#text/plain
 templates/de/emails/admin/admin_beg_referral.tpl svneol=native#text/plain
@@ -988,6 +981,7 @@ templates/de/emails/admin/admin_monthly_bonus_ref_referral.tpl svneol=native#tex
 templates/de/emails/admin/admin_monthly_bonus_referral.tpl svneol=native#text/plain
 templates/de/emails/admin/admin_mydata_notify.tpl svneol=native#text/plain
 templates/de/emails/admin/admin_newsletter_reset.tpl svneol=native#text/plain
+templates/de/emails/admin/admin_only_forced_campaign_pending_active.tpl svneol=native#text/plain
 templates/de/emails/admin/admin_order_normal.tpl svneol=native#text/plain
 templates/de/emails/admin/admin_payout_request.tpl svneol=native#text/plain
 templates/de/emails/admin/admin_payout_request_banner.tpl svneol=native#text/plain
@@ -1224,7 +1218,6 @@ templates/de/html/admin/admin_add_network.tpl svneol=native#text/plain
 templates/de/html/admin/admin_add_network_array_translation.tpl svneol=native#text/plain
 templates/de/html/admin/admin_add_network_request_param.tpl svneol=native#text/plain
 templates/de/html/admin/admin_add_network_type.tpl svneol=native#text/plain
-templates/de/html/admin/admin_add_network_vcheck_param.tpl svneol=native#text/plain
 templates/de/html/admin/admin_add_payment.tpl svneol=native#text/plain
 templates/de/html/admin/admin_add_payout.tpl svneol=native#text/plain
 templates/de/html/admin/admin_add_point_accounts.tpl svneol=native#text/plain
@@ -1234,15 +1227,11 @@ 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 svneol=native#text/plain
-templates/de/html/admin/admin_add_shop_cat.tpl svneol=native#text/plain
 templates/de/html/admin/admin_add_sponsor.tpl svneol=native#text/plain
 templates/de/html/admin/admin_add_sponsor_already.tpl svneol=native#text/plain
 templates/de/html/admin/admin_add_sponsor_paytype.tpl svneol=native#text/plain
 templates/de/html/admin/admin_add_surfbar_url.tpl svneol=native#text/plain
 templates/de/html/admin/admin_add_tester_user.tpl svneol=native#text/plain
-templates/de/html/admin/admin_admins_contact_form.tpl svneol=native#text/plain
 templates/de/html/admin/admin_admins_contct_default.tpl svneol=native#text/plain
 templates/de/html/admin/admin_admins_contct_form.tpl svneol=native#text/plain
 templates/de/html/admin/admin_admins_mails_edit.tpl svneol=native#text/plain
@@ -1257,22 +1246,17 @@ templates/de/html/admin/admin_config_ svneol=native#text/plain
 templates/de/html/admin/admin_config_active.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_admin.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_autopurge.tpl svneol=native#text/plain
-templates/de/html/admin/admin_config_autopurge_pro.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_beg.tpl svneol=native#text/plain
-templates/de/html/admin/admin_config_beg_pro.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_birthday.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_blacklist.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_bonus.tpl svneol=native#text/plain
-templates/de/html/admin/admin_config_bonus_pro.tpl svneol=native#text/plain
-templates/de/html/admin/admin_config_cache.tpl svneol=native#text/plain
+templates/de/html/admin/admin_config_booking.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_coupon.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_doubler.tpl svneol=native#text/plain
-templates/de/html/admin/admin_config_doubler_pro.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_extensions.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_holiday.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_home.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_home_main.tpl svneol=native#text/plain
-templates/de/html/admin/admin_config_home_settings_pro.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_mediadata.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_menu.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_network.tpl svneol=native#text/plain
@@ -1291,7 +1275,6 @@ templates/de/html/admin/admin_config_profile.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_proxy.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_refback.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_refid.tpl svneol=native#text/plain
-templates/de/html/admin/admin_config_reg_pro.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_register.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_register2.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_register_row.tpl svneol=native#text/plain
@@ -1300,7 +1283,6 @@ templates/de/html/admin/admin_config_rewrite.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_rewrite_rows.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_secure.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_session.tpl svneol=native#text/plain
-templates/de/html/admin/admin_config_shop.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_sponsor.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_stats.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_sub_points.tpl svneol=native#text/plain
@@ -1309,7 +1291,6 @@ templates/de/html/admin/admin_config_timezone.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_title.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_top10.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_transfer.tpl svneol=native#text/plain
-templates/de/html/admin/admin_config_transfer_pro.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_user.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_user_subid.tpl svneol=native#text/plain
 templates/de/html/admin/admin_config_validator.tpl svneol=native#text/plain
@@ -1424,8 +1405,6 @@ 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
 templates/de/html/admin/admin_edit_sponsor_edit.tpl svneol=native#text/plain
 templates/de/html/admin/admin_edit_sponsor_sub_points.tpl svneol=native#text/plain
@@ -1446,25 +1425,15 @@ templates/de/html/admin/admin_export_network_array_translation.tpl svneol=native
 templates/de/html/admin/admin_export_network_data.tpl svneol=native#text/plain
 templates/de/html/admin/admin_export_network_request_params.tpl svneol=native#text/plain
 templates/de/html/admin/admin_export_network_types.tpl svneol=native#text/plain
-templates/de/html/admin/admin_export_network_vcheck_params.tpl svneol=native#text/plain
 templates/de/html/admin/admin_extension_notes.tpl svneol=native#text/plain
 templates/de/html/admin/admin_extension_reg_form.tpl svneol=native#text/plain
 templates/de/html/admin/admin_extension_sql_row.tpl svneol=native#text/plain
 templates/de/html/admin/admin_extension_sql_table.tpl svneol=native#text/plain
-templates/de/html/admin/admin_extensions_installed.tpl svneol=native#text/plain
-templates/de/html/admin/admin_extensions_list.tpl svneol=native#text/plain
-templates/de/html/admin/admin_extensions_search.tpl svneol=native#text/plain
 templates/de/html/admin/admin_extensions_text.tpl svneol=native#text/plain
 templates/de/html/admin/admin_footer.tpl svneol=native#text/plain
 templates/de/html/admin/admin_form_selection_box.tpl svneol=native#text/plain
-templates/de/html/admin/admin_forum_add.tpl svneol=native#text/plain
-templates/de/html/admin/admin_forum_descr.tpl svneol=native#text/plain
-templates/de/html/admin/admin_forum_display_cat.tpl svneol=native#text/plain
-templates/de/html/admin/admin_forum_edit_del.tpl svneol=native#text/plain
-templates/de/html/admin/admin_forum_edit_forum.tpl svneol=native#text/plain
 templates/de/html/admin/admin_guest_menu_status.tpl svneol=native#text/plain
 templates/de/html/admin/admin_header.tpl svneol=native#text/plain
-templates/de/html/admin/admin_holiday_task.tpl svneol=native#text/plain
 templates/de/html/admin/admin_import_theme.tpl svneol=native#text/plain
 templates/de/html/admin/admin_import_theme_form.tpl svneol=native#text/plain
 templates/de/html/admin/admin_import_theme_none.tpl svneol=native#text/plain
@@ -1541,8 +1510,6 @@ templates/de/html/admin/admin_list_network_request_params.tpl svneol=native#text
 templates/de/html/admin/admin_list_network_request_params_row.tpl svneol=native#text/plain
 templates/de/html/admin/admin_list_network_types.tpl svneol=native#text/plain
 templates/de/html/admin/admin_list_network_types_row.tpl svneol=native#text/plain
-templates/de/html/admin/admin_list_network_vcheck_params.tpl svneol=native#text/plain
-templates/de/html/admin/admin_list_network_vcheck_params_row.tpl svneol=native#text/plain
 templates/de/html/admin/admin_list_nickname_history.tpl svneol=native#text/plain
 templates/de/html/admin/admin_list_nickname_history_row.tpl svneol=native#text/plain
 templates/de/html/admin/admin_list_notify_emails.tpl svneol=native#text/plain
@@ -1570,8 +1537,6 @@ 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
 templates/de/html/admin/admin_list_refs_level.tpl svneol=native#text/plain
 templates/de/html/admin/admin_list_refs_nodata.tpl svneol=native#text/plain
@@ -1600,7 +1565,6 @@ templates/de/html/admin/admin_list_task_rows.tpl svneol=native#text/plain
 templates/de/html/admin/admin_list_transfer.tpl svneol=native#text/plain
 templates/de/html/admin/admin_list_transfer_row.tpl svneol=native#text/plain
 templates/de/html/admin/admin_list_unconfirmed.tpl svneol=native#text/plain
-templates/de/html/admin/admin_list_unconfirmed_header.tpl svneol=native#text/plain
 templates/de/html/admin/admin_list_unconfirmed_list.tpl svneol=native#text/plain
 templates/de/html/admin/admin_list_unconfirmed_row.tpl svneol=native#text/plain
 templates/de/html/admin/admin_list_unconfirmed_row_404.tpl svneol=native#text/plain
@@ -1631,7 +1595,6 @@ templates/de/html/admin/admin_login_form.tpl svneol=native#text/plain
 templates/de/html/admin/admin_login_msg.tpl svneol=native#text/plain
 templates/de/html/admin/admin_logout.tpl svneol=native#text/plain
 templates/de/html/admin/admin_logout_form.tpl svneol=native#text/plain
-templates/de/html/admin/admin_logout_sql_patches.tpl svneol=native#text/plain
 templates/de/html/admin/admin_logout_sql_patches_install.tpl svneol=native#text/plain
 templates/de/html/admin/admin_logout_sql_patches_remove.tpl svneol=native#text/plain
 templates/de/html/admin/admin_main.tpl svneol=native#text/plain
@@ -1648,32 +1611,18 @@ templates/de/html/admin/admin_menu_status_row.tpl svneol=native#text/plain
 templates/de/html/admin/admin_metadata.tpl svneol=native#text/plain
 templates/de/html/admin/admin_mini_online.tpl svneol=native#text/plain
 templates/de/html/admin/admin_mods_footer_edit.tpl svneol=native#text/plain
-templates/de/html/admin/admin_mods_footer_list.tpl svneol=native#text/plain
-templates/de/html/admin/admin_mods_footer_stats.tpl svneol=native#text/plain
-templates/de/html/admin/admin_mods_footer_stats2.tpl svneol=native#text/plain
 templates/de/html/admin/admin_mods_header_edit.tpl svneol=native#text/plain
-templates/de/html/admin/admin_mods_header_list.tpl svneol=native#text/plain
-templates/de/html/admin/admin_mods_header_stats.tpl svneol=native#text/plain
-templates/de/html/admin/admin_mods_header_stats2.tpl svneol=native#text/plain
-templates/de/html/admin/admin_mods_list.tpl svneol=native#text/plain
-templates/de/html/admin/admin_mods_list_row.tpl svneol=native#text/plain
 templates/de/html/admin/admin_network_added.tpl svneol=native#text/plain
 templates/de/html/admin/admin_network_array_translation_added.tpl svneol=native#text/plain
 templates/de/html/admin/admin_network_request_param_added.tpl svneol=native#text/plain
 templates/de/html/admin/admin_network_type_added.tpl svneol=native#text/plain
-templates/de/html/admin/admin_network_vcheck_param_added.tpl svneol=native#text/plain
-templates/de/html/admin/admin_new_ext.tpl svneol=native#text/plain
 templates/de/html/admin/admin_newsletter.tpl svneol=native#text/plain
 templates/de/html/admin/admin_newsletter_nohtml.tpl svneol=native#text/plain
-templates/de/html/admin/admin_newsletter_tsk.tpl svneol=native#text/plain
 templates/de/html/admin/admin_next_link.tpl svneol=native#text/plain
-templates/de/html/admin/admin_online_footer.tpl svneol=native#text/plain
-templates/de/html/admin/admin_online_header.tpl svneol=native#text/plain
 templates/de/html/admin/admin_optimize.tpl svneol=native#text/plain
 templates/de/html/admin/admin_optimize_row.tpl svneol=native#text/plain
 templates/de/html/admin/admin_other_sqls.tpl svneol=native#text/plain
 templates/de/html/admin/admin_other_sqls_row.tpl svneol=native#text/plain
-templates/de/html/admin/admin_overview_header.tpl svneol=native#text/plain
 templates/de/html/admin/admin_overview_list.tpl svneol=native#text/plain
 templates/de/html/admin/admin_overview_list_ext_rows.tpl svneol=native#text/plain
 templates/de/html/admin/admin_overview_list_rows.tpl svneol=native#text/plain
@@ -1682,16 +1631,12 @@ templates/de/html/admin/admin_overview_table.tpl svneol=native#text/plain
 templates/de/html/admin/admin_overview_task.tpl svneol=native#text/plain
 templates/de/html/admin/admin_overview_task_extras.tpl svneol=native#text/plain
 templates/de/html/admin/admin_overview_task_rows.tpl svneol=native#text/plain
-templates/de/html/admin/admin_patches.tpl svneol=native#text/plain
-templates/de/html/admin/admin_patches_row.tpl svneol=native#text/plain
 templates/de/html/admin/admin_payout_accept_form.tpl svneol=native#text/plain
 templates/de/html/admin/admin_payout_failed_transfer.tpl svneol=native#text/plain
 templates/de/html/admin/admin_payout_overview_form.tpl svneol=native#text/plain
 templates/de/html/admin/admin_payout_reject_form.tpl svneol=native#text/plain
 templates/de/html/admin/admin_receive_table.tpl svneol=native#text/plain
-templates/de/html/admin/admin_reg.tpl svneol=native#text/plain
 templates/de/html/admin/admin_reg_form.tpl svneol=native#text/plain
-templates/de/html/admin/admin_reg_row.tpl svneol=native#text/plain
 templates/de/html/admin/admin_repair_lang.tpl svneol=native#text/plain
 templates/de/html/admin/admin_repair_lang_row_404.tpl svneol=native#text/plain
 templates/de/html/admin/admin_repair_lang_row_compares.tpl svneol=native#text/plain
@@ -1717,7 +1662,6 @@ templates/de/html/admin/admin_surfbar_url_stats_row.tpl svneol=native#text/plain
 templates/de/html/admin/admin_task_holiday.tpl svneol=native#text/plain
 templates/de/html/admin/admin_task_order.tpl svneol=native#text/plain
 templates/de/html/admin/admin_theme_installed.tpl svneol=native#text/plain
-templates/de/html/admin/admin_theme_list.tpl svneol=native#text/plain
 templates/de/html/admin/admin_undelete_surfbar_urls.tpl svneol=native#text/plain
 templates/de/html/admin/admin_undelete_surfbar_urls_row.tpl svneol=native#text/plain
 templates/de/html/admin/admin_unlock_emails.tpl svneol=native#text/plain
@@ -1815,9 +1759,9 @@ templates/de/html/ext/ext_other.tpl svneol=native#text/plain
 templates/de/html/ext/ext_partner.tpl svneol=native#text/plain
 templates/de/html/ext/ext_payout.tpl svneol=native#text/plain
 templates/de/html/ext/ext_politician-stop.tpl svneol=native#text/plain
-templates/de/html/ext/ext_primera.tpl svneol=native#text/plain
 templates/de/html/ext/ext_profile.tpl svneol=native#text/plain
 templates/de/html/ext/ext_rallye.tpl svneol=native#text/plain
+templates/de/html/ext/ext_ranking.tpl svneol=native#text/plain
 templates/de/html/ext/ext_refback.tpl svneol=native#text/plain
 templates/de/html/ext/ext_refsell.tpl svneol=native#text/plain
 templates/de/html/ext/ext_register.tpl svneol=native#text/plain
@@ -1839,6 +1783,7 @@ templates/de/html/ext/ext_terms.tpl svneol=native#text/plain
 templates/de/html/ext/ext_theme.tpl svneol=native#text/plain
 templates/de/html/ext/ext_timezone.tpl svneol=native#text/plain
 templates/de/html/ext/ext_top10.tpl svneol=native#text/plain
+templates/de/html/ext/ext_transaction.tpl svneol=native#text/plain
 templates/de/html/ext/ext_transfer.tpl svneol=native#text/plain
 templates/de/html/ext/ext_uberwach.tpl svneol=native#text/plain
 templates/de/html/ext/ext_update.tpl svneol=native#text/plain
@@ -1849,8 +1794,6 @@ templates/de/html/ext/ext_wernis.tpl svneol=native#text/plain
 templates/de/html/ext/ext_yacy.tpl svneol=native#text/plain
 templates/de/html/ext/ext_yoomedia.tpl svneol=native#text/plain
 templates/de/html/fatal_errors.tpl svneol=native#text/plain
-templates/de/html/fatal_footer.tpl svneol=native#text/plain
-templates/de/html/fatal_header.tpl svneol=native#text/plain
 templates/de/html/guest/.htaccess svneol=native#text/plain
 templates/de/html/guest/guest_active_none_row.tpl svneol=native#text/plain
 templates/de/html/guest/guest_advert.tpl svneol=native#text/plain
@@ -1859,7 +1802,6 @@ templates/de/html/guest/guest_beg.tpl svneol=native#text/plain
 templates/de/html/guest/guest_cat_row.tpl svneol=native#text/plain
 templates/de/html/guest/guest_cat_table.tpl svneol=native#text/plain
 templates/de/html/guest/guest_confirm_link.tpl svneol=native#text/plain
-templates/de/html/guest/guest_confirm_table.tpl svneol=native#text/plain
 templates/de/html/guest/guest_content_footer.tpl svneol=native#text/plain
 templates/de/html/guest/guest_doubler.tpl svneol=native#text/plain
 templates/de/html/guest/guest_doubler_list.tpl svneol=native#text/plain
@@ -1884,8 +1826,6 @@ templates/de/html/guest/guest_menu_td.tpl svneol=native#text/plain
 templates/de/html/guest/guest_menu_title.tpl svneol=native#text/plain
 templates/de/html/guest/guest_metadata.tpl svneol=native#text/plain
 templates/de/html/guest/guest_nickname_login.tpl svneol=native#text/plain
-templates/de/html/guest/guest_paidlinks_register.tpl svneol=native#text/plain
-templates/de/html/guest/guest_paidlinks_register_header.tpl svneol=native#text/plain
 templates/de/html/guest/guest_rallye_404.tpl svneol=native#text/plain
 templates/de/html/guest/guest_receive_table.tpl svneol=native#text/plain
 templates/de/html/guest/guest_register.tpl svneol=native#text/plain
@@ -1925,7 +1865,6 @@ templates/de/html/install/install_fatal_row.tpl svneol=native#text/plain
 templates/de/html/install/install_fatal_table.tpl svneol=native#text/plain
 templates/de/html/install/install_finished.tpl svneol=native#text/plain
 templates/de/html/install/install_footer.tpl svneol=native#text/plain
-templates/de/html/install/install_header.tpl svneol=native#text/plain
 templates/de/html/install/install_list_extensions.tpl svneol=native#text/plain
 templates/de/html/install/install_list_extensions_row.tpl svneol=native#text/plain
 templates/de/html/install/install_main_ajax.tpl svneol=native#text/plain
@@ -1940,6 +1879,7 @@ templates/de/html/install/install_page5.tpl svneol=native#text/plain
 templates/de/html/install/install_page_base_data.tpl svneol=native#text/plain
 templates/de/html/install/install_page_database_config.tpl svneol=native#text/plain
 templates/de/html/install/install_page_extensions.tpl svneol=native#text/plain
+templates/de/html/install/install_page_first_admin.tpl svneol=native#text/plain
 templates/de/html/install/install_page_init.tpl svneol=native#text/plain
 templates/de/html/install/install_page_other_config.tpl svneol=native#text/plain
 templates/de/html/install/install_page_overview.tpl svneol=native#text/plain
@@ -2112,18 +2052,17 @@ templates/de/html/member/member_surfbar_edit_action_form.tpl svneol=native#text/
 templates/de/html/member/member_surfbar_link.tpl svneol=native#text/plain
 templates/de/html/member/member_themes.tpl svneol=native#text/plain
 templates/de/html/member/member_themes_row.tpl svneol=native#text/plain
+templates/de/html/member/member_transaction_fees.tpl -text
+templates/de/html/member/member_transaction_fees_config_row.tpl -text
+templates/de/html/member/member_transactions.tpl -text
+templates/de/html/member/member_transactions_form.tpl -text
+templates/de/html/member/member_transactions_row.tpl -text
 templates/de/html/member/member_transfer_list.tpl svneol=native#text/plain
 templates/de/html/member/member_transfer_new.tpl svneol=native#text/plain
 templates/de/html/member/member_transfer_overview.tpl svneol=native#text/plain
 templates/de/html/member/member_transfer_row.tpl svneol=native#text/plain
 templates/de/html/member/member_transfer_row2.tpl svneol=native#text/plain
 templates/de/html/member/member_transfer_settings.tpl svneol=native#text/plain
-templates/de/html/member/member_unconfirmed_404.tpl svneol=native#text/plain
-templates/de/html/member/member_unconfirmed_404_nopoints.tpl svneol=native#text/plain
-templates/de/html/member/member_unconfirmed_row.tpl svneol=native#text/plain
-templates/de/html/member/member_unconfirmed_row_nopoints.tpl svneol=native#text/plain
-templates/de/html/member/member_unconfirmed_table.tpl svneol=native#text/plain
-templates/de/html/member/member_unconfirmed_table_nopoints.tpl svneol=native#text/plain
 templates/de/html/member/member_welcome.tpl svneol=native#text/plain
 templates/de/html/member/member_welcome_footer.tpl svneol=native#text/plain
 templates/de/html/member/member_welcome_header.tpl svneol=native#text/plain
@@ -2156,7 +2095,6 @@ templates/de/html/menu/menu_table.tpl svneol=native#text/plain
 templates/de/html/menu/menu_what_begin.tpl svneol=native#text/plain
 templates/de/html/menu/menu_what_end.tpl svneol=native#text/plain
 templates/de/html/message.tpl svneol=native#text/plain
-templates/de/html/metadata.tpl svneol=native#text/plain
 templates/de/html/noindex_metadata.tpl svneol=native#text/plain
 templates/de/html/online_now.tpl svneol=native#text/plain
 templates/de/html/page_body.tpl svneol=native#text/plain
@@ -2180,6 +2118,8 @@ templates/de/html/select/select_actions_status_surfbar_box.tpl svneol=native#tex
 templates/de/html/select/select_actions_status_surfbar_option.tpl svneol=native#text/plain
 templates/de/html/select/select_admins_box.tpl svneol=native#text/plain
 templates/de/html/select/select_admins_option.tpl svneol=native#text/plain
+templates/de/html/select/select_forced_ads_id_banner_box.tpl svneol=native#text/plain
+templates/de/html/select/select_forced_ads_id_banner_option.tpl svneol=native#text/plain
 templates/de/html/select/select_forced_ads_id_box.tpl svneol=native#text/plain
 templates/de/html/select/select_forced_ads_id_popup_box.tpl svneol=native#text/plain
 templates/de/html/select/select_forced_ads_id_popup_option.tpl svneol=native#text/plain
@@ -2239,9 +2179,6 @@ templates/de/html/theme/.htaccess svneol=native#text/plain
 templates/de/html/theme/theme_one.tpl svneol=native#text/plain
 templates/de/html/theme/theme_select_box.tpl svneol=native#text/plain
 templates/de/html/theme/theme_select_form.tpl svneol=native#text/plain
-templates/de/html/theme_one.tpl svneol=native#text/plain
-templates/de/html/theme_select_box.tpl svneol=native#text/plain
-templates/de/html/theme_select_form.tpl svneol=native#text/plain
 templates/de/html/tlock_message.tpl svneol=native#text/plain
 templates/de/html/uberwach/.htaccess svneol=native#text/plain
 templates/de/html/uberwach/uberwach_snippet.tpl svneol=native#text/plain
@@ -2297,6 +2234,7 @@ templates/xml/admin/admin_edit_show_referral_levels.xml svneol=native#text/plain
 templates/xml/admin/admin_edit_show_surfbar_actions.xml svneol=native#text/plain
 templates/xml/admin/admin_edit_show_surfbar_urls.xml svneol=native#text/plain
 templates/xml/admin/admin_edit_show_user_subid.xml svneol=native#text/plain
+templates/xml/admin/admin_list_blacklist.xml svneol=native#text/plain
 templates/xml/admin/admin_list_booking.xml svneol=native#text/plain
 templates/xml/admin/admin_list_forced_ads.xml svneol=native#text/plain
 templates/xml/admin/admin_list_forced_campaigns.xml svneol=native#text/plain
@@ -2455,6 +2393,7 @@ theme/schleuder/theme.php svneol=native#text/plain
 theme/ship-simu/css/ajax.css svneol=native#text/css
 theme/ship-simu/css/bonus.css svneol=native#text/css
 theme/ship-simu/css/general.css svneol=native#text/css
+theme/ship-simu/css/install.css svneol=native#text/css
 theme/ship-simu/css/politician-stop.css svneol=native#text/css
 theme/ship-simu/css/register.css svneol=native#text/css
 theme/ship-simu/images/code_bg.jpg -text svneol=unset#image/jpeg
index a3264374e2ffafc07bae36b70e6d5c7092372500..9c5107be241c51e4c309d11e89e74680c4b4eac2 100644 (file)
@@ -5,9 +5,9 @@
 ./beg.php:173:                 // @TODO Opps, what is missing here???
 ./cron.php:62:// @TODO Do stuff here
 ./inc/classes/cachesystem.class.php:516:       // @TODO Add support for more types which break in last else-block
-./inc/config-functions.php:150:        // @TODO Make this all better... :-/
-./inc/config-functions.php:327:                                        // @TODO Call setConfigEntry() somehow
-./inc/config-functions.php:355:                // @TODO Call setConfigEntry() somehow
+./inc/config-functions.php:151:        // @TODO Make this all better... :-/
+./inc/config-functions.php:328:                                        // @TODO Call setConfigEntry() somehow
+./inc/config-functions.php:356:                // @TODO Call setConfigEntry() somehow
 ./inc/daily/daily_beg.php:52:// @TODO This should be converted in a daily beg rallye
 ./inc/daily/daily_birthday.php:68:// @TODO Rewrite these if() blocks to a filter
 ./inc/email-functions.php:113: * @TODO Rewrite this to an extension 'smtp'
@@ -15,7 +15,7 @@
 ./inc/expression-functions.php:173:// @TODO FILTER_COMPILE_CONFIG does not handle call-back functions so we handle it here again
 ./inc/expression-functions.php:46:     // @TODO is escapeQuotes() enough for strings with single/double quotes?
 ./inc/extensions/bonus/mode-update.php:43:// @TODO Remove double tabs from all lines
-./inc/extensions/ext-html_mail.php:136:                // @TODO Move these arrays into config
+./inc/extensions/ext-html_mail.php:149:                // @TODO Move these arrays into config
 ./inc/extensions/ext-menu.php:52:              // @TODO Convert menu-Id to one coding-standard. admin(edit|_add) => admin_menu_(edit|add), mem(edit|_add) => (edit|add)_(admin|guest|member)_menu
 ./inc/extensions/ext-newsletter.php:218:               // @TODO Move these into configuration
 ./inc/extensions/ext-nickname.php:52:          // @TODO NOT NULL DEFAULT '' is bad practice, use NULL
 ./inc/extensions/sponsor/mode-setup.php:43:// @TODO Remove double tabs from all lines
 ./inc/extensions/sql_patches/mode-update.php:43:// @TODO Remove double tabs from all lines
 ./inc/extensions/user/mode-update.php:43:// @TODO Remove double tabs from all lines
-./inc/filter/blacklist_filter.php:82:  // @TODO Insert log entry
-./inc/filter/blacklist_filter.php:93:  // @TODO Insert log entry
+./inc/filter/blacklist_filter.php:105: // @TODO Insert log entry
+./inc/filter/blacklist_filter.php:116: // @TODO Insert log entry
+./inc/filter/blacklist_filter.php:127: // @TODO Insert log entry
 ./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/forced_filter.php:73:             // @TODO This part is unfinished
 ./inc/filter-functions.php:119:        // @TODO Remove this forced removal after a year or so
-./inc/filters.php:1380:                // @TODO No banner found, output some default banner
+./inc/filter/order_filter.php:132:             // @TODO 200 is hard-coded here, swap it out to config + admin_config_order.tpl
+./inc/filters.php:1370:                // @TODO No banner found, output some default banner
 ./inc/functions.php:1210:                      // @TODO Are these convertions still required?
 ./inc/functions.php:1231:// @TODO Rewrite this function to use readFromFile() and writeToFile()
 ./inc/functions.php:1535:              // @TODO This should be rewritten not to load the cache file for just checking if it is there for save removal.
-./inc/functions.php:1859:      // @TODO Find a way to cache this
-./inc/functions.php:1963:      // @TODO This is still very static, rewrite it somehow
-./inc/functions.php:2167:      // @TODO Rename column data_type to e.g. mail_status
-./inc/functions.php:2517:// @TODO cacheFiles is not yet supported
+./inc/functions.php:1896:      // @TODO Find a way to cache this
+./inc/functions.php:2000:      // @TODO This is still very static, rewrite it somehow
+./inc/functions.php:2204:      // @TODO Rename column data_type to e.g. mail_status
+./inc/functions.php:2554:// @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:446:       // @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:1162:    // @TODO Rewrite these two constants
-./inc/language/de.php:1178:    // @TODO Rewrite these three constants
+./inc/language/de.php:1163:    // @TODO Rewrite these two constants
+./inc/language/de.php:1179:    // @TODO Rewrite these three constants
 ./inc/language/de.php:46:      // @TODO Please sort these language elements
 ./inc/language/de.php:748:// @TODO Are these constants longer used?
 ./inc/language-functions.php:254:      // @TODO These are all valid languages, again hard-coded
 ./inc/modules/admin/what-list_user_cats.php:68:                                // @TODO Rewrite this to countSum.....() function
 ./inc/modules/admin/what-list_user.php:104:            // @TODO Refacture these old link generation to functions
 ./inc/modules/admin/what-list_user.php:121:            // @TODO Refacture birth_foo to avoid uni* timetstamps as older members cannot be greeded correctly
-./inc/modules/admin/what-list_user.php:291:            // @TODO Rewrite this into a filter
-./inc/modules/admin/what-list_user.php:356:                    // @TODO Rewrite this into a filter
+./inc/modules/admin/what-list_user.php:288:            // @TODO Rewrite this into a filter
+./inc/modules/admin/what-list_user.php:350:                    // @TODO Rewrite this into a filter
 ./inc/modules/admin/what-logs.php:64:                  // @TODO Fix content-type here
 ./inc/modules/admin/what-logs.php:70:                  // @TODO Fix content-type here
 ./inc/modules/admin/what-mem_add.php:124:                              // @TODO This can be somehow rewritten to a function
 ./inc/modules/admin/what-usr_online.php:49:    // @TODO Add a filter for sponsor
 ./inc/modules/frametester.php:91:      // @TODO Rewrite this somehow
 ./inc/modules/guest/what-beg.php:51:// @TODO No more needed? define('__BEG_USERID_TIMEOUT', createFancyTime(getBegUseridTimeout()));
-./inc/modules/guest/what-mediadata.php:188:// @TODO Rewrite all these if-blocks to filters
+./inc/modules/guest/what-mediadata.php:183:// @TODO Rewrite all these if-blocks to filters
 ./inc/modules/guest/what-mediadata.php:67:     // @TODO Find a better formular than this one
 ./inc/modules/guest/what-rallyes.php:99:       // @TODO Reactivate this: $content['admin'] = '<a href="{%url=modules.php?module=index&amp;what=impressum&amp;id=' . $content['admin_id'] . '%}">' . $content['login'] . '</a>';
 ./inc/modules/guest/what-sponsor_reg.php:293:                  // @TODO Maybe a default referral id?
 ./inc/modules/member/what-logout.php:17: * @TODO Rewrite the code to a filter                                   *
 ./inc/modules/member/what-logout.php:52:       // @TODO Move this in a filter, e.g. member_logout
 ./inc/modules/member/what-mydata.php:82:               // @TODO Move this to a function (for better EL code)
-./inc/modules/member/what-order.php:365:                       // @TODO Rewrite this to a filter
+./inc/modules/member/what-order.php:317:                       // @TODO Rewrite this to a filter
 ./inc/modules/member/what-order.php:72:        // @TODO Try to move out url_tlock to a filter for extra SQL statements
 ./inc/modules/member/what-payout.php:208:                                      // @TODO Rewrite this to a filter
 ./inc/modules/member/what-points.php:61:// @TODO Should we rewrite this to a filter?
 ./inc/modules/member/what-rallyes.php:99:      // @TODO Reactivate this: $content['admin'] = '<a href="{%url=modules.php?module=index&amp;what=impressum&amp;id=' . $content['admin_id'] . '%}">' . $content['login'] . '</a>';
 ./inc/modules/member/what-reflinks.php:52:// @TODO Move this into a filter
+./inc/modules/member/what-transaction_fees.php:210:// @TODO Make this working
 ./inc/modules/member/what-transfer.php:128:                            // @TODO Rewrite this to a filter
 ./inc/modules/member/what-unconfirmed.php:124: // @TODO This call cannot be saved as EL code cannot be "framed" in other EL code
 ./inc/modules/member/what-unconfirmed.php:168: // @TODO Try to rewrite this to $content = SQL_FETCHARRAY()
 ./inc/template-functions.php:209:       * @TODO On some pages this is buggy
 ./inc/template-functions.php:298:      // @TODO Remove these sanity checks if all is fine
 ./inc/template-functions.php:747:                      // @TODO $userid is deprecated and should be removed from loadEmailTemplate() and replaced with $content[userid] in all templates
-./inc/wrapper-functions.php:3227:      // @TODO Find a way to not use direct module comparison
-./inc/wrapper-functions.php:566:// @TODO Do some more sanity check here
+./inc/wrapper-functions.php:3274:      // @TODO Find a way to not use direct module comparison
+./inc/wrapper-functions.php:583:// @TODO Do some more sanity check here
 ./inc/xml-functions.php:240:   // @TODO Handle characters
 ./mailid.php:123:              // @TODO Rewrite this to a filter/function
 ./mailid.php:160:                                      // @TODO Rewrite this to a filter
 ./templates/de/html/admin/admin_login_form.tpl:34:     @TODO Doesn't work with sessions
 ./templates/de/html/admin/admin_login_form.tpl:37:             @TODO Try to move the select box to our generic functions
 ./templates/de/html/admin/admin_optimize.tpl:3:        <!-- @TODO Shouldn't we add a title here? //-->
+./templates/de/html/ext/ext_transaction.tpl:2: @TODO Transaktionen ...
 ./templates/de/html/guest/guest_login.tpl:21:  @TODO Deactivated feature, try to implement it or remove it.
 ./templates/de/html/guest/guest_nickname_login.tpl:21: @TODO Deactivated feature, try to find a solution for this or remove it.
 ./templates/de/html/guest/guest_stats_member.tpl:21:   @TODO We have to fix these counters.
 ./.htaccess:13:        # @TODO When ext-terms is finished RewriteRule ^agb.php$ modules.php?module=index&what=terms [L]
 ./.htaccess:9: # @TODO When ext-imprint is finished RewriteRule ^cms/index/wht/impressum$                 modules.php?module=index&what=imprint [L]
 ### ### DEPRECATION FOLLOWS: ### ###
-./inc/autopurge.php:2:// @DEPRECATED
-./inc/birthday_mails.php:2:// @DEPRECATED
-./inc/check-reset.php:2:// @DEPRECATED
-./inc/doubler_send.php:2:// @DEPRECATED
-./inc/extensions.php:2:// @DEPRECATED
-./inc/fatal_errors.php:2:// @DEPRECATED
-./inc/hooks.php:2:// @DEPRECATED
-./inc/language.php:2:// @DEPRECATED
-./inc/language/pro_de.php:2:// @DEPRECATED
-./inc/libs/output_functions.php:2:// @DEPRECATED
-./inc/load_extensions.php:2:// @DEPRECATED
-./inc/mails/birthday_mails.php:2:// @DEPRECATED
 ./inc/modules/admin/admin-inc.php:534:// @DEPRECATED
-./inc/modules/admin/what-admins_contact.php:2:// @DEPRECATED
-./inc/modules/admin/what-autopurge.php:2:// @DEPRECATED
-./inc/modules/admin/what-config_cache.php:2:// @DEPRECATED
-./inc/modules/admin/what-config_cats.php:2:// @DEPRECATED
-./inc/modules/admin/what-config_mods.php:2:// @DEPRECATED
-./inc/modules/admin/what-config_rallye_prices.php:2:// @DEPRECATED
-./inc/modules/admin/what-config_reg.php:2:// @DEPRECATED
-./inc/modules/admin/what-del_task.php:2:// @DEPRECATED
-./inc/modules/admin/what-list_network_vcheck_params.php:2:// @DEPRECATED
-./inc/modules/admin/what-list_newsletter.php:2:// @DEPRECATED
-./inc/modules/admin/what-list_norefs.php:2:// @DEPRECATED
-./inc/modules/admin/what-newsletter.php:2:// @DEPRECATED
-./inc/modules/admin/what-repair_amenu.php:2:// @DEPRECATED
-./inc/modules/admin/what-repair_gmenu.php:2:// @DEPRECATED
-./inc/modules/admin/what-repair_mmenu.php:2:// @DEPRECATED
-./inc/modules/admin/what-stats.php:2:// @DEPRECATED
-./inc/modules/admin/what-user_online.php:2:// @DEPRECATED
-./inc/modules/frameset.php:2:// @DEPRECATED
-./inc/modules/welcome.php:2:// @DEPRECATED
-./inc/patch-system.php:2:// @DEPRECATED
-./inc/pool-update.php:2:// @DEPRECATED
-./inc/profile-updte.php:2:// @DEPRECATED
-./inc/security.php:2:// @DEPRECATED
-./inc/sql_error.php:2:// @DEPRECATED
-./inc/stats_bonus.php:2:// @DEPRECATED
-./inc/template.php:2:// @DEPRECATED
-./mailid_top.php:2:// @DEPRECATED
-./templates/de/emails/admin/admin_autopurge_delete.tpl:1:@DEPRECATED
-./templates/de/emails/admin/admin_autopurge_del_mails.tpl:1:@DEPRECATED
-./templates/de/emails/admin/admin_autopurge_inactive.tpl:1:@DEPRECATED
-./templates/de/emails/admin/admin_autopurge_points.tpl:1:@DEPRECATED
-./templates/de/emails/admin/admin_autopurge_tsks.tpl:1:@DEPRECATED
-./templates/de/emails/admin/admin_autopurge_turbo.tpl:1:@DEPRECATED
-./templates/de/emails/admin/admin_autopurge_unconfirmed.tpl:1:@DEPRECATED
-./templates/de/html/admin/admin_add_network_vcheck_param.tpl:1:<!-- @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_autopurge_pro.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_config_beg_pro.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_config_bonus_pro.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_config_cache.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_config_doubler_pro.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_config_home_settings_pro.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_export_network_vcheck_params.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_add.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_forum_descr.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_forum_display_cat.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_network_vcheck_params_row.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_list_network_vcheck_params.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 //-->
-./templates/de/html/admin/admin_mods_footer_stats2.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_mods_footer_stats.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_mods_header_list.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_mods_header_stats2.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_mods_header_stats.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_mods_list_row.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_mods_list.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_network_vcheck_param_added.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_new_ext.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_newsletter_tsk.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_online_footer.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_online_header.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_overview_header.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_patches_row.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_patches.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_reg_row.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_reg.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_theme_list.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/ext/ext_primera.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/fatal_footer.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/fatal_header.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/guest/guest_confirm_table.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/guest/guest_paidlinks_register_header.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/guest/guest_paidlinks_register.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/install/install_header.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/member/member_unconfirmed_404_nopoints.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/member/member_unconfirmed_404.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/member/member_unconfirmed_row_nopoints.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/member/member_unconfirmed_row.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/member/member_unconfirmed_table_nopoints.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/member/member_unconfirmed_table.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/metadata.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/theme_one.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/theme_select_box.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/theme_select_form.tpl:1:<!-- @DEPRECATED //-->
-./js/jquery-ui.custom.js:1:// @DEPRECATED
-./js/jquery-uncompressed.js:1:// @DEPRECATED
 ### ### template-warnings.log follows: ### ###
 PHP Warning:  DOMDocument::loadHTMLFile(): Unexpected end tag : td in templates/de/html/menu/menu_what_end.tpl, line: 1 in 
 PHP Warning:  DOMDocument::loadHTMLFile(): Unexpected end tag : tr in templates/de/html/menu/menu_what_end.tpl, line: 2 in 
index d7f97fd32920c173a976b6ba74913bfdf0386633..f9bdda0d1c37c688bbbda221b60a6288f21d6b9d 100644 (file)
@@ -561,16 +561,6 @@ Auszug aus der originalen general.css:
        background-color        : #eeffbc;
 }
 
-.media_header, .impressum_header {
-       background-color        : #b8fccb;
-       align                   : center;
-       text-align              : center;
-       color                   : #009900;
-       height                  : 26px;
-       font-weight             : bold;
-       font-size                       : 20px;
-}
-
 .media_left {
        font-size                       : 14px;
        width                   : 200px;
@@ -606,14 +596,6 @@ Auszug aus der originalen general.css:
        height                  : 30px
 }
 
-.admin_task_header {
-       background-color        : #DDEEDD;
-       color                   : #009900;
-       vertical-align          : middle;
-       font-size                       : 18px;
-       height                  : 35px;
-}
-
 .separator {
        font-size                       : 1px
 }
diff --git a/api.php b/api.php
index fb54301d80d7340af80f3904d76397d2b2725ce9..a6524ae02c1a72f9e44d201ac263210c8cf1939c 100644 (file)
--- a/api.php
+++ b/api.php
@@ -57,10 +57,10 @@ $GLOBALS['__footer_sent'] = 2;
 require('inc/config-global.php');
 
 // Load special API library
-//loadIncludeOnce('inc/ajax-functions.php');
+//loadIncludeOnce('inc/api-functions.php');
 
 // Init API request (including HTTP status code)
-//initAjax();
+//initApi();
 
 // Load header here
 loadIncludeOnce('inc/header.php');
index 10af24c8573a54bec19d629bcc53fc43369a57cb..e5aedcd104c39c32ef5ca62418076f86d4ddd024 100644 (file)
--- a/debug.php
+++ b/debug.php
@@ -55,7 +55,7 @@ if ((isExtensionActive('debug')) && (!ifFatalErrorsDetected())) {
                // Handle the request
                if (DEBUG_HANDLE_REQUEST(postRequestElement('request'))) {
                        // Construct FQFN for the module
-                       $inc = sprintf("inc/debug/%s/request_%s.php",
+                       $inc = sprintf('inc/debug/%s/request_%s.php',
                                getConfig('debug_mode'),
                                sqlEscapeString(postRequestElement('request'))
                        );
diff --git a/img.php b/img.php
index f8c5fdaa148493b95cff8f613473de66c3b67a02..d9780a6b229ef3d999c041ed15a8ba486298452c 100644 (file)
--- a/img.php
+++ b/img.php
@@ -57,9 +57,7 @@ if (isGetRequestElementSet('code')) {
        generateImageOrCode(bigintval(getRequestElement('code')));
 } elseif (isGetRequestElementSet('img')) {
        // 'img' set so create the IFN (Include-FileName)
-       $inc = sprintf("inc/img/img_%s.php",
-               getRequestElement('img')
-       );
+       $inc = sprintf('inc/img/img_%s.php', getRequestElement('img'));
 
        // Include is readable?
        if (isIncludeReadable($inc)) {
diff --git a/img/captcha-error.png b/img/captcha-error.png
new file mode 100644 (file)
index 0000000..ab0a996
Binary files /dev/null and b/img/captcha-error.png differ
index 512b3ae5751883b66b834bf917a08c314cd1c1c8..35cb192c65bb1559a3bcfe01dd3f949057a747e0 100644 (file)
@@ -61,7 +61,7 @@ function initAjax () {
        setUsername('{--USERNAME_AJAX--}');
 
        // In installation phase load ajax_installer.php
-       if (isInstallationPhase()) {
+       if (isInstaller()) {
                // Load it
                loadIncludeOnce('inc/ajax/ajax_installer.php');
        } // END - if
@@ -88,7 +88,7 @@ function isAjaxRequestLevelValid () {
        switch (postRequestElement('level')) {
                case 'install': // Installation phase level
                        // Simply check for it
-                       $isValid = isInstallationPhase();
+                       $isValid = isInstaller();
                        break;
 
                case 'admin': // Admin area
@@ -131,9 +131,9 @@ function processAjaxRequest () {
 }
 
 // Send AJAX content
-function sendAjaxContent () {
+function sendAjaxContent ($forceOutput = FALSE) {
        // Is the status fine or template not found (404)?
-       if (isAjaxHttpStatusAccepted()) {
+       if ((isAjaxHttpStatusAccepted()) || ($forceOutput === TRUE)) {
                // Then output the JSON
                outputHtml(encodeJson($GLOBALS['ajax_reply']));
        } // END - if
index 20099b8c059f98c531f5a3fc8938d4617094fd15..de592ac950702c8615e148b4765ccc5eabd534b5 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
  * Mailer v0.2.1-FINAL                                Start: 06/24/2012 *
- * ===================                          Last change: 06/24/2012 *
+ * ===================                          Last change: 06/23/2013 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : ajax_admin.php                                   *
@@ -36,7 +36,9 @@
  ************************************************************************/
 
 // Some security stuff...
-if ((!defined('__SECURITY')) || (!isAjaxOutputMode())) {
+if (!defined('__SECURITY')) {
+       die();
+} elseif ((!isAjaxOutputMode()) || (!isAdmin())) {
        header('HTTP/1.1 403 Forbidden');
        die(json_encode(array('reply_content' => 'Access forbidden'), JSON_FORCE_OBJECT));
 } // END - if
index 9b5996b7f408a5fbe3f9aaf3116836b713a394fc..98af1a46247b525f3fb94ec158fe376267f30321 100644 (file)
@@ -36,7 +36,9 @@
  ************************************************************************/
 
 // Some security stuff...
-if ((!defined('__SECURITY')) || (!isAjaxOutputMode()) || (!isAdmin())) {
+if (!defined('__SECURITY')) {
+       die();
+} elseif ((!isAjaxOutputMode()) || (!isAdmin())) {
        header('HTTP/1.1 403 Forbidden');
        die(json_encode(array('reply_content' => 'Access forbidden'), JSON_FORCE_OBJECT));
 } // END - if
index 108fd3e9135b6577fc0aac3d6bc6d359b0166e3b..0031a183cda8e4883a92fb618b56b935082ff5a5 100644 (file)
@@ -36,7 +36,9 @@
  ************************************************************************/
 
 // Some security stuff...
-if ((!defined('__SECURITY')) || (!isAjaxOutputMode()) || (!isInstallationPhase())) {
+if (!defined('__SECURITY')) {
+       die();
+} elseif ((!isAjaxOutputMode()) || (!isInstaller())) {
        header('HTTP/1.1 403 Forbidden');
        die(json_encode(array('reply_content' => 'Access forbidden'), JSON_FORCE_OBJECT));
 } // END - if
@@ -63,19 +65,22 @@ function establishAjaxInstallerDatabaseLink () {
        if (!is_resource($linkResource)) {
                // Is not a resource
                reportBug(__FUNCTION__, __LINE__, 'linkResource[]=' . gettype($linkResource) . ', expected: link resource');
-       } // END - if
+       } elseif (!isSqlLinkUp()) {
+               // SQL link is not up
+               reportBug(__FUNCTION__, __LINE__, 'Could not bring up SQL link.');
+       }
 
        // Does selecting the database work?
        if (!sqlSelectDatabase(getSession('mysql_dbase'), __FUNCTION__, __LINE__)) {
                // Could not be selected
                reportBug(__FUNCTION__, __LINE__, 'Could not select database ' . getSession('mysql_dbase'));
-       } elseif ((!isFileReadable(getSession('base_path') . 'install/tables.sql')) || (!isFileReadable(getSession('base_path') . 'install/menu-'.getLanguage().'.sql'))) {
+       } elseif (!isInstallerSqlsReadable(getSession('base_path'))) {
                // Installation area not found
                reportBug(__FUNCTION__, __LINE__, 'SQL dumps not found. Please extract ALL files from the archive or checkout all files out from SVN.');
        } elseif (ifFatalErrorsDetected()) {
                // Some other fatal error occured
                reportBug(__FUNCTION__, __LINE__, 'Some fatal error detected, please check debug.log for details.');
-       } // END - if
+       }
 
        // Set type, prefix from POST data and database name for later queries
        setConfigEntry('_TABLE_TYPE'  , getSession('mysql_engine'));
@@ -90,7 +95,7 @@ function establishAjaxInstallerDatabaseLink () {
 // Processes AJAX requests for installer
 function doAjaxProcessInstall () {
        // 'do' must always be set and installation phase must be true
-       if (!isInstallationPhase()) {
+       if (!isInstaller()) {
                // This shall not happen
                reportBug(__FUNCTION__, __LINE__, 'This AJAX request handler was called outside the installer.');
        } elseif (!isPostRequestElementSet('do')) {
@@ -145,6 +150,7 @@ function doAjaxInstallerFooterNavigation () {
                case 'smtp_config':
                case 'other_config':
                case 'extensions':
+               case 'first_admin':
                        array_push($enabledNavigations, 'previous');
                case 'welcome': // Only 'next' works for welcome page
                        array_push($enabledNavigations, 'next');
@@ -187,17 +193,20 @@ function doAjaxInstallerDoStep () {
        // Is the function there?
        if (function_exists($callbackName)) {
                // Call it for setting values in session
-               call_user_func($callbackName);
+               $status = call_user_func($callbackName);
        } else {
                // Log missing functions
                reportBug(__FUNCTION__, __LINE__, 'Call-back function ' . $callbackName . ' does not exist.');
        }
 
-       // Set dummy content
-       setAjaxReplyContent(encodeJson(postRequestElement('step').'=OK'));
+       // Did the installation step went fine?
+       if ($status === TRUE) {
+               // All fine
+               setAjaxReplyContent(encodeJson(postRequestElement('step') . '=OK'));
 
-       // All okay if we reach this point
-       setHttpStatus('200 OK');
+               // All okay if we reach this point
+               setHttpStatus('200 OK');
+       } // END - if
 }
 
 // Processes installer AJAX calls for content-requests
@@ -366,13 +375,13 @@ function doAjaxPrepareInstallerBaseData () {
        // Is 'main_title' not set?
        if (!isSessionVariableSet('main_title')) {
                // Then set it from default main title
-               setSession('main_title', '{--DEFAULT_MAIN_TITLE--}');
+               setSession('main_title', compileRawCode(getMessage('DEFAULT_MAIN_TITLE')));
        } // END - if
 
        // Is 'slogan' not set?
        if (!isSessionVariableSet('slogan')) {
                // Then set it from default slogan
-               setSession('slogan', '{--DEFAULT_SLOGAN--}');
+               setSession('slogan', compileRawCode(getMessage('DEFAULT_SLOGAN')));
        } // END - if
 
        // Is 'webmaster' not set?
@@ -464,8 +473,8 @@ function doAjaxPrepareInstallerExtensions () {
        // Is 'extensions' set?
        if (!isSessionVariableSet('extensions')) {
                /*
-                * At least ext-sql_patches and ext-task should be installed
-                *(ext-sql_patches is a must!)
+                * At least ext-admins, ext-sql_patches and ext-task should be installed
+                * (ext-sql_patches is a must!)
                 */
                setSession('extensions', 'admins:sql_patches:task');
        } elseif (strpos(getSession('extensions'), 'sql_patches') === FALSE) {
@@ -474,6 +483,33 @@ function doAjaxPrepareInstallerExtensions () {
        }
 }
 
+// Prepare AJAX request 'first_admin'
+function doAjaxPrepareInstallerFirstAdmin () {
+       // Is 'admin_login' set?
+       if (!isSessionVariableSet('admin_login')) {
+               // Set it
+               setSession('admin_login', 'admin');
+       } // END - if
+
+       // Is 'admin_email' set?
+       if (!isSessionVariableSet('admin_email')) {
+               // Set it
+               setSession('admin_email', getSession('webmaster'));
+       } // END - if
+
+       // Is 'admin_password1' set?
+       if (!isSessionVariableSet('admin_password1')) {
+               // Set it
+               setSession('admin_password1', '');
+       } // END - if
+
+       // Is 'admin_password2' set?
+       if (!isSessionVariableSet('admin_password2')) {
+               // Set it
+               setSession('admin_password2', '');
+       } // END - if
+}
+
 // Prepare AJAX request 'overview'
 function doAjaxPrepareInstallerOverview () {
        // 'tab' must always be set to create a post-check-callback
@@ -579,6 +615,9 @@ function doAjaxInstallerStepImportTablesSql () {
 
        // Close SQL link
        sqlCloseLink(__FUNCTION__, __LINE__);
+
+       // All fine
+       return TRUE;
 }
 
 // Call-back function to import menu SQL file
@@ -603,6 +642,9 @@ function doAjaxInstallerStepImportMenuSql () {
 
        // Close SQL link
        sqlCloseLink(__FUNCTION__, __LINE__);
+
+       // All fine
+       return TRUE;
 }
 
 // Call-back function to install some important extensions
@@ -633,6 +675,9 @@ function doAjaxInstallerStepInstallExtensions () {
                        reportBug(__FUNCTION__, __LINE__, 'Cannot load/register extension ' . $ext_name . '.');
                } // END - if
        } // END - foreach
+
+       // All fine
+       return TRUE;
 }
 
 // Call-back function to write local configuration file
@@ -641,7 +686,16 @@ function doAjaxInstallerStepWriteLocalConfig () {
        if (!isSessionDataSet(array('base_path', 'base_url', 'main_title', 'slogan', 'webmaster', 'mysql_host', 'mysql_dbase', 'mysql_prefix', 'mysql_login', 'mysql_password1', 'mysql_password2', 'mysql_engine', 'output_mode', 'warn_no_pass', 'write_footer', 'enable_backlink'))) {
                // Some required session data is not set
                reportBug(__FUNCTION__, __LINE__, 'Required session data for this step not found.');
-       } // END - if
+       } elseif (isInstalled()) {
+               // Is already installed = local config written
+               reportBug(__FUNCTION__, __LINE__, 'Local config file is already written.');
+       } elseif (isAdminRegistered()) {
+               // Admin is already registered
+               reportBug(__FUNCTION__, __LINE__, 'First administrator account is already registered.');
+       }
+
+       // Establish database link
+       establishAjaxInstallerDatabaseLink();
 
        // Write config file
        if (!doInstallWriteLocalConfigurationFile(
@@ -667,6 +721,36 @@ function doAjaxInstallerStepWriteLocalConfig () {
                removeFile(getSession('base_path') . getCachePath() . 'config-local.php');
                reportBug(__FUNCTION__, __LINE__, 'Did not fully write config-local.php .');
        }
+
+       // Change ADMIN_REGISTERED flag
+       $done = changeDataInLocalConfigurationFile('ADMIN-SETUP', "setConfigEntry('ADMIN_REGISTERED', '", "');", 'Y', 0);
+
+       // All fine
+       return $done;
+}
+
+// Call-back function to register first admin
+function doAjaxInstallerStepRegisterFirstAdmin () {
+       // Is all set?
+       if (!isSessionDataSet(array('admin_login', 'admin_email', 'admin_password1', 'admin_password2'))) {
+               // Some required session data is not set
+               reportBug(__FUNCTION__, __LINE__, 'Required session data for this step not found.');
+       } elseif (isAdminRegistered()) {
+               // First admin is already registered
+               reportBug(__FUNCTION__, __LINE__, 'First administrator is already registered.');
+       }
+
+       // Establish database link
+       establishAjaxInstallerDatabaseLink();
+
+       // Load admin include
+       loadIncludeOnce('inc/modules/admin/admin-inc.php');
+
+       // Register first admin
+       $ret = addAdminAccount(getSession('admin_login'), md5(getSession('admin_password1')), getSession('admin_email'), 'allow');
+
+       // Did it work?
+       return ($ret == 'done');
 }
 
 // [EOF]
diff --git a/inc/autopurge.php b/inc/autopurge.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
diff --git a/inc/birthday_mails.php b/inc/birthday_mails.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
index 821bbd4dafc3fbab80a69eca80ac126c26e36fc0..ee0a38754b81a06286df01a0cad446d3b53a0799 100644 (file)
@@ -43,7 +43,7 @@ if (!defined('__SECURITY')) {
 // Handles the XML node 'admin-entry-meta-data'
 function doXmlAdminEntryMetaData ($resource, $attributes) {
        // There should be no attributes
-       if (count($attributes) > 0) {
+       if (isFilledArray($attributes)) {
                // Please don't add any attributes to foo-list nodes
                reportBug(__FUNCTION__, __LINE__, 'Expected 0 attributes, got ' . count($attributes));
        } // END - if
@@ -52,7 +52,7 @@ function doXmlAdminEntryMetaData ($resource, $attributes) {
 // Handles the XML node 'member-entry-meta-data'
 function doXmlMemberEntryMetaData ($resource, $attributes) {
        // There should be no attributes
-       if (count($attributes) > 0) {
+       if (isFilledArray($attributes)) {
                // Please don't add any attributes to foo-list nodes
                reportBug(__FUNCTION__, __LINE__, 'Expected 0 attributes, got ' . count($attributes));
        } // END - if
@@ -118,7 +118,7 @@ function doXmlDatabaseTable ($resource, $attributes) {
 // Handles the XML node 'database-column-list'
 function doXmlDatabaseColumnList ($resource, $attributes) {
        // There should be no attributes
-       if (count($attributes) > 0) {
+       if (isFilledArray($attributes)) {
                // Please don't add any attributes to foo-list nodes
                reportBug(__FUNCTION__, __LINE__, 'Expected 0 attributes because this is a foo-list node, got ' . count($attributes));
        } // END - if
@@ -172,7 +172,7 @@ function doXmlDatabaseColumnListEntry ($resource, $attributes) {
 // Handles the XML node 'callback-function-list'
 function doXmlCallbackFunctionList ($resource, $attributes) {
        // There should be no attributes
-       if (count($attributes) > 0) {
+       if (isFilledArray($attributes)) {
                // Please don't add any attributes to foo-list nodes
                reportBug(__FUNCTION__, __LINE__, 'Expected 0 attributes because this is a foo-list node, got ' . count($attributes));
        } // END - if
@@ -214,7 +214,7 @@ function doXmlCallbackFunctionListEntry ($resource, $attributes) {
 // Handles the XML node 'extra-parameter-list'
 function doXmlExtraParameterList ($resource, $attributes) {
        // There should be no attributes
-       if (count($attributes) > 0) {
+       if (isFilledArray($attributes)) {
                // Please don't add any attributes to foo-list nodes
                reportBug(__FUNCTION__, __LINE__, 'Expected 0 attributes because this is a foo-list node, got ' . count($attributes));
        } // END - if
@@ -256,7 +256,7 @@ function doXmlExtraParameterListEntry ($resource, $attributes) {
 // Handles the XML node 'time-columns-list'
 function doXmlTimeColumnsList ($resource, $attributes) {
        // There should be no attributes
-       if (count($attributes) > 0) {
+       if (isFilledArray($attributes)) {
                // Please don't add any attributes to foo-list nodes
                reportBug(__FUNCTION__, __LINE__, 'Expected 0 attributes because this is a foo-list node, got ' . count($attributes));
        } // END - if
@@ -298,7 +298,7 @@ function doXmlTimeColumnsListEntry ($resource, $attributes) {
 // Handles the XML node 'extra-parameter-member-list'
 function doXmlExtraParameterMemberList ($resource, $attributes) {
        // There should be no attributes
-       if (count($attributes) > 0) {
+       if (isFilledArray($attributes)) {
                // Please don't add any attributes to foo-list nodes
                reportBug(__FUNCTION__, __LINE__, 'Expected 0 attributes because this is a foo-list node, got ' . count($attributes));
        } elseif (!isset($GLOBALS['__XML_ARGUMENTS']['doXmlCallbackFunction']['extra_list']['member_list'])) {
@@ -310,7 +310,7 @@ function doXmlExtraParameterMemberList ($resource, $attributes) {
 // Handles the XML node 'extra-parameter-reload-list'
 function doXmlExtraParameterReloadList ($resource, $attributes) {
        // There should be no attributes
-       if (count($attributes) > 0) {
+       if (isFilledArray($attributes)) {
                // Please don't add any attributes to foo-list nodes
                reportBug(__FUNCTION__, __LINE__, 'Expected 0 attributes because this is a foo-list node, got ' . count($attributes));
        } elseif (!isset($GLOBALS['__XML_ARGUMENTS']['doXmlCallbackFunction']['extra_list']['reload_list'])) {
@@ -322,7 +322,7 @@ function doXmlExtraParameterReloadList ($resource, $attributes) {
 // Handles the XML node 'extra-parameter-waiting-list'
 function doXmlExtraParameterWaitingList ($resource, $attributes) {
        // There should be no attributes
-       if (count($attributes) > 0) {
+       if (isFilledArray($attributes)) {
                // Please don't add any attributes to foo-list nodes
                reportBug(__FUNCTION__, __LINE__, 'Expected 0 attributes because this is a foo-list node, got ' . count($attributes));
        } elseif (!isset($GLOBALS['__XML_ARGUMENTS']['doXmlCallbackFunction']['extra_list']['waiting_list'])) {
@@ -424,7 +424,7 @@ function doXmlExtraParameterWaitingListEntry ($resource, $attributes) {
 // Handles the XML node 'extra-parameter-added-list'
 function doXmlExtraParameterAddedList ($resource, $attributes) {
        // There should be no attributes
-       if (count($attributes) > 0) {
+       if (isFilledArray($attributes)) {
                // Please don't add any attributes to foo-list nodes
                reportBug(__FUNCTION__, __LINE__, 'Expected 0 attributes because this is a foo-list node, got ' . count($attributes));
        } elseif (!isset($GLOBALS['__XML_ARGUMENTS']['doXmlCallbackFunction']['extra_list']['added_list'])) {
@@ -466,7 +466,7 @@ function doXmlExtraParameterAddedListEntry ($resource, $attributes) {
 // Handles the XML node 'extra-parameter-created-list'
 function doXmlExtraParameterCreatedList ($resource, $attributes) {
        // There should be no attributes
-       if (count($attributes) > 0) {
+       if (isFilledArray($attributes)) {
                // Please don't add any attributes to foo-list nodes
                reportBug(__FUNCTION__, __LINE__, 'Expected 0 attributes because this is a foo-list node, got ' . count($attributes));
        } elseif (!isset($GLOBALS['__XML_ARGUMENTS']['doXmlCallbackFunction']['extra_list']['created_list'])) {
@@ -538,7 +538,7 @@ function doXmlStatusChangeColumn ($resource, $attributes) {
 // Handles the XML node 'status-change-list'
 function doXmlStatusChangeList ($resource, $attributes) {
        // There should be no attributes
-       if (count($attributes) > 0) {
+       if (isFilledArray($attributes)) {
                // Please don't add any attributes to foo-list nodes
                reportBug(__FUNCTION__, __LINE__, 'Expected 0 attributes because this is a foo-list node, got ' . count($attributes));
        } elseif (!isset($GLOBALS['__XML_ARGUMENTS']['doXmlCallbackFunction'])) {
@@ -740,7 +740,7 @@ function doXmlCacheFile ($resource, $attributes) {
 // Handles the XML node 'admin-list-data'
 function doXmlAdminListData ($resource, $attributes) {
        // There should be no attributes
-       if (count($attributes) > 0) {
+       if (isFilledArray($attributes)) {
                // Please don't add any attributes to foo-list nodes
                reportBug(__FUNCTION__, __LINE__, 'Expected 0 attributes, got ' . count($attributes));
        } // END - if
@@ -749,7 +749,7 @@ function doXmlAdminListData ($resource, $attributes) {
 // Handles the XML node 'member-list-data'
 function doXmlMemberListData ($resource, $attributes) {
        // There should be no attributes
-       if (count($attributes) > 0) {
+       if (isFilledArray($attributes)) {
                // Please don't add any attributes to foo-list nodes
                reportBug(__FUNCTION__, __LINE__, 'Expected 0 attributes, got ' . count($attributes));
        } // END - if
@@ -758,7 +758,7 @@ function doXmlMemberListData ($resource, $attributes) {
 // Handles the XML node 'data-tables'
 function doXmlDataTables ($resource, $attributes) {
        // There should be no attributes
-       if (count($attributes) > 0) {
+       if (isFilledArray($attributes)) {
                // Please don't add any attributes to foo-list nodes
                reportBug(__FUNCTION__, __LINE__, 'Expected 0 attributes, got ' . count($attributes));
        } // END - if
@@ -803,7 +803,7 @@ function doXmlDataTable ($resource, $attributes) {
 // Handles the XML node 'table-join-condition'
 function doXmlTableJoinCondition ($resource, $attributes) {
        // There should be no attributes
-       if (count($attributes) > 0) {
+       if (isFilledArray($attributes)) {
                // Please don't add any attributes to foo-list nodes
                reportBug(__FUNCTION__, __LINE__, 'Expected 0 attributes, got ' . count($attributes));
        } // END - if
@@ -855,7 +855,7 @@ function doXmlTableJoinName ($resource, $attributes) {
 // Handles the XML node 'join-on'
 function doXmlJoinOn ($resource, $attributes) {
        // There should be no attributes
-       if (count($attributes) > 0) {
+       if (isFilledArray($attributes)) {
                // Please don't add any attributes to foo-list nodes
                reportBug(__FUNCTION__, __LINE__, 'Expected 0 attributes, got ' . count($attributes));
        } // END - if
@@ -958,7 +958,7 @@ function doXmlJoinOnCondition ($resource, $attributes) {
 // Handles the XML node 'select-data-from-list'
 function doXmlSelectDataFromList ($resource, $attributes) {
        // There should be no attributes
-       if (count($attributes) > 0) {
+       if (isFilledArray($attributes)) {
                // Please don't add any attributes to foo-list nodes
                reportBug(__FUNCTION__, __LINE__, 'Expected 0 attributes because this is a foo-list node, got ' . count($attributes));
        } elseif (!isset($GLOBALS['__XML_ARGUMENTS']['doXmlCallbackFunction']['data_table'])) {
@@ -1012,7 +1012,7 @@ function doXmlSelectDataFromListEntry ($resource, $attributes) {
 // Handles the XML node 'where-select-from-list'
 function doXmlWhereSelectFromList ($resource, $attributes) {
        // There should be no attributes
-       if (count($attributes) > 0) {
+       if (isFilledArray($attributes)) {
                // Please don't add any attributes to foo-list nodes
                reportBug(__FUNCTION__, __LINE__, 'Expected 0 attributes because this is a foo-list node, got ' . count($attributes));
        } elseif (!isset($GLOBALS['__XML_ARGUMENTS']['doXmlCallbackFunction']['data_table'])) {
@@ -1102,7 +1102,7 @@ function doXmlWhereCondition ($resource, $attributes) {
 // Handles the XML node 'order-by-list'
 function doXmlOrderByList ($resource, $attributes) {
        // There should be no attributes
-       if (count($attributes) > 0) {
+       if (isFilledArray($attributes)) {
                // Please don't add any attributes to foo-list nodes
                reportBug(__FUNCTION__, __LINE__, 'Expected 0 attributes because this is a foo-list node, got ' . count($attributes));
        } elseif (!isset($GLOBALS['__XML_ARGUMENTS']['doXmlCallbackFunction']['data_table'])) {
@@ -1210,7 +1210,7 @@ function doXmlListRowTemplate ($resource, $attributes) {
 // Handles the XML node 'column-callback-list'
 function doXmlColumnCallbackList ($resource, $attributes) {
        // There should be no attributes
-       if (count($attributes) > 0) {
+       if (isFilledArray($attributes)) {
                // Please don't add any attributes to foo-list nodes
                reportBug(__FUNCTION__, __LINE__, 'Expected 0 attributes because this is a foo-list node, got ' . count($attributes));
        } elseif (!isset($GLOBALS['__XML_ARGUMENTS']['doXmlCallbackFunction']['data_table'])) {
@@ -1225,7 +1225,7 @@ function doXmlColumnCallbackList ($resource, $attributes) {
 // Handles the XML node 'column-callback-list-entry'
 function doXmlColumnCallbackListEntry ($resource, $attributes) {
        // There should be no attributes
-       if (count($attributes) > 0) {
+       if (isFilledArray($attributes)) {
                // Please don't add any attributes to foo-list nodes
                reportBug(__FUNCTION__, __LINE__, 'Expected 0 attributes because this is a foo-list node, got ' . count($attributes));
        } elseif (!isset($GLOBALS['__XML_ARGUMENTS']['doXmlCallbackFunction']['column_callback_list'])) {
@@ -1270,7 +1270,7 @@ function doXmlColumnCallbackData ($resource, $attributes) {
 // Handles the XML node 'callback-extra-parameter-list'
 function doXmlCallbackExtraParameterList ($resource, $attributes) {
        // There should be no attributes
-       if (count($attributes) > 0) {
+       if (isFilledArray($attributes)) {
                // Please don't add any attributes to foo-list nodes
                reportBug(__FUNCTION__, __LINE__, 'Expected 1 attributes because this is a named foo-list node, got ' . count($attributes));
        } elseif (!isset($GLOBALS['__XML_ARGUMENTS']['doXmlCallbackFunction']['column_callback_list'])) {
diff --git a/inc/captcha-base.png b/inc/captcha-base.png
new file mode 100644 (file)
index 0000000..f29f083
Binary files /dev/null and b/inc/captcha-base.png differ
diff --git a/inc/check-reset.php b/inc/check-reset.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
index 06fc673a4063c801c6133c34041999246f289f2d..2da580312f9d0e2d3ae28f1278da55700c290b3b 100644 (file)
@@ -494,7 +494,7 @@ class CacheSystem {
                                        $GLOBALS[__METHOD__][$ext_name] = ((isset($this->version[$this->name][$ext_name])) && ($this->version[$this->name][$ext_name] == $ext_ver));
                                } elseif ($this->isCacheReadable()) {
                                        // No cache version found
-                                       logDebugMessage(__METHOD__, __LINE__, 'Cache ' . $this->name . ' has missing version entry for extension ' . $ext_name . '! Purging cache...');
+                                       logDebugMessage(__METHOD__, __LINE__, 'Cache ' . $this->name . ' has missing version entry for extension ext-' . $ext_name . '! Purging cache...');
        
                                        // Remove the cache file
                                        $this->removeCacheFile(TRUE);
index 00ff1d8e10de10e47a5311a274803ed56b1f1b6b..53fc0c3d2840439db2f88ff36efb116bd9dbe153 100644 (file)
@@ -50,7 +50,7 @@ function getCode ($key) {
        // Is the key set?
        if (!isCodeSet($key)) {
                // Abort here
-               reportBug(__FUNCTION__, __LINE__, sprintf("%s[%s:] Code %s is not set.",
+               reportBug(__FUNCTION__, __LINE__, sprintf('%s[%s:] Code %s is not set.',
                        __FUNCTION__,
                        __LINE__,
                        $key
index 4b5152864b8d38321d95f5ab16181ec6169840fd..7b398bc93e6d7c57b43d6f324ac13edf97e8f019 100644 (file)
@@ -58,6 +58,7 @@ function initConfig () {
                // 'DEBUG_HOURLY'        => 'N',
                // 'DEBUG_DAILY'         => 'N',
                // 'DEBUG_MONTHLY'       => 'N',
+               // 'DEBUG_YEARLY'        => 'N',
                // 'DEBUG_WEEKLY'        => 'N',
                // 'DEBUG_REGEX'         => 'N',
                // 'ADMIN_REGISTERED'    => 'N',
@@ -75,7 +76,7 @@ function getConfig ($configEntry) {
        // Is the entry there?
        if (!isConfigEntrySet($configEntry)) {
                // Raise an error of missing entries
-               reportBug(__FUNCTION__, __LINE__, sprintf("Configuration entry <span class=\"data\">%s</span> is missing.", $configEntry));
+               reportBug(__FUNCTION__, __LINE__, sprintf('Configuration entry <span class="data">%s</span> is missing.', $configEntry));
        } // END - if
 
        // Return it
@@ -286,11 +287,11 @@ function updateOldConfigFile () {
 }
 
 // Update config entries
-function updateConfiguration ($entries, $values, $updateMode = '', $config = '0') {
+function updateConfiguration ($entries, $values, $updateMode = '', $config = '0', $force = FALSE) {
        // Do not update config in CSS mode
-       if ((isCssOutputMode()) || (isRawOutputMode()) || (isInstallationPhase())) {
+       if (($force === FALSE) && ((isCssOutputMode()) || (isRawOutputMode()) || (isInstaller()))) {
                // This logger line may be very noisy
-               //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Not updating configuration. entries[]=' . gettype($entries) . ',values[]=' . gettype($values) . ',updateMode=' . $updateMode . ',config=' . $config . ',isCssOutputMode()=' . intval(isCssOutputMode()) . ',isRawOutputMode()=' . intval(isRawOutputMode()) . ',isInstallationPhase()=' . intval(isInstallationPhase()));
+               /* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Not updating configuration. entries[]=' . gettype($entries) . ',values[]=' . gettype($values) . ',updateMode=' . $updateMode . ',config=' . $config . ',isCssOutputMode()=' . intval(isCssOutputMode()) . ',isRawOutputMode()=' . intval(isRawOutputMode()) . ',isInstaller()=' . intval(isInstaller()));
                return;
        } // END - if
 
@@ -312,7 +313,7 @@ function updateConfiguration ($entries, $values, $updateMode = '', $config = '0'
                                        reportBug(__FUNCTION__, __LINE__, 'values[' . $idx . '] should not be an array! Content=<pre>'.print_r($values[$idx], TRUE).'</pre>');
                                } elseif ($values[$idx] == 'UNIX_TIMESTAMP()') {
                                        // Function UNIX_TIMESTAMP() detected
-                                       $SQL .= sprintf("`%s`=UNIX_TIMESTAMP(),", $entry);
+                                       $SQL .= sprintf('`%s`=UNIX_TIMESTAMP(),', $entry);
 
                                        // Set timestamp in array as well
                                        setConfigEntry($entry, time());
@@ -325,10 +326,10 @@ function updateConfiguration ($entries, $values, $updateMode = '', $config = '0'
 
                                        // Update mode set
                                        // @TODO Call setConfigEntry() somehow
-                                       $SQL .= $entries = sprintf("`%s`=`%s`%s%s", $entry, $entry, $updateMode, (float) $values[$idx]);
+                                       $SQL .= $entries = sprintf('`%s`=`%s`%s%s', $entry, $entry, $updateMode, (float) $values[$idx]);
                                } elseif (($values[$idx] + 0) === $values[$idx]) {
                                        // Number detected
-                                       $SQL .= sprintf("`%s`=%s,", $entry, (float) $values[$idx]);
+                                       $SQL .= sprintf('`%s`=%s,', $entry, (float) $values[$idx]);
 
                                        // Set it in config as well
                                        setConfigEntry($entry, $values[$idx]);
@@ -353,16 +354,16 @@ function updateConfiguration ($entries, $values, $updateMode = '', $config = '0'
 
                // Update mode set
                // @TODO Call setConfigEntry() somehow
-               $SQL = sprintf("`%s`=`%s`%s%s", $entries, $entries, $updateMode, (float) $values);
+               $SQL = sprintf('`%s`=`%s`%s%s', $entries, $entries, $updateMode, (float) $values);
        } elseif (($values + 0) === $values) {
                // Number detected
-               $SQL = sprintf("`%s`=%s", $entries, (float) $values);
+               $SQL = sprintf('`%s`=%s', $entries, (float) $values);
 
                // Set it in config first
                setConfigEntry($entries, (float) $values);
        } elseif ($values == 'UNIX_TIMESTAMP()') {
                // Function UNIX_TIMESTAMP() detected
-               $SQL = sprintf("`%s`=UNIX_TIMESTAMP()", $entries);
+               $SQL = sprintf('`%s`=UNIX_TIMESTAMP()', $entries);
 
                // Set timestamp in array as well
                setConfigEntry($entries, time());
@@ -376,7 +377,7 @@ function updateConfiguration ($entries, $values, $updateMode = '', $config = '0'
 
        // Run database update
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'SQL=' . $SQL);
-       sqlQueryEscaped("UPDATE `{?_MYSQL_PREFIX?}_config` SET ".$SQL." WHERE `config`=%s LIMIT 1",
+       sqlQueryEscaped("UPDATE `{?_MYSQL_PREFIX?}_config` SET " . $SQL . " WHERE `config`=%s LIMIT 1",
                        array(bigintval($config)), __FUNCTION__, __LINE__);
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'SQL=' . $SQL . ',affectedRows=' . sqlAffectedRows());
 
@@ -387,7 +388,7 @@ function updateConfiguration ($entries, $values, $updateMode = '', $config = '0'
 // Filter for loading configuration
 function FILTER_LOAD_CONFIGURATION ($no = '0') {
        // Is installation phase?
-       if (isInstallationPhase()) {
+       if (isInstaller()) {
                // Then don't load any configuration
                return;
        } // END - if
index ddaf86551ba49c56cd056d54da0809db5ee1c14e..bed4e0e40494ba863a054babd52ac4abfe6bafd2 100644 (file)
@@ -101,6 +101,9 @@ setConfigEntry('DEBUG_TEMPLATE_CACHE', 'N');
 // CFG: DEBUG-MONTHLY (comment in to test monthly reset, comment out to not test)
 //setConfigEntry('DEBUG_MONTHLY', 'Y');
 
+// CFG: DEBUG-YEARLY (comment in to test yearly reset, comment out to not test)
+//setConfigEntry('DEBUG_YEARLY', 'Y');
+
 // CFG: DEBUG-REGEX (comment in to debug regular expressions)
 //setConfigEntry('DEBUG_REGEX', 'Y');
 
index 5414a494aed972b5916ae3b7b507e49a3f2543af..3a8c1108a3ff86b0e596b0a1802faac81a6afbf8 100644 (file)
@@ -52,13 +52,13 @@ function sqlQuery ($sqlString, $file, $line, $enableCodes = TRUE) {
                // Empty query string or link is not up?
                if (empty($sqlStringModified)) {
                        // Empty SQL string!
-                       reportBug(__FUNCTION__, __LINE__, sprintf("SQL string is empty, please fix this: file=%s, line=%s",
+                       reportBug(__FUNCTION__, __LINE__, sprintf('SQL string is empty, please fix this: file=%s, line=%s',
                                basename($file),
                                $line
                        ));
                } elseif (!isSqlLinkUp()) {
                        // We should not quietly ignore this
-                       reportBug(__FUNCTION__, __LINE__, sprintf("Cannot query database: sqlString=%s,file=%s,line=%s",
+                       reportBug(__FUNCTION__, __LINE__, sprintf('Cannot query database: sqlString=%s,file=%s,line=%s',
                                $sqlStringModified,
                                basename($file),
                                $line
@@ -222,7 +222,7 @@ function sqlConnectToDatabase ($host, $login, $password, $file, $line) {
                 * isSqlLinkUp() will only return 'true' if there is really a
                 * working database link.
                 */
-               setSqlLink(__FUNCTION__, __LINE__, $linkResource);
+               setSqlLink($file . ':' . __FUNCTION__, $line . ':' . __LINE__, $linkResource);
 
                // Init charsets (UTF-8 is default now)
                sqlQuery("SET
@@ -230,7 +230,7 @@ function sqlConnectToDatabase ($host, $login, $password, $file, $line) {
        `character_set_client`='utf8',
        `character_set_connection`='utf8',
        `character_set_database`='utf8',
-       `character_set_server`='utf8'", __FUNCTION__, __LINE__);
+       `character_set_server`='utf8'", $file . ':' . __FUNCTION__, $line . ':' . __LINE__);
        } // END - if
 
        // Return the resource
@@ -374,7 +374,7 @@ function sqlError ($file, $line, $message) {
        } // END - if
 
        // Is there installation phase?
-       if (isInstallationPhase()) {
+       if (isInstaller()) {
                /*
                 * In installation phase, we don't want SQL errors abort e.g. connection
                 * tests, so just log it away.
diff --git a/inc/doubler_send.php b/inc/doubler_send.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
index 7731595ae4163e39aa19ea5a535ab6a2ecd3002e..3663ca4ce8e49d03d6638666ae0a7aeff02b0a07 100644 (file)
@@ -50,7 +50,7 @@ function sendEmail ($toEmail, $subject, $message, $isHtml = 'N', $mailHeader = '
        } // END - if
 
        // Set from header
-       if ((!isInString('@', $toEmail)) && ($toEmail > 0)) {
+       if ((!isInString('@', $toEmail)) && (isValidId($toEmail))) {
                // Does the user exist?
                if ((isExtensionActive('user')) && (fetchUserData($toEmail))) {
                        // Get the email
index eddc5915577c805d47c08126b50f977950e3f1d1..b7b57b30f150d7aa943965b34dcf19bc1b5f76f9 100644 (file)
@@ -104,7 +104,7 @@ function loadExtension ($ext_name, $ext_mode, $ext_ver = '0.0.0', $isDryRun = FA
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Loading extension ' . $ext_name . ', getExtensionMode()=' . getExtensionMode() . ', getCurrentExtensionVersion()=' . getCurrentExtensionVersion());
        if ((isExtensionLoaded($ext_name)) && (getExtensionMode() == 'init')) {
                // Debug message
-               logDebugMessage(__FUNCTION__, __LINE__, sprintf("Extension %s already loaded.", $ext_name));
+               logDebugMessage(__FUNCTION__, __LINE__, sprintf('Extension %s already loaded.', $ext_name));
 
                // Abort here
                return FALSE;
@@ -113,7 +113,7 @@ function loadExtension ($ext_name, $ext_mode, $ext_ver = '0.0.0', $isDryRun = FA
        // Is the extension file NOT there?
        if (!isExtensionNameValid($ext_name)) {
                // Debug message
-               logDebugMessage(__FUNCTION__, __LINE__, sprintf("Extension %s not found or not readable or the PHP script is deprecated.", $ext_name));
+               logDebugMessage(__FUNCTION__, __LINE__, sprintf('Extension %s not found or not readable or the PHP script is deprecated.', $ext_name));
 
                // Abort here
                return FALSE;
@@ -130,7 +130,7 @@ function loadExtension ($ext_name, $ext_mode, $ext_ver = '0.0.0', $isDryRun = FA
                // Not yet loaded?
                if ((($GLOBALS['cache_array']['extension']['ext_func'][$ext_name] == 'Y') || (!isset($GLOBALS['cache_array']['extension']['ext_func'][$ext_name]))) && (!isExtensionLibraryLoaded($ext_name))) {
                        // Construct IFN for functions file
-                       $funcsInclude = sprintf("inc/libs/%s_functions.php", $ext_name);
+                       $funcsInclude = sprintf('inc/libs/%s_functions.php', $ext_name);
 
                        // Mark it as loaded
                        markExtensionLibraryAsLoaded($ext_name);
@@ -140,7 +140,7 @@ function loadExtension ($ext_name, $ext_mode, $ext_ver = '0.0.0', $isDryRun = FA
                } // END - if
        } elseif ((!isset($GLOBALS['cache_array']['extension']['ext_func'][$ext_name])) && (isDebugModeEnabled()) && (isHtmlOutputMode()) && ($ext_name != 'sql_patches') && (substr($ext_name, 0, 10) != 'admintheme') && (getExtensionMode() == 'test')) {
                // No functions file is not so good...
-               logDebugMessage(__FUNCTION__, __LINE__, sprintf("NOTICE: Extension %s has no own functions file or we cannot read from it. mode=%s",
+               logDebugMessage(__FUNCTION__, __LINE__, sprintf('NOTICE: Extension %s has no own functions file or we cannot read from it. mode=%s',
                        $ext_name,
                        getExtensionMode()
                ));
@@ -195,16 +195,16 @@ function registerExtension ($ext_name, $taskId, $isDryRun = FALSE, $ignoreUpdate
        enableExtensionProductive();
 
        // This shall never do a non-admin user or if the extension is active (already installed)
-       if (((!isAdmin()) && (!isInstallationPhase())) || (isExtensionInstalled($ext_name))) {
+       if (((!isAdmin()) && (!isInstaller())) || (isExtensionInstalled($ext_name))) {
                // Abort here with 'false'
-               //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'ext_name=' . $ext_name . ' - ABORTED: isAdmin()=' . intval(isAdmin()) . ',isInstallationPhase()=' . intval(isInstallationPhase()) . ',isExtensionInstalled()=' . intval(isExtensionInstalled($ext_name)));
+               //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'ext_name=' . $ext_name . ' - ABORTED: isAdmin()=' . intval(isAdmin()) . ',isInstaller()=' . intval(isInstaller()) . ',isExtensionInstalled()=' . intval(isExtensionInstalled($ext_name)));
                return FALSE;
        } // END - if
 
        // When this extension is already in registration/update phase, all is fine
        if ((isExtensionRegistrationRunning($ext_name)) || ((isExtensionUpdateRunning($ext_name)) && ($ignoreUpdates === FALSE))) {
                // Then abort here with 'true' because it is fine
-               /* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'ext_name=' . $ext_name . ' - already in registration/update phase, all fine,isDryRun=' . intval($isDryRun) . ',ignoreUpdates=' . intval($ignoreUpdates));
+               //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'ext_name=' . $ext_name . ' - already in registration/update phase, all fine,isDryRun=' . intval($isDryRun) . ',ignoreUpdates=' . intval($ignoreUpdates));
                //* BUG: */ reportBug(__FUNCTION__, __LINE__, 'ext_name=' . $ext_name . ',isDryRun=' . intval($isDryRun) . ',ignoreUpdates=' . intval($ignoreUpdates) . ' - Please investigate!');
                return TRUE;
        } // END - if
@@ -219,7 +219,7 @@ function registerExtension ($ext_name, $taskId, $isDryRun = FALSE, $ignoreUpdate
        } // END - if
 
        // Is the task id zero? Then we need to auto-fix it here
-       if ((!isValidId($taskId)) && (!isInstallationPhase())) {
+       if ((!isValidId($taskId)) && (!isInstaller())) {
                // Try to find the task
                $taskId = determineExtensionTaskId(getCurrentExtensionName());
 
@@ -231,7 +231,7 @@ function registerExtension ($ext_name, $taskId, $isDryRun = FALSE, $ignoreUpdate
                        // Is it still zero?
                        if (!isValidId($taskId)) {
                                // Then request a bug report
-                               reportBug(__FUNCTION__, __LINE__, sprintf("%s: task_id is still zero after determineExtensionTaskId/createNewExtensionTask(%s)",
+                               reportBug(__FUNCTION__, __LINE__, sprintf('%s: task_id is still zero after determineExtensionTaskId/createNewExtensionTask(%s)',
                                        __FUNCTION__,
                                        getCurrentExtensionName()
                                ));
@@ -291,14 +291,14 @@ function registerExtension ($ext_name, $taskId, $isDryRun = FALSE, $ignoreUpdate
                                } // END - if
 
                                // Extension version set? If empty the extension is not registered
-                               //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'ext_ver[' . gettype($ext_ver) . ']=' . $ext_ver . ',isInstallationPhase()=' . intval(isInstallationPhase()) . ',currName=' . getCurrentExtensionName() . ',ext_update=' . $ext_update . ' - EMPTY?');
+                               //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'ext_ver[' . gettype($ext_ver) . ']=' . $ext_ver . ',isInstaller()=' . intval(isInstaller()) . ',currName=' . getCurrentExtensionName() . ',ext_update=' . $ext_update . ' - EMPTY?');
                                if (empty($ext_ver)) {
                                        // Extension not registered so far so first load task's id...
                                        $updateTaskId = determineExtensionTaskId($ext_update);
 
                                        // Entry found?
-                                       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'updateTaskId=' . $updateTaskId . ',isInstallationPhase()=' . intval(isInstallationPhase()) . ',currName=' . getCurrentExtensionName() . ',ext_update=' . $ext_update . ' - CHECKING!');
-                                       if ((isValidId($updateTaskId)) || (isInstallationPhase())) {
+                                       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'updateTaskId=' . $updateTaskId . ',isInstaller()=' . intval(isInstaller()) . ',currName=' . getCurrentExtensionName() . ',ext_update=' . $ext_update . ' - CHECKING!');
+                                       if ((isValidId($updateTaskId)) || (isInstaller())) {
                                                // Try to register the extension
                                                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'currName=' . getCurrentExtensionName() . ',ext_update=' . $ext_update . ',updateTaskId=' . $updateTaskId . ',isExtensionDryRun()=' . intval(isExtensionDryRun()));
                                                $processResult = registerExtension($ext_update, $updateTaskId, isExtensionDryRun(), TRUE, $ext_name);
@@ -437,7 +437,7 @@ function registerExtension ($ext_name, $taskId, $isDryRun = FALSE, $ignoreUpdate
        }
 
        // @TODO This redirect is still needed to register sql_patches! Please try to avoid it
-       if (($ret === TRUE) && ($isDryRun === FALSE) && ($ext_name == 'sql_patches') && (!isInstallationPhase())) {
+       if (($ret === TRUE) && ($isDryRun === FALSE) && ($ext_name == 'sql_patches') && (!isInstaller())) {
                /*
                 * This is a really dirty hack to prevent an error about a missing
                 * configuration entry which should be there after registration of
@@ -455,8 +455,8 @@ function registerExtension ($ext_name, $taskId, $isDryRun = FALSE, $ignoreUpdate
 // @TODO Change from ext_id to ext_name (not just even the variable! ;-) )
 function doExtensionSqls ($ext_id, $load_mode) {
        // This shall never do a non-admin user but installation phase is okay
-       if ((!isAdmin()) && (!isInstallationPhase())) {
-               //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'ext_id=' . $ext_id. ',load_mode=' . $load_mode . ',isAdmin()=' . intval(isAdmin()) . ',isInstallationPhase()=' . intval(isInstallationPhase()) . ' - ABORT!');
+       if ((!isAdmin()) && (!isInstaller())) {
+               //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'ext_id=' . $ext_id. ',load_mode=' . $load_mode . ',isAdmin()=' . intval(isAdmin()) . ',isInstaller()=' . intval(isInstaller()) . ' - ABORT!');
                return FALSE;
        } // END - if
 
@@ -537,7 +537,7 @@ function isExtensionInstalled ($ext_name) {
 
                // Count cache hits
                incrementStatsEntry('cache_hits');
-       } elseif (isInstallationPhase()) {
+       } elseif ((isInstaller()) && (!isSqlLinkUp())) {
                // Extensions are all inactive/not installed during installation
                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'ext_name=' . $ext_name . ' - installation phase detected.');
        } else {
@@ -567,7 +567,7 @@ function isExtensionInstalled ($ext_name) {
 
 // Check if given extension is active
 function isExtensionActive ($ext_name) {
-       if (isInstallationPhase()) {
+       if ((isInstaller()) && (!isSqlLinkUp())) {
                // Extensions are all inactive during installation
                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Extensions are always inactive while installation phase. ext_name=' . $ext_name);
                return FALSE;
@@ -663,7 +663,7 @@ function getExtensionVersion ($ext_name, $force = FALSE) {
        } // END - if
 
        // Extensions are all inactive during installation
-       if (isInstallationPhase()) {
+       if ((isInstaller()) && (!isSqlLinkUp())) {
                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'ext_name=' . $ext_name . ',force=' . intval($force) . ' - Installation phase detected, returning empty version.');
                return '';
        } // END - if
@@ -692,7 +692,7 @@ function getExtensionVersion ($ext_name, $force = FALSE) {
                        setExtensionCacheRow($ext_name, $data);
                } elseif (isDebugModeEnabled()) {
                        // Not found, may happen while an extension is uninstalled
-                       logDebugMessage(__FUNCTION__, __LINE__, sprintf("Cannot find extension %s in database!", $ext_name));
+                       logDebugMessage(__FUNCTION__, __LINE__, sprintf('Cannot find extension %s in database!', $ext_name));
                }
 
                // Free result
@@ -702,7 +702,7 @@ function getExtensionVersion ($ext_name, $force = FALSE) {
        // Extension version should not be invalid
        if (($data['ext_version'] == 'false') && ($force === FALSE)) {
                // Please report this trouble
-               reportBug(__FUNCTION__, __LINE__, sprintf("Extension <span class=\"data\">%s</span> has empty version!", $ext_name));
+               reportBug(__FUNCTION__, __LINE__, sprintf('Extension <span class="data">%s</span> has empty version!', $ext_name));
        } // END - if
 
        // Return result
@@ -765,7 +765,7 @@ function updateExtension ($ext_name, $ext_ver, $isDryRun = FALSE, $ignoreDepende
                        $depencies = getExtensionUpdateDependencies();
 
                        // Nothing to apply?
-                       if (count($depencies) > 0) {
+                       if (isFilledArray($depencies)) {
                                // Apply all extension depencies
                                foreach ($depencies as $ext_depend) {
                                        // Did we already update/register this?
@@ -1075,9 +1075,8 @@ function createNewExtensionTask ($ext_name) {
                $message = '{%message,ADMIN_EXTENSION_TEXT_FILE_MISSING=' . $ext_name . '%}';
 
                // Template file
-               $FQFN = sprintf("%stemplates/%s/html/ext/ext_%s.tpl",
-                       getPath(),
-                       getLanguage(),
+               $FQFN = sprintf('%s/ext/ext_%s.tpl',
+                       getTemplateBasePath('html'),
                        $ext_name
                );
 
@@ -1120,7 +1119,7 @@ function createExtensionDeactivationTask ($ext_name) {
 // Determines the task id for given extension
 function determineExtensionTaskId ($ext_name) {
        // Is it installation phase and table task_system is not found?
-       if ((isInstallationPhase()) && (!ifSqlTableExists('task_system'))) {
+       if ((isInstaller()) && (!ifSqlTableExists('task_system'))) {
                // Then return NULL (not found)
                return NULL;
        } // END - if
@@ -1786,9 +1785,8 @@ function getExtensionHasCss () {
        // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__][getCurrentExtensionName()][getCurrentTheme()])) {
                // Construct FQFN for check
-               $FQFN = sprintf("%stheme/%s/css/%s.css",
-                       getPath(),
-                       getCurrentTheme(),
+               $FQFN = sprintf('%s%s.css',
+                       getBasePathFromTheme(getCurrentTheme()),
                        getCurrentExtensionName()
                );
 
@@ -2062,7 +2060,7 @@ function addSponsorMenuSql ($action, $what, $title, $active, $sort) {
 // Add ALTER TABLE `foo` ADD sql if not found
 function addExtensionAddTableColumnSql ($tableName, $columnName, $columnSql) {
        // Is the column there?
-       if (!ifSqlTableColumnExists('{?_MYSQL_PREFIX?}_' . $tableName, $columnName, isInstallationPhase())) {
+       if (!ifSqlTableColumnExists('{?_MYSQL_PREFIX?}_' . $tableName, $columnName, isInstaller())) {
                // Then add it
                addExtensionSql('ALTER TABLE `{?_MYSQL_PREFIX?}_' . $tableName . '` ADD `' . $columnName . '` ' . $columnSql);
        } elseif (isDebugModeEnabled()) {
@@ -2074,7 +2072,7 @@ function addExtensionAddTableColumnSql ($tableName, $columnName, $columnSql) {
 // Add ALTER TABLE `foo` ADD INDEX sql if not found
 function addExtensionAddTableIndexSql ($tableName, $indexName, $columnSql) {
        // Is the column there?
-       if (!ifSqlTableIndexExist('{?_MYSQL_PREFIX?}_' . $tableName, $indexName, isInstallationPhase())) {
+       if (!ifSqlTableIndexExist('{?_MYSQL_PREFIX?}_' . $tableName, $indexName, isInstaller())) {
                // Then add it
                addExtensionSql('ALTER TABLE `{?_MYSQL_PREFIX?}_' . $tableName . '` ADD INDEX `' . $indexName . '` ' . $columnSql);
        } elseif (isDebugModeEnabled()) {
@@ -2086,7 +2084,7 @@ function addExtensionAddTableIndexSql ($tableName, $indexName, $columnSql) {
 // Add ALTER TABLE `foo` ADD UNIQUE INDEX sql if not found
 function addExtensionAddTableUniqueSql ($tableName, $indexName, $columnSql) {
        // Is the column there?
-       if (!ifSqlTableIndexExist('{?_MYSQL_PREFIX?}_' . $tableName, $indexName, isInstallationPhase())) {
+       if (!ifSqlTableIndexExist('{?_MYSQL_PREFIX?}_' . $tableName, $indexName, isInstaller())) {
                // Then add it
                addExtensionSql('ALTER TABLE `{?_MYSQL_PREFIX?}_' . $tableName . '` ADD UNIQUE INDEX `' . $indexName . '` ' . $columnSql);
        } elseif (isDebugModeEnabled()) {
@@ -2098,7 +2096,7 @@ function addExtensionAddTableUniqueSql ($tableName, $indexName, $columnSql) {
 // Add ALTER TABLE `foo` ADD FULLTEXT sql if not found
 function addExtensionAddTableFulltextSql ($tableName, $indexName, $columnSql) {
        // Is the column there and MyISAM engine? (InnoDB doesn't support FULLTEXT)
-       if ((getTableType() == 'MyISAM') && (!ifSqlTableIndexExist('{?_MYSQL_PREFIX?}_' . $tableName, $indexName, isInstallationPhase()))) {
+       if ((getTableType() == 'MyISAM') && (!ifSqlTableIndexExist('{?_MYSQL_PREFIX?}_' . $tableName, $indexName, isInstaller()))) {
                // Then add it
                addExtensionSql('ALTER TABLE `{?_MYSQL_PREFIX?}_' . $tableName . '` ADD FULLTEXT `' . $indexName . '` ' . $columnSql);
        } elseif (isDebugModeEnabled()) {
@@ -2110,7 +2108,7 @@ function addExtensionAddTableFulltextSql ($tableName, $indexName, $columnSql) {
 // Add ALTER TABLE `foo` CHANGE sql if not found
 function addExtensionChangeTableColumnSql ($tableName, $fromColumnName, $toColumnName, $columnSql) {
        // Is the column there?
-       if ((ifSqlTableColumnExists('{?_MYSQL_PREFIX?}_' . $tableName, $fromColumnName)) && (($fromColumnName == $toColumnName) || (!ifSqlTableColumnExists('{?_MYSQL_PREFIX?}_' . $tableName, $toColumnName, isInstallationPhase())))) {
+       if ((ifSqlTableColumnExists('{?_MYSQL_PREFIX?}_' . $tableName, $fromColumnName)) && (($fromColumnName == $toColumnName) || (!ifSqlTableColumnExists('{?_MYSQL_PREFIX?}_' . $tableName, $toColumnName, isInstaller())))) {
                // Then add it
                addExtensionSql('ALTER TABLE `{?_MYSQL_PREFIX?}_' . $tableName . '` CHANGE `' . $fromColumnName . '` `' . $toColumnName . '` ' . $columnSql);
        } elseif (isDebugModeEnabled()) {
@@ -2122,7 +2120,7 @@ function addExtensionChangeTableColumnSql ($tableName, $fromColumnName, $toColum
 // Add ALTER TABLE `foo` DROP sql if not found
 function addExtensionDropTableColumnSql ($tableName, $columnName) {
        // Is the column there?
-       if (ifSqlTableColumnExists('{?_MYSQL_PREFIX?}_' . $tableName, $columnName, isInstallationPhase())) {
+       if (ifSqlTableColumnExists('{?_MYSQL_PREFIX?}_' . $tableName, $columnName, isInstaller())) {
                // Then add it
                addExtensionSql('ALTER TABLE `{?_MYSQL_PREFIX?}_' . $tableName . '` DROP `' . $columnName . '`');
        } elseif (isDebugModeEnabled()) {
@@ -2134,7 +2132,7 @@ function addExtensionDropTableColumnSql ($tableName, $columnName) {
 // Add ALTER TABLE `foo` DROP INDEX sql if not found
 function addExtensionDropTableIndexSql ($tableName, $indexName) {
        // Is the column there?
-       if (ifSqlTableColumnExists('{?_MYSQL_PREFIX?}_' . $tableName, $indexName, isInstallationPhase())) {
+       if (ifSqlTableColumnExists('{?_MYSQL_PREFIX?}_' . $tableName, $indexName, isInstaller())) {
                // Then add it
                addExtensionSql('ALTER TABLE `{?_MYSQL_PREFIX?}_' . $tableName . '` DROP INDEX `' . $indexName . '`');
        } elseif (isDebugModeEnabled()) {
@@ -2166,11 +2164,17 @@ function addConfigChangeSql ($oldColumnName, $newColumnName, $columnSql) {
  * extension registration queue.
  */
 function registerExtensionPointsData ($subject, $columnName, $lockedMode, $paymentMethod) {
+       // Is the suffix '_ref' not set?
+       if (!ifSubjectHasReferralSuffix($subject)) {
+               // Register this first
+               registerExtensionPointsData($subject . '_ref', $columnName, $lockedMode, $paymentMethod);
+       } // END - if
+
        // Default is old extension version
        $add = '';
 
        // Is the extension equal or newer 0.8.9?
-       if (((isInstallationPhase()) && ((getExtensionMode() == 'setup') || (getExtensionMode() == 'update'))) || (isExtensionInstalledAndNewer('sql_patches', '0.8.9'))) {
+       if (((isInstaller()) && ((getExtensionMode() == 'setup') || (getExtensionMode() == 'update'))) || (isExtensionInstalledAndNewer('sql_patches', '0.8.9'))) {
                // Then add provider
                $add = " AND `account_provider`='EXTENSION'";
        } // END - if
@@ -2179,15 +2183,15 @@ function registerExtensionPointsData ($subject, $columnName, $lockedMode, $payme
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'ifSqlTableExists(points_data)=' . ifSqlTableExists('points_data') . ',getExtensionMode()=' . getExtensionMode() . ',add=' . $add);
        if (((!ifSqlTableExists('points_data')) && ((getExtensionMode() == 'setup') || (getExtensionMode() == 'update'))) || (countSumTotalData($subject, 'points_data', 'id', 'subject', TRUE, $add) == 0)) {
                // Not found so:
-               if ((!isInstallationPhase()) && (isset($GLOBALS['previous_extension'][getCurrentExtensionName()])) && (!ifSqlTableExists('points_data'))) {
+               if ((!isInstaller()) && (isset($GLOBALS['previous_extension'][getCurrentExtensionName()])) && (!ifSqlTableExists('points_data'))) {
                        // This may happen (but when?)
                        // @TODO Is this really neccessary?
                        $dummy = $GLOBALS['previous_extension'][getCurrentExtensionName()];
-                       reportBug(__FUNCTION__, __LINE__, 'previous_extension[' . gettype($dummy) . ']=' . $dummy . ',getCurrentExtensionName()=' . getCurrentExtensionName() . ' - Under development, please report this!');
+                       reportBug(__FUNCTION__, __LINE__, 'dummy[' . gettype($dummy) . ']=' . $dummy . ',getCurrentExtensionName()=' . getCurrentExtensionName() . ' - Under development, please report this!');
                } // END - if
 
                // With or without account_provider?
-               if (((isInstallationPhase()) && ((getExtensionMode() == 'setup') || (getExtensionMode() == 'update'))) || (isExtensionInstalledAndNewer('sql_patches', '0.8.9'))) {
+               if (((isInstaller()) && ((getExtensionMode() == 'setup') || (getExtensionMode() == 'update'))) || (isExtensionInstalledAndNewer('sql_patches', '0.8.9'))) {
                        // Add account_provider
                        addExtensionSql(sprintf("INSERT INTO `{?_MYSQL_PREFIX?}_points_data` (`subject`, `column_name`, `locked_mode`, `payment_method`, `account_provider`) VALUES ('%s','%s','%s','%s','EXTENSION')",
                                $subject,
@@ -2212,6 +2216,12 @@ function registerExtensionPointsData ($subject, $columnName, $lockedMode, $payme
  * extension unregistration queue.
  */
 function unregisterExtensionPointsData ($subject) {
+       // Is the suffix '_ref' not set?
+       if (!ifSubjectHasReferralSuffix($subject)) {
+               // Unregister this first
+               unregisterExtensionPointsData($subject . '_ref');
+       } // END - if
+
        // Default is old extension version
        $add = '';
 
@@ -2314,7 +2324,7 @@ function copyExtensionDataToCacheArray ($ext_name, $ext_id) {
        $GLOBALS['cache_array']['extension']['ext_active'][$ext_name]     = getThisExtensionAlwaysActive();
        $GLOBALS['cache_array']['extension']['ext_lang'][$ext_name]       = convertBooleanToYesNo(isExtensionLanguageFileReadable($ext_name));
        $GLOBALS['cache_array']['extension']['ext_func'][$ext_name]       = convertBooleanToYesNo(isExtensionFunctionFileReadable($ext_name));
-       $GLOBALS['cache_array']['extension']['ext_menu'][$ext_name]       = convertBooleanToYesNo(ifModuleHasMenu($ext_name, isInstallationPhase()));
+       $GLOBALS['cache_array']['extension']['ext_menu'][$ext_name]       = convertBooleanToYesNo(ifModuleHasMenu($ext_name, isInstaller()));
        $GLOBALS['cache_array']['extension']['ext_css'][$ext_name]        = convertBooleanToYesNo(getExtensionHasCss());
        $GLOBALS['cache_array']['extension']['ext_deprecated'][$ext_name] = 'N';
 }
diff --git a/inc/extensions.php b/inc/extensions.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
diff --git a/inc/extensions/admins/.htaccess b/inc/extensions/admins/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/inc/extensions/admins/mode-update.php b/inc/extensions/admins/mode-update.php
new file mode 100644 (file)
index 0000000..be66d51
--- /dev/null
@@ -0,0 +1,325 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 06/25/2013 *
+ * ===================                          Last change: 06/25/2013 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : mode-update.php                                  *
+ * -------------------------------------------------------------------- *
+ * Short description : Administrator management                         *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Admin-Accountsverwaltung                         *
+ * -------------------------------------------------------------------- *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2013 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')) {
+       die();
+} // END - if
+
+// @TODO Remove double tabs from all lines
+               switch (getCurrentExtensionVersion()) {
+                       case '0.2.0': // SQL queries for v0.2
+                               addAdminMenuSql('admins','admins_contact','Admin kontaktieren','Kontaktiert einen Admin per Mail oder Nachricht (nur wenn messaging-Erweiterung installiert ist).',2);
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("F&uuml;gt den Men&uuml;punkt &quot;Admin kontaktieren&quot; hinzu.");
+                               break;
+
+                       case '0.3.0': // SQL queries for v0.3
+                               // Add admin menu
+                               addAdminMenuSql('admins','config_admins','ACL einstellen','Richten Sie Zugriffskontrollzeilen f&uuml;r jeden Admin individuell ein, um ihm nur bestimmte Bereiche des Admin-Bereiches zug&auml;nglich zu machen oder zu sperren.',4);
+
+                               // Which is the default setting when you create a new admin login?
+                               addConfigAddSql('admins_default_acl', "ENUM('deny','allow') NOT NULL DEFAULT 'deny'");
+
+                               // Default is deny everything
+                               addExtensionAddTableColumnSql('admins', 'default_acl', "ENUM('deny','allow') NOT NULL DEFAULT 'deny'");
+
+                               // But allow current admin everything (THIS SHALL BE YOU!)
+                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admins` SET `default_acl`='allow' WHERE `id`=".bigintval(getCurrentAdminId())." LIMIT 1");
+                               addDropTableSql('admins_acls');
+                               addCreateTableSql('admins_acls', "
+`id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
+`admin_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`action_menu` VARCHAR(255) NOT NULL DEFAULT '',
+`what_menu` VARCHAR(255) NOT NULL DEFAULT '',
+`access_mode` ENUM('deny','allow') NOT NULL DEFAULT 'deny',
+PRIMARY KEY (`id`),
+INDEX (`admin_id`)",
+                                       'Access control lines (ACLs)');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Sogn. ACLs werden hinzugef&uuml;gt: <strong>A</strong>ccess <strong>C</strong>ontrol <strong>L</strong>ines sind zu deutsch Zugriffkontrollzeilen, mit denen Sie einstellen k&ouml;nnen, was welcher Admin machen darf oder nicht. <strong>Nur Sie haben momentan Vollzugriff auf den Adminbereich.</strong>");
+                               break;
+
+                       case '0.3.1': // SQL queries for v0.3.1
+                               addExtensionChangeTableColumnSql('admins_acls', 'id', 'id', 'BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT');
+                               break;
+
+                       case '0.4.0': // SQL queries for v0.4.0
+                               addDropTableSql('admins_mails');
+                               addCreateTableSql('admins_mails', "
+`id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
+`admin_id` BIGINT(20) UNSIGNED NULL DEFAULT NULL,
+`mail_template` VARCHAR(255) NOT NULL,
+PRIMARY KEY (`id`),
+INDEX (`admin_id`)",
+                                       'Mail template -> admin connection table');
+                               addExtensionSql("INSERT INTO  `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('admins','admins_mails','Admin-Mails','Stellen Sie hier ein, welcher Admin welche Mail erhalten soll. Sie k&ouml;nnen dies (derzeit) jedoch erst, wenn einmal die Mail versendet wurde!',5)");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Kontrollieren Sie, welche Mails welcher Admin oder alle (admin_id=0) bekommen soll oder im UserLog (admin_id=-1) verzeichnet werden soll. Standardm&auml;ssig wird weiter an alle versendet.");
+                               break;
+
+                       case '0.4.1': // SQL queries for v0.4.1
+                               addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_admins_mails` WHERE mail_template LIKE '% %'");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Admins-Mails-Tabelle geleert.");
+
+                       case '0.4.4': // SQL queries for v0.4.4
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("&amp;admin= in &amp;amp;admin= umgewandelt.");
+                               break;
+
+                       case '0.4.5': // SQL queries for v0.4.5
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Vorbereitet auf Cache-System");
+                               break;
+
+                       case '0.4.6': // SQL queries for v0.4.6
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Problem mit cache-Erweiterung gefixt. Der Admin-Bereich war permanent gesperrt.");
+                               break;
+
+                       case '0.4.7': // SQL queries for v0.4.7
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Es wurde die Zeitmarke der Cache-Datei admins.cache mit ber&uuml;cksichtigt.");
+                               break;
+
+                       case '0.4.8': // SQL queries for v0.4.8
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist.");
+                               break;
+
+                       case '0.4.9': // SQL queries for v0.4.9
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist.");
+                               break;
+
+                       case '0.5.0': // SQL queries for v0.5.0
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist.");
+                               break;
+
+                       case '0.5.1': // SQL queries for v0.5.1
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Cache wird endlich gel&oumlscht, wenn Admin entfernt wird.");
+                               break;
+
+                       case '0.5.2': // SQL queries for v0.5.2
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("L&ouml;schen von Admin-Accounts repariert und HTML-Code ausgelagert in Templates.");
+                               break;
+
+                       case '0.5.3': // SQL queries for v0.5.3
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Seit <strong>Patch 340</strong> &uuml;berfl&uuml;ssige HTML-Tags entfernt.");
+                               break;
+
+                       case '0.5.4': // SQL queries for v0.5.4
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("IP-Nummer und Browserbezeichnung wird in Admin-Mails eingesetzt.");
+                               break;
+
+                       case '0.5.5': // SQL queries for v0.5.5
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Men&uuml;punkt Admin-Mails korregiert: SQL-Anweisung war fehlerhaft; und HTML-Code in Templates ausgelagert.");
+                               break;
+
+                       case '0.5.6': // SQL queries for v0.5.6
+                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admin_menu` SET `what`='admins_contct' WHERE `what`='admins_contact' LIMIT 1");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Namenskonflikt zwischen den Erweiterungen <strong>admins</strong> und (kommender) <strong>contact</strong>.");
+                               break;
+
+                       case '0.5.7': // SQL queries for v0.5.7
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Links wegen <strong>what=admins_contct</strong> ge&auml;ndert.");
+                               break;
+
+                       case '0.5.8': // SQL queries for v0.5.8
+                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admin_menu` SET `what`='admins_contct' WHERE `what`='admins_contact' LIMIT 1");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Ein Punkt in der Versionsnummernliste verhinderte das 0.5.6-Update.");
+                               break;
+
+                       case '0.5.9': // SQL queries for v0.5.9
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Sicherheitsupdate: SQL-Anweisungen gesch&uuml;tzt.");
+                               break;
+
+                       case '0.6.0': // SQL queries for v0.6.0
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Link in &quot;ACL Einstellen&quot; zum Admin-Kontaktformular korregiert.");
+                               break;
+
+                       case '0.6.1': // SQL queries for v0.6.1
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Speichern von Admin-Accounts klappt wieder.");
+                               break;
+
+                       case '0.6.2': // SQL queries for v0.6.2
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Bitte verschieben Sie die admins-Templates (Ordner: {?PATH?}/templates/de/emails/) in den neuen Order admins!");
+                               break;
+
+                       case '0.6.3': // SQL queries for v0.6.3
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Abspeichern von Einstellungen repariert.");
+                               break;
+
+                       case '0.6.4': // SQL queries for v0.6.4
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Problem mit der Rechtevererbung beseitigt: Geben Sie nun ein Hauptmen&uuml; frei (Allow), dann kann der Admin auch die Untermen&uuml;s erreichen. Zudem k&ouml;nnen Sie gezielte Untermen&uuml;s im freigegeben Hauptmen&uuml; dennoch sperren.");
+                               break;
+
+                       case '0.6.5': // SQL queries for v0.6.5
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Sicherheitsupdate f&uuml;r die Include-Befehle.");
+                               break;
+
+                       case '0.6.6': // SQL queries for v0.5.6
+                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admin_menu` SET `what`='admins_contct' WHERE `what`='admins_contact' LIMIT 1");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Namenskonflikt zwischen den Erweiterungen <strong>admins</strong> und (kommender) <strong>contact</strong>.");
+                               break;
+
+                       case '0.6.7': // SQL queries for v0.6.7
+                               addExtensionAddTableColumnSql('admins', 'la_mode', "ENUM('global','OLD','NEW') NOT NULL DEFAULT 'global'");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Namenskonflikt zwischen den Erweiterungen <strong>admins</strong> und (kommender) <strong>contact</strong>. Beseitigung eines Fehlers <strong>HTTP_POSR_VARS</strong> beim &Auml;ndern von Administratoren.");
+                               break;
+
+                       case '0.6.8': // SQL queries for v0.6.8
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("<strong>setSession()</strong> mit @-Zeichen gegen ungewollte Ausgaben abgesichert.");
+                               break;
+
+                       case '0.6.9': // SQL queries for v0.6.9
+                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admin_menu` SET `title`='Admin-Management' WHERE `action`='admins' AND (`what`='' OR `what` IS NULL) LIMIT 1");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Verwaltung nach Management umbenannt.");
+                               break;
+
+                       case '0.7.0': // SQL queries for v0.7.0
+                               addExtensionAddTableColumnSql('admins', 'login_failtures', "BIGINT(20) UNSIGNED NOT NULL DEFAULT 0");
+                               addExtensionAddTableColumnSql('admins', 'last_failture', "TIMESTAMP NULL DEFAULT NULL");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Veraltetes Update.");
+                               break;
+
+                       case '0.7.1': // SQL queries for v0.7.1
+                               // Add filters
+                               registerFilter(__FILE__, __LINE__, 'sql_admin_extra_data', 'ADD_EXTRA_SQL_DATA', FALSE, TRUE, isExtensionDryRun());
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Filter hinzugef&uuml;gt und ist von <strong>sql_patches</strong> abh&auml;ngig.");
+                               break;
+
+                       case '0.7.2': // SQL queries for v0.7.2
+                               addExtensionDropTableColumnSql('admins', 'login_failtures');
+                               addExtensionDropTableColumnSql('admins', 'last_failture');
+                               addExtensionAddTableColumnSql('admins', 'login_failures', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
+                               addExtensionAddTableColumnSql('admins', 'last_failure', "TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00'");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Schreibweise korregiert.");
+                               break;
+
+                       case '0.7.3': // SQL queries for v0.7.3
+                               addExtensionAddTableColumnSql('admins', 'expert_settings', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
+                               addExtensionAddTableColumnSql('admins', 'expert_warning', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Entwicklereinstellungen sind nun hinzugekommen.");
+                               break;
+
+                       case '0.7.4': // SQL queries for v0.7.4
+                               // Add filter
+                               registerFilter(__FILE__, __LINE__, 'do_admin_login_done', 'RESET_ADMINS_LOGIN_FAILURES', FALSE, TRUE, isExtensionDryRun());
+                               registerFilter(__FILE__, __LINE__, 'do_admin_login_pass', 'COUNT_ADMINS_LOGIN_FAILURE', FALSE, TRUE, isExtensionDryRun());
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Filter hinzugefuegt.");
+                               break;
+
+                       case '0.7.5': // SQL queries for v0.7.5
+                               // Add filter
+                               registerFilter(__FILE__, __LINE__, 'do_admin_login_done', 'REHASH_ADMINS_PASSWORD', FALSE, TRUE, isExtensionDryRun());
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Filter zum Rehashen des Adminpassworts nach erfolgtem Login hinzugef&uuml;gt.");
+                               break;
+
+                       case '0.7.6': // SQL queries for v0.7.6
+                               addExtensionChangeTableColumnSql('admins', 'last_failure', 'last_failure', 'TIMESTAMP NULL DEFAULT NULL');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Ausgangswert ist nicht mehr 0000-00-00 00:00:00, sondern NULL.");
+                               break;
+
+                       case '0.7.7': // SQL queries for v0.7.7
+                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admin_menu` SET `what`='list_admins_acls' WHERE `what`='config_admins' LIMIT 1");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Ausgangswert ist nicht mehr 0000-00-00 00:00:00, sondern NULL.");
+                               break;
+
+                       case '0.7.8': // SQL queries for v0.7.8
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Abgek&uuml;rzte Bezeichnungen k&ouml;nnen f&uuml;r Missverst&auml;ndnisse am Code sorgen. Daher wurde der Spaltenalias <strong>def_acl</strong> entfernt.");
+                               break;
+
+                       case '0.7.9': // SQL queries for v0.7.9
+                               addExtensionChangeTableColumnSql('admins_mails', 'admin_id', 'admin_id', 'BIGINT(20) UNSIGNED NULL DEFAULT NULL');
+                               addExtensionSql('UPDATE `{?_MYSQL_PREFIX?}_admins_mails` SET `admin_id` = NULL WHERE `admin_id`=0');
+                               addExtensionSql("DELETE FROM `{?_MYSQL_PREFIX?}_admins_mails` WHERE `mail_template` IN ('admin-del_links', 'back-admin', 'done-admin', 'order-admin', 'register-admin')");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Spalte <strong>admin_id</strong> ist jetzt Ausgangswert NULL, alte Mail-Templates bereinigt.");
+                               break;
+               } // END - switch
+
+// [EOF]
+?>
diff --git a/inc/extensions/autopurge/.htaccess b/inc/extensions/autopurge/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/inc/extensions/autopurge/mode-update.php b/inc/extensions/autopurge/mode-update.php
new file mode 100644 (file)
index 0000000..6288fbc
--- /dev/null
@@ -0,0 +1,237 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 06/25/2013 *
+ * ===================                          Last change: 06/25/2013 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : mode-setup.php                                   *
+ * -------------------------------------------------------------------- *
+ * Short description : Automatical purging of outdated mail links       *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Auto-Loeschung von veralteten Mail-Links         *
+ * -------------------------------------------------------------------- *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2013 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')) {
+       die();
+} // END - if
+
+// @TODO Remove double tabs from all lines
+               switch (getCurrentExtensionVersion()) {
+                       case '0.1.0': // SQL queries for v0.1.0
+                               // Add dependency to 'user'
+                               addExtensionDependency('user');
+
+                               // SQL queries
+                               addConfigAddSql('autopurge_inactive', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
+                               addConfigAddSql('autopurge_unconfirmed', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
+                               addConfigAddSql('ap_inactive_since', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 2592000');
+                               addConfigAddSql('ap_inactive_time', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 25200');
+                               addConfigAddSql('ap_unconfirmed_time', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 432000');
+                               addAdminMenuSql('setup', 'config_autopurge', 'Auto-L&ouml;schung', 'Automatisch inaktive oder nicht best&auml;tigte Accounts l&ouml;schen.', 12);
+                               addAdminMenuSql('user', 'list_autopurge', 'Inaktive finden', 'Lassen Sie sich vor dem t&auml;glichen Reset anzeigen, welche Mitglieder als inaktiv erkannt werden und welche gel&ouml;scht werden.', 10);
+                               addExtensionAddTableColumnSql('user_data', 'ap_notified', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Automatisches L&ouml;schen von inaktiven bzw. nicht best&auml;tigten Accounts hinzugef&uuml;gt.");
+                               break;
+
+                       case '0.1.2': // SQL queries for v0.1.2
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Automatisches L&ouml;schen von als zu l&ouml;schen markierte Tasks hinzugef&uuml;gt.");
+                               break;
+
+                       case '0.1.3': // SQL queries for v0.1.3
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Nicht mehr verwendetes Update.");
+                               break;
+
+                       case '0.1.4': // SQL queries for v0.1.4
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehler <div class=\"notice\">Warning: Missing argument 2 for create_timestamp_from_selections() in {?PATH?}inc/libs/pro_functions.php on line 227</div> behoben.");
+                               break;
+
+                       case '0.1.5': // SQL queries for v0.1.5
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Anstelle von <strong>ref_depth</strong> wurde <strong>level</strong> programmiert.");
+                               break;
+
+                       case '0.1.6': // SQL queries for v0.1.6
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist.");
+                               break;
+
+                       case '0.1.7': // SQL queries for v0.1.7
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist.");
+                               break;
+
+                       case '0.1.8': // SQL queries for v0.1.8
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Problem mit Speicherung der Einstellungen beseitigt.");
+                               break;
+
+                       case '0.1.9': // SQL queries for v0.1.9
+                               addConfigAddSql('autopurge_tasks', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
+                               addConfigAddSql('ap_tasks_time', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT ' . (getOneDay() * 7));
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Bereinigung von zu l&ouml;schenden Aufgaben klappt wieder. Zeitlimit f&uuml;r genanntes kann eingestellt werden (Default = 7 Tage).<br /><br /><u>Bitte aktualisieren Sie auch die Admin-Templates!</u>");
+                               break;
+
+                       case '0.2.0': // SQL queries for v0.2.0
+                               addConfigAddSql('ap_in_notify', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
+                               addConfigAddSql('ap_un_notify', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
+                               addConfigAddSql('ap_tasks_notify', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Mail wird bei L&ouml;schung von Aufgaben ausgesendet.<br /><br /><u>Bitte aktualisieren Sie auch die Admin-Templates!</u>");
+                               break;
+
+                       case '0.2.1': // SQL queries for v0.2.1
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Diverse angebundene Erweiterungen gefixt.");
+                               break;
+
+                       case '0.2.2': // SQL queries for v0.2.2
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Betreffzeile f&uuml;r gel&ouml;schte Aufgaben korregiert.");
+                               break;
+
+                       case '0.2.3': // SQL queries for v0.2.3
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Erweiterung bleibt wegen integrierten Schalters immer aktiv.");
+                               break;
+
+                       case '0.2.4': // SQL queries for v0.2.4
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Auto-L&ouml;schung von Best&auml;tigungslinks kann unter &quot;Sonstige Einstellungen&quot; abgeschaltet werden (0 setzen!)");
+                               break;
+
+                       case '0.2.5': // SQL queries for v0.2.5
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Seit <strong>Patch 340</strong> &uuml;berfl&uuml;ssige HTML-Tags entfernt.");
+                               break;
+
+                       case '0.2.6': // SQL queries for v0.2.6
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Problem mit Jackpot beseitigt ({?POINTS?} wurden nicht gutgeschrieben.)");
+                               break;
+
+                       case '0.2.7': // SQL queries for v0.2.7
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Link zum Mitgliedsprofil in Funktion <u>generateUserProfileLink()</u> ausgelagert.");
+                               break;
+
+                       case '0.2.8': // SQL queries for v0.2.8
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Link zum Mitgliedsprofil in Funktion <u>generateUserProfileLink()</u> ausgelagert.");
+                               break;
+
+                       case '0.2.9': // SQL queries for v0.2.9
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Mailbetreffs korregiert.");
+                               break;
+
+                       case '0.3.0': // SQL queries for v0.3.0
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Template <u>admin_config_autopurge_pro.tpl</u> ist &uuml;berfl&uuml;ssig geworden. Bitte l&ouml;schen Sie dies!");
+                               break;
+
+                       case '0.3.1': // SQL queries for v0.3.1
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Datumsformat festgelegt auf ausf&uuml;hrlich.");
+                               break;
+
+                       case '0.3.2': // SQL queries for v0.3.2
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("W&ouml;rter <strong>{?mt_word?}</strong>, <strong>{?mt_word2?}</strong> und <strong>{?mt_word3?}</strong> sind austauschbar.");
+                               break;
+
+                       case '0.3.3': // SQL queries for v0.3.3
+                               addConfigAddSql('ap_del_mails', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
+                               addConfigAddSql('ap_dm_notify', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
+                               addConfigAddSql('ap_dm_timeout', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT {?ONE_DAY?}');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Von bereits gel&ouml;schten Mitgliedern die Mails l&ouml;schen integriert.");
+                               break;
+
+                       case '0.3.4': // SQL queries for v0.3.4
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehler mit <strong>timestamp_send</strong> (Zeile 308) beseitigt.");
+                               break;
+
+                       case '0.3.5': // SQL queries for v0.3.5
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehler mit <strong>ap_del_emails</strong> (Einstellungen im Admin-Bereich) beseitigt.");
+                               break;
+
+                       case '0.3.6': // SQL queries for v0.3.6
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Die Accounts der Standard-Referral-Id, der Bonus-Id, Bettellink-Id und der Verdoppler-Id werden nun nicht mehr gel&ouml;scht und tauchen auch unterhalb der Inaktiven-Liste nicht mehr auf.");
+                               break;
+
+                       case '0.3.7': // SQL queries for v0.3.7
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Abspeichern von Einstellungen repariert.");
+                               break;
+
+                       case '0.3.8': // SQL queries for v0.3.8
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Vorbereitung auf die neue Mediendaten v0.0.4.");
+                               break;
+
+                       case '0.3.9': // SQL queries for v0.3.9
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("if-Anweisungen auf Funktion <strong>empty()</strong> umgestellt. Unter <strong>Auto-L&ouml;schung</strong> finden Sie nun auch die Einstellungen zu Mailbest&auml;tigungs wieder. Zudem werden keine Urlauber (neue Urlaubsschaltung beachtet) mehr als inaktiv erkannt.");
+                               break;
+
+                       case '0.4.0': // SQL queries for v0.4.0
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Template-Problem beseitigt. Dies verhinderte das Abspeichern der Einstellungen.");
+                               break;
+
+                       case '0.4.1': // SQL queries for v0.4.1
+                               // Register with points data system
+                               registerExtensionPointsData('autopurge_add', 'points', 'LOCKED', 'DIRECT');
+
+                               // Update notes
+                               setExtensionUpdateNotes("R&uuml;ckschriften bei Auto-L&ouml;schungen werden nun &uuml;ber die Tabelle <strong>{OPEN_CONFIG}_MYSQL_PREFIX{CLOSE_CONFIG}_points_data</strong> verwaltet.");
+                               break;
+
+                       case '0.4.2': // SQL queries for v0.4.2
+                               addConfigAddSql('auto_purge', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT ' . (getOneDay()*14));
+                               addConfigAddSql('auto_purge_active', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
+
+                               // Update notes
+                               setExtensionUpdateNotes("Konfiguration in diese Erweiterung verschoben.");
+                               break;
+               } // END - switch
+
+// [EOF]
+?>
diff --git a/inc/extensions/beg/.htaccess b/inc/extensions/beg/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/inc/extensions/beg/mode-update.php b/inc/extensions/beg/mode-update.php
new file mode 100644 (file)
index 0000000..e45d7e2
--- /dev/null
@@ -0,0 +1,315 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 06/25/2013 *
+ * ===================                          Last change: 06/25/2013 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : mode-update.php                                  *
+ * -------------------------------------------------------------------- *
+ * Short description : Update mode for ext-beg                          *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Update-Modus fuer ext-beg                        *
+ * -------------------------------------------------------------------- *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2013 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')) {
+       die();
+} // END - if
+
+// @TODO Remove double tabs from all lines
+               switch (getCurrentExtensionVersion()) {
+                       case '0.0.1': // SQL queries for v0.0.1
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Design &quot;Solid-Business&quot; eingebaut.");
+                               break;
+
+                       case '0.0.2': // SQL queries for v0.0.2
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Seit <strong>Patch 340</strong> &uuml;berfl&uuml;ssige HTML-Tags entfernt.");
+                               break;
+
+                       case '0.0.3': // SQL queries for v0.0.3
+                               addConfigAddSql('beg_points_max', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.10000');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Maximale Obergrenze an {?POINTS?} einstellbar (Standard: 0,1 {?POINTS?})");
+                               break;
+
+                       case '0.0.4': // SQL queries for v0.0.4
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("&Uuml;berlange Kommastellen bei Punktangaben aus Bettellink und Gastbereich entfernt und Admin-Templates repariert (&quot;Unbekannte Spalte <u>beg_points_ma</u>&quot;).");
+                               break;
+
+                       case '0.0.5': // SQL queries for v0.0.5
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Im Mitgliedsmen&uuml; wurde die Beschreibung aus dem Gastmen&uuml; verwendet.");
+                               break;
+
+                       case '0.0.6': // SQL queries for v0.0.6
+                               addConfigAddSql('beg_userid', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Ein Mitgliedsaccount (empfehlenswert ist Ihr eigenes!) kann zum Abbuchen der {?POINTS?} verwendet werden. Template <u>admin_config_beg.tpl</u> (und pro!) nicht vergessen, zu aktualisieren.");
+                               break;
+
+                       case '0.0.8': // SQL queries for v0.0.8
+                               addConfigAddSql('beg_ip_timeout', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 1800');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Zeitsperre gegen die selbe IP-Nummer hinzugef&uuml;gt.");
+                               break;
+
+                       case '0.0.9': // SQL queries for v0.0.9
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Bitte verschieben Sie die beg-Templates (Ordner: {?PATH?}/templates/".getLanguage()."/html/) in den neuen Order beg!");
+                               break;
+
+                       case '0.1.0': // SQL queries for v0.2.1
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Abspeichern von Einstellungen repariert.");
+                               break;
+
+                       case '0.1.1': // SQL queries for v0.1.1
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Vorbereitung auf die neue Mediendaten v0.0.4.");
+                               break;
+
+                       case '0.1.2':
+                               // SQL queries for v0.1.2
+                               addConfigAddSql('beg_ranks', 'TINYINT(3) UNSIGNED NOT NULL DEFAULT 10');
+                               addConfigAddSql('beg_active', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
+                               addConfigAddSql('beg_rallye', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
+                               addExtensionAddTableColumnSql('user_data', 'beg_points', 'FLOAT(21,5) UNSIGNED NOT NULL DEFAULT 0.00000');
+
+                               // Menu system
+                               addAdminMenuSql('user', 'list_beg', 'Bettel-Rallye', 'Listet alle Teilnehmer der monatlichen Bettel-Rallye auf.', 12);
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Optionale Bettel-Rallye m&ouml;glich. Und die erbettelten {?POINTS?} k&ouml;nnen entweder nur dem bettelndem Mitglied direkt oder auch seinem Werber gutgeschrieben werden k&ouml;nnen.");
+                               break;
+
+                       case '0.1.3': // SQL queries for v0.1.3
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Erbettelte {?POINTS?} werden nach Deaktivierung der Bettel-Rallye gel&ouml;scht.");
+                               break;
+
+                       case '0.1.4': // SQL queries for v0.1.4
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Rechtlichen Hinweis im Mitgliedsbereich vergessen (<strong>member_list_beg.tpl</strong>); Template <strong>member_beg_404.tpl</strong> fehlte!");
+                               break;
+
+                       case '0.1.5': // SQL queries for v0.1.5
+                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admin_menu` SET `title`='Bettellink/-rallye', descr='IP-Sperre, {OPEN_CONFIG}POINTS{CLOSE_CONFIG}-Verg&uuml;tung und auch die Bettel-Rallye k&ouml;nnen Sie hier einstellen.' WHERE `what`='config_beg' LIMIT 1");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehlendes Template im Admin-Bereich hinzugef&uuml;gt. Im Admin-Bereich Hinweis hinzugef&uuml;gt, wenn Bettel-Rallye inaktiv ist. Bitte Script inc/monthly_beg.php l&ouml;schen!");
+                               break;
+
+                       case '0.1.6': // SQL queries for v0.1.6
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Es wurden immer dem ersten bettelndem Mitglied die {?POINTS?} gutgeschrieben.");
+                               break;
+
+                       case '0.1.7': // SQL queries for v0.1.7
+                               addConfigAddSql('beg_rallye_enable_notify', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
+                               addConfigAddSql('beg_rallye_disable_notify', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
+                               addConfigAddSql('beg_new_member_notify', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
+                               addConfigAddSql('beg_notify_bonus', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000');
+                               addConfigAddSql('beg_notify_wait', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 30');
+                               addExtensionAddTableColumnSql('user_data', 'beg_ral_notify', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
+                               addExtensionAddTableColumnSql('user_data', 'beg_rallye_enable_notify', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
+                               addExtensionAddTableColumnSql('user_data', 'beg_rallye_disable_notify', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Die Mitglieder k&ouml;nnen nun optional automatisch &uuml;ber eine aktivierte und/oder deaktivierte Bettel-Rallye informiert werden. Beide Benachrichtigungen k&ouml;nnen Sie unter <strong>Einstellungen --&gt; Bettel-Link/-rallye</strong> seperat ein- und ausschalten! Zudem ist eine Sperre gegen eingeloggte Mitglieder eingebaut, die das Klicken auf den eigenen Bettel-Link etwas erschweren soll.");
+                               break;
+
+                       case '0.1.8': // SQL queries for v0.1.8
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehler im t&auml;glichen Reset beseitigt.");
+                               break;
+
+                       case '0.1.9': // SQL queries for v0.1.9
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("De-/Aktivieren des mit dieser Erweiterung verkn&uuml;pften Modules eingebunden.");
+                               break;
+
+                       case '0.2.0': // SQL queries for v0.2.0
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Bei {?POINTS?}-Gleichstand wird als n&auml;chstes nach wer als letztes Online war umsortiert.");
+                               break;
+
+                       case '0.2.1': // SQL queries for v0.2.1
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehler <strong>unknown column &#39;userid&#39;</strong> beseitigt.");
+                               break;
+
+                       case '0.2.2': // SQL queries for v0.2.2
+                               addConfigAddSql('beg_include_own', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Eigene Mitglieds-Ids sind von der Bettel-Rallye nun ausschliessbar.");
+                               break;
+
+                       case '0.2.3': // SQL queries for v0.2.3
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Abfrage des Account-Status eingebaut. Es k&ouml;nnen nur best&auml;tigte Accounts betteln.");
+                               break;
+
+                       case '0.2.4': // SQL queries for v0.2.4
+                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_member_menu` SET `action`='extras',`sort`=1 WHERE `what`='beg' LIMIT 1");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Mitgliedsmen&uuml; komplett umgebaut.");
+                               break;
+
+                       case '0.2.5': // SQL queries for v0.2.5
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehlerhinweis bei deaktivierter Erweiterung verbessert.");
+                               break;
+
+                       case '0.2.6': // SQL queries for v0.2.6
+                               addExtensionAddTableColumnSql('beg_ips', 'sid', "VARCHAR(255) NOT NULL DEFAULT ''");
+                               addConfigAddSql('beg_pay_mode', "ENUM('IMG','JS','BOTH','NONE') DEFAULT 'NONE' NOT NULL ;");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("IP-Lock mit Session-Id erweitert. Tracker-Script eingef&uuml;gt, dass das Einbinden des Bettel-Links als Bild/Script/CSS verhindern soll.");
+                               break;
+
+                       case '0.2.7': // SQL queries for v0.2.7
+                               addConfigChangeSql('beg_ral_en_notify', 'beg_rallye_enable_notify', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
+                               addConfigChangeSql('beg_ral_di_notify', 'beg_rallye_disable_notify', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
+                               addConfigChangeSql('beg_new_mem_notify', 'beg_new_member_notify', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
+                               addExtensionChangeTableColumnSql('user_data', 'beg_ral_en_notify', 'beg_rallye_enable_notify', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
+                               addExtensionChangeTableColumnSql('user_data', 'beg_ral_di_notify', 'beg_rallye_disable_notify', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Umbenannt nach neuer Namenskonvention");
+                               break;
+
+                       case '0.2.8': // SQL queries for v0.2.8
+                               addConfigChangeSql('beg_ral_enable_notify', 'beg_rallye_enable_notify', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
+                               addConfigChangeSql('beg_ral_disable_notify', 'beg_rallye_disable_notify', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
+                               addExtensionChangeTableColumnSql('user_data', 'beg_ral_enable_notify', 'beg_rallye_enable_notify', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
+                               addExtensionChangeTableColumnSql('user_data', 'beg_ral_disable_notify', 'beg_rallye_disable_notify', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Umbenannt nach neuer Namenskonvention");
+                               break;
+
+                       case '0.2.9': // SQL queries for v0.2.9
+                               addDropTableSql('beg_referrals');
+                               addCreateTableSql('beg_referrals', "
+`id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
+`userid` BIGINT(20) UNSIGNED NULL DEFAULT NULL,
+`remote_ip` VARCHAR(15) NOT NULL DEFAULT '0.0.0.0',
+`timestamp` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
+`referral_url` TINYTEXT NOT NULL,
+PRIMARY KEY (`id`),
+INDEX (`userid`)",
+                                       'Recorded referral URLs');
+
+                               // Add admin menu
+                               addAdminMenuSql('user','list_beg_referral_urls','Bettel-Referrals auflisten','Listet alle Bettellink-Aufrufe inklusive Referral-URL auf.','13');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Loggen der Referral-URLs hinzugef&uuml;gt.");
+                               break;
+
+                       case '0.3.0': // SQL queries for v0.3.0
+                               addConfigDropSql('beg_mode');
+
+                               // Register points data
+                               registerExtensionPointsData('beg'        , 'points', 'LOCKED', 'DIRECT');
+                               registerExtensionPointsData('monthly_beg', 'points', 'LOCKED', 'DIRECT');
+
+                               // Update notes
+                               setExtensionUpdateNotes("Monatliche Bettelrallye und die erbettelten {?POINTS?} werden nun &uuml;ber die Tabelle <strong>{OPEN_CONFIG}_MYSQL_PREFIX{CLOSE_CONFIG}_points_data</strong> verwaltet.");
+                               break;
+
+                       case '0.3.1': // SQL queries for v0.3.1
+                               // Add/move menu
+                               addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_member_menu` WHERE `what`='beg2'");
+                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_guest_menu` SET `action`='members',`sort`=3 WHERE `what`='beg' LIMIT 1");
+                               addMemberMenuSql('rals', 'beg2', 'Bettel-Rallye', 3);
+
+                               // Update notes
+                               setExtensionUpdateNotes("Bettel-Rallye re-hinzugef&uuml;gt.");
+                               break;
+
+                       case '0.3.2': // SQL queries for v0.3.2
+                               // Add module entry
+                               addModuleSql('beg', '{OPEN_LANGUAGE}MODULE_BEG_TITLE{CLOSE_LANGUAGE}', 'Y', 'Y', 'N', 'N');
+
+                               // Set module title
+                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_mod_reg` SET `title`='Betteln bei {OPEN_CONFIG}MAIN_TITLE{CLOSE_CONFIG}' WHERE `module`='beg' AND `title`='' LIMIT 1");
+
+                               // Update notes
+                               setExtensionUpdateNotes("Modul registriert und bei leerem Titel mit einem Standardtitel versehen.");
+                               break;
+
+                       case '0.3.3': // SQL queries for v0.3.3
+                               // Register a filter
+                               registerFilter(__FILE__, __LINE__, 'pre_user_registration', 'BEG_RALLYE_USER_REGISTRATION_ADD_SQL_COLUMNS', FALSE, TRUE, isExtensionDryRun());
+                               registerFilter(__FILE__, __LINE__, 'init', 'BEG_PURGE_IPS_NOTIFY_USER', FALSE, TRUE, isExtensionDryRun());
+
+                               // This depends on ext-register
+                               addExtensionDependency('register');
+
+                               // Update notes
+                               setExtensionUpdateNotes("Filter f&uuml;r Anmeldeformular und Aufr&auml;men der IPs hinzugef&uuml;gt.");
+                               break;
+
+                       case '0.3.4': // SQL queries for v0.3.4
+                               // SQL queries (renaming)
+                               addRenameTableSql('beg_referrals', 'referrals');
+                               addExtensionChangeTableColumnSql('beg_referrals', 'referal_url', 'referral_url', 'TINYTEXT NOT NULL');
+                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admin_menu` SET `what`='list_beg_referral_urls' WHERE `what`='list_beg_referal_urls' LIMIT 1");
+
+                               // Update notes
+                               setExtensionUpdateNotes("Verwendungszwecke f&uuml;r Referralgutgschriften registriert.");
+                               break;
+
+                       case '0.3.5': // SQL queries for v0.3.5
+                               // Register a filter
+                               registerFilter(__FILE__, __LINE__, 'config_userid_exclusion_sql', 'EXCLUDE_BEG_USERID', FALSE, TRUE, isExtensionDryRun());
+
+                               // Update notes
+                               setExtensionUpdateNotes("Filter f&uuml;r das Ausschlie&szlig;en des konfigurierbaren Mitgliedaccounts hinzugef&uuml;gt.");
+                               break;
+
+                       case '0.3.6': // SQL queries for v0.3.6
+                               // SQL to update module
+                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_mod_reg` SET `title`='{OPEN_LANGUAGE}MODULE_BEG_TITLE{CLOSE_LANGUAGE}' WHERE `module`='beg' LIMIT 1");
+
+                               // Update notes
+                               setExtensionUpdateNotes("Modul-Titel nach neuem Format angepasst.");
+                               break;
+               } // END - switch
+
+// [EOF]
+?>
index d6b9164fdd85c0196e04fa22e582724a988eeac3..81a836c17a73fb402ff0ea964ae95216c3d74780 100644 (file)
@@ -184,7 +184,7 @@ INDEX `userid` (`userid`)",
 
                        case '0.3.7': // SQL queries for v0.3.7
                                // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Mitglieder-Account auw&auml;hlbar, von dem die {?POINTS?} f&uuml;r den Aktiv- und Login-Bonus abgebucht werden.");
+                               setExtensionUpdateNotes("Mitgliedaccount auw&auml;hlbar, von dem die {?POINTS?} f&uuml;r den Aktiv- und Login-Bonus abgebucht werden.");
                                break;
 
                        case '0.3.8': // SQL queries for v0.3.8
@@ -230,7 +230,7 @@ INDEX `userid` (`userid`)",
                                addExtensionAddTableColumnSql('user_data', 'bonus_stats', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000');
 
                                // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Bonus-{?POINTS?} f&uuml;r: Mailbestellung, Referral-Werbung (bei Best. der EMail-Adresse) und wenn 100% Klickrate jeder Mailbuchung erreicht wurde.<br />Template <u>admin_config_bonus_pro.tpl</u> ist &uuml;berfl&uuml;ssig geworden. Bitte l&ouml;schen Sie dies!<br />Eingestellte Bonus-{?POINTS?} f&uuml;r Rank 2 war um eins verschoben.");
+                               setExtensionUpdateNotes("Bonus-{?POINTS?} f&uuml;r: Mailbuchung, Referral-Werbung (bei Best. der EMail-Adresse) und wenn 100% Klickrate jeder Mailbuchung erreicht wurde.<br />Template <u>admin_config_bonus_pro.tpl</u> ist &uuml;berfl&uuml;ssig geworden. Bitte l&ouml;schen Sie dies!<br />Eingestellte Bonus-{?POINTS?} f&uuml;r Rank 2 war um eins verschoben.");
                                break;
 
                        case '0.4.5': // SQL queries for v0.4.5
@@ -411,9 +411,9 @@ ORDER BY
                                break;
 
                        case '0.7.7': // SQL queries for v0.7.7
-                               addConfigAddSql('bonus_en_notify', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
-                               addConfigAddSql('bonus_di_notify', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
-                               addConfigAddSql('bonus_new_mem_notify', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
+                               addConfigAddSql('bonus_enable_notify', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
+                               addConfigAddSql('bonus_disable_notify', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
+                               addConfigAddSql('bonus_new_member_notify', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
                                addConfigAddSql('bonus_notify_points', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000');
                                addConfigAddSql('bonus_notify_wait', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 30');
                                addExtensionAddTableColumnSql('user_data', 'bonus_ral_en_notify', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
diff --git a/inc/extensions/doubler/.htaccess b/inc/extensions/doubler/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/inc/extensions/doubler/mode-setup.php b/inc/extensions/doubler/mode-setup.php
new file mode 100644 (file)
index 0000000..e3bf003
--- /dev/null
@@ -0,0 +1,110 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 06/25/2013 *
+ * ===================                          Last change: 06/25/2013 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : mode-setup.php                                   *
+ * -------------------------------------------------------------------- *
+ * Short description : Double points                                    *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Punkte verdoppeln                                *
+ * -------------------------------------------------------------------- *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2013 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')) {
+       die();
+} // END - if
+
+// @TODO Remove double tabs from all lines
+               // Doubler table
+               addDropTableSql('doubler');
+               addCreateTableSql('doubler', "
+`id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
+`userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`refid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`points` FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000,
+`remote_ip` VARCHAR(15) NOT NULL DEFAULT '0.0.0.0',
+`timemark` BIGINT(10) NOT NULL DEFAULT 0,
+`completed` ENUM('Y','N') NOT NULL DEFAULT 'N',
+`is_ref` ENUM('Y','N') NOT NULL DEFAULT 'N',
+PRIMARY KEY (`id`),
+INDEX (`refid`),
+INDEX (`userid`)",
+                       'User doubler data');
+
+               //
+               // --- SETTINGS ---
+               //
+               // Minimum points to double
+               addConfigAddSql('doubler_min', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 100.00000');
+               // Maximum points to double
+               addConfigAddSql('doubler_max', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 10000.00000');
+               // Points left on users account after doubling
+               addConfigAddSql('doubler_left', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 1000');
+               // Charge for doubling points which goes to the webmaster (shreddered in fact!)
+               addConfigAddSql('doubler_charge', 'FLOAT(7,5) UNSIGNED NOT NULL DEFAULT 0.03000');
+               // Referral percents
+               addConfigAddSql('doubler_ref', 'FLOAT(7,5) UNSIGNED NOT NULL DEFAULT 0.02000');
+               // Shall I use the jackpot to take points from? (Y/N, default=Y)
+               addConfigAddSql('doubler_jackpot', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
+               // A user account to take points from (default: 0->none)
+               addConfigAddSql('doubler_userid', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
+               // Total payed out points from your doublers
+               addConfigAddSql('doubler_points', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000');
+               // Sending mode of mails (immediately/daily reset)
+               // --> This also means who fast the doubled points will be payed out!
+               addConfigAddSql('doubler_send_mode', "ENUM('DIRECT','RESET') NOT NULL DEFAULT 'DIRECT'");
+               // Timeout for entries to be purged (default: one week)
+               addConfigAddSql('doubler_timeout', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT ' . (getOneDay() * 7));
+               // Number of newest entries to display
+               addConfigAddSql('doubler_display_new', 'TINYINT(3) UNSIGNED NOT NULL DEFAULT 10');
+               // Number of entries which will be payed out soon
+               addConfigAddSql('doubler_display_pay', 'TINYINT(3) UNSIGNED NOT NULL DEFAULT 10');
+               // Number of entries which are already payed out
+               addConfigAddSql('doubler_display_old', 'TINYINT(3) UNSIGNED NOT NULL DEFAULT 10');
+               // Points used by every member
+               addExtensionAddTableColumnSql('user_data', 'doubler_points', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000');
+               // Counter for usage of the doubler
+               addConfigAddSql('doubler_counter', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
+
+               //
+               // --- MENU SYSTEMS ---
+               //
+               // Admin menu
+               addAdminMenuSql('doubler', NULL, '{OPEN_CONFIG}POINTS{CLOSE_CONFIG}-Verdoppler','Einstellungen und Eintr&auml;ge auflisten.', 4);
+               addAdminMenuSql('doubler','list_doubler','Auflisten','Eintr&auml;ge aus der Verdiensttabelle auflisten', 1);
+               addAdminMenuSql('doubler','config_doubler','Einstellungen','Prozentuale Geb&uuml;hr usw. einstellen.', 2);
+
+               // Guest menu (informations / default doubler link)
+               addGuestMenuSql('main', 'doubler', 'Verdoppeln!', 3);
+
+               // Member menu
+               addMemberMenuSql('main', 'doubler', 'Verdoppeln!', 7);
+
+// [EOF]
+?>
diff --git a/inc/extensions/doubler/mode-update.php b/inc/extensions/doubler/mode-update.php
new file mode 100644 (file)
index 0000000..da3cb46
--- /dev/null
@@ -0,0 +1,180 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 06/25/2013 *
+ * ===================                          Last change: 06/25/2013 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : mode-update.php                                  *
+ * -------------------------------------------------------------------- *
+ * Short description : Double points                                    *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Punkte verdoppeln                                *
+ * -------------------------------------------------------------------- *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2013 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')) {
+       die();
+} // END - if
+
+// @TODO Remove double tabs from all lines
+                       case '0.0.1': // SQL queries for v0.0.1
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Problem mit Mitglieds-Id behoben.");
+                               break;
+
+                       case '0.0.2': // SQL queries for v0.0.2
+                               // Total used points
+                               addConfigAddSql('doubler_user', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Geb&uuml;hr wird vom Verdoppler-Pott abgezogen.");
+                               break;
+
+                       case '0.0.3': // SQL queries for v0.0.3
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Drei SQL-Fehler beseitigt.");
+                               break;
+
+                       case '0.0.4': // SQL queries for v0.0.4
+                               // Shall I use the doubler's account to take points from? (Y/N, default=Y)
+                               addConfigAddSql('doubler_own', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("{?POINTS?}-Guthaben des Verdopplers kann optional nicht mit einbezogen werden.");
+                               break;
+
+                       case '0.0.5': // SQL queries for v0.0.5
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Counter-Stand und noch zum Verdoppeln &uuml;brige {?POINTS?} in Templates eingebunden. Auflistung in Admin-Bereich komplettiert.");
+                               break;
+
+                       case '0.0.6': // SQL queries for v0.0.6
+                               addConfigAddSql('doubler_max_sent', 'TINYINT(3) UNSIGNED NOT NULL DEFAULT 1');
+                               addConfigAddSql('doubler_group_sent', 'TINYINT(3) UNSIGNED NOT NULL DEFAULT 1');
+                               addConfigAddSql('doubler_sent_all', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Geb&uuml;hrenabzug wird beim Einzahlen abgezogen (wurde von Auszahlung abgezogen) und maximal bei Auszahlung zu kontrollierende Accounts einstellbar.<br />Template <u>admin_config_doubler_pro.tpl</u> ist &uuml;berfl&uuml;ssig geworden. Bitte l&ouml;schen Sie dies!");
+                               break;
+
+                       case '0.0.7': // SQL queries for v0.0.7
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("W&ouml;rter <strong>{?mt_word?}</strong>, <strong>{?mt_word2?}</strong> und <strong>{?mt_word3?}</strong> sind austauschbar.<br /><br />Minus-Guthaben des Verdoppler-Accounts repariert und Mitgliedsmail erweitert mit Transaktionsummer und IP-Nummer.");
+                               break;
+
+                       case '0.0.8': // SQL queries for v0.0.8
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Bitte verschieben Sie die doubler-Templates (Ordner: {?PATH?}/templates/".getLanguage()."/html/) in den neuen Order doubler!");
+                               break;
+
+                       case '0.0.9': // SQL queries for v0.0.9
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Abspeichern von Einstellungen repariert.");
+                               break;
+
+                       case '0.1.0': // SQL queries for v0.2.1
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Vorbereitung auf die neue Mediendaten v0.0.4.");
+                               break;
+
+                       case '0.1.1': // SQL queries for v0.1.1
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Zwei SQL-Fehler in <strong>inc/doubler_send.php</strong> beseitigt.");
+                               break;
+
+                       case '0.1.2': // SQL queries for v0.1.2
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Sicherheitsupdate f&uuml;r die Include-Befehle.");
+                               break;
+
+                       case '0.1.3': // SQL queries for v0.1.3
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("De-/Aktivieren des mit dieser Erweiterung verkn&uuml;pften Modules eingebunden.");
+                               break;
+
+                       case '0.1.4': // SQL queries for v0.1.4
+                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_member_menu` SET `action`='extras',`sort`=4 WHERE `what`='doubler' LIMIT 1");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Mitgliedsmen&uuml; komplett umgebaut.");
+                               break;
+
+                       case '0.1.5': // SQL queries for v0.1.5
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Hash-Erstellung von <strong>md5()</strong> auf bessere Funktion <strong>generateHash()</strong> umgestellt.");
+                               break;
+
+                       case '0.1.6': // SQL queries for v0.1.6
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehlerhinweis bei deaktivierter Erweiterung verbessert.");
+                               break;
+
+                       case '0.1.7': // SQL queries for v0.1.7
+                               addExtensionSql('UPDATE `{?_MYSQL_PREFIX?}_config` SET `doubler_charge`=`doubler_charge`*100 WHERE `config`=0 LIMIT 1');
+                               addExtensionSql('UPDATE `{?_MYSQL_PREFIX?}_config` SET `doubler_ref`=`doubler_ref`*100 WHERE `config`=0 LIMIT 1');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehlerhinweis bei deaktivierter Erweiterung verbessert.");
+                               break;
+
+                       case '0.1.8': // SQL queries for v0.1.8
+                               // Register points data
+                               registerExtensionPointsData('doubler_direct', 'points', 'LOCKED', 'DIRECT');
+                               registerExtensionPointsData('doubler_reset' , 'points', 'LOCKED', 'DIRECT');
+
+                               // Update notes
+                               setExtensionUpdateNotes("Doppler-Gutschriften werden nun &uuml;ber die Tabelle <strong>{OPEN_CONFIG}_MYSQL_PREFIX{CLOSE_CONFIG}_points_data</strong> verwaltet.");
+                               break;
+
+                       case '0.1.9': // SQL queries for v0.1.9
+                               // Total payed out points from your doublers
+                               addConfigAddSql('doubler_used', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000');
+
+                               // Update notes
+                               setExtensionUpdateNotes("Fehlender Konfigurationseintrag <strong>doubler_used</strong> hinzgef&uuml;gt.");
+                               break;
+
+                       case '0.2.0': // SQL queries for v0.2.0
+                               // Register filter
+                               registerFilter(__FILE__, __LINE__, 'config_userid_exclusion_sql', 'EXLCUDE_DOUBLER_USERID', FALSE, TRUE, isExtensionDryRun());
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Filter zum Ausschlie&szlig;en des konfigurierten Mitgliedaccounts.");
+                               break;
+
+                       case '0.2.1': // SQL queries for v0.2.1
+                               // Register subject lines
+                               registerExtensionPointsData('doubler_direct', 'points', 'LOCKED', 'DIRECT');
+                               registerExtensionPointsData('doubler_reset', 'points', 'LOCKED', 'DIRECT');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Verwendungszwecks f&uuml;r Guthabenkonten hinzugef&uuml;gt.");
+                               break;
+               } // END - switch
+
+// [EOF]
+?>
index c38fe16d000d2c41827cd0230004f723f9d078a9..f206c8d98676d15d84bdfa8ce3b51b81d1e90167 100644 (file)
@@ -82,285 +82,6 @@ switch (getExtensionMode()) {
                break;
 
        case 'update': // Update an extension
-               switch (getCurrentExtensionVersion()) {
-                       case '0.2.0': // SQL queries for v0.2
-                               addAdminMenuSql('admins','admins_contact','Admin kontaktieren','Kontaktiert einen Admin per Mail oder Nachricht (nur wenn messaging-Erweiterung installiert ist).',2);
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("F&uuml;gt den Men&uuml;punkt &quot;Admin kontaktieren&quot; hinzu.");
-                               break;
-
-                       case '0.3.0': // SQL queries for v0.3
-                               // Add admin menu
-                               addAdminMenuSql('admins','config_admins','ACL einstellen','Richten Sie Zugriffskontrollzeilen f&uuml;r jeden Admin individuell ein, um ihm nur bestimmte Bereiche des Admin-Bereiches zug&auml;nglich zu machen oder zu sperren.',4);
-
-                               // Which is the default setting when you create a new admin login?
-                               addConfigAddSql('admins_default_acl', "ENUM('deny','allow') NOT NULL DEFAULT 'deny'");
-
-                               // Default is deny everything
-                               addExtensionAddTableColumnSql('admins', 'default_acl', "ENUM('deny','allow') NOT NULL DEFAULT 'deny'");
-
-                               // But allow current admin everything (THIS SHALL BE YOU!)
-                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admins` SET `default_acl`='allow' WHERE `id`=".bigintval(getCurrentAdminId())." LIMIT 1");
-                               addDropTableSql('admins_acls');
-                               addCreateTableSql('admins_acls', "
-`id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
-`admin_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`action_menu` VARCHAR(255) NOT NULL DEFAULT '',
-`what_menu` VARCHAR(255) NOT NULL DEFAULT '',
-`access_mode` ENUM('deny','allow') NOT NULL DEFAULT 'deny',
-PRIMARY KEY (`id`),
-INDEX (`admin_id`)",
-                                       'Access control lines (ACLs)');
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Sogn. ACLs werden hinzugef&uuml;gt: <strong>A</strong>ccess <strong>C</strong>ontrol <strong>L</strong>ines sind zu deutsch Zugriffkontrollzeilen, mit denen Sie einstellen k&ouml;nnen, was welcher Admin machen darf oder nicht. <strong>Nur Sie haben momentan Vollzugriff auf den Adminbereich.</strong>");
-                               break;
-
-                       case '0.3.1': // SQL queries for v0.3.1
-                               addExtensionChangeTableColumnSql('admins_acls', 'id', 'id', 'BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT');
-                               break;
-
-                       case '0.4.0': // SQL queries for v0.4.0
-                               addDropTableSql('admins_mails');
-                               addCreateTableSql('admins_mails', "
-`id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
-`admin_id` BIGINT(20) UNSIGNED NULL DEFAULT NULL,
-`mail_template` VARCHAR(255) NOT NULL,
-PRIMARY KEY (`id`),
-INDEX (`admin_id`)",
-                                       'Mail template -> admin connection table');
-                               addExtensionSql("INSERT INTO  `{?_MYSQL_PREFIX?}_admin_menu` (`action`, `what`, `title`, `descr`, `sort`) VALUES ('admins','admins_mails','Admin-Mails','Stellen Sie hier ein, welcher Admin welche Mail erhalten soll. Sie k&ouml;nnen dies (derzeit) jedoch erst, wenn einmal die Mail versendet wurde!',5)");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Kontrollieren Sie, welche Mails welcher Admin oder alle (admin_id=0) bekommen soll oder im UserLog (admin_id=-1) verzeichnet werden soll. Standardm&auml;ssig wird weiter an alle versendet.");
-                               break;
-
-                       case '0.4.1': // SQL queries for v0.4.1
-                               addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_admins_mails` WHERE mail_template LIKE '% %'");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Admins-Mails-Tabelle geleert.");
-
-                       case '0.4.4': // SQL queries for v0.4.4
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("&amp;admin= in &amp;amp;admin= umgewandelt.");
-                               break;
-
-                       case '0.4.5': // SQL queries for v0.4.5
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Vorbereitet auf Cache-System");
-                               break;
-
-                       case '0.4.6': // SQL queries for v0.4.6
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Problem mit cache-Erweiterung gefixt. Der Admin-Bereich war permanent gesperrt.");
-                               break;
-
-                       case '0.4.7': // SQL queries for v0.4.7
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Es wurde die Zeitmarke der Cache-Datei admins.cache mit ber&uuml;cksichtigt.");
-                               break;
-
-                       case '0.4.8': // SQL queries for v0.4.8
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist.");
-                               break;
-
-                       case '0.4.9': // SQL queries for v0.4.9
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist.");
-                               break;
-
-                       case '0.5.0': // SQL queries for v0.5.0
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist.");
-                               break;
-
-                       case '0.5.1': // SQL queries for v0.5.1
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Cache wird endlich gel&oumlscht, wenn Admin entfernt wird.");
-                               break;
-
-                       case '0.5.2': // SQL queries for v0.5.2
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("L&ouml;schen von Admin-Accounts repariert und HTML-Code ausgelagert in Templates.");
-                               break;
-
-                       case '0.5.3': // SQL queries for v0.5.3
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Seit <strong>Patch 340</strong> &uuml;berfl&uuml;ssige HTML-Tags entfernt.");
-                               break;
-
-                       case '0.5.4': // SQL queries for v0.5.4
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("IP-Nummer und Browserbezeichnung wird in Admin-Mails eingesetzt.");
-                               break;
-
-                       case '0.5.5': // SQL queries for v0.5.5
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Men&uuml;punkt Admin-Mails korregiert: SQL-Anweisung war fehlerhaft; und HTML-Code in Templates ausgelagert.");
-                               break;
-
-                       case '0.5.6': // SQL queries for v0.5.6
-                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admin_menu` SET `what`='admins_contct' WHERE `what`='admins_contact' LIMIT 1");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Namenskonflikt zwischen den Erweiterungen <strong>admins</strong> und (kommender) <strong>contact</strong>.");
-                               break;
-
-                       case '0.5.7': // SQL queries for v0.5.7
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Links wegen <strong>what=admins_contct</strong> ge&auml;ndert.");
-                               break;
-
-                       case '0.5.8': // SQL queries for v0.5.8
-                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admin_menu` SET `what`='admins_contct' WHERE `what`='admins_contact' LIMIT 1");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Ein Punkt in der Versionsnummernliste verhinderte das 0.5.6-Update.");
-                               break;
-
-                       case '0.5.9': // SQL queries for v0.5.9
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Sicherheitsupdate: SQL-Anweisungen gesch&uuml;tzt.");
-                               break;
-
-                       case '0.6.0': // SQL queries for v0.6.0
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Link in &quot;ACL Einstellen&quot; zum Admin-Kontaktformular korregiert.");
-                               break;
-
-                       case '0.6.1': // SQL queries for v0.6.1
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Speichern von Admin-Accounts klappt wieder.");
-                               break;
-
-                       case '0.6.2': // SQL queries for v0.6.2
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Bitte verschieben Sie die admins-Templates (Ordner: {?PATH?}/templates/de/emails/) in den neuen Order admins!");
-                               break;
-
-                       case '0.6.3': // SQL queries for v0.6.3
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Abspeichern von Einstellungen repariert.");
-                               break;
-
-                       case '0.6.4': // SQL queries for v0.6.4
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Problem mit der Rechtevererbung beseitigt: Geben Sie nun ein Hauptmen&uuml; frei (Allow), dann kann der Admin auch die Untermen&uuml;s erreichen. Zudem k&ouml;nnen Sie gezielte Untermen&uuml;s im freigegeben Hauptmen&uuml; dennoch sperren.");
-                               break;
-
-                       case '0.6.5': // SQL queries for v0.6.5
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Sicherheitsupdate f&uuml;r die Include-Befehle.");
-                               break;
-
-                       case '0.6.6': // SQL queries for v0.5.6
-                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admin_menu` SET `what`='admins_contct' WHERE `what`='admins_contact' LIMIT 1");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Namenskonflikt zwischen den Erweiterungen <strong>admins</strong> und (kommender) <strong>contact</strong>.");
-                               break;
-
-                       case '0.6.7': // SQL queries for v0.6.7
-                               addExtensionAddTableColumnSql('admins', 'la_mode', "ENUM('global','OLD','NEW') NOT NULL DEFAULT 'global'");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Namenskonflikt zwischen den Erweiterungen <strong>admins</strong> und (kommender) <strong>contact</strong>. Beseitigung eines Fehlers <strong>HTTP_POSR_VARS</strong> beim &Auml;ndern von Administratoren.");
-                               break;
-
-                       case '0.6.8': // SQL queries for v0.6.8
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("<strong>setSession()</strong> mit @-Zeichen gegen ungewollte Ausgaben abgesichert.");
-                               break;
-
-                       case '0.6.9': // SQL queries for v0.6.9
-                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admin_menu` SET `title`='Admin-Management' WHERE `action`='admins' AND (`what`='' OR `what` IS NULL) LIMIT 1");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Verwaltung nach Management umbenannt.");
-                               break;
-
-                       case '0.7.0': // SQL queries for v0.7.0
-                               addExtensionAddTableColumnSql('admins', 'login_failtures', "BIGINT(20) UNSIGNED NOT NULL DEFAULT 0");
-                               addExtensionAddTableColumnSql('admins', 'last_failture', "TIMESTAMP NULL DEFAULT NULL");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Veraltetes Update.");
-                               break;
-
-                       case '0.7.1': // SQL queries for v0.7.1
-                               // Add filters
-                               registerFilter(__FILE__, __LINE__, 'sql_admin_extra_data', 'ADD_EXTRA_SQL_DATA', FALSE, TRUE, isExtensionDryRun());
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Filter hinzugef&uuml;gt und ist von <strong>sql_patches</strong> abh&auml;ngig.");
-                               break;
-
-                       case '0.7.2': // SQL queries for v0.7.2
-                               addExtensionDropTableColumnSql('admins', 'login_failtures');
-                               addExtensionDropTableColumnSql('admins', 'last_failture');
-                               addExtensionAddTableColumnSql('admins', 'login_failures', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
-                               addExtensionAddTableColumnSql('admins', 'last_failure', "TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00'");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Schreibweise korregiert.");
-                               break;
-
-                       case '0.7.3': // SQL queries for v0.7.3
-                               addExtensionAddTableColumnSql('admins', 'expert_settings', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
-                               addExtensionAddTableColumnSql('admins', 'expert_warning', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Entwicklereinstellungen sind nun hinzugekommen.");
-                               break;
-
-                       case '0.7.4': // SQL queries for v0.7.4
-                               // Add filter
-                               registerFilter(__FILE__, __LINE__, 'do_admin_login_done', 'RESET_ADMINS_LOGIN_FAILURES', FALSE, TRUE, isExtensionDryRun());
-                               registerFilter(__FILE__, __LINE__, 'do_admin_login_pass', 'COUNT_ADMINS_LOGIN_FAILURE', FALSE, TRUE, isExtensionDryRun());
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Filter hinzugefuegt.");
-                               break;
-
-                       case '0.7.5': // SQL queries for v0.7.5
-                               // Add filter
-                               registerFilter(__FILE__, __LINE__, 'do_admin_login_done', 'REHASH_ADMINS_PASSWORD', FALSE, TRUE, isExtensionDryRun());
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Filter zum Rehashen des Adminpassworts nach erfolgtem Login hinzugef&uuml;gt.");
-                               break;
-
-                       case '0.7.6': // SQL queries for v0.7.6
-                               addExtensionChangeTableColumnSql('admins', 'last_failure', 'last_failure', 'TIMESTAMP NULL DEFAULT NULL');
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Ausgangswert ist nicht mehr 0000-00-00 00:00:00, sondern NULL.");
-                               break;
-
-                       case '0.7.7': // SQL queries for v0.7.7
-                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admin_menu` SET `what`='list_admins_acls' WHERE `what`='config_admins' LIMIT 1");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Ausgangswert ist nicht mehr 0000-00-00 00:00:00, sondern NULL.");
-                               break;
-
-                       case '0.7.8': // SQL queries for v0.7.8
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Abgek&uuml;rzte Bezeichnungen k&ouml;nnen f&uuml;r Missverst&auml;ndnisse am Code sorgen. Daher wurde der Spaltenalias <strong>def_acl</strong> entfernt.");
-                               break;
-
-                       case '0.7.9': // SQL queries for v0.7.9
-                               addExtensionChangeTableColumnSql('admins_mails', 'admin_id', 'admin_id', 'BIGINT(20) UNSIGNED NULL DEFAULT NULL');
-                               addExtensionSql('UPDATE `{?_MYSQL_PREFIX?}_admins_mails` SET `admin_id` = NULL WHERE `admin_id`=0');
-                               addExtensionSql("DELETE FROM `{?_MYSQL_PREFIX?}_admins_mails` WHERE `mail_template` IN ('admin-del_links', 'back-admin', 'done-admin', 'order-admin', 'register-admin')");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Spalte <strong>admin_id</strong> ist jetzt Ausgangswert NULL, alte Mail-Templates bereinigt.");
-                               break;
-               } // END - switch
                break;
 
        case 'modify': // When the extension got modified
index ed34f03b30a4a46a453594bb77ac573b025447be..ea52ca403f0664ffe491d126417f1203b08eef0a 100644 (file)
@@ -81,197 +81,6 @@ switch (getExtensionMode()) {
                break;
 
        case 'update': // Update an extension
-               switch (getCurrentExtensionVersion()) {
-                       case '0.1.0': // SQL queries for v0.1.0
-                               // Add dependency to 'user'
-                               addExtensionDependency('user');
-
-                               // SQL queries
-                               addConfigAddSql('autopurge_inactive', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
-                               addConfigAddSql('autopurge_unconfirmed', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
-                               addConfigAddSql('ap_inactive_since', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 2592000');
-                               addConfigAddSql('ap_inactive_time', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 25200');
-                               addConfigAddSql('ap_unconfirmed_time', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 432000');
-                               addAdminMenuSql('setup', 'config_autopurge', 'Auto-L&ouml;schung', 'Automatisch inaktive oder nicht best&auml;tigte Accounts l&ouml;schen.', 12);
-                               addAdminMenuSql('user', 'list_autopurge', 'Inaktive finden', 'Lassen Sie sich vor dem t&auml;glichen Reset anzeigen, welche Mitglieder als inaktiv erkannt werden und welche gel&ouml;scht werden.', 10);
-                               addExtensionAddTableColumnSql('user_data', 'ap_notified', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Automatisches L&ouml;schen von inaktiven bzw. nicht best&auml;tigten Accounts hinzugef&uuml;gt.");
-                               break;
-
-                       case '0.1.2': // SQL queries for v0.1.2
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Automatisches L&ouml;schen von als zu l&ouml;schen markierte Tasks hinzugef&uuml;gt.");
-                               break;
-
-                       case '0.1.3': // SQL queries for v0.1.3
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Nicht mehr verwendetes Update.");
-                               break;
-
-                       case '0.1.4': // SQL queries for v0.1.4
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehler <div class=\"notice\">Warning: Missing argument 2 for create_timestamp_from_selections() in {?PATH?}inc/libs/pro_functions.php on line 227</div> behoben.");
-                               break;
-
-                       case '0.1.5': // SQL queries for v0.1.5
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Anstelle von <strong>ref_depth</strong> wurde <strong>level</strong> programmiert.");
-                               break;
-
-                       case '0.1.6': // SQL queries for v0.1.6
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist.");
-                               break;
-
-                       case '0.1.7': // SQL queries for v0.1.7
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist.");
-                               break;
-
-                       case '0.1.8': // SQL queries for v0.1.8
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Problem mit Speicherung der Einstellungen beseitigt.");
-                               break;
-
-                       case '0.1.9': // SQL queries for v0.1.9
-                               addConfigAddSql('autopurge_tasks', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
-                               addConfigAddSql('ap_tasks_time', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT ' . (getOneDay() * 7));
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Bereinigung von zu l&ouml;schenden Aufgaben klappt wieder. Zeitlimit f&uuml;r genanntes kann eingestellt werden (Default = 7 Tage).<br /><br /><u>Bitte aktualisieren Sie auch die Admin-Templates!</u>");
-                               break;
-
-                       case '0.2.0': // SQL queries for v0.2.0
-                               addConfigAddSql('ap_in_notify', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
-                               addConfigAddSql('ap_un_notify', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
-                               addConfigAddSql('ap_tasks_notify', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Mail wird bei L&ouml;schung von Aufgaben ausgesendet.<br /><br /><u>Bitte aktualisieren Sie auch die Admin-Templates!</u>");
-                               break;
-
-                       case '0.2.1': // SQL queries for v0.2.1
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Diverse angebundene Erweiterungen gefixt.");
-                               break;
-
-                       case '0.2.2': // SQL queries for v0.2.2
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Betreffzeile f&uuml;r gel&ouml;schte Aufgaben korregiert.");
-                               break;
-
-                       case '0.2.3': // SQL queries for v0.2.3
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Erweiterung bleibt wegen integrierten Schalters immer aktiv.");
-                               break;
-
-                       case '0.2.4': // SQL queries for v0.2.4
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Auto-L&ouml;schung von Best&auml;tigungslinks kann unter &quot;Sonstige Einstellungen&quot; abgeschaltet werden (0 setzen!)");
-                               break;
-
-                       case '0.2.5': // SQL queries for v0.2.5
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Seit <strong>Patch 340</strong> &uuml;berfl&uuml;ssige HTML-Tags entfernt.");
-                               break;
-
-                       case '0.2.6': // SQL queries for v0.2.6
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Problem mit Jackpot beseitigt ({?POINTS?} wurden nicht gutgeschrieben.)");
-                               break;
-
-                       case '0.2.7': // SQL queries for v0.2.7
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Link zum Mitgliedsprofil in Funktion <u>generateUserProfileLink()</u> ausgelagert.");
-                               break;
-
-                       case '0.2.8': // SQL queries for v0.2.8
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Link zum Mitgliedsprofil in Funktion <u>generateUserProfileLink()</u> ausgelagert.");
-                               break;
-
-                       case '0.2.9': // SQL queries for v0.2.9
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Mailbetreffs korregiert.");
-                               break;
-
-                       case '0.3.0': // SQL queries for v0.3.0
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Template <u>admin_config_autopurge_pro.tpl</u> ist &uuml;berfl&uuml;ssig geworden. Bitte l&ouml;schen Sie dies!");
-                               break;
-
-                       case '0.3.1': // SQL queries for v0.3.1
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Datumsformat festgelegt auf ausf&uuml;hrlich.");
-                               break;
-
-                       case '0.3.2': // SQL queries for v0.3.2
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("W&ouml;rter <strong>{?mt_word?}</strong>, <strong>{?mt_word2?}</strong> und <strong>{?mt_word3?}</strong> sind austauschbar.");
-                               break;
-
-                       case '0.3.3': // SQL queries for v0.3.3
-                               addConfigAddSql('ap_del_mails', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
-                               addConfigAddSql('ap_dm_notify', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
-                               addConfigAddSql('ap_dm_timeout', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT {?ONE_DAY?}');
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Von bereits gel&ouml;schten Mitgliedern die Mails l&ouml;schen integriert.");
-                               break;
-
-                       case '0.3.4': // SQL queries for v0.3.4
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehler mit <strong>timestamp_send</strong> (Zeile 308) beseitigt.");
-                               break;
-
-                       case '0.3.5': // SQL queries for v0.3.5
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehler mit <strong>ap_del_emails</strong> (Einstellungen im Admin-Bereich) beseitigt.");
-                               break;
-
-                       case '0.3.6': // SQL queries for v0.3.6
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Die Accounts der Standard-Referral-Id, der Bonus-Id, Bettellink-Id und der Verdoppler-Id werden nun nicht mehr gel&ouml;scht und tauchen auch unterhalb der Inaktiven-Liste nicht mehr auf.");
-                               break;
-
-                       case '0.3.7': // SQL queries for v0.3.7
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Abspeichern von Einstellungen repariert.");
-                               break;
-
-                       case '0.3.8': // SQL queries for v0.3.8
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Vorbereitung auf die neue Mediendaten v0.0.4.");
-                               break;
-
-                       case '0.3.9': // SQL queries for v0.3.9
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("if-Anweisungen auf Funktion <strong>empty()</strong> umgestellt. Unter <strong>Auto-L&ouml;schung</strong> finden Sie nun auch die Einstellungen zu Mailbest&auml;tigungs wieder. Zudem werden keine Urlauber (neue Urlaubsschaltung beachtet) mehr als inaktiv erkannt.");
-                               break;
-
-                       case '0.4.0': // SQL queries for v0.4.0
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Template-Problem beseitigt. Dies verhinderte das Abspeichern der Einstellungen.");
-                               break;
-
-                       case '0.4.1': // SQL queries for v0.4.1
-                               // Register with points data system
-                               registerExtensionPointsData('autopurge_add', 'points', 'LOCKED', 'DIRECT');
-
-                               // Update notes
-                               setExtensionUpdateNotes("R&uuml;ckschriften bei Auto-L&ouml;schungen werden nun &uuml;ber die Tabelle <strong>{OPEN_CONFIG}_MYSQL_PREFIX{CLOSE_CONFIG}_points_data</strong> verwaltet.");
-                               break;
-
-                       case '0.4.2': // SQL queries for v0.4.2
-                               addConfigAddSql('auto_purge', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT ' . (getOneDay()*14));
-                               addConfigAddSql('auto_purge_active', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
-
-                               // Update notes
-                               setExtensionUpdateNotes("Konfiguration in diese Erweiterung verschoben.");
-                               break;
-               } // END - switch
                break;
 
        case 'modify': // When the extension got modified
index 81247027031eefa0babb3a88f081cd74644466d3..123ae857fa386e1c73b921e185cb8bab7fe288ec 100644 (file)
@@ -141,7 +141,7 @@ UNIQUE INDEX (`account_id`, `tan`)",
                addAdminMenuSql('bank', 'list_bank_account', 'Konten auflisten', 'Auflistung aller Konto oder eines ausw&auml;hlbaren Mitglieds.', 7);
                addAdminMenuSql('bank', 'edit_bank_account', 'Konto &auml;ndern', '&Auml;ndern Sie hier bestehende Konten, z.B. den Dispositionskredit usw. PINs und TANs sind hier nicht &auml;nderbar! Best&auml;tigungsmails sind optional versendbar.', 8);
                addAdminMenuSql('bank', 'lock_bank_account', 'Konto ent-/sperren', 'Sperren Sie hier Konten bei Bedarf. Auch das Freischalten ist hier m&ouml;glich. Eine Benachrichtigung per Mail wird dann an das Mitglied ausgesendet.', 9);
-               addAdminMenuSql('bank', 'del_bank_account', 'Konto l&ouml;schen', 'L&ouml;schen von Konten mit Best&auml;tigungsmail. Wenn Sie ein Mitglieder-Account l&ouml;schen, so m&uuml;ssen Sie derzeit seine angelegten Konten auch l&ouml;schen!', 10);
+               addAdminMenuSql('bank', 'del_bank_account', 'Konto l&ouml;schen', 'L&ouml;schen von Konten mit Best&auml;tigungsmail. Wenn Sie ein Mitgliedaccount l&ouml;schen, so m&uuml;ssen Sie derzeit seine angelegten Konten auch l&ouml;schen!', 10);
                addAdminMenuSql('bank', 'send_bank_tanlist', 'TAN-Liste aussenden', 'Listet zuerst Anfragen von Mitgliedern auf, die eine neue (i)TAN-Liste ben&ouml;tigen, anschliessend kann die Liste dann ausgesendet werden.', 11);
                addAdminMenuSql('bank', 'lock_bank_tanlist', 'TAN-Liste ent-/sperren', 'Bestehende TAN-Listen k&ouml;nnen auf Kundenwunsch hin gesperrt und wieder entsperrt werden. Dies passiert auch, wenn der Kunde x-mal (siehe Angebotspakete) eine verkehrte TAN eingegeben hat. Einzelne TANs sind nicht ent-/sperrbar.', 12);
                addAdminMenuSql('bank', 'list_bank_trans', '&Uuml;berweisungen auflisten', 'Nach Auswahl eines Mitgliedes und einem Konto (ben&ouml;tgt JavaScript!) k&ouml;nnen Sie seitenweise die &Uuml;berweisungen durchschauen.', 13);
index e2be67f59042f663c11fe970eafd22388b8b0be2..4fd43f9172e88015169ae9c4272f2ac292cc596b 100644 (file)
@@ -81,9 +81,7 @@ INDEX (`userid`)",
 
                // Unregister points data
                unregisterExtensionPointsData('beg');
-               unregisterExtensionPointsData('beg_ref');
                unregisterExtensionPointsData('monthly_beg');
-               unregisterExtensionPointsData('monthly_beg_ref');
 
                // Unregister module
                addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_mod_reg` WHERE `module`='beg' LIMIT 1");
@@ -109,279 +107,6 @@ INDEX (`userid`)",
                break;
 
        case 'update': // Update an extension
-               switch (getCurrentExtensionVersion()) {
-                       case '0.0.1': // SQL queries for v0.0.1
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Design &quot;Solid-Business&quot; eingebaut.");
-                               break;
-
-                       case '0.0.2': // SQL queries for v0.0.2
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Seit <strong>Patch 340</strong> &uuml;berfl&uuml;ssige HTML-Tags entfernt.");
-                               break;
-
-                       case '0.0.3': // SQL queries for v0.0.3
-                               addConfigAddSql('beg_points_max', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.10000');
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Maximale Obergrenze an {?POINTS?} einstellbar (Standard: 0,1 {?POINTS?})");
-                               break;
-
-                       case '0.0.4': // SQL queries for v0.0.4
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("&Uuml;berlange Kommastellen bei Punktangaben aus Bettellink und Gastbereich entfernt und Admin-Templates repariert (&quot;Unbekannte Spalte <u>beg_points_ma</u>&quot;).");
-                               break;
-
-                       case '0.0.5': // SQL queries for v0.0.5
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Im Mitgliedsmen&uuml; wurde die Beschreibung aus dem Gastmen&uuml; verwendet.");
-                               break;
-
-                       case '0.0.6': // SQL queries for v0.0.6
-                               addConfigAddSql('beg_userid', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Ein Mitgliedsaccount (empfehlenswert ist Ihr eigenes!) kann zum Abbuchen der {?POINTS?} verwendet werden. Template <u>admin_config_beg.tpl</u> (und pro!) nicht vergessen, zu aktualisieren.");
-                               break;
-
-                       case '0.0.8': // SQL queries for v0.0.8
-                               addConfigAddSql('beg_ip_timeout', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 1800');
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Zeitsperre gegen die selbe IP-Nummer hinzugef&uuml;gt.");
-                               break;
-
-                       case '0.0.9': // SQL queries for v0.0.9
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Bitte verschieben Sie die beg-Templates (Ordner: {?PATH?}/templates/".getLanguage()."/html/) in den neuen Order beg!");
-                               break;
-
-                       case '0.1.0': // SQL queries for v0.2.1
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Abspeichern von Einstellungen repariert.");
-                               break;
-
-                       case '0.1.1': // SQL queries for v0.1.1
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Vorbereitung auf die neue Mediendaten v0.0.4.");
-                               break;
-
-                       case '0.1.2':
-                               // SQL queries for v0.1.2
-                               addConfigAddSql('beg_ranks', 'TINYINT(3) UNSIGNED NOT NULL DEFAULT 10');
-                               addConfigAddSql('beg_active', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
-                               addConfigAddSql('beg_rallye', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
-                               addExtensionAddTableColumnSql('user_data', 'beg_points', 'FLOAT(21,5) UNSIGNED NOT NULL DEFAULT 0.00000');
-
-                               // Menu system
-                               addAdminMenuSql('user', 'list_beg', 'Bettel-Rallye', 'Listet alle Teilnehmer der monatlichen Bettel-Rallye auf.', 12);
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Optionale Bettel-Rallye m&ouml;glich. Und die erbettelten {?POINTS?} k&ouml;nnen entweder nur dem bettelndem Mitglied direkt oder auch seinem Werber gutgeschrieben werden k&ouml;nnen.");
-                               break;
-
-                       case '0.1.3': // SQL queries for v0.1.3
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Erbettelte {?POINTS?} werden nach Deaktivierung der Bettel-Rallye gel&ouml;scht.");
-                               break;
-
-                       case '0.1.4': // SQL queries for v0.1.4
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Rechtlichen Hinweis im Mitgliedsbereich vergessen (<strong>member_list_beg.tpl</strong>); Template <strong>member_beg_404.tpl</strong> fehlte!");
-                               break;
-
-                       case '0.1.5': // SQL queries for v0.1.5
-                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admin_menu` SET `title`='Bettellink/-rallye', descr='IP-Sperre, {OPEN_CONFIG}POINTS{CLOSE_CONFIG}-Verg&uuml;tung und auch die Bettel-Rallye k&ouml;nnen Sie hier einstellen.' WHERE `what`='config_beg' LIMIT 1");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehlendes Template im Admin-Bereich hinzugef&uuml;gt. Im Admin-Bereich Hinweis hinzugef&uuml;gt, wenn Bettel-Rallye inaktiv ist. Bitte Script inc/monthly_beg.php l&ouml;schen!");
-                               break;
-
-                       case '0.1.6': // SQL queries for v0.1.6
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Es wurden immer dem ersten bettelndem Mitglied die {?POINTS?} gutgeschrieben.");
-                               break;
-
-                       case '0.1.7': // SQL queries for v0.1.7
-                               addConfigAddSql('beg_rallye_enable_notify', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
-                               addConfigAddSql('beg_rallye_disable_notify', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
-                               addConfigAddSql('beg_new_member_notify', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
-                               addConfigAddSql('beg_notify_bonus', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000');
-                               addConfigAddSql('beg_notify_wait', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 30');
-                               addExtensionAddTableColumnSql('user_data', 'beg_ral_notify', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
-                               addExtensionAddTableColumnSql('user_data', 'beg_rallye_enable_notify', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
-                               addExtensionAddTableColumnSql('user_data', 'beg_rallye_disable_notify', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Die Mitglieder k&ouml;nnen nun optional automatisch &uuml;ber eine aktivierte und/oder deaktivierte Bettel-Rallye informiert werden. Beide Benachrichtigungen k&ouml;nnen Sie unter <strong>Einstellungen --&gt; Bettel-Link/-rallye</strong> seperat ein- und ausschalten! Zudem ist eine Sperre gegen eingeloggte Mitglieder eingebaut, die das Klicken auf den eigenen Bettel-Link etwas erschweren soll.");
-                               break;
-
-                       case '0.1.8': // SQL queries for v0.1.8
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehler im t&auml;glichen Reset beseitigt.");
-                               break;
-
-                       case '0.1.9': // SQL queries for v0.1.9
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("De-/Aktivieren des mit dieser Erweiterung verkn&uuml;pften Modules eingebunden.");
-                               break;
-
-                       case '0.2.0': // SQL queries for v0.2.0
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Bei {?POINTS?}-Gleichstand wird als n&auml;chstes nach wer als letztes Online war umsortiert.");
-                               break;
-
-                       case '0.2.1': // SQL queries for v0.2.1
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehler <strong>unknown column &#39;userid&#39;</strong> beseitigt.");
-                               break;
-
-                       case '0.2.2': // SQL queries for v0.2.2
-                               addConfigAddSql('beg_include_own', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Eigene Mitglieds-Ids sind von der Bettel-Rallye nun ausschliessbar.");
-                               break;
-
-                       case '0.2.3': // SQL queries for v0.2.3
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Abfrage des Account-Status eingebaut. Es k&ouml;nnen nur best&auml;tigte Accounts betteln.");
-                               break;
-
-                       case '0.2.4': // SQL queries for v0.2.4
-                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_member_menu` SET `action`='extras',`sort`=1 WHERE `what`='beg' LIMIT 1");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Mitgliedsmen&uuml; komplett umgebaut.");
-                               break;
-
-                       case '0.2.5': // SQL queries for v0.2.5
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehlerhinweis bei deaktivierter Erweiterung verbessert.");
-                               break;
-
-                       case '0.2.6': // SQL queries for v0.2.6
-                               addExtensionAddTableColumnSql('beg_ips', 'sid', "VARCHAR(255) NOT NULL DEFAULT ''");
-                               addConfigAddSql('beg_pay_mode', "ENUM('IMG','JS','BOTH','NONE') DEFAULT 'NONE' NOT NULL ;");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("IP-Lock mit Session-Id erweitert. Tracker-Script eingef&uuml;gt, dass das Einbinden des Bettel-Links als Bild/Script/CSS verhindern soll.");
-                               break;
-
-                       case '0.2.7': // SQL queries for v0.2.7
-                               addConfigChangeSql('beg_ral_en_notify', 'beg_rallye_enable_notify', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
-                               addConfigChangeSql('beg_ral_di_notify', 'beg_rallye_disable_notify', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
-                               addConfigChangeSql('beg_new_mem_notify', 'beg_new_member_notify', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
-                               addExtensionChangeTableColumnSql('user_data', 'beg_ral_en_notify', 'beg_rallye_enable_notify', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
-                               addExtensionChangeTableColumnSql('user_data', 'beg_ral_di_notify', 'beg_rallye_disable_notify', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Umbenannt nach neuer Namenskonvention");
-                               break;
-
-                       case '0.2.8': // SQL queries for v0.2.8
-                               addConfigChangeSql('beg_ral_enable_notify', 'beg_rallye_enable_notify', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
-                               addConfigChangeSql('beg_ral_disable_notify', 'beg_rallye_disable_notify', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
-                               addExtensionChangeTableColumnSql('user_data', 'beg_ral_enable_notify', 'beg_rallye_enable_notify', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
-                               addExtensionChangeTableColumnSql('user_data', 'beg_ral_disable_notify', 'beg_rallye_disable_notify', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Umbenannt nach neuer Namenskonvention");
-                               break;
-
-                       case '0.2.9': // SQL queries for v0.2.9
-                               addDropTableSql('beg_referrals');
-                               addCreateTableSql('beg_referrals', "
-`id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
-`userid` BIGINT(20) UNSIGNED NULL DEFAULT NULL,
-`remote_ip` VARCHAR(15) NOT NULL DEFAULT '0.0.0.0',
-`timestamp` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
-`referral_url` TINYTEXT NOT NULL,
-PRIMARY KEY (`id`),
-INDEX (`userid`)",
-                                       'Recorded referral URLs');
-
-                               // Add admin menu
-                               addAdminMenuSql('user','list_beg_referral_urls','Bettel-Referrals auflisten','Listet alle Bettellink-Aufrufe inklusive Referral-URL auf.','13');
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Loggen der Referral-URLs hinzugef&uuml;gt.");
-                               break;
-
-                       case '0.3.0': // SQL queries for v0.3.0
-                               addConfigDropSql('beg_mode');
-
-                               // Register points data
-                               registerExtensionPointsData('beg'        , 'points', 'LOCKED', 'DIRECT');
-                               registerExtensionPointsData('monthly_beg', 'points', 'LOCKED', 'DIRECT');
-
-                               // Update notes
-                               setExtensionUpdateNotes("Monatliche Bettelrallye und die erbettelten {?POINTS?} werden nun &uuml;ber die Tabelle <strong>{OPEN_CONFIG}_MYSQL_PREFIX{CLOSE_CONFIG}_points_data</strong> verwaltet.");
-                               break;
-
-                       case '0.3.1': // SQL queries for v0.3.1
-                               // Add/move menu
-                               addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_member_menu` WHERE `what`='beg2'");
-                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_guest_menu` SET `action`='members',`sort`=3 WHERE `what`='beg' LIMIT 1");
-                               addMemberMenuSql('rals', 'beg2', 'Bettel-Rallye', 3);
-
-                               // Update notes
-                               setExtensionUpdateNotes("Bettel-Rallye re-hinzugef&uuml;gt.");
-                               break;
-
-                       case '0.3.2': // SQL queries for v0.3.2
-                               // Add module entry
-                               addModuleSql('beg', '{OPEN_LANGUAGE}MODULE_BEG_TITLE{CLOSE_LANGUAGE}', 'Y', 'Y', 'N', 'N');
-
-                               // Set module title
-                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_mod_reg` SET `title`='Betteln bei {OPEN_CONFIG}MAIN_TITLE{CLOSE_CONFIG}' WHERE `module`='beg' AND `title`='' LIMIT 1");
-
-                               // Update notes
-                               setExtensionUpdateNotes("Modul registriert und bei leerem Titel mit einem Standardtitel versehen.");
-                               break;
-
-                       case '0.3.3': // SQL queries for v0.3.3
-                               // Register a filter
-                               registerFilter(__FILE__, __LINE__, 'pre_user_registration', 'BEG_RALLYE_USER_REGISTRATION_ADD_SQL_COLUMNS', FALSE, TRUE, isExtensionDryRun());
-                               registerFilter(__FILE__, __LINE__, 'init', 'BEG_PURGE_IPS_NOTIFY_USER', FALSE, TRUE, isExtensionDryRun());
-
-                               // This depends on ext-register
-                               addExtensionDependency('register');
-
-                               // Update notes
-                               setExtensionUpdateNotes("Filter f&uuml;r Anmeldeformular und Aufr&auml;men der IPs hinzugef&uuml;gt.");
-                               break;
-
-                       case '0.3.4': // SQL queries for v0.3.4
-                               // Register points data
-                               registerExtensionPointsData('beg_ref'        , 'points', 'LOCKED', 'DIRECT');
-                               registerExtensionPointsData('monthly_beg_ref', 'points', 'LOCKED', 'DIRECT');
-
-                               // SQL queries (renaming)
-                               addRenameTableSql('beg_referrals', 'referrals');
-                               addExtensionChangeTableColumnSql('beg_referrals', 'referal_url', 'referral_url', 'TINYTEXT NOT NULL');
-                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admin_menu` SET `what`='list_beg_referral_urls' WHERE `what`='list_beg_referal_urls' LIMIT 1");
-
-                               // Update notes
-                               setExtensionUpdateNotes("Verwendungszwecke f&uuml;r Referralgutgschriften registriert.");
-                               break;
-
-                       case '0.3.5': // SQL queries for v0.3.5
-                               // Register a filter
-                               registerFilter(__FILE__, __LINE__, 'config_userid_exclusion_sql', 'EXCLUDE_BEG_USERID', FALSE, TRUE, isExtensionDryRun());
-
-                               // Update notes
-                               setExtensionUpdateNotes("Filter f&uuml;r das Ausschlie&szlig;en des konfigurierbaren Mitgliedaccounts hinzugef&uuml;gt.");
-                               break;
-
-                       case '0.3.6': // SQL queries for v0.3.6
-                               // SQL to update module
-                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_mod_reg` SET `title`='{OPEN_LANGUAGE}MODULE_BEG_TITLE{CLOSE_LANGUAGE}' WHERE `module`='beg' LIMIT 1");
-
-                               // Update notes
-                               setExtensionUpdateNotes("Modul-Titel nach neuem Format angepasst.");
-                               break;
-               } // END - switch
                break;
 
        case 'modify': // When the extension got modified
index fa6c130581b5e6d9fbdfddec4e6b573c6e67e825..911ee626a09e5be38ccc645cb5afebfd0eb27f30 100644 (file)
@@ -79,8 +79,10 @@ INDEX (`pool_id`)",
                registerFilter(__FILE__, __LINE__, 'pre_user_registration' , 'CHECK_EMAIL_BLACKLISTED', FALSE, TRUE, isExtensionDryRun());
                registerFilter(__FILE__, __LINE__, 'pre_user_registration' , 'CHECK_IP_BLACKLISTED'   , FALSE, TRUE, isExtensionDryRun());
                registerFilter(__FILE__, __LINE__, 'pre_update_user_data'  , 'CHECK_EMAIL_BLACKLISTED', FALSE, TRUE, isExtensionDryRun());
+               registerFilter(__FILE__, __LINE__, 'pre_mail_order'        , 'CHECK_URL_BLACKLISTED'  , FALSE, TRUE, isExtensionDryRun());
                registerFilter(__FILE__, __LINE__, 'post_email_blacklisted', 'LOG_EMAIL_BLACKLISTED'  , FALSE, TRUE, isExtensionDryRun());
                registerFilter(__FILE__, __LINE__, 'post_ip_blacklisted'   , 'LOG_IP_BLACKLISTED'     , FALSE, TRUE, isExtensionDryRun());
+               registerFilter(__FILE__, __LINE__, 'post_url_blacklisted'  , 'LOG_URL_BLACKLISTED'    , FALSE, TRUE, isExtensionDryRun());
                break;
 
        case 'remove': // Do stuff when removing extension
@@ -94,8 +96,10 @@ INDEX (`pool_id`)",
                unregisterFilter(__FILE__, __LINE__, 'pre_user_registration' , 'CHECK_EMAIL_BLACKLISTED', TRUE, isExtensionDryRun());
                unregisterFilter(__FILE__, __LINE__, 'pre_user_registration' , 'CHECK_IP_BLACKLISTED'   , TRUE, isExtensionDryRun());
                unregisterFilter(__FILE__, __LINE__, 'pre_update_user_data'  , 'CHECK_EMAIL_BLACKLISTED', TRUE, isExtensionDryRun());
+               unregisterFilter(__FILE__, __LINE__, 'pre_mail_order'        , 'CHECK_URL_BLACKLISTED'  , TRUE, isExtensionDryRun());
                unregisterFilter(__FILE__, __LINE__, 'post_email_blacklisted', 'LOG_EMAIL_BLACKLISTED'  , TRUE, isExtensionDryRun());
                unregisterFilter(__FILE__, __LINE__, 'post_ip_blacklisted'   , 'LOG_IP_BLACKLISTED'     , TRUE, isExtensionDryRun());
+               unregisterFilter(__FILE__, __LINE__, 'post_url_blacklisted'  , 'LOG_URL_BLACKLISTED'    , TRUE, isExtensionDryRun());
                break;
 
        case 'activate': // Do stuff when admin activates this extension
index 4d78b29c6760e979cae2f6def5232e2cfbed26f4..b0cedb8dc942344a15faaeb24046eb53d4eedff5 100644 (file)
@@ -41,77 +41,13 @@ if (!defined('__SECURITY')) {
 } // END - if
 
 // Version number
-setThisExtensionVersion('0.2.0');
+setThisExtensionVersion('0.2.1');
 
 // 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'));
+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'));
 
 switch (getExtensionMode()) {
        case 'setup': // Do stuff when installation is running
-               // Doubler table
-               addDropTableSql('doubler');
-               addCreateTableSql('doubler', "
-`id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
-`userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`refid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`points` FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000,
-`remote_ip` VARCHAR(15) NOT NULL DEFAULT '0.0.0.0',
-`timemark` BIGINT(10) NOT NULL DEFAULT 0,
-`completed` ENUM('Y','N') NOT NULL DEFAULT 'N',
-`is_ref` ENUM('Y','N') NOT NULL DEFAULT 'N',
-PRIMARY KEY (`id`),
-INDEX (`refid`),
-INDEX (`userid`)",
-                       'User doubler data');
-
-               //
-               // --- SETTINGS ---
-               //
-               // Minimum points to double
-               addConfigAddSql('doubler_min', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 100.00000');
-               // Maximum points to double
-               addConfigAddSql('doubler_max', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 10000.00000');
-               // Points left on users account after doubling
-               addConfigAddSql('doubler_left', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 1000');
-               // Charge for doubling points which goes to the webmaster (shreddered in fact!)
-               addConfigAddSql('doubler_charge', 'FLOAT(7,5) UNSIGNED NOT NULL DEFAULT 0.03000');
-               // Referral percents
-               addConfigAddSql('doubler_ref', 'FLOAT(7,5) UNSIGNED NOT NULL DEFAULT 0.02000');
-               // Shall I use the jackpot to take points from? (Y/N, default=Y)
-               addConfigAddSql('doubler_jackpot', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
-               // A user account to take points from (default: 0->none)
-               addConfigAddSql('doubler_userid', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
-               // Total payed out points from your doublers
-               addConfigAddSql('doubler_points', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000');
-               // Sending mode of mails (immediately/daily reset)
-               // --> This also means who fast the doubled points will be payed out!
-               addConfigAddSql('doubler_send_mode', "ENUM('DIRECT','RESET') NOT NULL DEFAULT 'DIRECT'");
-               // Timeout for entries to be purged (default: one week)
-               addConfigAddSql('doubler_timeout', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT ' . (getOneDay() * 7));
-               // Number of newest entries to display
-               addConfigAddSql('doubler_display_new', 'TINYINT(3) UNSIGNED NOT NULL DEFAULT 10');
-               // Number of entries which will be payed out soon
-               addConfigAddSql('doubler_display_pay', 'TINYINT(3) UNSIGNED NOT NULL DEFAULT 10');
-               // Number of entries which are already payed out
-               addConfigAddSql('doubler_display_old', 'TINYINT(3) UNSIGNED NOT NULL DEFAULT 10');
-               // Points used by every member
-               addExtensionAddTableColumnSql('user_data', 'doubler_points', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000');
-               // Counter for usage of the doubler
-               addConfigAddSql('doubler_counter', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
-
-               //
-               // --- MENU SYSTEMS ---
-               //
-               // Admin menu
-               addAdminMenuSql('doubler', NULL, '{OPEN_CONFIG}POINTS{CLOSE_CONFIG}-Verdoppler','Einstellungen und Eintr&auml;ge auflisten.', 4);
-               addAdminMenuSql('doubler','list_doubler','Auflisten','Eintr&auml;ge aus der Verdiensttabelle auflisten', 1);
-               addAdminMenuSql('doubler','config_doubler','Einstellungen','Prozentuale Geb&uuml;hr usw. einstellen.', 2);
-
-               // Guest menu (informations / default doubler link)
-               addGuestMenuSql('main', 'doubler', 'Verdoppeln!', 3);
-
-               // Member menu
-               addMemberMenuSql('main', 'doubler', 'Verdoppeln!', 7);
                break;
 
        case 'remove': // Do stuff when removing extension
@@ -127,6 +63,10 @@ INDEX (`userid`)",
 
                // Unregister filters
                unregisterFilter(__FILE__, __LINE__, 'config_userid_exclusion_sql', 'EXLCUDE_DOUBLER_USERID', TRUE, isExtensionDryRun());
+
+               // Unregister subject lines
+               unregisterExtensionPointsData('doubler_direct');
+               unregisterExtensionPointsData('doubler_reset');
                break;
 
        case 'activate': // Do stuff when admin activates this extension
@@ -144,132 +84,6 @@ INDEX (`userid`)",
                break;
 
        case 'update': // Update an extension
-               switch (getCurrentExtensionVersion()) {
-                       case '0.0.1': // SQL queries for v0.0.1
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Problem mit Mitglieds-Id behoben.");
-                               break;
-
-                       case '0.0.2': // SQL queries for v0.0.2
-                               // Total used points
-                               addConfigAddSql('doubler_user', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000');
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Geb&uuml;hr wird vom Verdoppler-Pott abgezogen.");
-                               break;
-
-                       case '0.0.3': // SQL queries for v0.0.3
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Drei SQL-Fehler beseitigt.");
-                               break;
-
-                       case '0.0.4': // SQL queries for v0.0.4
-                               // Shall I use the doubler's account to take points from? (Y/N, default=Y)
-                               addConfigAddSql('doubler_own', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("{?POINTS?}-Guthaben des Verdopplers kann optional nicht mit einbezogen werden.");
-                               break;
-
-                       case '0.0.5': // SQL queries for v0.0.5
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Counter-Stand und noch zum Verdoppeln &uuml;brige {?POINTS?} in Templates eingebunden. Auflistung in Admin-Bereich komplettiert.");
-                               break;
-
-                       case '0.0.6': // SQL queries for v0.0.6
-                               addConfigAddSql('doubler_max_sent', 'TINYINT(3) UNSIGNED NOT NULL DEFAULT 1');
-                               addConfigAddSql('doubler_group_sent', 'TINYINT(3) UNSIGNED NOT NULL DEFAULT 1');
-                               addConfigAddSql('doubler_sent_all', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Geb&uuml;hrenabzug wird beim Einzahlen abgezogen (wurde von Auszahlung abgezogen) und maximal bei Auszahlung zu kontrollierende Accounts einstellbar.<br />Template <u>admin_config_doubler_pro.tpl</u> ist &uuml;berfl&uuml;ssig geworden. Bitte l&ouml;schen Sie dies!");
-                               break;
-
-                       case '0.0.7': // SQL queries for v0.0.7
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("W&ouml;rter <strong>{?mt_word?}</strong>, <strong>{?mt_word2?}</strong> und <strong>{?mt_word3?}</strong> sind austauschbar.<br /><br />Minus-Guthaben des Verdoppler-Accounts repariert und Mitgliedsmail erweitert mit Transaktionsummer und IP-Nummer.");
-                               break;
-
-                       case '0.0.8': // SQL queries for v0.0.8
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Bitte verschieben Sie die doubler-Templates (Ordner: {?PATH?}/templates/".getLanguage()."/html/) in den neuen Order doubler!");
-                               break;
-
-                       case '0.0.9': // SQL queries for v0.0.9
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Abspeichern von Einstellungen repariert.");
-                               break;
-
-                       case '0.1.0': // SQL queries for v0.2.1
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Vorbereitung auf die neue Mediendaten v0.0.4.");
-                               break;
-
-                       case '0.1.1': // SQL queries for v0.1.1
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Zwei SQL-Fehler in <strong>inc/doubler_send.php</strong> beseitigt.");
-                               break;
-
-                       case '0.1.2': // SQL queries for v0.1.2
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Sicherheitsupdate f&uuml;r die Include-Befehle.");
-                               break;
-
-                       case '0.1.3': // SQL queries for v0.1.3
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("De-/Aktivieren des mit dieser Erweiterung verkn&uuml;pften Modules eingebunden.");
-                               break;
-
-                       case '0.1.4': // SQL queries for v0.1.4
-                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_member_menu` SET `action`='extras',`sort`=4 WHERE `what`='doubler' LIMIT 1");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Mitgliedsmen&uuml; komplett umgebaut.");
-                               break;
-
-                       case '0.1.5': // SQL queries for v0.1.5
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Hash-Erstellung von <strong>md5()</strong> auf bessere Funktion <strong>generateHash()</strong> umgestellt.");
-                               break;
-
-                       case '0.1.6': // SQL queries for v0.1.6
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehlerhinweis bei deaktivierter Erweiterung verbessert.");
-                               break;
-
-                       case '0.1.7': // SQL queries for v0.1.7
-                               addExtensionSql('UPDATE `{?_MYSQL_PREFIX?}_config` SET `doubler_charge`=`doubler_charge`*100 WHERE `config`=0 LIMIT 1');
-                               addExtensionSql('UPDATE `{?_MYSQL_PREFIX?}_config` SET `doubler_ref`=`doubler_ref`*100 WHERE `config`=0 LIMIT 1');
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehlerhinweis bei deaktivierter Erweiterung verbessert.");
-                               break;
-
-                       case '0.1.8': // SQL queries for v0.1.8
-                               // Register points data
-                               registerExtensionPointsData('doubler_direct', 'points', 'LOCKED', 'DIRECT');
-                               registerExtensionPointsData('doubler_reset' , 'points', 'LOCKED', 'DIRECT');
-
-                               // Update notes
-                               setExtensionUpdateNotes("Doppler-Gutschriften werden nun &uuml;ber die Tabelle <strong>{OPEN_CONFIG}_MYSQL_PREFIX{CLOSE_CONFIG}_points_data</strong> verwaltet.");
-                               break;
-
-                       case '0.1.9': // SQL queries for v0.1.9
-                               // Total payed out points from your doublers
-                               addConfigAddSql('doubler_used', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000');
-
-                               // Update notes
-                               setExtensionUpdateNotes("Fehlender Konfigurationseintrag <strong>doubler_used</strong> hinzgef&uuml;gt.");
-                               break;
-
-                       case '0.2.0': // SQL queries for v0.2.0
-                               // Register filter
-                               registerFilter(__FILE__, __LINE__, 'config_userid_exclusion_sql', 'EXLCUDE_DOUBLER_USERID', FALSE, TRUE, isExtensionDryRun());
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Filter zum Ausschlie&szlig;en des konfigurierten Mitgliedaccounts.");
-                               break;
-               } // END - switch
                break;
 
        case 'modify': // When the extension got modified
index d85f200df957fe9689ea43814c9b2b0051b72cb6..7ded2845a1bbf8e6afe052259b1c7ca264151928 100644 (file)
@@ -51,113 +51,6 @@ enableExtensionProductive(FALSE);
 
 switch (getExtensionMode()) {
        case 'setup': // Do stuff when installation is running
-               // Add dependency for ext-earning
-               addExtensionDependency('earning');
-
-               // All required tables for this extension:
-               // - Ads
-               addDropTableSql('forced_ads');
-               addCreateTableSql('forced_ads', "
-`forced_ads_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
-`forced_ads_provider` ENUM('ADMIN', 'MEMBER', 'API', 'UNKNOWN') NOT NULL DEFAULT 'UNKNOWN',
-`forced_ads_api_type` VARCHAR(255) NULL DEFAULT NULL,
-`forced_ads_ad_url` VARCHAR(255) NULL DEFAULT NULL,
-`forced_ads_click_url` VARCHAR(255) NOT NULL,
-`forced_ads_width` SMALLINT(3) UNSIGNED NULL DEFAULT NULL,
-`forced_ads_height` SMALLINT(3) UNSIGNED NULL DEFAULT NULL,
-`forced_ads_alt_text` VARCHAR(255) NULL DEFAULT NULL,
-`forced_ads_framebreaker` ENUM('Y','N') NOT NULL DEFAULT 'Y',
-`forced_ads_type` VARCHAR(255) NOT NULL DEFAULT 'INVALID',
-`forced_ads_views_counter` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`forced_ads_clicks_counter` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`forced_ads_added` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
-`forced_ads_userid` BIGINT(20) UNSIGNED NULL DEFAULT NULL,
-PRIMARY KEY (`forced_ads_id`),
-INDEX (`forced_ads_userid`)",
-                       'Forced Ads Data');
-
-               // - Connection ->ext-network
-               addDropTableSql('forced_network');
-               addCreateTableSql('forced_network', "
-`forced_network_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
-`forced_ads_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`network_type_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-PRIMARY KEY (`forced_network_id`),
-UNIQUE `ads_type` (`forced_ads_id`, `network_type_id`)",
-                       'Forced Campaign Data');
-
-               // - Campaigns
-               addDropTableSql('forced_campaigns');
-               addCreateTableSql('forced_campaigns', "
-`forced_campaign_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
-`forced_campaign_created` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
-`forced_campaign_status` ENUM('ACTIVE','PENDING','EXPIRED','LOCKED') NOT NULL DEFAULT 'PENDING',
-`forced_campaign_last_locked` TIMESTAMP NULL DEFAULT NULL,
-`forced_campaign_lock_reason` VARCHAR(255) NULL DEFAULT NULL,
-`forced_campaign_expired` TIMESTAMP NULL DEFAULT NULL,
-`forced_campaign_ordered_clicks` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`forced_campaign_payment_api` FLOAT(20,5) UNSIGNED NULL DEFAULT NULL,
-`forced_campaign_reload_lock` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`forced_campaign_minimum_stay` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`forced_ads_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`forced_campaign_userid` BIGINT(20) UNSIGNED NULL DEFAULT NULL,
-`forced_costs_id` BIGINT(20) UNSIGNED NULL DEFAULT NULL,
-PRIMARY KEY (`forced_campaign_id`),
-INDEX (`forced_costs_id`)",
-                       'Forced Campaign Data');
-
-               // - Campaign costs
-               addDropTableSql('forced_costs');
-               addCreateTableSql('forced_costs', "
-`forced_costs_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
-`forced_costs_price_click` FLOAT(20,5) UNSIGNED NULL DEFAULT NULL,
-`forced_costs_payment_click` FLOAT(20,5) UNSIGNED NULL DEFAULT NULL,
-`forced_costs_visibility` ENUM('MEMBER','SPONSOR','ALL','NONE') NOT NULL DEFAULT 'NONE',
-PRIMARY KEY (`forced_costs_id`)",
-                       'Forced Campaign Costs');
-
-               // - Campaign Statistics
-               addDropTableSql('forced_stats');
-               addCreateTableSql('forced_stats', "
-`forced_stats_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
-`forced_stats_campaign_id` BIGINT(20) UNSIGNED NULL DEFAULT NULL,
-`forced_stats_userid` BIGINT(20) UNSIGNED NULL DEFAULT NULL,
-`forced_stats_token` VARCHAR(255) NULL DEFAULT NULL,
-`forced_stats_viewed` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
-`forced_stats_clicked` TIMESTAMP NULL DEFAULT NULL,
-`forced_stats_real_ip` VARCHAR(15) NOT NULL DEFAULT '0.0.0.0',
-`forced_stats_remote_addr` VARCHAR(15) NOT NULL DEFAULT '0.0.0.0',
-`forced_stats_ua` VARCHAR(255) NULL DEFAULT NULL,
-`forced_stats_is_proxy` ENUM('Y','N') NOT NULL DEFAULT 'N',
-`forced_stats_session_id` VARCHAR(100) NULL DEFAULT NULL,
-PRIMARY KEY (`forced_stats_id`),
-INDEX (`forced_stats_campaign_id`),
-INDEX (`forced_stats_userid`)",
-                       'Forced Campaign Statistics');
-
-               // Menu system
-               // - Administrator
-               addAdminMenuSql('forced', NULL, 'Forced-Ads', 'Verwalten Sie hier bequem alle laufenden Forced-Banner, -Textlinks, -PopUps und deren Kampgnen. Sie k&ouml;nnen hier auch neue Werbmittel (Ads) hinzuf&uuml;gen oder laufende Forced-Kampagnen bei z.B. Regelverst&ouml;ssen sperren oder l&ouml;schen. Auch das natr&auml;gliche Editieren von Ads und Kampagnen ist jederzeit m&ouml;glich. Kampagnen dienen der einfacheren Verwaltung und der Trennung von dem Werbemittel selbst dienen. Sie brauchen also z.B. einen Forced-Banner nur einmal einf&uuml;gen und k&ouml;nnen dann bei Bedarf weitere Kampagnen starten.', 5);
-               addAdminMenuSql('forced', 'list_forced_ads', 'Forced-Ads verwalten', 'Listet alle eingetragenen Forced-Ads (Werbmittel mit Klickzwang) auf und f&uuml;gt neue hinzu. Sie k&ouml;nnen hier diese nachtr&auml;glich editieren falls Sie mal eine falsche URL eingegeben haben oder den Text &auml;ndern wollen. L&ouml;schen Sie hier auch Forced-Banner, die nicht mehr g&uuml;ltig sind (z.B. abgelaufen sind). Sollten doch mit dem Werbmittel verkn&uuml;pfte Kampagnen vorhanden sein, erhalten Sie einen Warnhinweis. Neue Werbmittel k&ouml;nnen Sie hier ebenfalls hinzuf&uuml;gen. Denken Sie aber daran, dass ohne Kampagne dieses nicht angezeigt wird. Achten Sie hier auch die Reload-Sperre.', 2);
-               addAdminMenuSql('forced', 'list_forced_campaigns', 'Kampagnen verwalten', 'Listet alle Kampagnen auf und zeigt deren Status an. Jederzeit k&ouml;nnen Sie Kampagnen stoppen, falls Sie dies w&uuml;nschen oder ein Regelverstoss vorliegt. Haben Sie ein Werbemittel hinzugef&uuml;gt, so f&uuml;gen Sie bitte unbedingt eine Kampagne hinzu, da es sonst nicht angezeigt wird.', 3);
-               addAdminMenuSql('forced', 'list_forced_costs', 'Preise verwalten', 'Legen Sie die Preise pro Klick f&uuml;r Forced-Werbemittelbuchungen fest und wie viele {OPEN_CONFIG}POINTS{CLOSE_CONFIG} Ihre Mitglieder erhalten sollen. Generell sollten Sie bei Mitgliederbuchungen h&ouml;here Kosten pro Klick als was Ihre Mitglieder pro Klick erhalten einstellen, da so die {OPEN_CONFIG}POINTS{CLOSE_CONFIG} abgebaut werden (Sie k&ouml;nnen an Accountaufladungen z.B. verdienen).', 4);
-               addAdminMenuSql('forced', 'stats_forced', 'Statistiken', 'Zeigt Gesamtstatistiken und zu den einzelnen Kampagnen und Werbmitteln an. Die hier angezeigte Statistik kann jedoch nicht manuell gel&ouml;scht werden (bitte auch nicht selber tun) da sie auch gleichzeitigt als Reload-Sperre dient.', 5);
-
-               // - Members
-               addMemberMenuSql('earn', 'forced_banner', 'Forced-Banner', 3);
-               addMemberMenuSql('earn', 'forced_textlink', 'Forced-Textlinks', 4);
-               addMemberMenuSql('extras', 'book_forced', 'Forced-Kampagne buchen', 3);
-
-               // Register Forced-PopUps with earning_data table
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_earning_data` (`earning_group`, `earning_provider`, `earning_sorting`) VALUES ('POPUP','FORCED_POPUP',1)");
-
-               // Register filters
-               registerFilter(__FILE__, __LINE__, 'add_forced_ads_types', 'FORCED_AD_TYPE_DEFAULTS', FALSE, TRUE, isExtensionDryRun());
-               registerFilter(__FILE__, __LINE__, 'member_earning_table_data', 'FORCED_POPUP_TABLE_DATA', FALSE, TRUE, isExtensionDryRun());
-               registerFilter(__FILE__, __LINE__, 'post_change_forced_campaign_status', 'FORCED_CHANGE_CAMPAIGN_STATUS', FALSE, TRUE, isExtensionDryRun());
-               registerFilter(__FILE__, __LINE__, 'pre_change_forced_campaign_status', 'FORCED_CHANGE_CAMPAIGN_VALIDATE_DATA', FALSE, TRUE, isExtensionDryRun());
-               registerFilter(__FILE__, __LINE__, 'handle_click_php', 'HANDLE_FORCED_AD_CLICK', FALSE, TRUE, isExtensionDryRun());
-               registerFilter(__FILE__, __LINE__, 'handle_view_php', 'HANDLE_FORCED_AD_VIEW', FALSE, TRUE, isExtensionDryRun());
                break;
 
        case 'remove': // Do stuff when removing extension
@@ -172,9 +65,9 @@ INDEX (`forced_stats_userid`)",
                addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE `action`='forced'");
                addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_member_menu` WHERE `what` LIKE '%forced%'");
 
-               // Is earning_data there?
-               if (ifSqlTableExists('earning_data')) {
-                       // Unregister Forced-PopUps from earning_data
+               // Is ext-earning there?
+               if (isExtensionInstalled('earning')) {
+                       // Unregister Forced-PopUps from ext-earning
                        addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_earning_data` WHERE `earning_provider`='FORCED_POPUP' LIMIT 1");
                } // END - if
 
index accff3319ec56caf33fb6a848b277bf7c9f07335..3eca648b6c869caf02f0810efda9c5222e933bb7 100644 (file)
@@ -103,7 +103,7 @@ PRIMARY KEY (`connect_id`)",
                addAdminMenuSql('grade', NULL, 'Accountstufen', 'Stufen Sie Ihre Mitglieder ein, die sie ab einer einstellbaren Anzahl an {OPEN_CONFIG}POINTS{CLOSE_CONFIG} oder best&auml;tigten Mails usw. erhalten und durch die Accountstufe Erm&auml;&szlig;igungen oder Sonderboni erhalten k&ouml;nnen.', 6);
                addAdminMenuSql('grade', 'list_grade_data', 'Auflisten...', 'Listet alle Accountstufen auf, auch sind diese hier editierbar, neue hinzuf&uuml;gbar und l&ouml;schbar.', 1);
                addAdminMenuSql('grade', 'list_cash_grade', 'Erm&auml;&szlig;igungen/Sonderboni', 'Listet alle Erm&auml;&szlig;igungen/Sonderboni auf, auch sind diese hier editierbar, neue hinzuf&uuml;gbar und l&ouml;schbar.', 2);
-               addAdminMenuSql('grade', 'list_current_grades', 'Mitglieder-Accountstufen', 'Liste alle durch die Mitglieder aktuell erreichten Einstungen auf. Diese sind nicht editierbar (wir wollen ja nicht schummeln und bestimmten Mitgliedern bessere Accountstufen geben, oder? ;-) ).', 3);
+               addAdminMenuSql('grade', 'list_current_grades', 'Mitgliedaccountsstufen', 'Liste alle durch die Mitglieder aktuell erreichten Einstungen auf. Diese sind nicht editierbar (wir wollen ja nicht schummeln und bestimmten Mitgliedern bessere Accountstufen geben, oder? ;-) ).', 3);
                addAdminMenuSql('grade', 'config_grade', 'Einstellungen ...', 'Diverse Einstellungen zu den Accountstufen.', 4);
 
                // Member menu
index d570f40a46dd175b18c0347125e65bf5cc451886..e5fe2acff3c541f0c5affb123355d9b67981505a 100644 (file)
@@ -159,7 +159,7 @@ INDEX (`userid`)",
                                addConfigAddSql('holiday_lock', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT ' . (getOneDay() * 2));
 
                                // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Die Mitglieder-Accounts werden nicht mehr gesperrt, sondern nur auf <strong>Urlaub</strong> geschaltet. Lassen Sie sich nicht davon verwirren, dass sie &quot;freigegeben&quot; sind!");
+                               setExtensionUpdateNotes("Die Mitgliedaccounts werden nicht mehr gesperrt, sondern nur auf <strong>Urlaub</strong> geschaltet. Lassen Sie sich nicht davon verwirren, dass sie &quot;freigegeben&quot; sind!");
                                break;
 
                        case '0.1.4': // SQL queries for v0.1.4
index 21d1c0151e15ff567f25b27f3ceda224d4ed93a8..53eb0ab7cae542c6fbd7b042b20893e864e5f20b 100644 (file)
@@ -41,10 +41,10 @@ if (!defined('__SECURITY')) {
 } // END - if
 
 // Version number
-setThisExtensionVersion('0.1.6');
+setThisExtensionVersion('0.1.7');
 
 // 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.51', '0.0.52', '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'));
+setExtensionVersionHistory(array('0.0.0', '0.0.1', '0.0.2', '0.0.3', '0.0.4', '0.0.5', '0.0.51', '0.0.52', '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'));
 
 switch (getExtensionMode()) {
        case 'setup': // Do stuff when installation is running
@@ -58,6 +58,9 @@ switch (getExtensionMode()) {
        case 'remove': // Do stuff when removing extension
                // SQL commands to run
                addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_member_menu` WHERE `what`='html_mail' LIMIT 1");
+
+               // Remove filter(s)
+               unregisterFilter(__FILE__, __LINE__, 'pre_mail_order', 'MAIL_ORDER_GENERIC_CHECK_URL', TRUE, isExtensionDryRun());
                break;
 
        case 'activate': // Do stuff when admin activates this extension
@@ -120,8 +123,18 @@ switch (getExtensionMode()) {
                        case '0.1.6':
                                // Dependency is needed for ext-registration!! (want to alter a non existent Table)
                                addExtensionDependency('bonus');
+
+                               // Update notes (these will be set as task text!)
                                setExtensionUpdateNotes("Abh&auml;nigkeit von der Erweiterung <strong>bonus</strong> hinzugef&uuml;gt.");
                                break;
+
+                       case '0.1.7':
+                               // Register filter
+                               registerFilter(__FILE__, __LINE__, 'pre_mail_order', 'CHECK_HTML_MAIL_ORDER', FALSE, TRUE, isExtensionDryRun());
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Filter f&uuml;r ext-order hinzugef&uuml;gt.");
+                               break;
                } // END - switch
                break;
 
index d366b46418d02721541be1ccb44ce91c27022760..9d43bfacdd9d32256c606fd23b10d11a76c2e934 100644 (file)
@@ -41,10 +41,10 @@ if (!defined('__SECURITY')) {
 } // END - if
 
 // Version number
-setThisExtensionVersion('0.5.9');
+setThisExtensionVersion('0.6.0');
 
 // Version history array (add more with , '0.0.1' and so on)
-setExtensionVersionHistory(array('0.0.0', '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'));
+setExtensionVersionHistory(array('0.0.0', '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'));
 
 switch (getExtensionMode()) {
        case 'setup': // Do stuff when installation is running
@@ -64,6 +64,11 @@ switch (getExtensionMode()) {
                unregisterFilter(__FILE__, __LINE__, 'get_all_point_columns', 'GET_ALL_ORDER_POINTS_COLUMN_NAMES', TRUE, isExtensionDryRun());
                unregisterFilter(__FILE__, __LINE__, 'user_exclusion_sql', 'ORDER_ZIP_CODE_SQL', TRUE, isExtensionDryRun());
                unregisterFilter(__FILE__, __LINE__, 'locked_points_columns_array', 'ORDER_POINTS_COLUMNS', TRUE, isExtensionDryRun());
+               unregisterFilter(__FILE__, __LINE__, 'pre_mail_order', 'MAIL_ORDER_GENERIC_CHECK_SUBJECT', TRUE, isExtensionDryRun());
+               unregisterFilter(__FILE__, __LINE__, 'pre_mail_order', 'MAIL_ORDER_GENERIC_CHECK_TEXT', TRUE, isExtensionDryRun());
+               unregisterFilter(__FILE__, __LINE__, 'pre_mail_order', 'MAIL_ORDER_GENERIC_CHECK_TYPE', TRUE, isExtensionDryRun());
+               unregisterFilter(__FILE__, __LINE__, 'pre_mail_order', 'MAIL_ORDER_GENERIC_CHECK_URL', TRUE, isExtensionDryRun());
+               unregisterFilter(__FILE__, __LINE__, 'pre_mail_order', 'MAIL_ORDER_GENERIC_CHECK_RECEIVER', TRUE, isExtensionDryRun());
                break;
 
        case 'activate': // Do stuff when admin activates this extension
index 7806c419cca5eb6d68d85d7cb66a1d87daeeaf0e..50a2b7aecad9b296f2419ee59825e7c6ef2932ff 100644 (file)
@@ -74,197 +74,6 @@ switch (getExtensionMode()) {
                break;
 
        case 'update': // Update an extension
-               switch (getCurrentExtensionVersion()) {
-                       case '0.0.1': // SQL queries for v0.0.1
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehler <div class=\"notice\">Warning: Missing argument 2 for create_timestamp_from_selections() in {?PATH?}inc/libs/pro_functions.php on line 227</div> behoben.");
-                               break;
-
-                       case '0.0.2': // SQL queries for v0.0.2
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Speichern der Einstellungen vereinfacht. Es wird dazu die Funktion adminSaveSettings() verwendet.");
-                               break;
-
-                       case '0.0.3': // SQL queries for v0.0.3
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist.");
-                               break;
-
-                       case '0.0.4': // SQL queries for v0.0.4
-                               addConfigAddSql('max_comma', 'TINYINT(3) UNSIGNED NOT NULL DEFAULT 3');
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Angezeigte Kommastellen k&ouml;nnen zwischen 0 und 5 eingestellt werden.");
-                               break;
-
-                       case '0.0.5': // SQL queries for v0.0.5
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Problem mit Speicherung der Einstellungen beseitigt.");
-                               break;
-
-                       case '0.0.6': // SQL queries for v0.0.6
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Problem mit Speicherung der Einstellungen endlich beseitigt.");
-                               break;
-
-                       case '0.0.7': // SQL queries for v0.0.7
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Ausgabemodus der CSS-Dateien hinzugef&uuml;gt. Bitte auch das Admin-Template aktualisieren!");
-                               break;
-
-                       case '0.0.8': // SQL queries for v0.0.8
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Erweiterung bleibt wegen integrierten Schalters immer aktiv.");
-                               break;
-
-                       case '0.0.9': // SQL queries for v0.0.9
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Abspeichern der Einstellungen repariert.");
-                               break;
-
-                       case '0.1.0': // SQL queries for v0.2.1
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Folgende Einstellungen k&ouml;nnen auf 0 gesetzt werden:
-<ol>
-<li>Selbe beworbene URL nicht mehr bewerbar (0 = URL kann sofort wieder gebucht werden)</li>
-<li>G&uuml;ltigkeitsdauer der Best&auml;tigungslinks (0 = Best&auml;tigungslinks laufen nie ab)</li>
-<li>Sperrzeit des Mitgliedprofiles nach &Auml;nderung (0 = Mitglied kann sein Account immer und sofort &auml;ndern)</li>
-<li>Profilaktualisierungsinterval (0 = Es wird keine Mail zum Profilaktualisierunng durch das Mitglied ausgesendet(</li>
-<li>Erneute Aussendung der Mail (0 = Siehe oben)</li>
-</ol>");
-                               break;
-
-                       case '0.1.1': // SQL queries for v0.1.1
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Gast- und Mitgliedsmen&uuml;s lassen sich voneinander getrentt ein- und auschalten.");
-                               break;
-
-                       case '0.1.2': // SQL queries for v0.1.2
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("W&ouml;rter <strong>{?mt_word?}</strong>, <strong>{?mt_word2?}</strong> und <strong>{?mt_word3?}</strong> sind austauschbar.");
-                               break;
-
-                       case '0.1.3': // SQL queries for v0.1.3
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Wort &quot;Baustelle&quot; vom Auto-Versand entfernt, da dieser nun klappt.");
-                               break;
-
-                       case '0.1.4': // SQL queries for v0.1.4
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Abspeichern von Einstellungen repariert.");
-                               break;
-
-                       case '0.1.5': // SQL queries for v0.1.5
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Abspeichern von Einstellungen repariert.");
-                               break;
-
-                       case '0.1.6': // SQL queries for v0.1.6
-                               addConfigAddSql('reject_url', "VARCHAR(255) NOT NULL DEFAULT '{?URL?}'");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Bei Ablehnung der URL wird jetzt endlich eine Standard-URL eingesetzt, die konfigurierbar ist. Fehler beim Laden der Konfiguration gefunden.");
-                               break;
-
-                       case '0.1.7': // SQL queries for v0.1.7
-                               addConfigAddSql('currency', "VARCHAR(255) NOT NULL DEFAULT '&euro;'");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Standard-W&auml;hrung der Geb&uuml;hren f&uuml;r alle Erweiterungen geltend hinzugef&uuml;gt.");
-                               break;
-
-                       case '0.1.8': // SQL queries for v0.1.8
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Die sonstigen Einstellungen lassen sich nun nur noch &auml;ndern, wenn die Erweiterung <strong>other</strong> auch installiert ist. Anderfalls gibt es einen SQL-Fehler beim Speichern und GROSS_GESCHRIEBENE Worte im Formular.");
-                               break;
-
-                       case '0.1.9': // SQL queries for v0.1.9
-                               addConfigAddSql('mailid_error_redirect', "ENUM('INDEX','REJECT') NOT NULL DEFAULT 'INDEX'");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Bei fehlerhafter Mail w&auml;hrend der Best&auml;tigung kann wahlweise zur Hauptseite weitergeleitet oder auf die eingestellte Ablehnungsseite umgeleitet werden.");
-                               break;
-
-                       case '0.2.0': // SQL queries for v0.2.0
-                               addConfigChangeSql('mailid_error_redirect', 'mailid_error_redirect', "ENUM('INDEX','REJECT') NOT NULL DEFAULT 'INDEX'");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Bei fehlerhafter Mail w&auml;hrend der Best&auml;tigung kann wahlweise zur Hauptseite weitergeleitet oder auf die eingestellte Ablehnungsseite umgeleitet werden.");
-                               break;
-
-                       case '0.2.1': // SQL queries for v0.2.1
-                               addConfigAddSql('min_age', 'TINYINT(3) UNSIGNED NOT NULL DEFAULT 16');
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Minimumalter ist nun konfigurierbar.");
-                               break;
-
-                       case '0.2.2': // SQL queries for v0.2.2
-                               addConfigAddSql('display_debug_sqls', "ENUM('N','Y') NOT NULL DEFAULT 'N'");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("(Fast) alle SQL-Abfragen lassen sich nun zu Debugging-Zwecken (!) einschalten. Nur der Administrator sieht diese unten am Ende der Seite.");
-                               break;
-
-                       case '0.2.3': // SQL queries for v0.2.3
-                               addConfigAddSql('max_send', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 10');
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehlende Konfiguration hinzugef&uuml;gt.");
-                               break;
-
-                       case '0.2.4': // SQL queries for v0.2.4
-                               // Register filter
-                               registerFilter(__FILE__, __LINE__, 'page_footer', 'DISPLAY_DEBUG_SQL', FALSE, TRUE, isExtensionDryRun());
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Filter zum Anzeigen (Debug) von ausgef&uuml;hrten SQL-Anweisungen hinzugef&uuml;gt.");
-                               break;
-
-                       case '0.2.5': // SQL queries for v0.2.5
-                               addConfigAddSql('code_length', 'TINYINT(3) UNSIGNED NOT NULL DEFAULT 5');
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Codel&auml;nge aus tables.sql rausgeholt.");
-                               break;
-
-                       case '0.2.6': // SQL queries for v0.2.6
-                               addConfigAddSql('internal_stats', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Interne Statistiken sind nun abschaltbar (kann Performance bringen).");
-                               break;
-
-                       case '0.2.7': // SQL queries for v0.2.7
-                               addConfigChangeSql('stats_enabled', 'internal_stats', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Der Suffix <strong>_enabled</strong> in Konfigurationseintr&auml;gen ist deprecated und sollte nicht mehr verwendet werden. Da sonst Wrapper-Funktionsnamen wie z.B. <strong>isStatsEnabledEnabled()</strong> nach streng genommender Namenskonvention entstehen.");
-                               break;
-
-                       case '0.2.8': // SQL queries for v0.2.8
-                               addConfigChangeSql('mailid_error_redirect', 'mailid_error_redirect', "ENUM('INDEX','REJECT') NOT NULL DEFAULT 'INDEX'");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("<strong>mailid_error_redirect</strong> bzw. alle ENUMs haben gross geschriebene Werte.");
-                               break;
-
-                       case '0.2.9': // SQL queries for v0.2.9
-                               addConfigAddSql('word_wrap', 'TINYINT(3) NOT NULL DEFAULT 15');
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Anzahl Zeichen f&uuml;r <strong>wordwrap()</strong>-Aufruf hinzugef&uuml;gt.");
-                               break;
-
-                       case '0.3.0': // SQL queries for v0.3.0
-                               addConfigAddSql('check_double_email', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
-                               addConfigAddSql('admin_notify', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
-                               addConfigAddSql('activate_xchange', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 100');
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Konfiguration aus allgemeiner <strong>tables.sql</strong> zu dieser Erweiterung verschoben.");
-                               break;
-               } // END - switch
                break;
 
        case 'modify': // When the extension got modified
index d78bd11cf0dcde8b2757010bdd91dc07ae3636c7..79b6600cf0ff4313de1a62d270e11621eb12081d 100644 (file)
@@ -100,146 +100,6 @@ PRIMARY KEY (`id`)",
                break;
 
        case 'update': // Update an extension
-               switch (getCurrentExtensionVersion()) {
-                       case '0.1.2': // SQL queries for v0.1.2
-                               addAdminMenuSql('payouts', NULL, 'Auszahlungsmanagement','Management der Auszahlungsarten.',8);
-                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admin_menu` SET `action`='payouts',`title`='Einstellungen' WHERE `action`='setup' AND `what`='config_payouts' LIMIT 1");
-                               break;
-
-                       case '0.1.3': // SQL queries for v0.1.3
-                               addExtensionChangeTableColumnSql('payout_types', 'from_account', "VARCHAR(255) NOT NULL DEFAULT ''");
-                               addExtensionChangeTableColumnSql('payout_types', 'from_pass', "VARCHAR(255) NOT NULL DEFAULT ''");
-                               addExtensionChangeTableColumnSql('payout_types', 'engine_url', "VARCHAR(255) NOT NULL DEFAULT ''");
-                               addExtensionChangeTableColumnSql('payout_types', 'engine_ret_ok', "VARCHAR(255) NOT NULL DEFAULT ''");
-                               addExtensionChangeTableColumnSql('payout_types', 'engine_ret_failed', "VARCHAR(255) NOT NULL DEFAULT ''");
-                               addExtensionChangeTableColumnSql('payout_types', 'pass_enc', "ENUM('md5','base64','none') NOT NULL DEFAULT 'md5'");
-                               break;
-
-                       case '0.1.4': // SQL queries for v0.1.4
-                               addExtensionChangeTableColumnSql('user_payouts', 'password', "VARCHAR(255) NOT NULL DEFAULT ''");
-                               break;
-
-                       case '0.1.5': // SQL queries for v0.1.5
-                               addExtensionChangeTableColumnSql('user_payouts', 'target_url', 'LONGTEXT NOT NULL');
-                               addExtensionChangeTableColumnSql('user_payouts', 'banner_url', 'LONGTEXT NOT NULL');
-                               addExtensionChangeTableColumnSql('user_payouts', 'link_text', "VARCHAR(30) NOT NULL DEFAULT ''");
-                               addExtensionChangeTableColumnSql('payout_types', 'allow_url', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
-                               break;
-
-                       case '0.1.6': // SQL queries for v0.1.6
-                               addExtensionChangeTableColumnSql('payout_types', 'pass_enc', 'pass_enc', "ENUM('md5','base64','xxx') NOT NULL DEFAULT 'xxx'");
-                               break;
-
-                       case '0.1.8': // SQL queries for v0.1.8
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Auflistung der Auszahlungen ausgelagert in Template <span class=\"bad\">member_payout.tpl</span>.");
-                               break;
-
-                       case '0.1.9': // SQL queries for v0.1.9
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist.");
-                               break;
-
-                       case '0.2.0': // SQL queries for v0.2.0
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("5 Nachkommastellen implementiert.");
-                               break;
-
-                       case '0.2.1': // SQL queries for v0.2.1
-                               addExtensionChangeTableColumnSql('user_payouts', 'payout_total', 'payout_total', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000');
-                               addExtensionChangeTableColumnSql('payout_types', 'rate', 'rate', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000');
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Problem mit Speicherung der Einstellungen beseitigt.");
-                               break;
-
-                       case '0.2.2': // SQL queries for v0.2.2
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Buttons aus Aufgabenauflisten ausgelagert");
-                               break;
-
-                       case '0.2.3': // SQL queries for v0.2.3
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Men&uuml;punkte im Gast-/Mitgliedsbereich k&ouml;nnen nicht mehr aufgerufen werden, wenn die Erweiterung deaktiviert ist.");
-                               break;
-
-                       case '0.2.4': // SQL queries for v0.2.4
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Ausgabe der Auszahlungsm&ouml;glichkeiten im Mitgliedsbereich repariert.");
-                               break;
-
-                       case '0.2.5': // SQL queries for v0.2.5
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Seit <strong>Patch 340</strong> &uuml;berfl&uuml;ssige HTML-Tags entfernt.");
-                               break;
-
-                       case '0.2.6': // SQL queries for v0.2.6
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("IP-Nummer und Browserbezeichnung wird in Admin-Mails eingesetzt.");
-                               break;
-
-                       case '0.2.7': // SQL queries for v0.2.7
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Link zum Mitgliedsprofil in Funktion <u>generateUserProfileLink()</u> ausgelagert.");
-                               break;
-
-                       case '0.2.8': // SQL queries for v0.2.8
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Work-Arount-L&ouml;sung zu tempor&auml;ren Problemen mit der Task-Id eingebaut.");
-                               break;
-
-                       case '0.2.9': // SQL queries for v0.2.9
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Nachricht an Admin bei Auszahlungsanfrage wird endlich versendet.");
-                               break;
-
-                       case '0.3.0': // SQL queries for v0.3.0
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("HTML-Code ausgelagert in Templates und SQL-Anweisungen abgesichert.");
-                               break;
-
-                       case '0.3.1': // SQL queries for v0.3.1
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehler in Auszahlungsfunktion beseitigt, wenn Umrechnungsrate ungleich 1 eingestellt ist.");
-                               break;
-
-                       case '0.3.2': // SQL queries for v0.3.2
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Abspeichern von Einstellungen repariert.");
-                               break;
-
-                       case '0.3.3': // SQL queries for v0.3.3
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Vorbereitung auf die neue Mediendaten v0.0.4.");
-                               break;
-
-                       case '0.3.4': // SQL queries for v0.3.4
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Anzahl zu &uuml;berweisende {?POINTS?} m&uuml;ssen immer gr&ouml;sser 0 sein, ansonsten bricht das Script mit einer Fehlermeldung an das Mitglied ab.");
-                               break;
-
-                       case '0.3.5': // SQL queries for v0.3.5
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Sicherheitsupdate f&uuml;r die Include-Befehle.");
-                               break;
-
-                       case '0.3.6': // SQL queries for v0.3.6
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Hash-Erstellung von <strong>md5()</strong> auf bessere Funktion <strong>generateHash()</strong> umgestellt.");
-                               break;
-
-                       case '0.3.7': // SQL queries for v0.3.7
-                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admin_menu` SET `title`='Auszahlungsmanagement' WHERE `action`='payouts' AND (`what`='' OR `what` IS NULL) LIMIT 1");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Verwaltung nach Management umgestellt.");
-                               break;
-
-                       case '0.3.8': // SQL queries for v0.3.8
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehlerhinweis bei deaktivierter Erweiterung verbessert.");
-                               break;
-               } // END - switch
                break;
 
        case 'modify': // When the extension got modified
index 75b42977599934190df399e6c9792b527463a39f..54c4d84c4d627985a2548eb756e49149b726fcf1 100644 (file)
@@ -134,215 +134,6 @@ INDEX (`userid`)",
                break;
 
        case 'update': // Update an extension
-               switch (getCurrentExtensionVersion()) {
-                       case '0.0.1': // SQL queries for v0.0.1
-                               addExtensionAddTableColumnSql('rallye_data', 'expired', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Ablaufen der Rallyes intergriert.");
-                               break;
-
-                       case '0.0.2': // SQL queries for v0.0.2
-                               addExtensionAddTableColumnSql('rallye_users', 'curr_points', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000');
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Aktueller {?POINTS?}-Stand wird beachtet.");
-                               break;
-
-                       case '0.0.6': // SQL queries for v0.0.6
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehler <span class=\"notice\">Unknown column 'd.useid' in 'on clause'</span> behoben.");
-                               break;
-
-                       case '0.0.7': // SQL queries for v0.0.7
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehlende Abfrage im Mitlieder-Modul, on Erweiterung auch aktiviert ist.");
-                               break;
-
-                       case '0.0.8': // SQL queries for v0.0.8
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehler <u>Template nicht gefunden</u> behoben und Admin-Formulare ausgelagert");
-                               break;
-
-                       case '0.0.9': // SQL queries for v0.0.9
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist. Und der vorherige Fehler <u>Template nicht gefunden</u> ist endlich beseitigt.");
-                               break;
-
-                       case '0.1.0': // SQL queries for v0.2.1
-                               addExtensionChangeTableColumnSql('rallye_users', 'curr_points', 'curr_points', 'FLOAT(23,5) UNSIGNED NOT NULL DEFAULT 0.00000');
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("5 Nachkommastellen implementiert.");
-                               break;
-
-                       case '0.1.1': // SQL queries for v0.1.1
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist.");
-                               break;
-
-                       case '0.1.2': // SQL queries for v0.1.2
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Problem mit Speicherung der Einstellungen beseitigt.");
-                               break;
-
-                       case '0.1.3': // SQL queries for v0.1.3
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Anzeigefehler im Gast-/Mitgliedsbereich behoben.");
-                               break;
-
-                       case '0.1.4': // SQL queries for v0.1.4
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Admin-Mails korregiert.");
-                               break;
-
-                       case '0.1.5': // SQL queries for v0.1.5
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Men&uuml;punkte im Gast-/Mitgliedsbereich k&ouml;nnen nicht mehr aufgerufen werden, wenn die Erweiterung deaktiviert ist.");
-                               break;
-
-                       case '0.1.6': // SQL queries for v0.1.6
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Seit <strong>Patch 340</strong> &uuml;berfl&uuml;ssige HTML-Tags entfernt.");
-                               break;
-
-                       case '0.1.7': // SQL queries for v0.1.7
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Aktivierte bzw. abgelaufene Rallyes werden nur ausserhalb des CSS-Modus geladen (wenn also nicht css.php aufgerufen wurde)");
-                               break;
-
-                       case '0.1.8': // SQL queries for v0.1.8
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Weitere Templates vom Admin-Bereich ausgelagert und Referral-Anazahl in der Mail zur Rallye-Ank&uuml;ndigung repariert.");
-                               break;
-
-                       case '0.1.9': // SQL queries for v0.1.9
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Funktion <u>generateUserProfileLink()</u> mit Verlinkung auf Referral-Liste implementiert.");
-                               break;
-
-                       case '0.2.0': // SQL queries for v0.2.0
-                               addExtensionAddTableColumnSql('rallye_data', 'min_users', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
-                               addExtensionAddTableColumnSql('rallye_data', 'min_prices', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 3');
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Ablaufen der Rallyes intergriert. Bauen Sie in Ihr Template <strong>templates/de/emails/member/member_rallye_notify.tpl</strong> folgende zwei Zeilen ein:<br />
-<ul>
-  <li>&#36;DATA&#91;min_users&#93;</li>
-  <li>&#36;DATA&#91;min_prices&#93;</li>
-</ul>
-Zudem sollten Sie mindestens folgende Templates (in <strong>templates/".getLanguage()."/html/guest/</strong> !) aktualisieren:<br />
-<ul>
-  <li><strong>guest_rallye_footer.tpl</strong></li>
-  <li><strong>guest_rallye_header.tpl</strong></li>
-</ul>");
-                               break;
-
-                       case '0.2.1': // SQL queries for v0.2.1
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("W&ouml;rter <strong>{?mt_word?}</strong>, <strong>{?mt_word2?}</strong> und <strong>{?mt_word3?}</strong> sind austauschbar.");
-                               break;
-
-                       case '0.2.2': // SQL queries for v0.2.2
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Links wegen <strong>what=admins_contct</strong> ge&auml;ndert.");
-                               break;
-
-                       case '0.2.3': // SQL queries for v0.2.3
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("HTML-Code ausgelagert in Templates und SQL-Anweisungen abgesichert.");
-                               break;
-
-                       case '0.2.4': // SQL queries for v0.2.4
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Abspeichern von Einstellungen repariert.");
-                               break;
-
-                       case '0.2.5': // SQL queries for v0.2.5
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Men&uuml;punkt &quot;Rallyes verwalten&quot; repariert.");
-                               break;
-
-                       case '0.2.6': // SQL queries for v0.2.6
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Automatisches Starten von Referral-Rallyes repariert.");
-                               break;
-
-                       case '0.2.7': // SQL queries for v0.2.7
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fatalen Fehler beseitigt.");
-                               break;
-
-                       case '0.2.8': // SQL queries for v0.2.8
-                               // Update notes (these will be set as task text!)
-
-                               setExtensionUpdateNotes("Vorbereitung auf die neue Mediendaten v0.0.4.");
-                               break;
-
-                       case '0.2.9': // SQL queries for v0.2.9
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Sicherheitsupdate f&uuml;r die Include-Befehle.");
-                               break;
-
-                       case '0.3.0': // SQL queries for v0.3.0
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("if-Anweisungen auf Funktion <strong>empty()</strong> umgestellt.");
-                               break;
-
-                       case '0.3.1': // SQL queries for v0.3.1
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Erweiterung f&uuml;r automatisch generierte Admin-Kontaktlinks ge&auml;ndert.");
-                               break;
-
-                       case '0.3.2': // SQL queries for v0.3.2
-                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_member_menu` SET `action`='rals',`title`='Referral-Rallye',`sort`=1 WHERE `what`='rallyes' LIMIT 1");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Mitgliedsmen&uuml; komplett umgebaut.");
-                               break;
-
-                       case '0.3.3': // SQL queries for v0.3.3
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Rallyes werden nun nur dann automatisch beseitigt, wenn die Erweiterung <strong>autopurge</strong> installiert und aktiviert ist.");
-                               break;
-
-                       case '0.3.4': // SQL queries for v0.3.4
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehlerhinweis bei deaktivierter Erweiterung verbessert.");
-                               break;
-
-                       case '0.3.5': // SQL queries for 0.3.5
-                               // Register filter
-                               registerFilter(__FILE__, __LINE__, 'extra_autopurge', 'RALLYE_EXTRA_AUTOPURGE', FALSE, TRUE, isExtensionDryRun());
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Filter hinzugef&uuml;gt und ist von <strong>sql_patches</strong> abh&auml;ngig.");
-                               break;
-
-                       case '0.3.6': // SQL queries for v0.3.6
-                               // Register points data
-                               registerExtensionPointsData('rallye_winner', 'points', 'LOCKED', 'DIRECT');
-
-                               // Update notes
-                               setExtensionUpdateNotes("Gewinn aus der Referral-Rallye wird nun &uuml;ber die Tabelle <strong>{OPEN_CONFIG}_MYSQL_PREFIX{CLOSE_CONFIG}_points_data</strong> verwaltet.");
-                               break;
-
-                       case '0.3.7': // SQL queries for v0.3.7
-                               // Register filter
-                               registerFilter(__FILE__, __LINE__, 'init', 'RALLYE_NOTIFY_USERS', FALSE, TRUE, isExtensionDryRun());
-                               registerFilter(__FILE__, __LINE__, 'add_rallye_notify_sqls', 'ADD_RALLYE_SQL_COLUMNS', FALSE, TRUE, isExtensionDryRun());
-
-                               // Update notes
-                               setExtensionUpdateNotes("Weitere Filter hinzugef&uuml;gt.");
-                               break;
-
-                       case '0.3.8': // SQL queries for v0.3.8
-                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admin_menu` SET `what`='list_rallye_prices' WHERE `action`='rallye' AND `what`='config_rallye_prices' LIMIT 1");
-
-                               // Update notes
-                               setExtensionUpdateNotes("Men&uuml; umbenannt, da &quot;config&quot; nur f&uuml;r die Konfigurationstabelle <strong>{?_MYSQL_PREFIX?}_config</strong> ist.");
-                               break;
-               } // END - switch
                break;
 
        case 'modify': // When the extension got modified
diff --git a/inc/extensions/ext-ranking.php b/inc/extensions/ext-ranking.php
new file mode 100644 (file)
index 0000000..5521cd3
--- /dev/null
@@ -0,0 +1,102 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 06/27/2013 *
+ * ===================                          Last change: 06/27/2013 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : ext-ranking.php                                  *
+ * -------------------------------------------------------------------- *
+ * Short description : Ranking listing extension                        *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Erweiterung fuer Ranking-Liste                   *
+ * -------------------------------------------------------------------- *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * -------------------------------------------------------------------- *
+ * @TODO Replaces ext-top10                                             *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2013 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')) {
+       die();
+} // END - if
+
+// Version number
+setThisExtensionVersion('0.0.0');
+
+// Version history array (add more with , '0.0.1' and so on)
+setExtensionVersionHistory(array('0.0.0'));
+
+// This extension is in development (non-productive)
+enableExtensionProductive(FALSE);
+
+switch (getExtensionMode()) {
+       case 'setup': // Do stuff when installation is running
+               // SQL commands to run
+
+               // Register module
+               //addModuleSql('foo', '{OPEN_LANGUAGE}MODULE_FOO_TITLE{CLOSE_LANGUAGE}','Y','Y','N','N');
+               break;
+
+       case 'remove': // Do stuff when removing extension
+               // SQL commands to run
+               break;
+
+       case 'activate': // Do stuff when admin activates this extension
+               // SQL commands to run
+               //addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_mod_reg` SET `locked`='N', `hidden`='N', `admin_only`='N', `mem_only`='N' WHERE `module`='foo' LIMIT 1");
+               break;
+
+       case 'deactivate': // Do stuff when admin deactivates this extension
+               // SQL commands to run
+               //addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_mod_reg` SET `locked`='Y' WHERE `module`='foo' LIMIT 1");
+               break;
+
+       case 'update': // Update an extension
+               switch (getCurrentExtensionVersion()) {
+                       case '0.0.1': // SQL queries for v0.0.1
+                               addExtensionSql('');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes('');
+                               break;
+               } // END - switch
+               break;
+
+       case 'modify': // When the extension got modified
+               break;
+
+       case 'test': // For testing purposes
+               break;
+
+       case 'init': // Do stuff when extension is initialized
+               break;
+
+       default: // Unknown extension mode
+               reportBug(__FILE__, __LINE__, sprintf("Unknown extension mode %s in extension %s detected.", getExtensionMode(), getCurrentExtensionName()));
+               break;
+} // END - switch
+
+// [EOF]
+?>
index 5de3b7daf1ebdf6f32fdaa8b77dbf1bcd6377c30..79b4558e95afadfe9e3b804c83fc344bf1672cb2 100644 (file)
@@ -61,7 +61,6 @@ switch (getExtensionMode()) {
                // Unregister points data
                unregisterExtensionPointsData('register_welcome');
                unregisterExtensionPointsData('referral_bonus');
-               unregisterExtensionPointsData('referral_bonus_ref');
 
                // Unregister filter
                unregisterFilter(__FILE__, __LINE__, 'register_must_fillout', 'REGISTER_MUST_FILLOUT', TRUE, isExtensionDryRun());
index 5c80253d4e5f34f225400441d5ee3b9f028772ef..3a7fb4b073f92a8b3e5152f5beea291872f478a0 100644 (file)
@@ -84,7 +84,7 @@ switch (getExtensionMode()) {
                                registerFilter(__FILE__, __LINE__, 'post_youhere_line', 'ADD_ANONYMITY_NOTICE', FALSE, TRUE, isExtensionDryRun());
 
                                // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Filter hinzugef&uuml;gt und ist von <strong>sql_patches</strong> abh&auml;ngig.");
+                               setExtensionUpdateNotes("Filter hinzugef&uuml;gt.");
                                break;
                } // END - switch
                break;
index ccc62f18198cd703b1c30e10631fe62d57084d2d..44a7d844ab143bcad4a0af00975d337969cdf4a2 100644 (file)
@@ -46,8 +46,8 @@ setThisExtensionVersion('0.1.3');
 // 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'));
 
-// This extension is deprecated!
-// Only since 'seo' is ready! setExtensionDeprecated('Y');
+// This extension is deprecated
+// @TODO Only when 'seo' is ready: setExtensionDeprecated('Y');
 
 switch (getExtensionMode()) {
        case 'setup': // Do stuff when installation is running
index 203d7c6f4427cf0bd8c51e32fe0166a7ace5407c..fd19bd02d4891c6e73f9bf2f9be37cac1e282bc4 100644 (file)
@@ -41,10 +41,10 @@ if (!defined('__SECURITY')) {
 } // END - if
 
 // Version number
-setThisExtensionVersion('0.9.8');
+setThisExtensionVersion('0.9.9');
 
 // 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', '0.9.4', '0.9.5', '0.9.6', '0.9.7', '0.9.8'));
+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', '0.9.6', '0.9.7', '0.9.8', '0.9.9'));
 
 // Keep this extension always active!
 setExtensionAlwaysActive('Y');
index 2f0211148b15df74e1d2652258c10e5a90505a7c..87fff72dee79345da80b69b3385ed9486984c1bf 100644 (file)
@@ -51,173 +51,6 @@ enableExtensionProductive(FALSE);
 
 switch (getExtensionMode()) {
        case 'setup': // Do stuff when installation is running
-               // SQL commands to run (surfbar URLs)
-               addDropTableSql('surfbar_urls');
-               addCreateTableSql('surfbar_urls', "
-`url_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
-`url_userid` BIGINT(20) UNSIGNED NULL DEFAULT NULL,
-`url_package_id` BIGINT(20) UNSIGNED NULL DEFAULT NULL,
-`url` VARCHAR(255) NOT NULL DEFAULT '',
-`url_last_salt` VARCHAR(255) NOT NULL DEFAULT '',
-`url_views_total` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`url_views_max` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`url_views_allowed` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`url_status` ENUM('PENDING', 'ACTIVE', 'LOCKED', 'STOPPED', 'REJECTED', 'DELETED', 'MIGRATED', 'DEPLETED') NOT NULL DEFAULT 'PENDING',
-`url_registered` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
-`url_last_locked` TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00',
-`url_lock_reason` VARCHAR(255) NOT NULL DEFAULT '',
-`url_reject_reason` VARCHAR(255) NOT NULL DEFAULT '',
-`url_fixed_reload` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`url_fixed_waiting` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-PRIMARY KEY (`url_id`),
-UNIQUE INDEX `userid_url` (`url_userid`, `url`),
-INDEX `status_userid` (`url_status`, `url_userid`),
-INDEX (`url_package_id`)",
-                       'Visitor add-on URLs');
-
-               // Booking packages for members
-               addDropTableSql('surfbar_packages');
-               addCreateTableSql('surfbar_packages', "
-`package_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
-`package_reload` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`package_waiting` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`package_points_costs` FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000,
-`package_points_reward` FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000,
-PRIMARY KEY (`package_id`),
-UNIQUE INDEX `package` (`package_reload`, `package_waiting`)",
-                       'Booking packages');
-
-               // Reload locks
-               addDropTableSql('surfbar_locks');
-               addCreateTableSql('surfbar_locks', "
-`locks_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
-`locks_userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`locks_url_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`locks_last_surfed` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
-PRIMARY KEY (`locks_id`),
-UNIQUE INDEX `userid_url` (`locks_userid`, `locks_url_id`),
-INDEX (`locks_url_id`)",
-                       'Vistor-addon reload locks');
-
-               // Visitor add-on salts
-               addDropTableSql('surfbar_salts');
-               addCreateTableSql('surfbar_salts', "
-`salts_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
-`salts_userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`salts_url_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`salts_last_salt` VARCHAR(255) NOT NULL DEFAULT '',
-PRIMARY KEY (`salts_id`),
-UNIQUE INDEX `salts_userid_url` (`salts_userid`, `salts_url_id`),
-INDEX (`salts_url_id`)",
-                       'Visitor add-on last used salts');
-
-               // Statistics
-               addDropTableSql('surfbar_stats');
-               addCreateTableSql('surfbar_stats', "
-`stats_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
-`stats_userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`stats_url_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`stats_count` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`stats_last_surfed` TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
-PRIMARY KEY (`stats_id`),
-UNIQUE INDEX `userid_url` (`stats_userid`, `stats_url_id`),
-INDEX (`stats_url_id`)",
-                       'Visitor add-on Statistics');
-
-               // Member actions pending on status
-               addDropTableSql('surfbar_actions');
-               addCreateTableSql('surfbar_actions', "
-`actions_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
-`actions_status` ENUM('PENDING', 'ACTIVE', 'LOCKED', 'STOPPED', 'REJECTED', 'DELETED', 'MIGRATED', 'DEPLETED') NULL DEFAULT NULL,
-`actions_action` ENUM('EDIT', 'DELETE', 'PAUSE', 'UNPAUSE', 'FRAMETEST', 'RETREAT', 'RESUBMIT', 'BOOKNOW') NULL DEFAULT NULL,
-`actions_new_status` ENUM('PENDING', 'ACTIVE', 'LOCKED', 'STOPPED', 'REJECTED', 'DELETED', 'MIGRATED', 'DEPLETED') NULL DEFAULT NULL,
-PRIMARY KEY (`actions_id`),
-UNIQUE INDEX `status_action` (`actions_status`, `actions_action`)",
-                       'Visitor add-on Member Actions');
-
-               // Member actions
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('PENDING', 'RETREAT', 'DELETED')");
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('PENDING', 'FRAMETEST',NULL)");
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('PENDING', 'EDIT',NULL)");
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('ACTIVE', 'EDIT', 'PENDING')");
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('ACTIVE', 'DELETE', 'DELETED')");
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('ACTIVE', 'PAUSE', 'STOPPED')");
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('ACTIVE', 'FRAMETEST',NULL)");
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('LOCKED', 'DELETE', 'DELETED')");
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('LOCKED', 'FRAMETEST',NULL)");
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('LOCKED', 'RESUBMIT', 'PENDING')");
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('STOPPED', 'EDIT', 'PENDING')");
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('STOPPED', 'DELETE', 'DELETED')");
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('STOPPED', 'UNPAUSE', 'PENDING')");
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('DEPLETED', 'EDIT', 'PENDING')");
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('DEPLETED', 'DELETE', 'DELETED')");
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('REJECTED', 'EDIT', 'PENDING')");
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('REJECTED', 'DELETE', 'DELETED')");
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('REJECTED', 'FRAMETEST',NULL)");
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('REJECTED', 'RESUBMIT', 'PENDING')");
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('MIGRATED', 'EDIT', 'MIGRATED')");
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('MIGRATED', 'DELETE', 'DELETED')");
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('MIGRATED', 'FRAMETEST',NULL)");
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('MIGRATED', 'BOOKNOW', 'PENDING')");
-
-               // Config entries
-               addConfigAddSql('surfbar_payment_model', "ENUM('STATIC', 'DYNAMIC') NOT NULL DEFAULT 'STATIC'");
-               addConfigAddSql('surfbar_static_reward', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.25000');
-               addConfigAddSql('surfbar_static_costs', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 1.00000');
-               addConfigAddSql('surfbar_static_time', 'SMALLINT(6) UNSIGNED NOT NULL DEFAULT 60');
-               addConfigAddSql('surfbar_static_lock', 'SMALLINT(6) UNSIGNED NOT NULL DEFAULT ' . (60 * 5));
-               addConfigAddSql('surfbar_dynamic_percent', 'FLOAT(10,5) UNSIGNED NOT NULL DEFAULT 10.00000');
-               addConfigAddSql('surfbar_max_order', 'INT(7) UNSIGNED NOT NULL DEFAULT 10');
-               addConfigAddSql('surfbar_restart_time', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT ' . (60 * 6));
-               addConfigAddSql('surfbar_auto_start', "ENUM('Y', 'N') NOT NULL DEFAULT 'Y'");
-               addConfigAddSql('surfbar_migrate_urls', "ENUM('Y', 'N') NOT NULL DEFAULT 'Y'");
-               addConfigAddSql('surfbar_total_counter', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
-               addConfigAddSql('surfbar_daily_counter', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
-               addConfigAddSql('surfbar_yester_counter', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
-               addConfigAddSql('surfbar_weekly_counter', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
-               addConfigAddSql('surfbar_monthly_counter', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
-               addConfigAddSql('surfbar_stats_reload', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 30');
-               addConfigAddSql('surfbar_purge_deleted', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT ' . (getOneDay() * 7));
-               addConfigAddSql('surfbar_purge_migrated', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT ' . (getOneDay() * 3));
-               addConfigAddSql('surfbar_pause_mode', "ENUM('INTERNAL', 'EXERNAL') NOT NULL DEFAULT 'INTERNAL'");
-               addConfigAddSql('surfbar_pause_url', "VARCHAR(255) NOT NULL DEFAULT ''");
-               addConfigAddSql('surfbar_notify_limits', "ENUM('Y', 'N') NOT NULL DEFAULT 'Y'");
-               addConfigAddSql('surfbar_notify_admin_unlock', "ENUM('Y', 'N') NOT NULL DEFAULT 'Y'");
-               addConfigAddSql('surfbar_warn_low_points', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 100');
-               addConfigAddSql('surfbar_low_interval', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT {?ONE_DAY?}');
-               addConfigAddSql('surfbar_migrate_order', "ENUM('Y', 'N') NOT NULL DEFAULT 'Y'");
-               addConfigAddSql('surfbar_notification_mode', "ENUM('INSTANT', 'RESET') NOT NULL DEFAULT 'INSTANT'");
-               addConfigAddSql('surfbar_guest_login_form', "ENUM('Y', 'N') NOT NULL DEFAULT 'Y'");
-
-               // Extend user data
-               addExtensionAddTableColumnSql('user_data', 'surfbar_low_notified', "TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00'");
-
-               // Member menus
-               addMemberMenuSql('surfbar', NULL, 'Besuchertausch', 4);
-               addMemberMenuSql('surfbar', 'start_surfbar', 'Besuchertausch starten', 1);
-               addMemberMenuSql('surfbar', 'book_surfbar', 'Seite buchen', 2);
-               addMemberMenuSql('surfbar', 'list_surfbar', 'Seiten-Management', 3);
-               addMemberMenuSql('surfbar', 'stats_surfbar', 'Seiten-Statistik', 4);
-
-               // Admin menus
-               addAdminMenuSql('surfbar', NULL, 'Besuchertausch', 'URLs im Besuchertausch verwalten, Einstellungen &auml;ndern und vieles mehr.', 7);
-               addAdminMenuSql('surfbar', 'add_surfbar_url', 'URL hinzuf&uuml;gen', 'F&uuml;gen Sie URLs z.B. von Werbenetzwerken hinzu, oder Ihre eigenen Projekte. <strong>Vorsicht!</strong> Ihnen muss es auch gestattet sein, URLs aus dem Werbenetzwerk im Besuchertausch einzuf&uuml;gen.', 1);
-               addAdminMenuSql('surfbar', 'list_surfbar_urls', 'URLs verwalten', 'Verwalten Sie hier alle im Besuchertausch befindlichen URLs mit nur wenigen Klicks.', 2);
-               addAdminMenuSql('surfbar', 'unlock_surfbar_urls', 'Wartende URLs freigeben', 'Geben Sie hier f&uuml;r den Besuchertausch gebuchte URLs frei.', 3);
-               addAdminMenuSql('surfbar', 'list_surfbar_packages', 'Buchungspakete verwalten', '&quot;Buchungspakete&quot; erlauben dem Mitglied nur von Ihnen definierte Reloadzeiten und Mindestauffenthalte.', 4);
-               addAdminMenuSql('surfbar', 'config_surfbar', 'Einstellungen', 'Einstellungen am Besuchertausch &auml;ndern, wie Festverg&uuml;tung, prozentuale Ref-Verg&uuml;tung und vieles mehr.', 5);
-               addAdminMenuSql('surfbar', 'surfbar_stats', 'Statistiken', 'Detailierte Statistiken zu einer ausgew&auml;hlten URL anzeigen.', 6);
-               addAdminMenuSql('surfbar', 'list_surfbar_actions', 'Mitglieder-Aktionen', 'Listet alle Mitglieder-Aktionen auf.', 7);
-
-               // Register module
-               addModuleSql('surfbar', '{OPEN_LANGUAGE}MODULE_SURFBAR_TITLE{CLOSE_LANGUAGE}', 'Y', 'Y', 'N', 'N');
-
-               // Insert data for points accounts
-               registerExtensionPointsData('monthly_surfbar', 'points', 'LOCKED', 'DIRECT');
-
-               // Register filters
-               registerFilter(__FILE__, __LINE__, 'post_change_surfbar_url_status', 'SURFBAR_CHANGE_URL_STATUS', FALSE, TRUE, isExtensionDryRun());
-               registerFilter(__FILE__, __LINE__, 'pre_change_surfbar_url_status', 'SURFBAR_CHANGE_URL_VALIDATE_DATA', FALSE, TRUE, isExtensionDryRun());
                break;
 
        case 'remove': // Do stuff when removing extension
index e3675f30ec4ce32af54565fb3a30a5fd7b545f23..5aad99b64f8271ad980d84ac52d6a3bfdea049ff 100644 (file)
@@ -80,179 +80,6 @@ switch (getExtensionMode()) {
                break;
 
        case 'update': // Update an extension
-               switch (getCurrentExtensionVersion()) {
-                       case '0.0.1': // SQL queries for v0.0.1
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Veraltetes Update entfernt.");
-                               break;
-
-                       case '0.0.1': // SQL queries for v0.0.1
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Unn&ouml;tige Script-Teile aus what-list_tasks.php herausgel&ouml;scht; beim Anzeigen einer Extension-Update, oder -Register Aufgabe werden bei eingeschaltetem Verbose-Modus alle SQL-Anweisungen aufgelistet.");
-                               break;
-
-                       case '0.0.4': // SQL queries for v0.0.4
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehler <div class=\"notice\">Warning: Missing argument 2 for create_timestamp_from_selections() in {?PATH?}inc/libs/pro_functions.php on line 227</div> behoben.");
-                               break;
-
-                       case '0.0.5': // SQL queries for v0.0.5
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("&amp;admin= in &amp;amp;admin= umgewandelt.");
-                               break;
-
-                       case '0.0.6': // SQL queries for v0.0.6
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Wegen des Theme-Supportes hat sich die URL zur CSS-Datei ge&auml;ndert.");
-                               break;
-
-                       case '0.0.7': // SQL queries for v0.0.7
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Erstellung der Extra-&Uuml;bersichten verbessert.");
-                               break;
-
-                       case '0.0.8': // SQL queries for v0.0.8
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist.");
-                               break;
-
-                       case '0.0.9': // SQL queries for v0.0.9
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehler bei Abfrage der payout-Erweiterung beseitigt.");
-                               break;
-
-                       case '0.1.0': // SQL queries for v0.2.1
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Task-Liste ausgelagert als Template");
-                               break;
-
-                       case '0.1.1': // SQL queries for v0.1.1
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Design &quot;Solid-Business&quot; eingebaut.");
-                               break;
-
-                       case '0.1.2': // SQL queries for v0.1.2
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Seit <strong>Patch 340</strong> &uuml;berfl&uuml;ssige HTML-Tags entfernt.");
-                               break;
-
-                       case '0.1.3': // SQL queries for v0.1.3
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Link zum Mitgliedsprofil in Funktion <u>generateUserProfileLink()</u> ausgelagert.");
-                               break;
-
-                       case '0.1.4': // SQL queries for v0.1.4
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("W&ouml;rter <strong>{?mt_word?}</strong>, <strong>{?mt_word2?}</strong> und <strong>{?mt_word3?}</strong> sind austauschbar.");
-                               break;
-
-                       case '0.1.5': // SQL queries for v0.1.5
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Links wegen <strong>what=admins_contct</strong> ge&auml;ndert.");
-                               break;
-
-                       case '0.1.6': // SQL queries for v0.1.6
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Weitere Direkt-Links eingebaut:<br />
-<ul>
-  <li>L&auml;ndercodes</li>
-  <li>Wartende Verdopplungen</li>
-  <li><strong>Ge&auml;ndert:</strong> Wartende Auszahlungen</li>
-  <li>Teilnehmer an der Aktiv-Rallye</li>
-  <li>Nett hinweisende Linktitel hinzugef&uuml;gt. :-)</li>
-</ul>");
-                               break;
-
-                       case '0.1.7': // SQL queries for v0.1.7
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Direkt Links zum Sponsorenbereich vorbereitend eingebaut.");
-                               break;
-
-                       case '0.1.8': // SQL queries for v0.1.8
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Es werden alle installierten und aktivierten Themes angezeigt und verlinkt.");
-                               break;
-
-                       case '0.1.9': // SQL queries for v0.1.9
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("CSS-Datei in general.css verschmolzen (Patch 435!)");
-                               break;
-
-                       case '0.2.0': // SQL queries for v0.2.0
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Alle Administratoren, Referral-Banner und aktivierte Referral-Banner werden nun eingeblendet.");
-                               break;
-
-                       case '0.2.1': // SQL queries for v0.2.1
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Problem mit &uuml;berlanger Textbreite beseitigt.");
-                               break;
-
-                       case '0.2.2': // SQL queries for v0.2.2
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Link zum Freischalten von Sponoren-Accounts korregiert.");
-                               break;
-
-                       case '0.2.3': // SQL queries for v0.2.3
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Sortierungsreihenfolge grundlegend ge&auml;ndert: Es wird jetzt nach Mitglieds-Id, Aufgabenbereich, Infos und nach dem Erstellunsdatum sortiert.");
-                               break;
-
-                       case '0.2.4': // SQL queries for v0.2.4
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Abspeichern von Einstellungen repariert.");
-                               break;
-
-                       case '0.2.5': // SQL queries for v0.2.5
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("<strong>Nur mit bonus v0.6.9 oder h&ouml;her:</strong> Zuschaltbare Bonis werden auch bei der Ermittlung Anzahl teilnehmender Mitglieder mit ber&uumk;cksichtigt.");
-                               break;
-
-                       case '0.2.6': // SQL queries for v0.2.6
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Teilnehmer der Bettel-Rallye werden angezeigt.");
-                               break;
-
-                       case '0.2.7': // SQL queries for v0.2.7
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Link zum direkten Aufheben einer Urlaubsschaltung eines Mitgliedes korregiert.");
-                               break;
-
-                       case '0.2.8': // SQL queries for v0.2.8
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Sicherheitsupdate f&uuml;r die Include-Befehle.");
-                               break;
-
-                       case '0.2.9': // SQL queries for v0.2.9
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("if-Anweisungen auf Funktion <strong>empty()</strong> umgestellt. Update-Aufgaben werden nach &quot;Bearbeitung&quot; nicht mehr als <strong>Erledigt</strong> gesetzt. Dies hatte sonst den Anschein, die Update-Aufgaben m&uuml;ssten erledigt werden, um die Erweiterungs-Updates einzuspielen, was aber automatisch geschieht.");
-                               break;
-
-                       case '0.3.0': // SQL queries for v0.3.0
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Export-Accounts werden in Task-&Uuml;bersicht aufgelistet.");
-                               break;
-
-                       case '0.3.1': // SQL queries for v0.3.1
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Diverse Fixes an den Templates (Notice-Hinweise vom PHP-Interpreter entfernt).");
-                               break;
-
-                       case '0.3.2': // SQL queries for v0.3.2
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("H&auml;ngt nun von <u>ext-user</u> ab.");
-                               break;
-
-                       case '0.3.3': // SQL queries for v0.3.3
-                               addExtensionChangeTableColumnSql('task_system', 'assigned_admin', 'assigned_admin', 'BIGINT(20) UNSIGNED NULL DEFAULT NULL');
-                               addExtensionChangeTableColumnSql('task_system', 'userid', 'userid', 'BIGINT(20) UNSIGNED NULL DEFAULT NULL');
-                               addExtensionSql('UPDATE `{?_MYSQL_PREFIX?}_task_system` SET `assigned_admin`=NULL WHERE `assigned_admin`=0');
-                               addExtensionSql('UPDATE `{?_MYSQL_PREFIX?}_task_system` SET `userid`=NULL WHERE `userid`=0');
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Zugewiesener Admin und User-Id d&uuml;rfen nun NULL sein.");
-                               break;
-               } // END - switch
                break;
 
        case 'modify': // When the extension got modified
index 61079e34765b628471725040ebfaa780f6f3c45a..0401251cd9c1b4226e750965297340a3bfebe190 100644 (file)
@@ -79,15 +79,11 @@ switch (getExtensionMode()) {
        case 'update': // Update an extension
                switch (getCurrentExtensionVersion()) {
                        case '0.0.1': // SQL queries for v0.0.1
-                               addExtensionSql("");
+                               addExtensionSql('');
 
                                // Update notes (these will be set as task text!)
                                setExtensionUpdateNotes("Beschreinungstext des Updates.");
                                break;
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Filter zum Zur&uuml;cksetzens des fehlgeschlagenen Mitgliederlogins hinzugef&uuml;gt (internes TODO).");
-                               break;
                } // END - switch
                break;
 
index d8555dbbd8a205a89e811d22be874f7a2fc68b59..4ec6e30adf76ce8f6f019dee54087233a04fe7fb 100644 (file)
@@ -46,6 +46,9 @@ setThisExtensionVersion('0.1.2');
 // 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'));
 
+// This extension is deprecated
+// @TODO Only deprecated when 'ext-ranking' is ready: setExtensionDeprecated('Y');
+
 switch (getExtensionMode()) {
        case 'setup': // Do stuff when installation is running
                // SQL commands to run
diff --git a/inc/extensions/ext-transaction.php b/inc/extensions/ext-transaction.php
new file mode 100644 (file)
index 0000000..c420a20
--- /dev/null
@@ -0,0 +1,101 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 09/25/2004 *
+ * ===================                          Last change: 09/25/2004 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : ext-                                             *
+ * -------------------------------------------------------------------- *
+ * Short description :                                                  *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  :                                                  *
+ * -------------------------------------------------------------------- *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2013 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')) {
+       die();
+} // END - if
+
+// Version number
+setThisExtensionVersion('0.0.0');
+
+// Version history array (add more with , '0.0.1' and so on)
+setExtensionVersionHistory(array('0.0.0'));
+
+// This extension is in development (non-productive)
+enableExtensionProductive(FALSE);
+
+switch (getExtensionMode()) {
+       case 'setup': // Do stuff when installation is running
+               // SQL commands to run
+
+               // Register filter
+               registerFilter(__FILE__, __LINE__, 'post_add_points', 'LOG_TRANSACTION', FALSE, TRUE, isExtensionDryRun());
+               break;
+
+       case 'remove': // Do stuff when removing extension
+               // SQL commands to run
+
+               // Remove filter
+               unregisterFilter(__FILE__, __LINE__, 'post_add_points', 'LOG_TRANSACTION', TRUE, isExtensionDryRun());
+               break;
+
+       case 'activate': // Do stuff when admin activates this extension
+               // SQL commands to run
+               break;
+
+       case 'deactivate': // Do stuff when admin deactivates this extension
+               // SQL commands to run
+               break;
+
+       case 'update': // Update an extension
+               switch (getCurrentExtensionVersion()) {
+                       case '0.0.1': // SQL queries for v0.0.1
+                               addExtensionSql('');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes('');
+                               break;
+               } // END - switch
+               break;
+
+       case 'modify': // When the extension got modified
+               break;
+
+       case 'test': // For testing purposes
+               break;
+
+       case 'init': // Do stuff when extension is initialized
+               break;
+
+       default: // Unknown extension mode
+               reportBug(__FILE__, __LINE__, sprintf("Unknown extension mode %s in extension %s detected.", getExtensionMode(), getCurrentExtensionName()));
+               break;
+} // END - switch
+
+// [EOF]
+?>
index 46537a742ebde5d9336f92171932df59c2c62a00..2dc04f171a7e27d3a841898967be25411a4249ad 100644 (file)
@@ -48,54 +48,6 @@ setExtensionVersionHistory(array('0.0.0', '0.0.1', '0.0.2', '0.0.3', '0.0.4', '0
 
 switch (getExtensionMode()) {
        case 'setup': // Do stuff when installation is running
-               // Transfer from a member
-               addDropTableSql('user_transfers_in');
-               addCreateTableSql('user_transfers_in', "
-`id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
-`userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`from_userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`points` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`reason` VARCHAR(255) NOT NULL DEFAULT '',
-`time_trans` VARCHAR(14) NOT NULL DEFAULT 0,
-`trans_id` VARCHAR(12) NOT NULL DEFAULT '',
-PRIMARY KEY (`id`),
-INDEX (`userid`),
-INDEX (`from_userid`)",
-                       'Ingoing points transfers');
-
-               // Transfers to a member
-               addDropTableSql('user_transfers_out');
-               addCreateTableSql('user_transfers_out', "
-`id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
-`userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`to_userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`points` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`reason` VARCHAR(255) NOT NULL DEFAULT '',
-`time_trans` VARCHAR(14) NOT NULL DEFAULT 0,
-`trans_id` VARCHAR(12) NOT NULL DEFAULT '',
-PRIMARY KEY (`id`),
-INDEX (`userid`),
-INDEX (`to_userid`)",
-                       'Outgoing points transfers');
-
-               // Admin menu
-               addAdminMenuSql('transfer', NULL, '{OPEN_CONFIG}POINTS{CLOSE_CONFIG}-Transfer','Verwalten Sie hier die {OPEN_CONFIG}POINTS{CLOSE_CONFIG}-Transaktionen zwischen Ihren Mitgliedern.', 7);
-               addAdminMenuSql('transfer','list_transfer','Auflisten','Hier bekommen Sie alle ein- und ausgehende Transaktionen aufgelistet.', 1);
-               addAdminMenuSql('transfer','config_transfer','Einstellungen','Stellen Sie ein, wie viele Transaktionen aufgelistet werden sollen und wie alt diese werden d&uuml;rfen. Die evtl. installierte autopurge-Erweiterung kann dann automatisch die veralteten Transktionen l&ouml;schen.', 2);
-               addAdminMenuSql('transfer','del_transfer','Manuell l&ouml;schen','Hier k&ouml;nnen Sie - abgesehen von der automatischen L&ouml;schung - Transaktionen selber l&ouml;schen. Bitte beachten Sie, dass immer aus- und eingehende Transaktionen gleichzeitig gel&ouml;scht werden.', 3);
-
-               // Member menu
-               addMemberMenuSql('extras', 'transfer', '{OPEN_CONFIG}POINTS{CLOSE_CONFIG}-Transfer', 5);
-
-               // Add config values
-               addConfigAddSql('transfer_max', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 50');
-               addConfigAddSql('transfer_age', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT ' . (getOneDay() * 28));
-               addConfigAddSql('transfer_timeout', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT {?ONE_DAY?}');
-               addConfigAddSql('transfer_balance', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 100');
-               addConfigAddSql('transfer_code', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 5');
-
-               // Add row(s) to user's data
-               addExtensionAddTableColumnSql('user_data', 'opt_in', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
                break;
 
        case 'remove': // Do stuff when removing extension
@@ -121,163 +73,6 @@ INDEX (`to_userid`)",
                break;
 
        case 'update': // Update an extension
-               switch (getCurrentExtensionVersion()) {
-                       case '0.0.2': // SQL queries for v0.0.2
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehler <div class=\"notice\">Warning: Missing argument 2 for create_timestamp_from_selections() in {?PATH?}inc/libs/pro_functions.php on line 227</div> behoben.");
-                               break;
-
-                       case '0.0.3': // SQL queries for v0.0.3
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("&Uuml;berfl&uuml;ssige unset()-Anweisungen aus der what-config_transfer.php entfernt. Dies wird bereits von der eigenen Funktion adminSaveSettings() erledigt.");
-                               break;
-
-                       case '0.0.3': // SQL queries for v0.0.3
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehlende Abfrage im Mitlieder-Modul, on Erweiterung auch aktiviert ist.");
-                               break;
-
-                       case '0.0.5': // SQL queries for v0.0.5
-                               addConfigAddSql('ap_transfer', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Link <span class=\"bad\">Auflisten</span> im Admin-Bereich hatte das eingeloggte Mitglied und nicht den eingeloggten Admin abgefragt. Automatisches L&ouml;schen von veraltete Eintr&auml;gen kann unabh&auml;ngig von der autopurge-Erweiterung de-/aktiviert werden. Bitte aktualisieren Sie auch die beiden Admin-Templates!");
-                               break;
-
-                       case '0.0.6': // SQL queries for v0.0.6
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Wegen des Theme-Supportes hat sich die URL zur CSS-Datei ge&auml;ndert.");
-                               break;
-
-                       case '0.0.7': // SQL queries for v0.0.7
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist.");
-                               break;
-
-                       case '0.0.8': // SQL queries for v0.0.8
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Problem mit E in Transaktionsnummer beseitigt.");
-                               break;
-
-                       case '0.0.9': // SQL queries for v0.0.9
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Problem mit Speicherung der Einstellungen beseitigt.");
-                               break;
-
-                       case '0.1.0': // SQL queries for v0.2.1
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Men&uuml;punkte im Gast-/Mitgliedsbereich k&ouml;nnen nicht mehr aufgerufen werden, wenn die Erweiterung deaktiviert ist.");
-                               break;
-
-                       case '0.1.1': // SQL queries for v0.1.1
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Design &quot;Solid-Business&quot; eingebaut.");
-                               break;
-
-                       case '0.1.2': // SQL queries for v0.1.2
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Seit <strong>Patch 340</strong> &uuml;berfl&uuml;ssige HTML-Tags entfernt.");
-                               break;
-
-                       case '0.1.3': // SQL queries for v0.1.3
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("IP-Nummer und Browserbezeichnung wird in Admin-Mails eingesetzt.");
-                               break;
-
-                       case '0.1.4': // SQL queries for v0.1.4
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Link zum Mitgliedsprofil in Funktion <u>generateUserProfileLink()</u> ausgelagert.");
-                               break;
-
-                       case '0.1.5': // SQL queries for v0.1.5
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Template <u>admin_config_transfer_pro.tpl</u> ist &uuml;berfl&uuml;ssig geworden. Bitte l&ouml;schen Sie dies!");
-                               break;
-
-                       case '0.1.6': // SQL queries for v0.1.6
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("W&ouml;rter <strong>{?mt_word?}</strong>, <strong>{?mt_word2?}</strong> und <strong>{?mt_word3?}</strong> sind austauschbar.");
-                               break;
-
-                       case '0.1.7': // SQL queries for v0.1.7
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Wort <strong>Punkte</strong> dynamisiert.");
-                               break;
-
-                       case '0.1.8': // SQL queries for v0.1.8
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("HTML-Code ausgelagert in Templates und SQL-Anweisungen abgesichert.");
-                               break;
-
-                       case '0.1.9': // SQL queries for v0.1.9
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Parser-Error im Mitgliedsbereich beseitigt.");
-                               break;
-
-                       case '0.2.0': // SQL queries for v0.2.0
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Abspeichern von Einstellungen repariert.");
-                               break;
-
-                       case '0.2.1': // SQL queries for v0.2.1
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Durchf&uuml;hrung des Transfers korregiert.");
-                               break;
-
-                       case '0.2.2': // SQL queries for v0.2.2
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Sicherheitsupdate f&uuml;r die Include-Befehle.");
-                               break;
-
-                       case '0.2.3': // SQL queries for v0.2.3
-                               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu_las` (`la_id`, `la_action`, `la_what`) VALUES ('member', '', 'list_transfer')");
-                               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu_las` (`la_id`, `la_action`, `la_what`) VALUES ('member', '', 'del_transfer')");
-                               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu_las` (`la_id`, `la_action`, `la_what`) VALUES ('config', '', 'config_transfer')");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Erweiterung in's neue Men&uuml;system integriert.");
-                               break;
-
-                       case '0.2.4': // SQL queries for v0.2.4
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("<strong>Touring-Code wiederholen</strong> nach <strong>Touring-Code eingeben</strong> hin ge&auml;ndert.");
-                               break;
-
-                       case '0.2.5': // SQL queries for v0.2.5
-                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_member_menu` SET `action`='extras',`sort`=5 WHERE `what`='transfer' LIMIT 1");
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Eintrag im Mitgliedsmen&uuml; verschoben.");
-                               break;
-
-                       case '0.2.6': // SQL queries for v0.2.6
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Hash-Erstellung von <strong>md5()</strong> auf bessere Funktion <strong>generateHash()</strong> umgestellt.");
-                               break;
-
-                       case '0.2.7': // SQL queries for v0.2.7
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Die {?POINTS?} k&ouml;nnen nun wieder wie gewohnt transferiert werden. Der Grund f&uuml;r <span class=\"bad\">{--MEMBER_TRANSFER_INVALID_PASSWORD--}</span> war, dass der Cookie-Hash ein anderer ist, als der in der Datenbank... :-/");
-                               break;
-
-                       case '0.2.8': // SQL queries for v0.2.8
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehlermeldung <span class=\"bad\">Notice: Undefined index: to_userid in {?PATH?}/inc/modules/member/what-transfer.php on line 301</span> gefixt. Danke an <a href=\"http://forum.mxchange.org/profile-8.html\" target=\"_blank\" title=\"Forumprofil von Piter01\">Piter01</a>.");
-                               break;
-
-                       case '0.2.9': // SQL queries for v0.2.9
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Fehlerhinweis bei deaktivierter Erweiterung verbessert.");
-                               break;
-
-                       case '0.3.0': // SQL queries for v0.3.0
-                               // Register points data
-                               registerExtensionPointsData('transfer', 'points', 'LOCKED', 'DIRECT');
-
-                               // Update notes
-                               setExtensionUpdateNotes("&Uuml;nerweisungen anderer Mitglieder werden nun &uuml;ber die Tabelle <strong>{OPEN_CONFIG}_MYSQL_PREFIX{CLOSE_CONFIG}_points_data</strong> verwaltet.");
-                               break;
-               } // END - switch
                break;
 
        case 'modify': // When the extension got modified
index 212d75856ec7350a65a40d0c5d863acb853b2b5b..c2fb1850248a6645f9297e27a1f7ae5e68316c3c 100644 (file)
@@ -50,8 +50,8 @@ setExtensionVersionHistory(array('0.0.0'));
 // Keep this extension always active!
 setExtensionAlwaysActive('Y');
 
-// This extension is deprecated!
-// @TODO Only deprecated when 'ext-network' is ready! setExtensionDeprecated('Y');
+// This extension is deprecated
+// @TODO Only deprecated when 'ext-network' is ready: setExtensionDeprecated('Y');
 
 switch (getExtensionMode()) {
        case 'setup': // Do stuff when installation is running
diff --git a/inc/extensions/forced/.htaccess b/inc/extensions/forced/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/inc/extensions/forced/mode-setup.php b/inc/extensions/forced/mode-setup.php
new file mode 100644 (file)
index 0000000..bde8a08
--- /dev/null
@@ -0,0 +1,153 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 06/25/2013 *
+ * ===================                          Last change: 06/25/2013 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : mode-update.php                                  *
+ * -------------------------------------------------------------------- *
+ * Short description : Clickable forced banner or text links            *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Klickbare Forced-Banner oder -Textlinks          *
+ * -------------------------------------------------------------------- *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2013 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')) {
+       die();
+} // END - if
+
+// @TODO Remove double tabs from all lines
+               // Add dependency for ext-earning
+               addExtensionDependency('earning');
+
+               // All required tables for this extension:
+               // - Ads
+               addDropTableSql('forced_ads');
+               addCreateTableSql('forced_ads', "
+`forced_ads_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
+`forced_ads_provider` ENUM('ADMIN', 'MEMBER', 'API', 'UNKNOWN') NOT NULL DEFAULT 'UNKNOWN',
+`forced_ads_api_type` VARCHAR(255) NULL DEFAULT NULL,
+`forced_ads_ad_url` VARCHAR(255) NULL DEFAULT NULL,
+`forced_ads_click_url` VARCHAR(255) NOT NULL,
+`forced_ads_width` SMALLINT(3) UNSIGNED NULL DEFAULT NULL,
+`forced_ads_height` SMALLINT(3) UNSIGNED NULL DEFAULT NULL,
+`forced_ads_alt_text` VARCHAR(255) NULL DEFAULT NULL,
+`forced_ads_framebreaker` ENUM('Y','N') NOT NULL DEFAULT 'Y',
+`forced_ads_type` VARCHAR(255) NOT NULL DEFAULT 'INVALID',
+`forced_ads_views_counter` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`forced_ads_clicks_counter` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`forced_ads_added` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
+`forced_ads_userid` BIGINT(20) UNSIGNED NULL DEFAULT NULL,
+PRIMARY KEY (`forced_ads_id`),
+INDEX (`forced_ads_userid`)",
+                       'Forced Ads Data');
+
+               // - Connection -> ext-network
+               addDropTableSql('forced_network');
+               addCreateTableSql('forced_network', "
+`forced_network_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
+`forced_ads_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`network_type_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+PRIMARY KEY (`forced_network_id`),
+UNIQUE `ads_type` (`forced_ads_id`, `network_type_id`)",
+                       'Forced Campaign Data');
+
+               // - Campaigns
+               addDropTableSql('forced_campaigns');
+               addCreateTableSql('forced_campaigns', "
+`forced_campaign_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
+`forced_campaign_created` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
+`forced_campaign_status` ENUM('ACTIVE','PENDING','EXPIRED','LOCKED') NOT NULL DEFAULT 'PENDING',
+`forced_campaign_last_locked` TIMESTAMP NULL DEFAULT NULL,
+`forced_campaign_lock_reason` VARCHAR(255) NULL DEFAULT NULL,
+`forced_campaign_expired` TIMESTAMP NULL DEFAULT NULL,
+`forced_campaign_ordered_clicks` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`forced_campaign_payment_api` FLOAT(20,5) UNSIGNED NULL DEFAULT NULL,
+`forced_campaign_reload_lock` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`forced_campaign_minimum_stay` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`forced_ads_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`forced_campaign_userid` BIGINT(20) UNSIGNED NULL DEFAULT NULL,
+`forced_costs_id` BIGINT(20) UNSIGNED NULL DEFAULT NULL,
+PRIMARY KEY (`forced_campaign_id`),
+INDEX (`forced_costs_id`)",
+                       'Forced Campaign Data');
+
+               // - Campaign costs
+               addDropTableSql('forced_costs');
+               addCreateTableSql('forced_costs', "
+`forced_costs_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
+`forced_costs_price_click` FLOAT(20,5) UNSIGNED NULL DEFAULT NULL,
+`forced_costs_payment_click` FLOAT(20,5) UNSIGNED NULL DEFAULT NULL,
+`forced_costs_visibility` ENUM('MEMBER','SPONSOR','ALL','NONE') NOT NULL DEFAULT 'NONE',
+PRIMARY KEY (`forced_costs_id`)",
+                       'Forced Campaign Costs');
+
+               // - Campaign Statistics
+               addDropTableSql('forced_stats');
+               addCreateTableSql('forced_stats', "
+`forced_stats_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
+`forced_stats_campaign_id` BIGINT(20) UNSIGNED NULL DEFAULT NULL,
+`forced_stats_userid` BIGINT(20) UNSIGNED NULL DEFAULT NULL,
+`forced_stats_token` VARCHAR(255) NULL DEFAULT NULL,
+`forced_stats_viewed` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
+`forced_stats_clicked` TIMESTAMP NULL DEFAULT NULL,
+`forced_stats_real_ip` VARCHAR(15) NOT NULL DEFAULT '0.0.0.0',
+`forced_stats_remote_addr` VARCHAR(15) NOT NULL DEFAULT '0.0.0.0',
+`forced_stats_ua` VARCHAR(255) NULL DEFAULT NULL,
+`forced_stats_is_proxy` ENUM('Y','N') NOT NULL DEFAULT 'N',
+`forced_stats_session_id` VARCHAR(100) NULL DEFAULT NULL,
+PRIMARY KEY (`forced_stats_id`),
+INDEX (`forced_stats_campaign_id`),
+INDEX (`forced_stats_userid`)",
+                       'Forced Campaign Statistics');
+
+               // Menu system
+               // - Administrator
+               addAdminMenuSql('forced', NULL, 'Forced-Ads', 'Verwalten Sie hier bequem alle laufenden Forced-Banner, -Textlinks, -PopUps und deren Kampgnen. Sie k&ouml;nnen hier auch neue Werbmittel (Ads) hinzuf&uuml;gen oder laufende Forced-Kampagnen bei z.B. Regelverst&ouml;ssen sperren oder l&ouml;schen. Auch das natr&auml;gliche Editieren von Ads und Kampagnen ist jederzeit m&ouml;glich. Kampagnen dienen der einfacheren Verwaltung und der Trennung von dem Werbemittel selbst dienen. Sie brauchen also z.B. einen Forced-Banner nur einmal einf&uuml;gen und k&ouml;nnen dann bei Bedarf weitere Kampagnen starten.', 5);
+               addAdminMenuSql('forced', 'list_forced_ads', 'Forced-Ads verwalten', 'Listet alle eingetragenen Forced-Ads (Werbmittel mit Klickzwang) auf und f&uuml;gt neue hinzu. Sie k&ouml;nnen hier diese nachtr&auml;glich editieren falls Sie mal eine falsche URL eingegeben haben oder den Text &auml;ndern wollen. L&ouml;schen Sie hier auch Forced-Banner, die nicht mehr g&uuml;ltig sind (z.B. abgelaufen sind). Sollten doch mit dem Werbmittel verkn&uuml;pfte Kampagnen vorhanden sein, erhalten Sie einen Warnhinweis. Neue Werbmittel k&ouml;nnen Sie hier ebenfalls hinzuf&uuml;gen. Denken Sie aber daran, dass ohne Kampagne dieses nicht angezeigt wird. Achten Sie hier auch die Reload-Sperre.', 2);
+               addAdminMenuSql('forced', 'list_forced_campaigns', 'Kampagnen verwalten', 'Listet alle Kampagnen auf und zeigt deren Status an. Jederzeit k&ouml;nnen Sie Kampagnen stoppen, falls Sie dies w&uuml;nschen oder ein Regelverstoss vorliegt. Haben Sie ein Werbemittel hinzugef&uuml;gt, so f&uuml;gen Sie bitte unbedingt eine Kampagne hinzu, da es sonst nicht angezeigt wird.', 3);
+               addAdminMenuSql('forced', 'list_forced_costs', 'Preise verwalten', 'Legen Sie die Preise pro Klick f&uuml;r Forced-Werbemittelbuchungen fest und wie viele {OPEN_CONFIG}POINTS{CLOSE_CONFIG} Ihre Mitglieder erhalten sollen. Generell sollten Sie bei Mitgliederbuchungen h&ouml;here Kosten pro Klick als was Ihre Mitglieder pro Klick erhalten einstellen, da so die {OPEN_CONFIG}POINTS{CLOSE_CONFIG} abgebaut werden (Sie k&ouml;nnen an Accountaufladungen z.B. verdienen).', 4);
+               addAdminMenuSql('forced', 'stats_forced', 'Statistiken', 'Zeigt Gesamtstatistiken und zu den einzelnen Kampagnen und Werbmitteln an. Die hier angezeigte Statistik kann jedoch nicht manuell gel&ouml;scht werden (bitte auch nicht selber tun) da sie auch gleichzeitigt als Reload-Sperre dient.', 5);
+
+               // - Members
+               addMemberMenuSql('earn', 'forced_banner', 'Forced-Banner', 3);
+               addMemberMenuSql('earn', 'forced_textlink', 'Forced-Textlinks', 4);
+               addMemberMenuSql('extras', 'book_forced', 'Forced-Kampagne buchen', 3);
+
+               // Register Forced-PopUps with earning_data table
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_earning_data` (`earning_group`, `earning_provider`, `earning_sorting`) VALUES ('POPUP','FORCED_POPUP',1)");
+
+               // Register filters
+               registerFilter(__FILE__, __LINE__, 'add_forced_ads_types', 'FORCED_AD_TYPE_DEFAULTS', FALSE, TRUE, isExtensionDryRun());
+               registerFilter(__FILE__, __LINE__, 'member_earning_table_data', 'FORCED_POPUP_TABLE_DATA', FALSE, TRUE, isExtensionDryRun());
+               registerFilter(__FILE__, __LINE__, 'post_change_forced_campaign_status', 'FORCED_CHANGE_CAMPAIGN_STATUS', FALSE, TRUE, isExtensionDryRun());
+               registerFilter(__FILE__, __LINE__, 'pre_change_forced_campaign_status', 'FORCED_CHANGE_CAMPAIGN_VALIDATE_DATA', FALSE, TRUE, isExtensionDryRun());
+               registerFilter(__FILE__, __LINE__, 'handle_click_php', 'HANDLE_FORCED_AD_CLICK', FALSE, TRUE, isExtensionDryRun());
+               registerFilter(__FILE__, __LINE__, 'handle_view_php', 'HANDLE_FORCED_AD_VIEW', FALSE, TRUE, isExtensionDryRun());
+
+// [EOF]
+?>
index 8dd5abc24583635afcfdbb8a9344c38471d49de8..dc5e9d810e6704069423a1fc49c9e645bb47abe5 100644 (file)
@@ -352,6 +352,18 @@ nicht die vom Mitglied eingegebene. Resultat: Das Script beschwerte sich, der Us
                                // Update notes (these will be set as task text!)
                                setExtensionUpdateNotes("Konfiguration wird nun in dieser Erweiterung hinzugef&uuml;gt (vorher: allgemeine <strong>tables.sql</strong>).");
                                break;
+
+                       case '0.6.0': // SQL queries for v0.6.0
+                               // Register filters
+                               registerFilter(__FILE__, __LINE__, 'pre_mail_order', 'MAIL_ORDER_GENERIC_CHECK_SUBJECT' , FALSE, TRUE, isExtensionDryRun());
+                               registerFilter(__FILE__, __LINE__, 'pre_mail_order', 'MAIL_ORDER_GENERIC_CHECK_TEXT'    , FALSE, TRUE, isExtensionDryRun());
+                               registerFilter(__FILE__, __LINE__, 'pre_mail_order', 'MAIL_ORDER_GENERIC_CHECK_TYPE'    , FALSE, TRUE, isExtensionDryRun());
+                               registerFilter(__FILE__, __LINE__, 'pre_mail_order', 'MAIL_ORDER_GENERIC_CHECK_URL'     , FALSE, TRUE, isExtensionDryRun());
+                               registerFilter(__FILE__, __LINE__, 'pre_mail_order', 'MAIL_ORDER_GENERIC_CHECK_RECEIVER', FALSE, TRUE, isExtensionDryRun());
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Filter f&uuml;r gesperrtes Werbeguthaben hinzugef&uuml;gt.");
+                               break;
                } // END - switch
 
 // [EOF]
diff --git a/inc/extensions/other/.htaccess b/inc/extensions/other/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/inc/extensions/other/mode-update.php b/inc/extensions/other/mode-update.php
new file mode 100644 (file)
index 0000000..b89a49c
--- /dev/null
@@ -0,0 +1,237 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 06/25/2013 *
+ * ===================                          Last change: 06/25/2013 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : mode-setup.php                                   *
+ * -------------------------------------------------------------------- *
+ * Short description : Other administrative settings                    *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Weitere administrative Einstellungen             *
+ * -------------------------------------------------------------------- *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2013 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')) {
+       die();
+} // END - if
+
+// @TODO Remove double tabs from all lines
+               switch (getCurrentExtensionVersion()) {
+                       case '0.0.1': // SQL queries for v0.0.1
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehler <div class=\"notice\">Warning: Missing argument 2 for create_timestamp_from_selections() in {?PATH?}inc/libs/pro_functions.php on line 227</div> behoben.");
+                               break;
+
+                       case '0.0.2': // SQL queries for v0.0.2
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Speichern der Einstellungen vereinfacht. Es wird dazu die Funktion adminSaveSettings() verwendet.");
+                               break;
+
+                       case '0.0.3': // SQL queries for v0.0.3
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist.");
+                               break;
+
+                       case '0.0.4': // SQL queries for v0.0.4
+                               addConfigAddSql('max_comma', 'TINYINT(3) UNSIGNED NOT NULL DEFAULT 3');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Angezeigte Kommastellen k&ouml;nnen zwischen 0 und 5 eingestellt werden.");
+                               break;
+
+                       case '0.0.5': // SQL queries for v0.0.5
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Problem mit Speicherung der Einstellungen beseitigt.");
+                               break;
+
+                       case '0.0.6': // SQL queries for v0.0.6
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Problem mit Speicherung der Einstellungen endlich beseitigt.");
+                               break;
+
+                       case '0.0.7': // SQL queries for v0.0.7
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Ausgabemodus der CSS-Dateien hinzugef&uuml;gt. Bitte auch das Admin-Template aktualisieren!");
+                               break;
+
+                       case '0.0.8': // SQL queries for v0.0.8
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Erweiterung bleibt wegen integrierten Schalters immer aktiv.");
+                               break;
+
+                       case '0.0.9': // SQL queries for v0.0.9
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Abspeichern der Einstellungen repariert.");
+                               break;
+
+                       case '0.1.0': // SQL queries for v0.2.1
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Folgende Einstellungen k&ouml;nnen auf 0 gesetzt werden:
+<ol>
+<li>Selbe beworbene URL nicht mehr bewerbar (0 = URL kann sofort wieder gebucht werden)</li>
+<li>G&uuml;ltigkeitsdauer der Best&auml;tigungslinks (0 = Best&auml;tigungslinks laufen nie ab)</li>
+<li>Sperrzeit des Mitgliedprofiles nach &Auml;nderung (0 = Mitglied kann sein Account immer und sofort &auml;ndern)</li>
+<li>Profilaktualisierungsinterval (0 = Es wird keine Mail zum Profilaktualisierunng durch das Mitglied ausgesendet(</li>
+<li>Erneute Aussendung der Mail (0 = Siehe oben)</li>
+</ol>");
+                               break;
+
+                       case '0.1.1': // SQL queries for v0.1.1
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Gast- und Mitgliedsmen&uuml;s lassen sich voneinander getrentt ein- und auschalten.");
+                               break;
+
+                       case '0.1.2': // SQL queries for v0.1.2
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("W&ouml;rter <strong>{?mt_word?}</strong>, <strong>{?mt_word2?}</strong> und <strong>{?mt_word3?}</strong> sind austauschbar.");
+                               break;
+
+                       case '0.1.3': // SQL queries for v0.1.3
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Wort &quot;Baustelle&quot; vom Auto-Versand entfernt, da dieser nun klappt.");
+                               break;
+
+                       case '0.1.4': // SQL queries for v0.1.4
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Abspeichern von Einstellungen repariert.");
+                               break;
+
+                       case '0.1.5': // SQL queries for v0.1.5
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Abspeichern von Einstellungen repariert.");
+                               break;
+
+                       case '0.1.6': // SQL queries for v0.1.6
+                               addConfigAddSql('reject_url', "VARCHAR(255) NOT NULL DEFAULT '{?URL?}'");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Bei Ablehnung der URL wird jetzt endlich eine Standard-URL eingesetzt, die konfigurierbar ist. Fehler beim Laden der Konfiguration gefunden.");
+                               break;
+
+                       case '0.1.7': // SQL queries for v0.1.7
+                               addConfigAddSql('currency', "VARCHAR(255) NOT NULL DEFAULT '&euro;'");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Standard-W&auml;hrung der Geb&uuml;hren f&uuml;r alle Erweiterungen geltend hinzugef&uuml;gt.");
+                               break;
+
+                       case '0.1.8': // SQL queries for v0.1.8
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Die sonstigen Einstellungen lassen sich nun nur noch &auml;ndern, wenn die Erweiterung <strong>other</strong> auch installiert ist. Anderfalls gibt es einen SQL-Fehler beim Speichern und GROSS_GESCHRIEBENE Worte im Formular.");
+                               break;
+
+                       case '0.1.9': // SQL queries for v0.1.9
+                               addConfigAddSql('mailid_error_redirect', "ENUM('INDEX','REJECT') NOT NULL DEFAULT 'INDEX'");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Bei fehlerhafter Mail w&auml;hrend der Best&auml;tigung kann wahlweise zur Hauptseite weitergeleitet oder auf die eingestellte Ablehnungsseite umgeleitet werden.");
+                               break;
+
+                       case '0.2.0': // SQL queries for v0.2.0
+                               addConfigChangeSql('mailid_error_redirect', 'mailid_error_redirect', "ENUM('INDEX','REJECT') NOT NULL DEFAULT 'INDEX'");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Bei fehlerhafter Mail w&auml;hrend der Best&auml;tigung kann wahlweise zur Hauptseite weitergeleitet oder auf die eingestellte Ablehnungsseite umgeleitet werden.");
+                               break;
+
+                       case '0.2.1': // SQL queries for v0.2.1
+                               addConfigAddSql('min_age', 'TINYINT(3) UNSIGNED NOT NULL DEFAULT 16');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Minimumalter ist nun konfigurierbar.");
+                               break;
+
+                       case '0.2.2': // SQL queries for v0.2.2
+                               addConfigAddSql('display_debug_sqls', "ENUM('N','Y') NOT NULL DEFAULT 'N'");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("(Fast) alle SQL-Abfragen lassen sich nun zu Debugging-Zwecken (!) einschalten. Nur der Administrator sieht diese unten am Ende der Seite.");
+                               break;
+
+                       case '0.2.3': // SQL queries for v0.2.3
+                               addConfigAddSql('max_send', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 10');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehlende Konfiguration hinzugef&uuml;gt.");
+                               break;
+
+                       case '0.2.4': // SQL queries for v0.2.4
+                               // Register filter
+                               registerFilter(__FILE__, __LINE__, 'page_footer', 'DISPLAY_DEBUG_SQL', FALSE, TRUE, isExtensionDryRun());
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Filter zum Anzeigen (Debug) von ausgef&uuml;hrten SQL-Anweisungen hinzugef&uuml;gt.");
+                               break;
+
+                       case '0.2.5': // SQL queries for v0.2.5
+                               addConfigAddSql('code_length', 'TINYINT(3) UNSIGNED NOT NULL DEFAULT 5');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Codel&auml;nge aus tables.sql rausgeholt.");
+                               break;
+
+                       case '0.2.6': // SQL queries for v0.2.6
+                               addConfigAddSql('internal_stats', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Interne Statistiken sind nun abschaltbar (kann Performance bringen).");
+                               break;
+
+                       case '0.2.7': // SQL queries for v0.2.7
+                               addConfigChangeSql('stats_enabled', 'internal_stats', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Der Suffix <strong>_enabled</strong> in Konfigurationseintr&auml;gen ist deprecated und sollte nicht mehr verwendet werden. Da sonst Wrapper-Funktionsnamen wie z.B. <strong>isStatsEnabledEnabled()</strong> nach streng genommender Namenskonvention entstehen.");
+                               break;
+
+                       case '0.2.8': // SQL queries for v0.2.8
+                               addConfigChangeSql('mailid_error_redirect', 'mailid_error_redirect', "ENUM('INDEX','REJECT') NOT NULL DEFAULT 'INDEX'");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("<strong>mailid_error_redirect</strong> bzw. alle ENUMs haben gross geschriebene Werte.");
+                               break;
+
+                       case '0.2.9': // SQL queries for v0.2.9
+                               addConfigAddSql('word_wrap', 'TINYINT(3) NOT NULL DEFAULT 15');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Anzahl Zeichen f&uuml;r <strong>wordwrap()</strong>-Aufruf hinzugef&uuml;gt.");
+                               break;
+
+                       case '0.3.0': // SQL queries for v0.3.0
+                               addConfigAddSql('check_double_email', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
+                               addConfigAddSql('admin_notify', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
+                               addConfigAddSql('activate_xchange', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 100');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Konfiguration aus allgemeiner <strong>tables.sql</strong> zu dieser Erweiterung verschoben.");
+                               break;
+               } // END - switch
+
+// [EOF]
+?>
diff --git a/inc/extensions/payout/.htaccess b/inc/extensions/payout/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/inc/extensions/payout/mode-update.php b/inc/extensions/payout/mode-update.php
new file mode 100644 (file)
index 0000000..dff898f
--- /dev/null
@@ -0,0 +1,201 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 06/27/2013 *
+ * ===================                          Last change: 06/27/2013 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : mode-update.php                                  *
+ * -------------------------------------------------------------------- *
+ * Short description : Payout extension                                 *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Auszahlung-Erweiterung                           *
+ * -------------------------------------------------------------------- *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2013 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')) {
+       die();
+} // END - if
+
+// @TODO Remove double tabs from all lines
+               switch (getCurrentExtensionVersion()) {
+                       case '0.1.2': // SQL queries for v0.1.2
+                               addAdminMenuSql('payouts', NULL, 'Auszahlungsmanagement','Management der Auszahlungsarten.',8);
+                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admin_menu` SET `action`='payouts',`title`='Einstellungen' WHERE `action`='setup' AND `what`='config_payouts' LIMIT 1");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Adminmen&uuml; hinzugef&uuml;gt.");
+                               break;
+
+                       case '0.1.3': // SQL queries for v0.1.3
+                               addExtensionAddTableColumnSql('payout_types', 'from_account', "VARCHAR(255) NOT NULL DEFAULT ''");
+                               addExtensionAddTableColumnSql('payout_types', 'from_pass', "VARCHAR(255) NOT NULL DEFAULT ''");
+                               addExtensionAddTableColumnSql('payout_types', 'engine_url', "VARCHAR(255) NOT NULL DEFAULT ''");
+                               addExtensionAddTableColumnSql('payout_types', 'engine_ret_ok', "VARCHAR(255) NOT NULL DEFAULT ''");
+                               addExtensionAddTableColumnSql('payout_types', 'engine_ret_failed', "VARCHAR(255) NOT NULL DEFAULT ''");
+                               addExtensionAddTableColumnSql('payout_types', 'pass_enc', "ENUM('md5','base64','none') NOT NULL DEFAULT 'md5'");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Daten f&uuml;r API-Auszahlung hinzugef&uuml;gt.");
+                               break;
+
+                       case '0.1.4': // SQL queries for v0.1.4
+                               addExtensionAddTableColumnSql('user_payouts', 'password', "VARCHAR(255) NOT NULL DEFAULT ''");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Passwort f&uuml;r Auszahlungsarten hinzugef&uuml;gt (API).");
+                               break;
+
+                       case '0.1.5': // SQL queries for v0.1.5
+                               addExtensionAddTableColumnSql('user_payouts', 'target_url', 'LONGTEXT NOT NULL');
+                               addExtensionAddTableColumnSql('user_payouts', 'banner_url', 'LONGTEXT NOT NULL');
+                               addExtensionAddTableColumnSql('user_payouts', 'link_text', "VARCHAR(30) NOT NULL DEFAULT ''");
+                               addExtensionAddTableColumnSql('payout_types', 'allow_url', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Daten f&uuml;r Banner und Textlink hinzugef&uuml;gt (eventuell durch ext-clickbanner veraltet).");
+                               break;
+
+                       case '0.1.6': // SQL queries for v0.1.6
+                               addExtensionChangeTableColumnSql('payout_types', 'pass_enc', 'pass_enc', "ENUM('md5','base64','xxx') NOT NULL DEFAULT 'xxx'");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Passwortverschl&uuml;sselung hinzugef&uuml;gt.");
+                               break;
+
+                       case '0.1.8': // SQL queries for v0.1.8
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Auflistung der Auszahlungen ausgelagert in Template <span class=\"bad\">member_payout.tpl</span>.");
+                               break;
+
+                       case '0.1.9': // SQL queries for v0.1.9
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist.");
+                               break;
+
+                       case '0.2.0': // SQL queries for v0.2.0
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("5 Nachkommastellen implementiert.");
+                               break;
+
+                       case '0.2.1': // SQL queries for v0.2.1
+                               addExtensionChangeTableColumnSql('user_payouts', 'payout_total', 'payout_total', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000');
+                               addExtensionChangeTableColumnSql('payout_types', 'rate', 'rate', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Problem mit Speicherung der Einstellungen beseitigt.");
+                               break;
+
+                       case '0.2.2': // SQL queries for v0.2.2
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Buttons aus Aufgabenauflisten ausgelagert");
+                               break;
+
+                       case '0.2.3': // SQL queries for v0.2.3
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Men&uuml;punkte im Gast-/Mitgliedsbereich k&ouml;nnen nicht mehr aufgerufen werden, wenn die Erweiterung deaktiviert ist.");
+                               break;
+
+                       case '0.2.4': // SQL queries for v0.2.4
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Ausgabe der Auszahlungsm&ouml;glichkeiten im Mitgliedsbereich repariert.");
+                               break;
+
+                       case '0.2.5': // SQL queries for v0.2.5
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Seit <strong>Patch 340</strong> &uuml;berfl&uuml;ssige HTML-Tags entfernt.");
+                               break;
+
+                       case '0.2.6': // SQL queries for v0.2.6
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("IP-Nummer und Browserbezeichnung wird in Admin-Mails eingesetzt.");
+                               break;
+
+                       case '0.2.7': // SQL queries for v0.2.7
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Link zum Mitgliedsprofil in Funktion <u>generateUserProfileLink()</u> ausgelagert.");
+                               break;
+
+                       case '0.2.8': // SQL queries for v0.2.8
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Work-Arount-L&ouml;sung zu tempor&auml;ren Problemen mit der Task-Id eingebaut.");
+                               break;
+
+                       case '0.2.9': // SQL queries for v0.2.9
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Nachricht an Admin bei Auszahlungsanfrage wird endlich versendet.");
+                               break;
+
+                       case '0.3.0': // SQL queries for v0.3.0
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("HTML-Code ausgelagert in Templates und SQL-Anweisungen abgesichert.");
+                               break;
+
+                       case '0.3.1': // SQL queries for v0.3.1
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehler in Auszahlungsfunktion beseitigt, wenn Umrechnungsrate ungleich 1 eingestellt ist.");
+                               break;
+
+                       case '0.3.2': // SQL queries for v0.3.2
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Abspeichern von Einstellungen repariert.");
+                               break;
+
+                       case '0.3.3': // SQL queries for v0.3.3
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Vorbereitung auf die neue Mediendaten v0.0.4.");
+                               break;
+
+                       case '0.3.4': // SQL queries for v0.3.4
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Anzahl zu &uuml;berweisende {?POINTS?} m&uuml;ssen immer gr&ouml;sser 0 sein, ansonsten bricht das Script mit einer Fehlermeldung an das Mitglied ab.");
+                               break;
+
+                       case '0.3.5': // SQL queries for v0.3.5
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Sicherheitsupdate f&uuml;r die Include-Befehle.");
+                               break;
+
+                       case '0.3.6': // SQL queries for v0.3.6
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Hash-Erstellung von <strong>md5()</strong> auf bessere Funktion <strong>generateHash()</strong> umgestellt.");
+                               break;
+
+                       case '0.3.7': // SQL queries for v0.3.7
+                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admin_menu` SET `title`='Auszahlungsmanagement' WHERE `action`='payouts' AND (`what`='' OR `what` IS NULL) LIMIT 1");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Verwaltung nach Management umgestellt.");
+                               break;
+
+                       case '0.3.8': // SQL queries for v0.3.8
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehlerhinweis bei deaktivierter Erweiterung verbessert.");
+                               break;
+               } // END - switch
+
+// [EOF]
+?>
diff --git a/inc/extensions/rallye/.htaccess b/inc/extensions/rallye/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/inc/extensions/rallye/mode-update.php b/inc/extensions/rallye/mode-update.php
new file mode 100644 (file)
index 0000000..5db9e4b
--- /dev/null
@@ -0,0 +1,255 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 06/25/2013 *
+ * ===================                          Last change: 06/25/2013 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : mode-update.php                                  *
+ * -------------------------------------------------------------------- *
+ * Short description : Referral rallye                                  *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Referral Rallyes starten                         *
+ * -------------------------------------------------------------------- *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2013 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')) {
+       die();
+} // END - if
+
+// @TODO Remove double tabs from all lines
+               switch (getCurrentExtensionVersion()) {
+                       case '0.0.1': // SQL queries for v0.0.1
+                               addExtensionAddTableColumnSql('rallye_data', 'expired', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Ablaufen der Rallyes intergriert.");
+                               break;
+
+                       case '0.0.2': // SQL queries for v0.0.2
+                               addExtensionAddTableColumnSql('rallye_users', 'curr_points', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Aktueller {?POINTS?}-Stand wird beachtet.");
+                               break;
+
+                       case '0.0.6': // SQL queries for v0.0.6
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehler <span class=\"notice\">Unknown column 'd.useid' in 'on clause'</span> behoben.");
+                               break;
+
+                       case '0.0.7': // SQL queries for v0.0.7
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehlende Abfrage im Mitlieder-Modul, on Erweiterung auch aktiviert ist.");
+                               break;
+
+                       case '0.0.8': // SQL queries for v0.0.8
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehler <u>Template nicht gefunden</u> behoben und Admin-Formulare ausgelagert");
+                               break;
+
+                       case '0.0.9': // SQL queries for v0.0.9
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist. Und der vorherige Fehler <u>Template nicht gefunden</u> ist endlich beseitigt.");
+                               break;
+
+                       case '0.1.0': // SQL queries for v0.2.1
+                               addExtensionChangeTableColumnSql('rallye_users', 'curr_points', 'curr_points', 'FLOAT(23,5) UNSIGNED NOT NULL DEFAULT 0.00000');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("5 Nachkommastellen implementiert.");
+                               break;
+
+                       case '0.1.1': // SQL queries for v0.1.1
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist.");
+                               break;
+
+                       case '0.1.2': // SQL queries for v0.1.2
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Problem mit Speicherung der Einstellungen beseitigt.");
+                               break;
+
+                       case '0.1.3': // SQL queries for v0.1.3
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Anzeigefehler im Gast-/Mitgliedsbereich behoben.");
+                               break;
+
+                       case '0.1.4': // SQL queries for v0.1.4
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Admin-Mails korregiert.");
+                               break;
+
+                       case '0.1.5': // SQL queries for v0.1.5
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Men&uuml;punkte im Gast-/Mitgliedsbereich k&ouml;nnen nicht mehr aufgerufen werden, wenn die Erweiterung deaktiviert ist.");
+                               break;
+
+                       case '0.1.6': // SQL queries for v0.1.6
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Seit <strong>Patch 340</strong> &uuml;berfl&uuml;ssige HTML-Tags entfernt.");
+                               break;
+
+                       case '0.1.7': // SQL queries for v0.1.7
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Aktivierte bzw. abgelaufene Rallyes werden nur ausserhalb des CSS-Modus geladen (wenn also nicht css.php aufgerufen wurde)");
+                               break;
+
+                       case '0.1.8': // SQL queries for v0.1.8
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Weitere Templates vom Admin-Bereich ausgelagert und Referral-Anazahl in der Mail zur Rallye-Ank&uuml;ndigung repariert.");
+                               break;
+
+                       case '0.1.9': // SQL queries for v0.1.9
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Funktion <u>generateUserProfileLink()</u> mit Verlinkung auf Referral-Liste implementiert.");
+                               break;
+
+                       case '0.2.0': // SQL queries for v0.2.0
+                               addExtensionAddTableColumnSql('rallye_data', 'min_users', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
+                               addExtensionAddTableColumnSql('rallye_data', 'min_prices', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 3');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Ablaufen der Rallyes intergriert. Bauen Sie in Ihr Template <strong>templates/de/emails/member/member_rallye_notify.tpl</strong> folgende zwei Zeilen ein:<br />
+<ul>
+  <li>&#36;DATA&#91;min_users&#93;</li>
+  <li>&#36;DATA&#91;min_prices&#93;</li>
+</ul>
+Zudem sollten Sie mindestens folgende Templates (in <strong>templates/".getLanguage()."/html/guest/</strong> !) aktualisieren:<br />
+<ul>
+  <li><strong>guest_rallye_footer.tpl</strong></li>
+  <li><strong>guest_rallye_header.tpl</strong></li>
+</ul>");
+                               break;
+
+                       case '0.2.1': // SQL queries for v0.2.1
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("W&ouml;rter <strong>{?mt_word?}</strong>, <strong>{?mt_word2?}</strong> und <strong>{?mt_word3?}</strong> sind austauschbar.");
+                               break;
+
+                       case '0.2.2': // SQL queries for v0.2.2
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Links wegen <strong>what=admins_contct</strong> ge&auml;ndert.");
+                               break;
+
+                       case '0.2.3': // SQL queries for v0.2.3
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("HTML-Code ausgelagert in Templates und SQL-Anweisungen abgesichert.");
+                               break;
+
+                       case '0.2.4': // SQL queries for v0.2.4
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Abspeichern von Einstellungen repariert.");
+                               break;
+
+                       case '0.2.5': // SQL queries for v0.2.5
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Men&uuml;punkt &quot;Rallyes verwalten&quot; repariert.");
+                               break;
+
+                       case '0.2.6': // SQL queries for v0.2.6
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Automatisches Starten von Referral-Rallyes repariert.");
+                               break;
+
+                       case '0.2.7': // SQL queries for v0.2.7
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fatalen Fehler beseitigt.");
+                               break;
+
+                       case '0.2.8': // SQL queries for v0.2.8
+                               // Update notes (these will be set as task text!)
+
+                               setExtensionUpdateNotes("Vorbereitung auf die neue Mediendaten v0.0.4.");
+                               break;
+
+                       case '0.2.9': // SQL queries for v0.2.9
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Sicherheitsupdate f&uuml;r die Include-Befehle.");
+                               break;
+
+                       case '0.3.0': // SQL queries for v0.3.0
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("if-Anweisungen auf Funktion <strong>empty()</strong> umgestellt.");
+                               break;
+
+                       case '0.3.1': // SQL queries for v0.3.1
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Erweiterung f&uuml;r automatisch generierte Admin-Kontaktlinks ge&auml;ndert.");
+                               break;
+
+                       case '0.3.2': // SQL queries for v0.3.2
+                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_member_menu` SET `action`='rals',`title`='Referral-Rallye',`sort`=1 WHERE `what`='rallyes' LIMIT 1");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Mitgliedsmen&uuml; komplett umgebaut.");
+                               break;
+
+                       case '0.3.3': // SQL queries for v0.3.3
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Rallyes werden nun nur dann automatisch beseitigt, wenn die Erweiterung <strong>autopurge</strong> installiert und aktiviert ist.");
+                               break;
+
+                       case '0.3.4': // SQL queries for v0.3.4
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehlerhinweis bei deaktivierter Erweiterung verbessert.");
+                               break;
+
+                       case '0.3.5': // SQL queries for 0.3.5
+                               // Register filter
+                               registerFilter(__FILE__, __LINE__, 'extra_autopurge', 'RALLYE_EXTRA_AUTOPURGE', FALSE, TRUE, isExtensionDryRun());
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Filter hinzugef&uuml;gt und ist von <strong>sql_patches</strong> abh&auml;ngig.");
+                               break;
+
+                       case '0.3.6': // SQL queries for v0.3.6
+                               // Register points data
+                               registerExtensionPointsData('rallye_winner', 'points', 'LOCKED', 'DIRECT');
+
+                               // Update notes
+                               setExtensionUpdateNotes("Gewinn aus der Referral-Rallye wird nun &uuml;ber die Tabelle <strong>{OPEN_CONFIG}_MYSQL_PREFIX{CLOSE_CONFIG}_points_data</strong> verwaltet.");
+                               break;
+
+                       case '0.3.7': // SQL queries for v0.3.7
+                               // Register filter
+                               registerFilter(__FILE__, __LINE__, 'init', 'RALLYE_NOTIFY_USERS', FALSE, TRUE, isExtensionDryRun());
+                               registerFilter(__FILE__, __LINE__, 'add_rallye_notify_sqls', 'ADD_RALLYE_SQL_COLUMNS', FALSE, TRUE, isExtensionDryRun());
+
+                               // Update notes
+                               setExtensionUpdateNotes("Weitere Filter hinzugef&uuml;gt.");
+                               break;
+
+                       case '0.3.8': // SQL queries for v0.3.8
+                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admin_menu` SET `what`='list_rallye_prices' WHERE `action`='rallye' AND `what`='config_rallye_prices' LIMIT 1");
+
+                               // Update notes
+                               setExtensionUpdateNotes("Men&uuml; umbenannt, da &quot;config&quot; nur f&uuml;r die Konfigurationstabelle <strong>{?_MYSQL_PREFIX?}_config</strong> ist.");
+                               break;
+               } // END - switch
+
+// [EOF]
+?>
index 19548bffe0445e7c48e27c889e33174ee904a554..34f091dd6396a25eb9ccc1288ec5860a8a5584bf 100644 (file)
@@ -317,7 +317,6 @@ PRIMARY KEY (`id`)",
 
                                // Register points data
                                registerExtensionPointsData('referral_bonus', 'points', 'LOCKED', 'DIRECT');
-                               registerExtensionPointsData('referral_bonus_ref', 'points', 'LOCKED', 'DIRECT');
 
                                // Update notes
                                setExtensionUpdateNotes("Anmeldeformular komplett auf drei Filter umgestrickt (mehr dazu siehe Wiki) und weitere Verwendungszwecke registriert.");
index 350d82f4dba2bbf4a90de03179faedfb435bdcdf..3b8f5039913e70109d3cb876df5cf21e23cda0e0 100644 (file)
@@ -84,9 +84,7 @@ addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_member_menu` SET `action`='main' WHER
 unregisterExtensionPointsData('pool_payback');
 unregisterExtensionPointsData('mail_deleted');
 unregisterExtensionPointsData('admin_add_single');
-unregisterExtensionPointsData('admin_add_single_ref');
 unregisterExtensionPointsData('admin_add_all');
-unregisterExtensionPointsData('admin_add_all_ref');
 
 // Unregister filter
 unregisterFilter(__FILE__, __LINE__, 'member_login_check', 'RESET_USER_LOGIN_FAILURE', TRUE, isExtensionDryRun());
index 94a80cacc794d1920e1bff571a5a555bdadf4044..e1bd59226be7a6fe3cc1a495a077fcaa6ecd4668 100644 (file)
@@ -838,9 +838,7 @@ INDEX (`history_last_used` DESC)",
 
                                // Register points data
                                registerExtensionPointsData('admin_add_single', 'points', 'LOCKED', 'DIRECT');
-                               registerExtensionPointsData('admin_add_single_ref', 'points', 'LOCKED', 'DIRECT');
                                registerExtensionPointsData('admin_add_all', 'points', 'LOCKED', 'DIRECT');
-                               registerExtensionPointsData('admin_add_all_ref', 'points', 'LOCKED', 'DIRECT');
 
                                // Update notes (these will be set as task text!)
                                setExtensionUpdateNotes("Filter zum Initialisieren von ext-sql_patches registriert und Eintr&auml;ge in <strong>{?_MYSQL_PREFIX?}_points_data</strong> hinzugef&uuml;gt.");
@@ -927,6 +925,19 @@ PRIMARY KEY (`server_name_id`)
                                // Update notes (these will be set as task text!)
                                setExtensionUpdateNotes("Spalten umbenannt, damit die Namen (Verwendung) nun eindeutiger sind.");
                                break;
+
+                       case '0.9.9': // SQL queries for v0.9.9
+                               addConfigAddSql('last_yearly', 'SMALLINT(4) UNSIGNED ZEROFILL NOT NULL DEFAULT ' . getYear());
+                               addConfigChangeSql('pass_len', 'min_password_length', 'TINYINT(2) UNSIGNED NOT NULL DEFAULT 5');
+                               addConfigAddSql('min_password_score', 'TINYINT(2) UNSIGNED NOT NULL DEFAULT 3');
+                               addModuleSql('api', '{OPEN_LANGUAGE}MODULE_GENERIC_API_TITLE{CLOSE_LANGUAGE}', 'Y', 'Y', 'N', 'N');
+
+                               // Make this depending on ext-mods
+                               addExtensionDependency('mods');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Jahres-Reset + generelles API-Modul hinzugef&uuml;gt.");
+                               break;
                } // END - switch
 
 // [EOF]
diff --git a/inc/extensions/surfbar/.htaccess b/inc/extensions/surfbar/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/inc/extensions/surfbar/mode-setup.php b/inc/extensions/surfbar/mode-setup.php
new file mode 100644 (file)
index 0000000..25493cc
--- /dev/null
@@ -0,0 +1,213 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 06/25/2013 *
+ * ===================                          Last change: 06/25/2013 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : mode-setup.php                                   *
+ * -------------------------------------------------------------------- *
+ * Short description : A visitor add-on for your members                *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Ein Besuchertausch fuer Ihre Mitglieder          *
+ * -------------------------------------------------------------------- *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2013 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')) {
+       die();
+} // END - if
+
+// @TODO Remove double tabs from all lines
+               // SQL commands to run (surfbar URLs)
+               addDropTableSql('surfbar_urls');
+               addCreateTableSql('surfbar_urls', "
+`url_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
+`url_userid` BIGINT(20) UNSIGNED NULL DEFAULT NULL,
+`url_package_id` BIGINT(20) UNSIGNED NULL DEFAULT NULL,
+`url` VARCHAR(255) NOT NULL DEFAULT '',
+`url_last_salt` VARCHAR(255) NOT NULL DEFAULT '',
+`url_views_total` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`url_views_max` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`url_views_allowed` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`url_status` ENUM('PENDING', 'ACTIVE', 'LOCKED', 'STOPPED', 'REJECTED', 'DELETED', 'MIGRATED', 'DEPLETED') NOT NULL DEFAULT 'PENDING',
+`url_registered` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
+`url_last_locked` TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00',
+`url_lock_reason` VARCHAR(255) NOT NULL DEFAULT '',
+`url_reject_reason` VARCHAR(255) NOT NULL DEFAULT '',
+`url_fixed_reload` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`url_fixed_waiting` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+PRIMARY KEY (`url_id`),
+UNIQUE INDEX `userid_url` (`url_userid`, `url`),
+INDEX `status_userid` (`url_status`, `url_userid`),
+INDEX (`url_package_id`)",
+                       'Visitor add-on URLs');
+
+               // Booking packages for members
+               addDropTableSql('surfbar_packages');
+               addCreateTableSql('surfbar_packages', "
+`package_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
+`package_reload` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`package_waiting` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`package_points_costs` FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000,
+`package_points_reward` FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000,
+PRIMARY KEY (`package_id`),
+UNIQUE INDEX `package` (`package_reload`, `package_waiting`)",
+                       'Booking packages');
+
+               // Reload locks
+               addDropTableSql('surfbar_locks');
+               addCreateTableSql('surfbar_locks', "
+`locks_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
+`locks_userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`locks_url_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`locks_last_surfed` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
+PRIMARY KEY (`locks_id`),
+UNIQUE INDEX `userid_url` (`locks_userid`, `locks_url_id`),
+INDEX (`locks_url_id`)",
+                       'Vistor-addon reload locks');
+
+               // Visitor add-on salts
+               addDropTableSql('surfbar_salts');
+               addCreateTableSql('surfbar_salts', "
+`salts_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
+`salts_userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`salts_url_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`salts_last_salt` VARCHAR(255) NOT NULL DEFAULT '',
+PRIMARY KEY (`salts_id`),
+UNIQUE INDEX `salts_userid_url` (`salts_userid`, `salts_url_id`),
+INDEX (`salts_url_id`)",
+                       'Visitor add-on last used salts');
+
+               // Statistics
+               addDropTableSql('surfbar_stats');
+               addCreateTableSql('surfbar_stats', "
+`stats_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
+`stats_userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`stats_url_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`stats_count` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`stats_last_surfed` TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
+PRIMARY KEY (`stats_id`),
+UNIQUE INDEX `userid_url` (`stats_userid`, `stats_url_id`),
+INDEX (`stats_url_id`)",
+                       'Visitor add-on Statistics');
+
+               // Member actions pending on status
+               addDropTableSql('surfbar_actions');
+               addCreateTableSql('surfbar_actions', "
+`actions_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
+`actions_status` ENUM('PENDING', 'ACTIVE', 'LOCKED', 'STOPPED', 'REJECTED', 'DELETED', 'MIGRATED', 'DEPLETED') NULL DEFAULT NULL,
+`actions_action` ENUM('EDIT', 'DELETE', 'PAUSE', 'UNPAUSE', 'FRAMETEST', 'RETREAT', 'RESUBMIT', 'BOOKNOW') NULL DEFAULT NULL,
+`actions_new_status` ENUM('PENDING', 'ACTIVE', 'LOCKED', 'STOPPED', 'REJECTED', 'DELETED', 'MIGRATED', 'DEPLETED') NULL DEFAULT NULL,
+PRIMARY KEY (`actions_id`),
+UNIQUE INDEX `status_action` (`actions_status`, `actions_action`)",
+                       'Visitor add-on Member Actions');
+
+               // Member actions
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('PENDING', 'RETREAT', 'DELETED')");
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('PENDING', 'FRAMETEST',NULL)");
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('PENDING', 'EDIT',NULL)");
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('ACTIVE', 'EDIT', 'PENDING')");
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('ACTIVE', 'DELETE', 'DELETED')");
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('ACTIVE', 'PAUSE', 'STOPPED')");
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('ACTIVE', 'FRAMETEST',NULL)");
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('LOCKED', 'DELETE', 'DELETED')");
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('LOCKED', 'FRAMETEST',NULL)");
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('LOCKED', 'RESUBMIT', 'PENDING')");
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('STOPPED', 'EDIT', 'PENDING')");
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('STOPPED', 'DELETE', 'DELETED')");
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('STOPPED', 'UNPAUSE', 'PENDING')");
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('DEPLETED', 'EDIT', 'PENDING')");
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('DEPLETED', 'DELETE', 'DELETED')");
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('REJECTED', 'EDIT', 'PENDING')");
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('REJECTED', 'DELETE', 'DELETED')");
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('REJECTED', 'FRAMETEST',NULL)");
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('REJECTED', 'RESUBMIT', 'PENDING')");
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('MIGRATED', 'EDIT', 'MIGRATED')");
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('MIGRATED', 'DELETE', 'DELETED')");
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('MIGRATED', 'FRAMETEST',NULL)");
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_surfbar_actions` (`actions_status`, `actions_action`, `actions_new_status`) VALUES ('MIGRATED', 'BOOKNOW', 'PENDING')");
+
+               // Config entries
+               addConfigAddSql('surfbar_payment_model', "ENUM('STATIC', 'DYNAMIC') NOT NULL DEFAULT 'STATIC'");
+               addConfigAddSql('surfbar_static_reward', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.25000');
+               addConfigAddSql('surfbar_static_costs', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 1.00000');
+               addConfigAddSql('surfbar_static_time', 'SMALLINT(6) UNSIGNED NOT NULL DEFAULT 60');
+               addConfigAddSql('surfbar_static_lock', 'SMALLINT(6) UNSIGNED NOT NULL DEFAULT ' . (60 * 5));
+               addConfigAddSql('surfbar_dynamic_percent', 'FLOAT(10,5) UNSIGNED NOT NULL DEFAULT 10.00000');
+               addConfigAddSql('surfbar_max_order', 'INT(7) UNSIGNED NOT NULL DEFAULT 10');
+               addConfigAddSql('surfbar_restart_time', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT ' . (60 * 6));
+               addConfigAddSql('surfbar_auto_start', "ENUM('Y', 'N') NOT NULL DEFAULT 'Y'");
+               addConfigAddSql('surfbar_migrate_urls', "ENUM('Y', 'N') NOT NULL DEFAULT 'Y'");
+               addConfigAddSql('surfbar_total_counter', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
+               addConfigAddSql('surfbar_daily_counter', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
+               addConfigAddSql('surfbar_yester_counter', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
+               addConfigAddSql('surfbar_weekly_counter', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
+               addConfigAddSql('surfbar_monthly_counter', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
+               addConfigAddSql('surfbar_stats_reload', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 30');
+               addConfigAddSql('surfbar_purge_deleted', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT ' . (getOneDay() * 7));
+               addConfigAddSql('surfbar_purge_migrated', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT ' . (getOneDay() * 3));
+               addConfigAddSql('surfbar_pause_mode', "ENUM('INTERNAL', 'EXERNAL') NOT NULL DEFAULT 'INTERNAL'");
+               addConfigAddSql('surfbar_pause_url', "VARCHAR(255) NOT NULL DEFAULT ''");
+               addConfigAddSql('surfbar_notify_limits', "ENUM('Y', 'N') NOT NULL DEFAULT 'Y'");
+               addConfigAddSql('surfbar_notify_admin_unlock', "ENUM('Y', 'N') NOT NULL DEFAULT 'Y'");
+               addConfigAddSql('surfbar_warn_low_points', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 100');
+               addConfigAddSql('surfbar_low_interval', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT {?ONE_DAY?}');
+               addConfigAddSql('surfbar_migrate_order', "ENUM('Y', 'N') NOT NULL DEFAULT 'Y'");
+               addConfigAddSql('surfbar_notification_mode', "ENUM('INSTANT', 'RESET') NOT NULL DEFAULT 'INSTANT'");
+               addConfigAddSql('surfbar_guest_login_form', "ENUM('Y', 'N') NOT NULL DEFAULT 'Y'");
+
+               // Extend user data
+               addExtensionAddTableColumnSql('user_data', 'surfbar_low_notified', "TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00'");
+
+               // Member menus
+               addMemberMenuSql('surfbar', NULL, 'Besuchertausch', 4);
+               addMemberMenuSql('surfbar', 'start_surfbar', 'Besuchertausch starten', 1);
+               addMemberMenuSql('surfbar', 'book_surfbar', 'Seite buchen', 2);
+               addMemberMenuSql('surfbar', 'list_surfbar', 'Seiten-Management', 3);
+               addMemberMenuSql('surfbar', 'stats_surfbar', 'Seiten-Statistik', 4);
+
+               // Admin menus
+               addAdminMenuSql('surfbar', NULL, 'Besuchertausch', 'URLs im Besuchertausch verwalten, Einstellungen &auml;ndern und vieles mehr.', 7);
+               addAdminMenuSql('surfbar', 'add_surfbar_url', 'URL hinzuf&uuml;gen', 'F&uuml;gen Sie URLs z.B. von Werbenetzwerken hinzu, oder Ihre eigenen Projekte. <strong>Vorsicht!</strong> Ihnen muss es auch gestattet sein, URLs aus dem Werbenetzwerk im Besuchertausch einzuf&uuml;gen.', 1);
+               addAdminMenuSql('surfbar', 'list_surfbar_urls', 'URLs verwalten', 'Verwalten Sie hier alle im Besuchertausch befindlichen URLs mit nur wenigen Klicks.', 2);
+               addAdminMenuSql('surfbar', 'unlock_surfbar_urls', 'Wartende URLs freigeben', 'Geben Sie hier f&uuml;r den Besuchertausch gebuchte URLs frei.', 3);
+               addAdminMenuSql('surfbar', 'list_surfbar_packages', 'Buchungspakete verwalten', '&quot;Buchungspakete&quot; erlauben dem Mitglied nur von Ihnen definierte Reloadzeiten und Mindestauffenthalte.', 4);
+               addAdminMenuSql('surfbar', 'config_surfbar', 'Einstellungen', 'Einstellungen am Besuchertausch &auml;ndern, wie Festverg&uuml;tung, prozentuale Ref-Verg&uuml;tung und vieles mehr.', 5);
+               addAdminMenuSql('surfbar', 'surfbar_stats', 'Statistiken', 'Detailierte Statistiken zu einer ausgew&auml;hlten URL anzeigen.', 6);
+               addAdminMenuSql('surfbar', 'list_surfbar_actions', 'Mitglieder-Aktionen', 'Listet alle Mitglieder-Aktionen auf.', 7);
+
+               // Register module
+               addModuleSql('surfbar', '{OPEN_LANGUAGE}MODULE_SURFBAR_TITLE{CLOSE_LANGUAGE}', 'Y', 'Y', 'N', 'N');
+
+               // Insert data for points accounts
+               registerExtensionPointsData('monthly_surfbar', 'points', 'LOCKED', 'DIRECT');
+
+               // Register filters
+               registerFilter(__FILE__, __LINE__, 'post_change_surfbar_url_status', 'SURFBAR_CHANGE_URL_STATUS', FALSE, TRUE, isExtensionDryRun());
+               registerFilter(__FILE__, __LINE__, 'pre_change_surfbar_url_status', 'SURFBAR_CHANGE_URL_VALIDATE_DATA', FALSE, TRUE, isExtensionDryRun());
+
+// [EOF]
+?>
diff --git a/inc/extensions/task/.htaccess b/inc/extensions/task/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/inc/extensions/task/mode-update.php b/inc/extensions/task/mode-update.php
new file mode 100644 (file)
index 0000000..2bfb09b
--- /dev/null
@@ -0,0 +1,219 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 06/25/2013 *
+ * ===================                          Last change: 06/25/2013 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : mode-update.php                                  *
+ * -------------------------------------------------------------------- *
+ * Short description : Task management                                  *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Aufgabenverwaltung                               *
+ * -------------------------------------------------------------------- *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2013 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')) {
+       die();
+} // END - if
+
+// @TODO Remove double tabs from all lines
+               switch (getCurrentExtensionVersion()) {
+                       case '0.0.1': // SQL queries for v0.0.1
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Veraltetes Update entfernt.");
+                               break;
+
+                       case '0.0.1': // SQL queries for v0.0.1
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Unn&ouml;tige Script-Teile aus what-list_tasks.php herausgel&ouml;scht; beim Anzeigen einer Extension-Update, oder -Register Aufgabe werden bei eingeschaltetem Verbose-Modus alle SQL-Anweisungen aufgelistet.");
+                               break;
+
+                       case '0.0.4': // SQL queries for v0.0.4
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehler <div class=\"notice\">Warning: Missing argument 2 for create_timestamp_from_selections() in {?PATH?}inc/libs/pro_functions.php on line 227</div> behoben.");
+                               break;
+
+                       case '0.0.5': // SQL queries for v0.0.5
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("&amp;admin= in &amp;amp;admin= umgewandelt.");
+                               break;
+
+                       case '0.0.6': // SQL queries for v0.0.6
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Wegen des Theme-Supportes hat sich die URL zur CSS-Datei ge&auml;ndert.");
+                               break;
+
+                       case '0.0.7': // SQL queries for v0.0.7
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Erstellung der Extra-&Uuml;bersichten verbessert.");
+                               break;
+
+                       case '0.0.8': // SQL queries for v0.0.8
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist.");
+                               break;
+
+                       case '0.0.9': // SQL queries for v0.0.9
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehler bei Abfrage der payout-Erweiterung beseitigt.");
+                               break;
+
+                       case '0.1.0': // SQL queries for v0.2.1
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Task-Liste ausgelagert als Template");
+                               break;
+
+                       case '0.1.1': // SQL queries for v0.1.1
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Design &quot;Solid-Business&quot; eingebaut.");
+                               break;
+
+                       case '0.1.2': // SQL queries for v0.1.2
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Seit <strong>Patch 340</strong> &uuml;berfl&uuml;ssige HTML-Tags entfernt.");
+                               break;
+
+                       case '0.1.3': // SQL queries for v0.1.3
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Link zum Mitgliedsprofil in Funktion <u>generateUserProfileLink()</u> ausgelagert.");
+                               break;
+
+                       case '0.1.4': // SQL queries for v0.1.4
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("W&ouml;rter <strong>{?mt_word?}</strong>, <strong>{?mt_word2?}</strong> und <strong>{?mt_word3?}</strong> sind austauschbar.");
+                               break;
+
+                       case '0.1.5': // SQL queries for v0.1.5
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Links wegen <strong>what=admins_contct</strong> ge&auml;ndert.");
+                               break;
+
+                       case '0.1.6': // SQL queries for v0.1.6
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Weitere Direkt-Links eingebaut:<br />
+<ul>
+  <li>L&auml;ndercodes</li>
+  <li>Wartende Verdopplungen</li>
+  <li><strong>Ge&auml;ndert:</strong> Wartende Auszahlungen</li>
+  <li>Teilnehmer an der Aktiv-Rallye</li>
+  <li>Nett hinweisende Linktitel hinzugef&uuml;gt. :-)</li>
+</ul>");
+                               break;
+
+                       case '0.1.7': // SQL queries for v0.1.7
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Direkt Links zum Sponsorenbereich vorbereitend eingebaut.");
+                               break;
+
+                       case '0.1.8': // SQL queries for v0.1.8
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Es werden alle installierten und aktivierten Themes angezeigt und verlinkt.");
+                               break;
+
+                       case '0.1.9': // SQL queries for v0.1.9
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("CSS-Datei in general.css verschmolzen (Patch 435!)");
+                               break;
+
+                       case '0.2.0': // SQL queries for v0.2.0
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Alle Administratoren, Referral-Banner und aktivierte Referral-Banner werden nun eingeblendet.");
+                               break;
+
+                       case '0.2.1': // SQL queries for v0.2.1
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Problem mit &uuml;berlanger Textbreite beseitigt.");
+                               break;
+
+                       case '0.2.2': // SQL queries for v0.2.2
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Link zum Freischalten von Sponoren-Accounts korregiert.");
+                               break;
+
+                       case '0.2.3': // SQL queries for v0.2.3
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Sortierungsreihenfolge grundlegend ge&auml;ndert: Es wird jetzt nach Mitglieds-Id, Aufgabenbereich, Infos und nach dem Erstellunsdatum sortiert.");
+                               break;
+
+                       case '0.2.4': // SQL queries for v0.2.4
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Abspeichern von Einstellungen repariert.");
+                               break;
+
+                       case '0.2.5': // SQL queries for v0.2.5
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("<strong>Nur mit bonus v0.6.9 oder h&ouml;her:</strong> Zuschaltbare Bonis werden auch bei der Ermittlung Anzahl teilnehmender Mitglieder mit ber&uumk;cksichtigt.");
+                               break;
+
+                       case '0.2.6': // SQL queries for v0.2.6
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Teilnehmer der Bettel-Rallye werden angezeigt.");
+                               break;
+
+                       case '0.2.7': // SQL queries for v0.2.7
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Link zum direkten Aufheben einer Urlaubsschaltung eines Mitgliedes korregiert.");
+                               break;
+
+                       case '0.2.8': // SQL queries for v0.2.8
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Sicherheitsupdate f&uuml;r die Include-Befehle.");
+                               break;
+
+                       case '0.2.9': // SQL queries for v0.2.9
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("if-Anweisungen auf Funktion <strong>empty()</strong> umgestellt. Update-Aufgaben werden nach &quot;Bearbeitung&quot; nicht mehr als <strong>Erledigt</strong> gesetzt. Dies hatte sonst den Anschein, die Update-Aufgaben m&uuml;ssten erledigt werden, um die Erweiterungs-Updates einzuspielen, was aber automatisch geschieht.");
+                               break;
+
+                       case '0.3.0': // SQL queries for v0.3.0
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Export-Accounts werden in Task-&Uuml;bersicht aufgelistet.");
+                               break;
+
+                       case '0.3.1': // SQL queries for v0.3.1
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Diverse Fixes an den Templates (Notice-Hinweise vom PHP-Interpreter entfernt).");
+                               break;
+
+                       case '0.3.2': // SQL queries for v0.3.2
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("H&auml;ngt nun von <u>ext-user</u> ab.");
+                               break;
+
+                       case '0.3.3': // SQL queries for v0.3.3
+                               addExtensionChangeTableColumnSql('task_system', 'assigned_admin', 'assigned_admin', 'BIGINT(20) UNSIGNED NULL DEFAULT NULL');
+                               addExtensionChangeTableColumnSql('task_system', 'userid', 'userid', 'BIGINT(20) UNSIGNED NULL DEFAULT NULL');
+                               addExtensionSql('UPDATE `{?_MYSQL_PREFIX?}_task_system` SET `assigned_admin`=NULL WHERE `assigned_admin`=0');
+                               addExtensionSql('UPDATE `{?_MYSQL_PREFIX?}_task_system` SET `userid`=NULL WHERE `userid`=0');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Zugewiesener Admin und User-Id d&uuml;rfen nun NULL sein.");
+                               break;
+               } // END - switch
+
+// [EOF]
+?>
diff --git a/inc/extensions/transaction/.htaccess b/inc/extensions/transaction/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/inc/extensions/transaction/mode-setup.php b/inc/extensions/transaction/mode-setup.php
new file mode 100644 (file)
index 0000000..b690389
--- /dev/null
@@ -0,0 +1,44 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 01/14/2013 *
+ * ===================                          Last change: 01/14/2013 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : mode-setup.php                                   *
+ * -------------------------------------------------------------------- *
+ * Short description : Transactions                                     *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Transaktionen                                    *
+ * -------------------------------------------------------------------- *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2013 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')) {
+       die();
+} // END - if
+
+// [EOF]
+?>
diff --git a/inc/extensions/transfer/.htaccess b/inc/extensions/transfer/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/inc/extensions/transfer/mode-setup.php b/inc/extensions/transfer/mode-setup.php
new file mode 100644 (file)
index 0000000..095feb7
--- /dev/null
@@ -0,0 +1,94 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 06/25/2013 *
+ * ===================                          Last change: 06/25/2013 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : mode-setup.php                                   *
+ * -------------------------------------------------------------------- *
+ * Short description : Point transfers between members                  *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Punktetransfers zwischen Mitgliedern             *
+ * -------------------------------------------------------------------- *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2013 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')) {
+       die();
+} // END - if
+
+// @TODO Remove double tabs from all lines
+               // Transfer from a member
+               addDropTableSql('user_transfers_in');
+               addCreateTableSql('user_transfers_in', "
+`id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
+`userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`from_userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`points` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`reason` VARCHAR(255) NOT NULL DEFAULT '',
+`time_trans` VARCHAR(14) NOT NULL DEFAULT 0,
+`trans_id` VARCHAR(12) NOT NULL DEFAULT '',
+PRIMARY KEY (`id`),
+INDEX (`userid`),
+INDEX (`from_userid`)",
+                       'Ingoing points transfers');
+
+               // Transfers to a member
+               addDropTableSql('user_transfers_out');
+               addCreateTableSql('user_transfers_out', "
+`id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
+`userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`to_userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`points` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`reason` VARCHAR(255) NOT NULL DEFAULT '',
+`time_trans` VARCHAR(14) NOT NULL DEFAULT 0,
+`trans_id` VARCHAR(12) NOT NULL DEFAULT '',
+PRIMARY KEY (`id`),
+INDEX (`userid`),
+INDEX (`to_userid`)",
+                       'Outgoing points transfers');
+
+               // Admin menu
+               addAdminMenuSql('transfer', NULL, '{OPEN_CONFIG}POINTS{CLOSE_CONFIG}-Transfer','Verwalten Sie hier die {OPEN_CONFIG}POINTS{CLOSE_CONFIG}-Transaktionen zwischen Ihren Mitgliedern.', 7);
+               addAdminMenuSql('transfer','list_transfer','Auflisten','Hier bekommen Sie alle ein- und ausgehende Transaktionen aufgelistet.', 1);
+               addAdminMenuSql('transfer','config_transfer','Einstellungen','Stellen Sie ein, wie viele Transaktionen aufgelistet werden sollen und wie alt diese werden d&uuml;rfen. Die evtl. installierte autopurge-Erweiterung kann dann automatisch die veralteten Transktionen l&ouml;schen.', 2);
+               addAdminMenuSql('transfer','del_transfer','Manuell l&ouml;schen','Hier k&ouml;nnen Sie - abgesehen von der automatischen L&ouml;schung - Transaktionen selber l&ouml;schen. Bitte beachten Sie, dass immer aus- und eingehende Transaktionen gleichzeitig gel&ouml;scht werden.', 3);
+
+               // Member menu
+               addMemberMenuSql('extras', 'transfer', '{OPEN_CONFIG}POINTS{CLOSE_CONFIG}-Transfer', 5);
+
+               // Add config values
+               addConfigAddSql('transfer_max', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 50');
+               addConfigAddSql('transfer_age', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT ' . (getOneDay() * 28));
+               addConfigAddSql('transfer_timeout', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT {?ONE_DAY?}');
+               addConfigAddSql('transfer_balance', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 100');
+               addConfigAddSql('transfer_code', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 5');
+
+               // Add row(s) to user's data
+               addExtensionAddTableColumnSql('user_data', 'opt_in', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
+
+// [EOF]
+?>
diff --git a/inc/extensions/transfer/mode-update.php b/inc/extensions/transfer/mode-update.php
new file mode 100644 (file)
index 0000000..3306a79
--- /dev/null
@@ -0,0 +1,203 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 06/25/2013 *
+ * ===================                          Last change: 06/25/2013 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : mode-update.php                                  *
+ * -------------------------------------------------------------------- *
+ * Short description : Point transfers between members                  *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Punktetransfers zwischen Mitgliedern             *
+ * -------------------------------------------------------------------- *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2013 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')) {
+       die();
+} // END - if
+
+// @TODO Remove double tabs from all lines
+               switch (getCurrentExtensionVersion()) {
+                       case '0.0.2': // SQL queries for v0.0.2
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehler <div class=\"notice\">Warning: Missing argument 2 for create_timestamp_from_selections() in {?PATH?}inc/libs/pro_functions.php on line 227</div> behoben.");
+                               break;
+
+                       case '0.0.3': // SQL queries for v0.0.3
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("&Uuml;berfl&uuml;ssige unset()-Anweisungen aus der what-config_transfer.php entfernt. Dies wird bereits von der eigenen Funktion adminSaveSettings() erledigt.");
+                               break;
+
+                       case '0.0.3': // SQL queries for v0.0.3
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehlende Abfrage im Mitlieder-Modul, on Erweiterung auch aktiviert ist.");
+                               break;
+
+                       case '0.0.5': // SQL queries for v0.0.5
+                               addConfigAddSql('ap_transfer', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Link <span class=\"bad\">Auflisten</span> im Admin-Bereich hatte das eingeloggte Mitglied und nicht den eingeloggten Admin abgefragt. Automatisches L&ouml;schen von veraltete Eintr&auml;gen kann unabh&auml;ngig von der autopurge-Erweiterung de-/aktiviert werden. Bitte aktualisieren Sie auch die beiden Admin-Templates!");
+                               break;
+
+                       case '0.0.6': // SQL queries for v0.0.6
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Wegen des Theme-Supportes hat sich die URL zur CSS-Datei ge&auml;ndert.");
+                               break;
+
+                       case '0.0.7': // SQL queries for v0.0.7
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist.");
+                               break;
+
+                       case '0.0.8': // SQL queries for v0.0.8
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Problem mit E in Transaktionsnummer beseitigt.");
+                               break;
+
+                       case '0.0.9': // SQL queries for v0.0.9
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Problem mit Speicherung der Einstellungen beseitigt.");
+                               break;
+
+                       case '0.1.0': // SQL queries for v0.2.1
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Men&uuml;punkte im Gast-/Mitgliedsbereich k&ouml;nnen nicht mehr aufgerufen werden, wenn die Erweiterung deaktiviert ist.");
+                               break;
+
+                       case '0.1.1': // SQL queries for v0.1.1
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Design &quot;Solid-Business&quot; eingebaut.");
+                               break;
+
+                       case '0.1.2': // SQL queries for v0.1.2
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Seit <strong>Patch 340</strong> &uuml;berfl&uuml;ssige HTML-Tags entfernt.");
+                               break;
+
+                       case '0.1.3': // SQL queries for v0.1.3
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("IP-Nummer und Browserbezeichnung wird in Admin-Mails eingesetzt.");
+                               break;
+
+                       case '0.1.4': // SQL queries for v0.1.4
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Link zum Mitgliedsprofil in Funktion <u>generateUserProfileLink()</u> ausgelagert.");
+                               break;
+
+                       case '0.1.5': // SQL queries for v0.1.5
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Template <u>admin_config_transfer_pro.tpl</u> ist &uuml;berfl&uuml;ssig geworden. Bitte l&ouml;schen Sie dies!");
+                               break;
+
+                       case '0.1.6': // SQL queries for v0.1.6
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("W&ouml;rter <strong>{?mt_word?}</strong>, <strong>{?mt_word2?}</strong> und <strong>{?mt_word3?}</strong> sind austauschbar.");
+                               break;
+
+                       case '0.1.7': // SQL queries for v0.1.7
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Wort <strong>Punkte</strong> dynamisiert.");
+                               break;
+
+                       case '0.1.8': // SQL queries for v0.1.8
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("HTML-Code ausgelagert in Templates und SQL-Anweisungen abgesichert.");
+                               break;
+
+                       case '0.1.9': // SQL queries for v0.1.9
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Parser-Error im Mitgliedsbereich beseitigt.");
+                               break;
+
+                       case '0.2.0': // SQL queries for v0.2.0
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Abspeichern von Einstellungen repariert.");
+                               break;
+
+                       case '0.2.1': // SQL queries for v0.2.1
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Durchf&uuml;hrung des Transfers korregiert.");
+                               break;
+
+                       case '0.2.2': // SQL queries for v0.2.2
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Sicherheitsupdate f&uuml;r die Include-Befehle.");
+                               break;
+
+                       case '0.2.3': // SQL queries for v0.2.3
+                               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu_las` (`la_id`, `la_action`, `la_what`) VALUES ('member', '', 'list_transfer')");
+                               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu_las` (`la_id`, `la_action`, `la_what`) VALUES ('member', '', 'del_transfer')");
+                               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu_las` (`la_id`, `la_action`, `la_what`) VALUES ('config', '', 'config_transfer')");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Erweiterung in's neue Men&uuml;system integriert.");
+                               break;
+
+                       case '0.2.4': // SQL queries for v0.2.4
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("<strong>Touring-Code wiederholen</strong> nach <strong>Touring-Code eingeben</strong> hin ge&auml;ndert.");
+                               break;
+
+                       case '0.2.5': // SQL queries for v0.2.5
+                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_member_menu` SET `action`='extras',`sort`=5 WHERE `what`='transfer' LIMIT 1");
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Eintrag im Mitgliedsmen&uuml; verschoben.");
+                               break;
+
+                       case '0.2.6': // SQL queries for v0.2.6
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Hash-Erstellung von <strong>md5()</strong> auf bessere Funktion <strong>generateHash()</strong> umgestellt.");
+                               break;
+
+                       case '0.2.7': // SQL queries for v0.2.7
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Die {?POINTS?} k&ouml;nnen nun wieder wie gewohnt transferiert werden. Der Grund f&uuml;r <span class=\"bad\">{--MEMBER_TRANSFER_INVALID_PASSWORD--}</span> war, dass der Cookie-Hash ein anderer ist, als der in der Datenbank... :-/");
+                               break;
+
+                       case '0.2.8': // SQL queries for v0.2.8
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehlermeldung <span class=\"bad\">Notice: Undefined index: to_userid in {?PATH?}/inc/modules/member/what-transfer.php on line 301</span> gefixt. Danke an <a href=\"http://forum.mxchange.org/profile-8.html\" target=\"_blank\" title=\"Forumprofil von Piter01\">Piter01</a>.");
+                               break;
+
+                       case '0.2.9': // SQL queries for v0.2.9
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Fehlerhinweis bei deaktivierter Erweiterung verbessert.");
+                               break;
+
+                       case '0.3.0': // SQL queries for v0.3.0
+                               // Register points data
+                               registerExtensionPointsData('transfer', 'points', 'LOCKED', 'DIRECT');
+
+                               // Update notes
+                               setExtensionUpdateNotes("&Uuml;nerweisungen anderer Mitglieder werden nun &uuml;ber die Tabelle <strong>{OPEN_CONFIG}_MYSQL_PREFIX{CLOSE_CONFIG}_points_data</strong> verwaltet.");
+                               break;
+               } // END - switch
+
+// [EOF]
+?>
index 5abfa6efb8e874d703df93c1daac8f09bf656439..7b0f95bcd842b3c18e8d9848fbedd66817b45e88 100644 (file)
@@ -154,7 +154,7 @@ addAdminMenuSql('user', 'del_user', 'Mitglied l&ouml;schen', 'L&ouml;schen Sie h
 addAdminMenuSql('user', 'lock_user', 'Mitglied sperren / entsperren', 'Sperren Sie Mitglied, die zu viele unbest&auml;tigte Mails haben oder gegen Ihre AGBs verstossen haben &uuml;ber diesen Men&uuml;punkt.', 3);
 addAdminMenuSql('user', 'list_user', 'Mitglieder auflisten', 'Listen Sie alle Mitglied oder eingeschr&auml;nkt nach Suchkritieren Ihre Userdatenbank auf. Sie k&ouml;nen per Klick auf die Usernummer sich Details zum Mitglied ansehen.', 4);
 addAdminMenuSql('user', 'add_points', '{OPEN_CONFIG}POINTS{CLOSE_CONFIG} gutschreiben', 'Buchen Sie einem Mitglied direkt {OPEN_CONFIG}POINTS{CLOSE_CONFIG} auf. Sie k&ouml;nnen dazu auch einen Kommentar mitsenden.', 5);
-addAdminMenuSql('user', 'edit_user', 'Account editieren', 'Daten eines Mitglieder-Accountes &auml;ndern.', 6);
+addAdminMenuSql('user', 'edit_user', 'Account editieren', 'Daten eines Mitgliedaccountes &auml;ndern.', 6);
 addAdminMenuSql('user', 'list_refs', 'Referrals anzeigen', 'Mit diesem Men&uuml;punkt k&ouml;nnen Sie die generierten Referrals eines Mitgliedes auflisten.', 7);
 addAdminMenuSql('user', 'list_links', 'Unbest&auml;tigte Mails', 'Mit diesem Men&uuml;punkt k&ouml;nnen Sie die vom Mitglied nicht best&auml;tigten Mails anzeigen.', 8);
 addAdminMenuSql('user', 'list_user_cats', 'Kategorien anzeigen', 'Listet die ausgew&auml;hlten Kategorien eines Mitgliedes auf.', 9);
index 085d9ea909d3b2b7014fa38336ff762fc02aa36e..a44e5dc29dd8dd9dffeb0b170eeaa28e18eef8f8 100644 (file)
@@ -174,7 +174,7 @@ if (!defined('__SECURITY')) {
 
                        case '0.3.3': // SQL queries for v0.3.3
                                // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Mitglieder sind nun per Formular kontaktierbar (es wird eine EMail versendet), gesperrte und best&auml;tigte Mitglieder-Accounts sind seperat oder gemeinsam auflistbar (seperat nur mit der Erweiterung <span class=\"bad\">task</span>!)");
+                               setExtensionUpdateNotes("Mitglieder sind nun per Formular kontaktierbar (es wird eine EMail versendet), gesperrte und best&auml;tigte Mitgliedaccounts sind seperat oder gemeinsam auflistbar (seperat nur mit der Erweiterung <span class=\"bad\">task</span>!)");
                                break;
 
                        case '0.3.4': // SQL queries for v0.3.4
@@ -520,7 +520,6 @@ INDEX (`subid`)",
                                setExtensionUpdateNotes("Men&uuml;punkt umbenannt um Platz f&uuml;r Konflikt mit <strong>what-config_cats.php</strong> zu schaffen.");
                                break;
                } // END - switch
-               break;
 
 // [EOF]
 ?>
diff --git a/inc/fatal_errors.php b/inc/fatal_errors.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
index 50a4a650459c432c5bc6886650726fc2733613b1..e217428394c3dbff7dbf7b47bc02d19f1bd35640 100644 (file)
@@ -55,7 +55,7 @@ function initFilterSystem () {
 
                // Mark it as initialized
                $GLOBALS['filter_init'] = TRUE;
-       } elseif ((!isInstallationPhase()) && (isExtensionInstalledAndNewer('sql_patches', '0.5.9'))) {
+       } elseif ((!isInstaller()) && (isExtensionInstalledAndNewer('sql_patches', '0.5.9'))) {
                // Init add
                $add = '';
                if (isExtensionINstalledAndNewer('sql_patches', '0.6.0')) {
@@ -115,6 +115,7 @@ ORDER BY
        registerFilter(__FUNCTION__, __LINE__, 'init', 'RUN_DAILY_RESET');
        registerFilter(__FUNCTION__, __LINE__, 'init', 'RUN_WEEKLY_RESET');
        registerFilter(__FUNCTION__, __LINE__, 'init', 'RUN_MONTHLY_RESET');
+       registerFilter(__FUNCTION__, __LINE__, 'init', 'RUN_YEARLY_RESET');
        registerFilter(__FUNCTION__, __LINE__, 'init', 'TRIGGER_SENDING_POOL');
        // @TODO Remove this forced removal after a year or so
        unregisterFilter(__FUNCTION__, __LINE__, 'init', 'DETERMINE_USERNAME', TRUE);
@@ -186,6 +187,9 @@ ORDER BY
        // Do monthly stuff, keep this entry first in this chain:
        registerFilter(__FUNCTION__, __LINE__, 'monthly', 'RUN_MONTHLY_INCLUDES');
 
+       // Do yearly stuff, keep this entry first in this chain:
+       registerFilter(__FUNCTION__, __LINE__, 'yearly', 'RUN_YEARLY_INCLUDES');
+
        // Remove extension
        registerFilter(__FUNCTION__, __LINE__, 'extension_remove', 'REMOVE_EXTENSION');
 
@@ -231,7 +235,7 @@ function registerFilter ($file, $line, $filterName, $filterFunction, $silentAbor
        // Is that filter already there?
        if ((isset($GLOBALS['cache_array']['filter']['chains'][$filterName][$filterFunction])) && ($force === FALSE)) {
                // In installation phase we always want to abort
-               if (($silentAbort === FALSE) || (isInstallationPhase())) {
+               if (($silentAbort === FALSE) || (isInstaller())) {
                        // Add fatal message
                        reportBug(__FUNCTION__, __LINE__, sprintf("Filter chain %s has already filter function %s registered! file=%s,L=%s,force=%d", $filterName, $filterFunction, basename($file), $line, intval($force)));
                } // END - if
@@ -310,6 +314,9 @@ function runFilterChain ($filterName, $filterData = NULL) {
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'filterName=' . $filterName . ',count()=' . count($GLOBALS['cache_array']['filter']['chains'][$filterName]));
        $returnValue = $filterData;
 
+       // Remove any existing flag(s)
+       unset($GLOBALS['filter_chain_aborted']);
+
        // Then run all filters
        foreach ($GLOBALS['cache_array']['filter']['chains'][$filterName] as $filterFunction => $active) {
                // Debug message
@@ -320,7 +327,7 @@ function runFilterChain ($filterName, $filterData = NULL) {
                        // Is this filter there?
                        if (!function_exists($filterFunction)) {
                                // Should be fixed
-                               reportBug(__FUNCTION__, __LINE__, 'filterName=' . $filterName . ',filterFunction=' . $filterFunction . ' - AUTO-UNREGISTERED!');
+                               reportBug(__FUNCTION__, __LINE__, 'filterName=' . $filterName . ',filterFunction=' . $filterFunction . ',active=' . $active . ' - AUTO-UNREGISTERED!');
                        } // END - if
 
                        // Call the filter chain
@@ -333,6 +340,12 @@ function runFilterChain ($filterName, $filterData = NULL) {
                        // Debug message
                        logDebugMessage(__FUNCTION__, __LINE__, 'Skipped: name=' . $filterName . ',func=' . $filterFunction . ',active=' . $active);
                }
+
+               // Abort loop?
+               if (isFilterChainAborted()) {
+                       // Yes, then abort here
+                       break;
+               } // END - if
        } // END - foreach
 
        // Return the filtered content
@@ -399,7 +412,7 @@ function loadExtensionFilters ($ext_name) {
                $GLOBALS[__FUNCTION__][$ext_name] = FALSE;
 
                // Construct include file name
-               $incFileName = sprintf("inc/filter/%s_filter.php", $ext_name);
+               $incFileName = sprintf('inc/filter/%s_filter.php', $ext_name);
 
                // Is the include file readable?
                if (isIncludeReadable($incFileName)) {
@@ -418,5 +431,11 @@ function loadExtensionFilters ($ext_name) {
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'ext_name=' . $ext_name . ',result=' . intval($GLOBALS[__FUNCTION__][$ext_name]) . ' - EXIT!');
 }
 
+// Checks whether the filter chain has been aborted
+function isFilterChainAborted () {
+       // Determine it
+       return ((isset($GLOBALS['filter_chain_aborted'])) && ($GLOBALS['filter_chain_aborted'] === TRUE));
+}
+
 // [EOF]
 ?>
index dd9cc43a6ac9cf24e0f22996909ff85a8ca1f789..edba5885bf2ccb67ab02a6e8d7537aea44fed770 100644 (file)
@@ -74,6 +74,29 @@ function FILTER_CHECK_IP_BLACKLISTED ($filterData) {
        return $filterData;
 }
 
+// Filter to check URL against blacklist
+function FILTER_CHECK_URL_BLACKLISTED ($filterData) {
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
+       // And shall I check that his URL is not in the black list?
+       if ((isUrlBlacklistEnabled()) && (isUrlBlacklisted($filterData['url']))) {
+               // Create redirect-URL
+               $filterData['redirect'] = 'modules.php?module=login&amp;what=order&amp;code=' . getCode('BLIST_URL') . '&amp;blist=' . $GLOBALS['blacklist_data'][$filterData['url']]['timestamp'];
+               $GLOBALS['filter_chain_aborted'] = TRUE;
+
+               // Set data for next filter chain
+               $filterData['init_done']   = FALSE;
+               $filterData['blacklisted'] = 'url';
+               $filterData['message']     = '{--URL_IS_BLACKLISTED--}';
+
+               // Run filter chain for successful detection (don't rely on other fields than 'IP') here
+               runFilterChain('post_url_blacklisted', $filterData);
+       } // END - if
+
+       // Return the data for next filter
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
+       return $filterData;
+}
+
 // Filter for logging blacklisted email addresses, is being called from above filter
 function FILTER_LOG_EMAIL_BLACKLISTED ($filerData) {
        // Make sure, that required data is there
@@ -96,5 +119,16 @@ function FILTER_LOG_IP_BLACKLISTED ($filerData) {
        return $filterData;
 }
 
+// Filter for logging blacklisted URLs, is being called from above filter
+function FILTER_LOG_URL_BLACKLISTED ($filerData) {
+       // Make sure, that required data is there
+       assert((isset($filterData['init_done'])) && ($filterData['blacklisted'] == 'url'));
+
+       // @TODO Insert log entry
+
+       // Return filtered data
+       return $filterData;
+}
+
 // [EOF]
 ?>
index 9362149e37d6551eb0fbc73e6964970d93018c19..b731596c3e60affb68fb4b5376bc79574c2c79de 100644 (file)
@@ -41,10 +41,11 @@ if (!defined('__SECURITY')) {
 } // END - if
 
 // Filter to add default forced-ad types
-function FILTER_FORCED_AD_TYPE_DEFAULTS ($data) {
+function FILTER_FORCED_AD_TYPE_DEFAULTS ($filterData) {
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
        // Forced-Banner
        array_push(
-               $data,
+               $filterData,
                array(
                        // Forced-Banner
                        'type' => 'BANNER',
@@ -58,7 +59,8 @@ function FILTER_FORCED_AD_TYPE_DEFAULTS ($data) {
        );
 
        // Return data
-       return $data;
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
+       return $filterData;
 }
 
 // Filter for collecting data for the member table
@@ -71,7 +73,7 @@ function FILTER_FORCED_POPUP_TABLE_DATA ($filterData) {
 
                // Get max/min/count of all popups
                // @TODO This part is unfinished
-               //die(__FUNCTION__.':OK!');
+               die(__FUNCTION__ . ':filterData=<pre>' . print_r($filterData, TRUE) . '</pre>');
        } // END - if
 
        // Return filter data array
@@ -81,6 +83,7 @@ function FILTER_FORCED_POPUP_TABLE_DATA ($filterData) {
 
 // Filter for changing URL status
 function FILTER_FORCED_CHANGE_CAMPAIGN_STATUS ($filterData) {
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
        /*
        // Do some dirty fixing here:
        if (($filterData['data']['forced_campaign_status'] == 'STOPPED') && ($filterData['new_status'] == 'pending')) {
@@ -102,16 +105,16 @@ function FILTER_FORCED_CHANGE_CAMPAIGN_STATUS ($filterData) {
 
 // Filter for validating status
 function FILTER_FORCED_CHANGE_CAMPAIGN_VALIDATE_DATA ($filterData) {
-       // Is the new status set?
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
+       // Is the new status set?
        if ((!is_string($filterData['new_status'])) || (empty($filterData['new_status']))) {
                // Abort here, not fine
                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'newStatus[' . gettype($filterData['new_status']) . ']=' . $filterData['new_status'] . ' - EXIT!');
-               $filterData['abort'] = FALSE;
+               $GLOBALS['filter_chain_aborted'] = FALSE;
        } elseif ($filterData['data']['forced_campaign_status'] != $filterData['prev_status']) {
                // Status is not like prevStatus
                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, $filterData['data']['forced_campaign_status'] . '!=' . $filterData['prev_status'] . ' - EXIT!');
-               $filterData['abort'] = FALSE;
+               $GLOBALS['filter_chain_aborted'] = FALSE;
        } // END - if
 
        // Return filter data
@@ -121,9 +124,9 @@ function FILTER_FORCED_CHANGE_CAMPAIGN_VALIDATE_DATA ($filterData) {
 
 // Filter for handling click on forced ad
 function FILTER_HANDLE_FORCED_AD_CLICK ($filterData) {
-       // Are all required parameters set?
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
-       die(__FUNCTION__.': CALLED!');
+       // Are all required parameters set?
+       die(__FUNCTION__ . ': filterData=<pre>' . print_r($filterData, TRUE) . '</pre>');
 
        // Return filter data
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
@@ -132,9 +135,9 @@ function FILTER_HANDLE_FORCED_AD_CLICK ($filterData) {
 
 // Filter for handling viewing forced banner
 function FILTER_HANDLE_FORCED_AD_VIEW ($filterData) {
-       // Are all required parameters set?
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
-       die(__FUNCTION__.': CALLED!');
+       // Are all required parameters set?
+       die(__FUNCTION__ . ': filterData=<pre>' . print_r($filterData, TRUE) . '</pre>');
 
        // Return filter data
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
diff --git a/inc/filter/html_mail_filter.php b/inc/filter/html_mail_filter.php
new file mode 100644 (file)
index 0000000..3ed2794
--- /dev/null
@@ -0,0 +1,68 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 05/22/2013 *
+ * ===================                          Last change: 05/22/2013 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : html_mail_filter.php                             *
+ * -------------------------------------------------------------------- *
+ * Short description : Filters for ext-html_mail                        *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Filter fuer ext-html_mail                        *
+ * -------------------------------------------------------------------- *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2013 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')) {
+       die();
+} // END - if
+
+// Filter for checking HTML mail in ext-order
+function FILTER_CHECK_HTML_MAIL_ORDER ($filterData) {
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
+
+       // HTML or regular text mail?
+       if ($filterData['html'] == 'Y') {
+               // Chek for valid HTML tags
+               $checked = checkHtmlTags($filterData['text']);
+
+               // Maybe invalid tags found?
+               if (empty($checked)) {
+                       // Invalid HTML tags found
+                       $filterData['redirect'] = 'modules.php?module=login&amp;what=order&amp;code=' . getCode('INVALID_TAGS') . '&amp;id=' . $filterData['id'];
+               } // END - if
+       } else {
+               // Remove any HTML code
+               $filterData['text'] = str_replace(array('<', '>'), array('{OPEN_HTML}', '{CLOSE_HTML}'), $filterData['text']);
+       }
+
+       // Return the data for next filter
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
+       return $filterData;
+}
+
+// [EOF]
+?>
index f8866822d65468c94ab047ae08315003444fa83b..a961dde09be96a372f4fbe85fccb28e836d7a3ff 100644 (file)
@@ -123,5 +123,103 @@ function FILTER_ORDER_POINTS_COLUMNS ($filterData) {
        return $filterData;
 }
 
+// Filter for generic check of subject line
+function FILTER_MAIL_ORDER_GENERIC_CHECK_SUBJECT ($filterData) {
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
+
+       // Shall I test the subject line against URLs?
+       if (!isAllowUrlInSubjectEnabled()) {
+               // @TODO 200 is hard-coded here, swap it out to config + admin_config_order.tpl
+               $filterData['subject'] = str_replace(chr(92), '[nl]', substr($filterData['subject'], 0, 200));
+
+               // Check the subject line for unwanted things
+               if ((isInStringIgnoreCase('https://', $filterData['subject'])) || (isInStringIgnoreCase('http://', $filterData['subject'])) || (isInStringIgnoreCase('www', $filterData['subject']))) {
+                       // URL in subject found
+                       $filterData['redirect'] = 'modules.php?module=login&amp;what=order&amp;code=' . getCode('SUBJECT_URL');
+                       $GLOBALS['filter_chain_aborted'] = TRUE;
+               } // END - if
+       } // END - if
+
+       // Return the data for next filter
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
+       return $filterData;
+}
+
+// Filter for generic check of mail text
+function FILTER_MAIL_ORDER_GENERIC_CHECK_TEXT ($filterData) {
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
+
+       if (!isAllowUrlInTextEnabled()) {
+               // Test submitted text against some filters (length, URLs in text etc.)
+               if ((isInStringIgnoreCase('https://', $filterData['text'])) || (isInStringIgnoreCase('http://', $filterData['text'])) || (isInStringIgnoreCase('www', $filterData['text']))) {
+                       // URL found
+                       $filterData['redirect'] = 'modules.php?module=login&amp;what=order&amp;code=' . getCode('URL_FOUND');
+                       $GLOBALS['filter_chain_aborted'] = TRUE;
+               } // END - if
+
+               // Remove new-line and carriage-return characters
+               $TEST = str_replace(array(PHP_EOL, chr(13)), array('', ''), $filterData['text']);
+
+               // Text length within allowed length?
+               if (strlen($TEST) > getMaxTextLength()) {
+                       // Text is too long!
+                       $filterData['redirect'] = 'modules.php?module=login&amp;what=order&amp;code=' . getCode('OVERLENGTH');
+                       $GLOBALS['filter_chain_aborted'] = TRUE;
+               } // END - if
+       } // END - if
+
+       // Return the data for next filter
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
+       return $filterData;
+}
+
+// Filter for generic check of mail type
+function FILTER_MAIL_ORDER_GENERIC_CHECK_TYPE ($filterData) {
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
+
+       // Is mail type set?
+       if ((!isset($filterData['mail_type'])) || ($filterData['mail_type'] < 1)) {
+               // Not correctly set
+               $filterData['redirect'] = 'modules.php?module=login&amp;what=order&amp;code=' . getCode('NO_MAIL_TYPE');
+               $GLOBALS['filter_chain_aborted'] = TRUE;
+       } // END - if
+
+       // Return the data for next filter
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
+       return $filterData;
+}
+
+// Filter for generic check of URL
+function FILTER_MAIL_ORDER_GENERIC_CHECK_URL ($filterData) {
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
+
+       // Validate URL
+       if (!isUrlValid($filterData['url'])) {
+               // URL is invalid!
+               $filterData['redirect'] = 'modules.php?module=login&amp;what=order&amp;code=' . getCode('INVALID_URL');
+               $GLOBALS['filter_chain_aborted'] = TRUE;
+       } // END - if
+
+       // Return the data for next filter
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
+       return $filterData;
+}
+
+// Filter for generic check of receiver amount
+function FILTER_MAIL_ORDER_GENERIC_CHECK_RECEIVER ($filterData) {
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
+
+       // Enougth receivers entered?
+       if (($filterData['receiver'] < getOrderMin()) && (!isAdmin())) {
+               // Less than allowed receivers entered!
+               $filterData['redirect'] = 'modules.php?module=login&amp;what=order&amp;code=' . getCode('MORE_RECEIVERS3');
+               $GLOBALS['filter_chain_aborted'] = TRUE;
+       } // END - if
+
+       // Return the data for next filter
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
+       return $filterData;
+}
+
 // [EOF]
 ?>
index b06fa20c25fcd8ba70bf66f55cf47547301bb68f..517797ef8a2917fd9177c1580f1cb16030b4c08b 100644 (file)
@@ -73,11 +73,11 @@ function FILTER_SURFBAR_CHANGE_URL_VALIDATE_DATA ($filterData) {
        if ((!is_string($filterData['new_status'])) || (empty($filterData['new_status']))) {
                // Abort here, but fine!
                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'newStatus[' . gettype($filterData['new_status']) . ']=' . $filterData['new_status'] . ' - EXIT!');
-               $filterData['abort'] = TRUE;
+               $GLOBALS['filter_chain_aborted'] = TRUE;
        } elseif ($filterData['data'][$filterData['url_id']]['url_status'] != $filterData['prev_status']) {
                // Status is not like prevStatus
                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, $filterData['data'][$filterData['url_id']]['url_status'] . '!=' . $filterData['prev_status'] . ' - EXIT!');
-               $filterData['abort'] = FALSE;
+               $GLOBALS['filter_chain_aborted'] = FALSE;
        } // END - if
 
        // Return filter data
diff --git a/inc/filter/transaction_filter.php b/inc/filter/transaction_filter.php
new file mode 100644 (file)
index 0000000..4cceebe
--- /dev/null
@@ -0,0 +1,57 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 06/22/2013 *
+ * ===================                          Last change: 06/22/2013 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : transaction_filter.php                           *
+ * -------------------------------------------------------------------- *
+ * Short description : Filters for ext-                                 *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Filter fuer ext-                                 *
+ * -------------------------------------------------------------------- *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2013 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')) {
+       die();
+} // END - if
+
+// Filter for adding booking record
+function FILTER_LOG_TRANSACTION ($filterData) {
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
+       addBookingRecord($filterData['subject'], $filterData['userid'], $filterData['points'], $filterData['points_mode'], $filterData['column']);
+
+       // Log transaction
+       logTransaction($sender, $filterData['userid'], $GLOBALS['ref_level'], $amount, $filterData['points'], $filterData['subject']);
+
+       // Return data
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
+       return $filterData;
+}
+
+// [EOF]
+?>
index bbac2082ad12bd014289735b4f25a857a254a847..e20d71821634e5103137441b894e0df7916b74cd 100644 (file)
@@ -46,17 +46,17 @@ function FILTER_FLUSH_FILTERS () {
        initSqls();
 
        // Is a database link here and not in installation mode?
-       if ((!isSqlLinkUp()) && (!isInstallationPhase())) {
+       if ((!isSqlLinkUp()) && (!isInstaller())) {
                // Abort here
                reportBug(__FUNCTION__, __LINE__, 'No database link is up. Cannot flush filters.');
-       } elseif ((isInstallationPhase()) && (!isSqlLinkUp())) {
+       } elseif ((isInstaller()) && (!isSqlLinkUp())) {
                // If the link is not up in installation phase, skip flushing filters
                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Cannot flush filters: No link is up.');
                return;
        }
 
        // Is the extension ext-sql_patches updated?
-       if (((!isExtensionInstalled('sql_patches')) || (isExtensionInstalledAndOlder('sql_patches', '0.5.9'))) && (!isInstallationPhase())) {
+       if (((!isExtensionInstalled('sql_patches')) || (isExtensionInstalledAndOlder('sql_patches', '0.5.9'))) && (!isInstaller())) {
                // Log only in debug mode
                if (isDebugModeEnabled()) {
                        logDebugMessage(__FUNCTION__, __LINE__, 'Cannot flush filters, ext-sql_patches might be missing. isExtensionInstalled()=' . intval(isExtensionInstalled('sql_patches')) . ',isExtensionInstalledAndOlder()=' . intval(isExtensionInstalledAndOlder('sql_patches', '0.5.9')));
@@ -188,7 +188,7 @@ function FILTER_SOLVE_TASK ($filterData) {
                adminSolveTask($filterData['task_id']);
        } else {
                // Not detectable!
-               reportBug(__FUNCTION__, __LINE__, sprintf("Cannot resolve task. data[%s]=<pre>%s</pre>", gettype($filterData), print_r($filterData, TRUE)));
+               reportBug(__FUNCTION__, __LINE__, sprintf('Cannot resolve task. data[%s]=<pre>%s</pre>', gettype($filterData), print_r($filterData, TRUE)));
        }
 
        // Return the data
@@ -218,7 +218,7 @@ function FILTER_LOAD_INCLUDES ($filterData) {
        // Is it an array?
        if ((!isset($data)) || (!is_array($data))) {
                // Then abort here
-               reportBug(__FUNCTION__, __LINE__, sprintf("INC_POOL is no array! Type: %s", gettype($data)));
+               reportBug(__FUNCTION__, __LINE__, sprintf('INC_POOL is no array! Type: %s', gettype($data)));
        } elseif (isset($data['inc_pool'])) {
                // Use this as new inclusion pool!
                setIncludePool($realPool, $data['inc_pool']);
@@ -435,7 +435,7 @@ function FILTER_COMPILE_CONFIG ($code, $compiled = FALSE) {
                preg_match_all('/\{\?(([a-zA-Z0-9-_]+)*)\?\}/', $code, $matches);
 
                // Some entries found?
-               if ((count($matches) > 0) && (count($matches[0]) > 0)) {
+               if ((isFilledArray($matches)) && (isFilledArray($matches[0]))) {
                        // Replace all matches
                        foreach ($matches[0] as $key => $match) {
                                // Is there cache?
@@ -489,7 +489,7 @@ function FILTER_COMPILE_EXPRESSION_CODE ($filterData) {
        $outputMode = getScriptOutputMode();
 
        // Some entries found?
-       if ((count($matches) > 0) && (count($matches[3]) > 0)) {
+       if ((isFilledArray($matches)) && (isFilledArray($matches[3]))) {
                // Replace all matches
                foreach ($matches[2] as $key => $eti) {
                        // Init replacer/call-back variable
@@ -662,6 +662,27 @@ function FILTER_RUN_MONTHLY_INCLUDES () {
        } // END - if
 }
 
+// Load more yearly scripts
+function FILTER_RUN_YEARLY_INCLUDES () {
+       // Is the reset set or old sql_patches?
+       if (((!isYearlyResetEnabled()) || (!isExtensionInstalledAndNewer('sql_patches', '0.9.8'))) && (isHtmlOutputMode())) {
+               // Then abort here
+               reportBug(__FUNCTION__, __LINE__, 'Cannot run yearly reset! enabled='.intval(isYearlyResetEnabled()).',isExtensionInstalledAndNewer='.intval(isExtensionInstalledAndNewer('sql_patches', '0.9.8')).' Please report this bug. Thanks');
+       } // END - if
+
+       // Is ext-sql_patches at least 0.9.8?
+       if (isExtensionInstalledAndNewer('sql_patches', '0.9.8')) {
+               // Has it changed?
+               if ((getLastYearly() != getYear()) || (isDebugYearlyEnabled())) {
+                       // Include yearly reset scripts
+                       setIncludePool('yearly', getArrayFromDirectory('inc/yearly/', 'yearly_'));
+
+                       // Run the filter
+                       runFilterChain('load_includes', 'yearly');
+               } // END - if
+       } // END - if
+}
+
 // Filter for removing the given extension
 function FILTER_REMOVE_EXTENSION () {
        // Delete this extension (remember to remove it from your server *before* you click on welcome!
@@ -712,7 +733,7 @@ function FILTER_HTML_INCLUDE_USERS ($mode) {
 // Filter for determining what/action/module
 function FILTER_DETERMINE_WHAT_ACTION () {
        // In installation phase we don't have what/action
-       if (isInstallationPhase()) {
+       if (isInstaller()) {
                // Set both to empty
                setAction('');
                setWhat('');
@@ -824,13 +845,13 @@ function FILTER_CHECK_REPOSITORY_REVISION () {
 // Filter for running hourly reset
 function FILTER_RUN_HOURLY_RESET () {
        // Only execute this filter if installed
-       if ((isInstallationPhase()) || (!isInstalled()) || (!isAdminRegistered()) || (!isExtensionInstalledAndNewer('sql_patches', '0.9.8'))) {
+       if ((isInstaller()) || (!isInstalled()) || (!isAdminRegistered()) || (!isExtensionInstalledAndNewer('sql_patches', '0.9.8'))) {
                return;
        } // END - if
 
        // Shall we run the reset scripts? If a day has changed, maybe also a week/month has changed... Simple! :D
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'getLastHourly()=' . getLastHourly() . ',getHour()=' . getHour());
-       if (((getLastHourly() != getHour()) || (isDebugHourlyEnabled())) && (!isInstallationPhase()) && (isAdminRegistered()) && (!isGetRequestElementSet('setup')) && (!isCssOutputMode())) {
+       if (((getLastHourly() != getHour()) || (isDebugHourlyEnabled())) && (!isInstaller()) && (isAdminRegistered()) && (!isGetRequestElementSet('setup')) && (!isCssOutputMode())) {
                // Tell every module we are in reset-mode!
                doHourly();
        } // END - if
@@ -839,13 +860,13 @@ function FILTER_RUN_HOURLY_RESET () {
 // Filter for running daily reset
 function FILTER_RUN_DAILY_RESET () {
        // Only execute this filter if installed
-       if ((isInstallationPhase()) || (!isInstalled()) || (!isAdminRegistered()) || (!isExtensionInstalledAndNewer('sql_patches', '0.9.8'))) {
+       if ((isInstaller()) || (!isInstalled()) || (!isAdminRegistered()) || (!isExtensionInstalledAndNewer('sql_patches', '0.9.8'))) {
                return;
        } // END - if
 
        // Shall we run the reset scripts? If a day has changed, maybe also a week/month has changed... Simple! :D
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'getLastDaily()=' . getLastDaily() . ',getDay()=' . getDay());
-       if (((getLastDaily() != getDay()) || (isDebugDailyEnabled())) && (!isInstallationPhase()) && (isAdminRegistered()) && (!isGetRequestElementSet('setup')) && (!isCssOutputMode())) {
+       if (((getLastDaily() != getDay()) || (isDebugDailyEnabled())) && (!isInstaller()) && (isAdminRegistered()) && (!isGetRequestElementSet('setup')) && (!isCssOutputMode())) {
                // Tell every module we are in reset-mode!
                doDaily();
        } // END - if
@@ -854,13 +875,13 @@ function FILTER_RUN_DAILY_RESET () {
 // Filter for running weekly reset
 function FILTER_RUN_WEEKLY_RESET () {
        // Only execute this filter if installed
-       if ((isInstallationPhase()) || (!isInstalled()) || (!isAdminRegistered()) || (!isExtensionInstalledAndNewer('sql_patches', '0.9.8'))) {
+       if ((isInstaller()) || (!isInstalled()) || (!isAdminRegistered()) || (!isExtensionInstalledAndNewer('sql_patches', '0.9.8'))) {
                return;
        } // END - if
 
        // Shall we run the reset scripts? If a day has changed, maybe also a week/month has changed... Simple! :D
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'getLastWeekly()=' . getLastWeekly() . ',getWeek()=' . getWeek());
-       if (((getLastWeekly() != getWeek()) || (isDebugWeeklyEnabled())) && (!isInstallationPhase()) && (isAdminRegistered()) && (!isGetRequestElementSet('setup')) && (!isCssOutputMode())) {
+       if (((getLastWeekly() != getWeek()) || (isDebugWeeklyEnabled())) && (!isInstaller()) && (isAdminRegistered()) && (!isGetRequestElementSet('setup')) && (!isCssOutputMode())) {
                // Tell every module we are in reset-mode!
                doWeekly();
        } // END - if
@@ -869,18 +890,33 @@ function FILTER_RUN_WEEKLY_RESET () {
 // Filter for running monthly reset
 function FILTER_RUN_MONTHLY_RESET () {
        // Only execute this filter if installed
-       if ((isInstallationPhase()) || (!isInstalled()) || (!isAdminRegistered()) || (!isExtensionInstalledAndNewer('sql_patches', '0.9.8'))) {
+       if ((isInstaller()) || (!isInstalled()) || (!isAdminRegistered()) || (!isExtensionInstalledAndNewer('sql_patches', '0.9.8'))) {
                return;
        } // END - if
 
        // Shall we run the reset scripts? If a day has changed, maybe also a week/month has changed... Simple! :D
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'getLastMonthly()=' . getLastMonthly() . ',getMonth()=' . getMonth());
-       if (((getLastMonthly() != getMonth()) || (isDebugMonthlyEnabled())) && (!isInstallationPhase()) && (isAdminRegistered()) && (!isGetRequestElementSet('setup')) && (!isCssOutputMode())) {
+       if (((getLastMonthly() != getMonth()) || (isDebugMonthlyEnabled())) && (!isInstaller()) && (isAdminRegistered()) && (!isGetRequestElementSet('setup')) && (!isCssOutputMode())) {
                // Tell every module we are in reset-mode!
                doMonthly();
        } // END - if
 }
 
+// Filter for running yearly reset
+function FILTER_RUN_YEARLY_RESET () {
+       // Only execute this filter if installed
+       if ((isInstaller()) || (!isInstalled()) || (!isAdminRegistered()) || (!isExtensionInstalledAndNewer('sql_patches', '0.9.8'))) {
+               return;
+       } // END - if
+
+       // Shall we run the reset scripts? If a day has changed, maybe also a week/month has changed... Simple! :D
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'getLastYearly()=' . getLastYearly() . ',getYear()=' . getYear());
+       if (((getLastYearly() != getYear()) || (isDebugYearlyEnabled())) && (!isInstaller()) && (isAdminRegistered()) && (!isGetRequestElementSet('setup')) && (!isCssOutputMode())) {
+               // Tell every module we are in reset-mode!
+               doYearly();
+       } // END - if
+}
+
 // Filter for loading more runtime includes (not for installation)
 function FILTER_LOAD_RUNTIME_INCLUDES () {
        // Load more includes
@@ -936,7 +972,7 @@ function FILTER_INIT_RANDOM_NUMBER () {
 // Update module counter
 function FILTER_COUNT_MODULE () {
        // Is installation phase or no admin registered?
-       if ((isInstallationPhase()) || (!isInstalled()) || (!isAdminRegistered())) {
+       if ((isInstaller()) || (!isInstalled()) || (!isAdminRegistered())) {
                // Then don't count any modules
                return;
        } // END - if
@@ -966,7 +1002,7 @@ function FILTER_HANDLE_FATAL_ERRORS () {
        $content = '';
 
        // Installation phase or regular mode?
-       if ((isInstallationPhase())) {
+       if ((isInstaller())) {
                // While we are installing ouput other header than while it is installed... :-)
                $OUT = '';
                foreach (getFatalArray() as $key => $value) {
@@ -1049,7 +1085,7 @@ function FILTER_DISPLAY_COPYRIGHT () {
 function FILTER_DISPLAY_PARSING_TIME () {
        // Shall we display the parsing time and number of queries?
        // 1234                            5                      54    4                    554    4          5543    3                    4432    2                332    2                              21
-       if ((((isExtensionInstalledAndNewer('sql_patches', '0.4.1')) && (isShowTimingsEnabled()) && (isFullPage())) && (!isInstallationPhase())) && (isHtmlOutputMode()) && ($GLOBALS['__header_sent'] == 2)) {
+       if ((((isExtensionInstalledAndNewer('sql_patches', '0.4.1')) && (isShowTimingsEnabled()) && (isFullPage())) && (!isInstaller())) && (isHtmlOutputMode()) && ($GLOBALS['__header_sent'] == 2)) {
                // Then display it here
                displayParsingTime();
        } // END - if
@@ -1064,7 +1100,7 @@ function FILTER_FLUSH_TEMPLATE_CACHE () {
        } // END - if
 
        // Is there cached eval() data?
-       if ((isset($GLOBALS['template_eval'])) && (count($GLOBALS['template_eval']) > 0)) {
+       if ((isset($GLOBALS['template_eval'])) && (isFilledArray($GLOBALS['template_eval']))) {
                // Flush all
                foreach ($GLOBALS['template_eval'] as $prefix => $templateArray) {
                        foreach ($templateArray as $template => $eval) {
@@ -1213,7 +1249,7 @@ function FILTER_GENERATE_POOL_MAIL_LINKS ($filterData) {
 // Filter to activate exchange
 function FILTER_ACTIVATE_EXCHANGE () {
        // Are the extension ext-user/other there?
-       if ((!isExtensionActive('user')) || (!isExtensionActive('other')) || (getActivateXchange() == '0')) {
+       if ((!isExtensionActive('user')) || (!isExtensionInstalled('other')) || (isAjaxOutputMode()) || (getActivateXchange() == '0')) {
                // Silently abort here
                return FALSE;
        } // END - if
@@ -1275,24 +1311,24 @@ function FILTER_GENERATE_FILE_SECRET_HASH ($filterData) {
        // Init key
        setConfigEntry('secret_key', '');
 
+       // File hash fas generated so we can also file the secret file... hopefully.
+       $hashFile = sprintf('%s%s.%s.cache', getPath(), getCachePath(), getFileHash());
+
        // Read key from secret file
-       if ((getFileHash() == '') || (getMasterSalt() == '') || (getPassScramble() == '')) {
+       if ((getFileHash() == '') || (getMasterSalt() == '') || (getPassScramble() == '') || (!isFileReadable($hashFile))) {
                // Maybe need setup of secret key!
                loadIncludeOnce('inc/gen_sql_patches.php');
        } // END - if
 
        // Test again
        if ((getFileHash() != '') && (getMasterSalt() != '') && (getPassScramble() != '')) {
-               // File hash fas generated so we can also file the secret file... hopefully.
-               $hashFile = sprintf("%s%s.%s.cache", getPath(), getCachePath(), getFileHash());
-
                // Is the secret key file readable?
                if (isFileReadable($hashFile)) {
                        // Read file
                        setConfigEntry('secret_key', readFromFile($hashFile));
                } else {
                        // Remove it from database
-                       updateConfiguration('file_hash', '');
+                       updateConfiguration('file_hash', '', '', '0', TRUE);
 
                        // Cannot read secret file!
                        reportBug(__FILE__, __LINE__, 'Cannot read secret file! Please try to reload.');
@@ -1434,7 +1470,10 @@ WHERE
 function FILTER_DETERMINE_MENU_MODE_GENERIC ($filterData) {
        // "Detect" it
        switch (getModule()) {
+               case 'chk_login': // Is also faked
                case 'confirm': // Login script is 'member'
+               case 'loader': // Is faked to 'member' to avoid indexing by search engines
+               case 'mailid': // Mail confirmation is 'member'
                        $filterData = 'member';
                        break;
        } // END - switch
index 2aad72e31f2ca9070466229375dd7f9186e6a0fe..50be57d018cba98d0703be82218e8a49528bd838 100644 (file)
@@ -98,12 +98,12 @@ foreach (array('guest','member','admin') as $menu) {
        initSqls();
 
        // Now insert our unqiue key for action-what combination
-       addSql(sprintf("ALTER TABLE `{?_MYSQL_PREFIX?}_%s_menu` DROP INDEX `action_what`", $menu));
-       addSql(sprintf("ALTER TABLE `{?_MYSQL_PREFIX?}_%s_menu` ADD UNIQUE INDEX `action_what` (`action`, `what`)", $menu));
+       addSql(sprintf('ALTER TABLE `{?_MYSQL_PREFIX?}_%s_menu` DROP INDEX `action_what`', $menu));
+       addSql(sprintf('ALTER TABLE `{?_MYSQL_PREFIX?}_%s_menu` ADD UNIQUE INDEX `action_what` (`action`, `what`)', $menu));
 
        // Now insert our unqiue key for what
-       addSql(sprintf("ALTER TABLE `{?_MYSQL_PREFIX?}_%s_menu` DROP INDEX `what`", $menu));
-       addSql(sprintf("ALTER TABLE `{?_MYSQL_PREFIX?}_%s_menu` ADD UNIQUE INDEX `what` (`what`)", $menu));
+       addSql(sprintf('ALTER TABLE `{?_MYSQL_PREFIX?}_%s_menu` DROP INDEX `what`', $menu));
+       addSql(sprintf('ALTER TABLE `{?_MYSQL_PREFIX?}_%s_menu` ADD UNIQUE INDEX `what` (`what`)', $menu));
 
        // And run all
        runFilterChain('run_sqls');
index ba5c096e122e93d30b21b811b8de722a7a9db186..b9c3f1f699efe2dc8825a78f367cb7d057d63b55 100644 (file)
@@ -88,7 +88,7 @@ function getTotalFatalErrors () {
 function generatePassword ($length = '0', $exclude = array()) {
        // Auto-fix invalid length of zero
        if ($length == '0') {
-               $length = getPassLen();
+               $length = getMinPasswordLength();
        } // END - if
 
        // Exclude some entries
@@ -952,7 +952,7 @@ function encodeHashForCookie ($passHash) {
 // Fix "deleted" cookies
 function fixDeletedCookies ($cookies) {
        // Is this an array with entries?
-       if ((is_array($cookies)) && (count($cookies) > 0)) {
+       if (isFilledArray($cookies)) {
                // Then check all cookies if they are marked as deleted!
                foreach ($cookies as $cookieName) {
                        // Is the cookie set to "deleted"?
@@ -1682,6 +1682,21 @@ function doMonthly () {
        } // END - if
 }
 
+// Enables the yearly reset mode and runs it
+function doYearly () {
+       // Enable the reset mode
+       $GLOBALS['yearly_enabled'] = TRUE;
+
+       // Run filters
+       runFilterChain('yearly');
+
+       // Do not update in yearly debug mode
+       if ((!isConfigEntrySet('DEBUG_YEARLY')) || (!isDebugYearlyEnabled())) {
+               // Update database
+               updateConfiguration('last_yearly', getYear());
+       } // END - if
+}
+
 // Shuts down the mailer (e.g. closing database link, flushing output/filters, etc.)
 function doShutdown () {
        // Call the filter chain 'shutdown'
@@ -1691,7 +1706,7 @@ function doShutdown () {
        if (isSqlLinkUp()) {
                // Close link
                sqlCloseLink(__FUNCTION__, __LINE__);
-       } elseif (!isInstallationPhase()) {
+       } elseif (!isInstaller()) {
                // No database link
                reportBug(__FUNCTION__, __LINE__, 'Database link is already down, while shutdown is running.');
        }
@@ -2144,7 +2159,7 @@ function handleFieldWithBraces ($field) {
 // Converts a zero or NULL to word 'NULL'
 function convertZeroToNull ($number) {
        // Is it a valid username?
-       if ((!is_null($number)) && (!empty($number)) && ($number > 0)) {
+       if (isValidNumber($number)) {
                // Always secure it
                $number = bigintval($number);
        } else {
@@ -2159,7 +2174,7 @@ function convertZeroToNull ($number) {
 // Converts a NULL|empty string|< 1 to zero
 function convertNullToZero ($number) {
        // Is it a valid username?
-       if ((is_null($number)) || (empty($number)) || ($number < 1)) {
+       if (!isValidNumber($number)) {
                // Is not valid or zero
                $number = '0';
        } // END - if
@@ -2813,5 +2828,66 @@ if (!function_exists('html_entity_decode')) {
        }
 } // END - if
 
+// "Calculates" password strength
+function calculatePasswordStrength ($password, $configEntry = 'min_password_length') {
+       // Default score
+       $score = 1;
+
+       if ((strlen($password) < 1) || (strlen($password) < getConfig($configEntry))) {
+               // Is to weak
+               return 0;
+       } // END - if
+
+       // At least 8 chars long?
+       if (strlen($password) >= 8) {
+               // Add score
+               $score++;
+       } // END - if
+
+       // At least 10 chars long?
+       if (strlen($password) >= 10) {
+               // Add score
+               $score++;
+       } // END - if
+
+       // Lower and upper cases?
+       if ((preg_match('/[a-z]/', $password)) && (preg_match('/[A-Z]/', $password))) {
+               // Add score
+               $score++;
+       } // END - if
+
+       // Also numbers?
+       if (preg_match('/[0-9]/', $password))  {
+               // Add score
+               $score++;
+       } // END - if
+
+       // Special characters?
+       if (preg_match('/.[!,@,#,$,%,^,&,*,?,\/,_,~,+,-,(,)]/', $password)) {
+               // Add score
+               $score++;
+       } // END - if
+
+       // Return password score
+       return $score;
+}
+
+// "Translates" password strength/score
+function translatePasswordStrength ($strength) {
+       // Return it translated
+       return '{--PASSWORD_SCORE_' . bigintval($strength) . '--}';
+}
+
+// Checks whether given password is strong enough
+function isStrongPassword ($password) {
+       // Determine it
+       return (calculatePasswordStrength($password) >= getConfig('min_password_score'));
+}
+
+// "Getter" for base path from theme
+function getBasePathFromTheme ($theme) {
+       return sprintf('%stheme/%s/css/', getPath(), $theme);
+}
+
 // [EOF]
 ?>
index 090d4341f4870236d7b3ccb20db62ec606ae2a73..3e780dcac39499dbd74334881b43631fbf8bf5d6 100644 (file)
@@ -65,10 +65,10 @@ if (getMasterSalt() == '') {
        unset($masterSalt);
 } // END - if
 
-if (getFileHash() == '') {
+if ((getFileHash() == '') || (!isFileReadable(getPath() . getCachePath() . '.' . getFileHash() . '.cache'))) {
        // Create filename from hashed random string
        $fileHash = sha1(generatePassword(mt_rand(128, 256)));
-       $FQFN = sprintf("%s%s.%s.cache",
+       $FQFN = sprintf('%s%s.%s.cache',
                getPath(),
                getCachePath(),
                $fileHash
@@ -84,7 +84,9 @@ if (getFileHash() == '') {
        if (isFileReadable($FQFN)) {
                // Also update configuration
                setConfigEntry('secret_key', $secretKey);
-               updateConfiguration('file_hash', $fileHash);
+
+               // Force update
+               updateConfiguration('file_hash', $fileHash, '', '0', TRUE);
 
                // Remove variables
                unset($secretKey);
diff --git a/inc/hooks.php b/inc/hooks.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
diff --git a/inc/hourly/hourly_transaction.php b/inc/hourly/hourly_transaction.php
new file mode 100644 (file)
index 0000000..cd5baac
--- /dev/null
@@ -0,0 +1,114 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 06/22/2013 *
+ * ===================                          Last change: 06/22/2013 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : hourly_transaction.php                           *
+ * -------------------------------------------------------------------- *
+ * Short description : Hourly reset for transaction hash                *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Stuendlicher Reset fuer Transaktionshashes       *
+ * -------------------------------------------------------------------- *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2013 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')) {
+       die();
+} elseif ((!isHtmlOutputMode()) || (isHourlyResetEnabled()) || (!isExtensionInstalledAndNewer('sql_patches', '0.7.5'))) {
+       // Do not execute when script is in non-HTML mode or no hourly reset
+       return;
+} elseif (!isExtensionActive('transaction')) {
+       if (isDebugModeEnabled()) logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-transaction disabled.');
+       return;
+}
+
+// Debug line
+//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'hourly reset started.');
+
+sqlQuery("DELETE LOW_PRIORITY FROM
+       `{?_MYSQL_PREFIX?}_transaction_log`
+WHERE
+       (
+               `transaction_confirmed`='Y' AND
+               (UNIX_TIMESTAMP() - UNIX_TIMESTAMP(`transaction_timestamp`)) >= {?transaction_confirmed_purge_interval?}
+       ) OR (
+               `transaction_fee_collected`='Y' AND
+               (UNIX_TIMESTAMP() - UNIX_TIMESTAMP(`transaction_timestamp`)) >= {?transaction_confirmed_purge_interval?}
+       )", __FILE__, __LINE__
+);
+
+// Look for for "unhashed" transactions
+$result = sqlQuery("SELECT
+       `transaction_id`,
+       `transaction_sender`,
+       `transaction_receiver`,
+       `transaction_fee_sender`,
+       `transaction_fee_receiver`,
+       `transaction_original`,
+       `transaction_subject`,
+       `transaction_timestamp`
+FROM
+       `{?_MYSQL_PREFIX?}_transaction_log`
+WHERE
+       `transaction_hash`='INVALID' AND
+       `transaction_level` IS NULL
+ORDER BY
+       `transaction_id` ASC", __FILE__, __LINE__);
+
+// Are there some entries?
+if (sqlNumRows($result) > 0) {
+       // Load all
+       while ($row = sqlFetchArray($result)) {
+               // Generate hash from transaction data
+               $hash = generateHashFromTransactionData($row);
+
+               // Save hash in transaction
+               sqlQueryEscaped("UPDATE
+       `{?_MYSQL_PREFIX?}_transaction_log`
+SET
+       `transaction_hash`='%s',
+       `transaction_captcha`=%s
+WHERE
+       `transaction_id`=%s
+LIMIT 1",
+                       array(
+                               $hash,
+                               bigintval($row['transaction_captcha']),
+                               bigintval($row['transaction_id'])
+                       ), __FILE__, __LINE__
+               );
+       } // END - while
+} // END - if
+
+// Free result
+sqlFreeResult($result);
+
+// Debug line
+//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'hourly reset ended.');
+
+// [EOF]
+?>
index 8932af62882342f0f92a76a06851f3444404b592..4fc66c95a5a94a4850f1af9106d3a284b9e34ace 100644 (file)
@@ -445,7 +445,7 @@ function sendRawRequest ($host, $request, $allowOnlyHttpOkay = TRUE) {
        //* DEBUG: */ debugOutput('<strong>Response:</strong><pre>'.print_r($response, TRUE).'</pre>');
 
        // Proxy agent found or something went wrong?
-       if (count($response) == 0) {
+       if (!isFilledArray($response)) {
                // No response, maybe timeout
                $response = array('', '', '');
                logDebugMessage(__FUNCTION__, __LINE__, 'Invalid empty response array, maybe timed out?');
@@ -580,7 +580,7 @@ function mergeHttpHeadersWithBody ($body) {
        $GLOBALS['http_headers'][] = getConfig('HTTP_EOL');
 
        // Make sure at least one header is there (which is still not valid but okay here)
-       assert((is_array($GLOBALS['http_headers'])) && (count($GLOBALS['http_headers']) > 0));
+       assert(isFilledArray($GLOBALS['http_headers']));
 
        // Merge both together
        return merge_array($GLOBALS['http_headers'], array(count($GLOBALS['http_headers']) => $body));
diff --git a/inc/img/img_transaction_captcha.php b/inc/img/img_transaction_captcha.php
new file mode 100644 (file)
index 0000000..75e8eb0
--- /dev/null
@@ -0,0 +1,61 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 01/06/2013 *
+ * ===================                          Last change: 01/06/2013 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : img-                                             *
+ * -------------------------------------------------------------------- *
+ * Short description : Image tag for ext-                               *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Bild-Tag fuer ext-                               *
+ * -------------------------------------------------------------------- *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2013 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')) {
+       die();
+} elseif (!isExtensionActive('transaction')) {
+       redirectToUrl('img/captcha-error.png');
+       return;
+} elseif ((!isMember()) || (!isGetRequestElementSet('id')) && (!isValidId(getRequestElement('id')))) {
+       redirectToUrl('img/captcha-error.png');
+       return;
+}
+
+// Configure the CAPTCHA sub-system
+if (!generateCaptcha(array(
+       // Base image
+       'base_image' => getPath() . 'inc/captcha-base.png',
+       // Code to display
+       'code'       => getCaptchaCodeFromTransactionId(getRequestElement('id')),
+))) {
+       // Not generated
+       redirectToUrl('img/captcha-error.png');
+} // END - if
+
+// [EOF]
+?>
index eac39ded7fd62d8bec29d1ffdb67a147c33ac585..8dd5a2a06025f993f93be77058ae3779f2e968a6 100644 (file)
@@ -122,7 +122,7 @@ function loadInclude ($inc) {
                // Is the include file there?
                if (!isIncludeReadable($inc)) {
                        // Not there so log it
-                       reportBug(__FUNCTION__, __LINE__, sprintf("Include file %s not found or deprecated.", $inc));
+                       reportBug(__FUNCTION__, __LINE__, sprintf('Include file %s not found or deprecated.', $inc));
                } // END - if
 
                // Add the path. This is why we need a trailing slash in config.php
index 4e3605f2b665afc866cb926d7c32833022a7b191..5942280ffa3af7a7728bffd4338c51e71aa0673e 100644 (file)
@@ -36,7 +36,7 @@
  ************************************************************************/
 
 // Some security stuff...
-if ((!defined('__SECURITY')) || (!isInstallationPhase())) {
+if ((!defined('__SECURITY')) || (!isInstaller())) {
        die();
 } // END - if
 
@@ -68,7 +68,17 @@ function initInstaller () {
                'warn_no_pass'    => 'other_config',
                'write_footer'    => 'other_config',
                'enable_backlink' => 'other_config',
+               // first_admin
+               'admin_login'     => 'first_admin',
+               'admin_email'     => 'first_admin',
+               'admin_password1' => 'first_admin',
+               'admin_password2' => 'first_admin',
        );
+
+       // Set mininmum password length/score and other config entries
+       setConfigEntry('min_password_length', 5);
+       setConfigEntry('min_password_score' , 3);
+       setConfigEntry('verbose_sql'        , 'N');
 }
 
 // Write the local config-local.php file from "template"
@@ -220,7 +230,7 @@ function isPlainInstaller () {
 // Handle all given failed fields
 function handleInstallerFailedFields ($failedFields) {
        // Don't do anything with no array or no entries
-       if ((!is_array($failedFields)) || (count($failedFields) == 0)) {
+       if (!isFilledArray($failedFields)) {
                // Abort here
                reportBug(__FUNCTION__, __LINE__, 'failedFields[]=' . gettype($failedFields) . ' verification failed');
        } // END - if
@@ -278,10 +288,10 @@ function doInstallerPostCheck ($currentTab, &$saveStatus) {
        // Is the function there?
        if (!function_exists($callbackName)) {
                // Not found, which is not bad, but it means the post-check won't be run
-               //* NOISY-DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Call-back function ' . $callbackName . ' not found. saveStatus[status]=' . $saveStatus['status'] . ', currentTab=' . $currentTab);
+               /* NOISY-DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Call-back function ' . $callbackName . ' not found. saveStatus[status]=' . $saveStatus['status'] . ', currentTab=' . $currentTab);
 
                // Abort here
-               return;
+               return FALSE;
        } // END - if
 
        // Init 'tab-specific error message'
@@ -295,13 +305,13 @@ function doInstallerPostCheck ($currentTab, &$saveStatus) {
        $isValid = (bool) call_user_func($callbackName, $currentTab);
 
        // Is it not valid?
-       if (($isValid === FALSE) || (count($GLOBALS['installer_failed_fields'][$currentTab]) > 0)) {
+       if (($isValid === FALSE) || (isFilledArray($GLOBALS['installer_failed_fields'][$currentTab]))) {
                // Then change status and message
                $saveStatus['status']  = 'failed';
                $saveStatus['message'] = '{%message,INSTALLER_POST_CHECK_' . strtoupper($currentTab) . '_FAILED=' . $GLOBALS['installer_post_error'][$currentTab] . '%}';
 
                // Is there failed fields?
-               if (count($GLOBALS['installer_failed_fields'][$currentTab]) > 0) {
+               if (isFilledArray($GLOBALS['installer_failed_fields'][$currentTab])) {
                        // Then merge both
                        $saveStatus['failed_fields'] = merge_array($saveStatus['failed_fields'], $GLOBALS['installer_failed_fields'][$currentTab]);
                } // END - if
@@ -356,7 +366,7 @@ function generateInstallerExtensionTable () {
                if ((loadExtension($ext_name, 'test', '0.0.0', TRUE)) && (isExtensionProductive($ext_name)) && (substr($ext_name, 0, 10) != 'admintheme')) {
                        // Default is not disabled
                        $disabled = '';
-                       if ($ext_name == 'sql_patches') {
+                       if (in_array($ext_name, array('sql_patches', 'timezone'))) {
                                // Always keep this enabled
                                $disabled = ' disabled="disabled"';
                        } // END - if
@@ -468,10 +478,12 @@ function isInstallerWebmasterValid ($value) {
                (isEmailValid($value))
        ||
                // Or is there 'localhost/127.0.0.1' as hostname? Then don't check email address (e.g. you@localhost)
-               (in_array(detectServerName(), array('localhost', '127.0.0.1')))
+               (isDeveloperSystem())
        ) && (
                // Is not default "email address"
                $value != getMessage('DEFAULT_WEBMASTER')
+       ) && (
+               strlen($value) >= 11
        ));
 
        // Return it
@@ -541,6 +553,32 @@ function isInstallerMysqlPrefixValid ($value) {
 
 // ----------------- Other configuration -----------------
 
+// ----------------- First administator -----------------
+
+// Call-back function to check validity of 'admin_login'
+function isInstallerAdminLoginValid ($value) {
+       // Length should not be shorter than 4 characters
+       return (strlen($value) >= 4);
+}
+
+// Call-back function to check validity of 'admin_email'
+function isInstallerAdminEmailValid ($value) {
+       // Just call webmaster-check function
+       return isInstallerWebmasterValid($value);
+}
+
+// Call-back function to check validity of 'admin_password1'
+function isInstallerAdminPassword1Valid ($value) {
+       // Check if it is strong
+       return isStrongPassword($value);
+}
+
+// Call-back function to check validity of 'admin_password2'
+function isInstallerAdminPassword2Valid ($value) {
+       // Check if it is strong
+       return isStrongPassword($value);
+}
+
 // ----------------- Extensions -----------------
 
 // Call-back function to check 'sel' (array!)
@@ -696,7 +734,7 @@ function isInstallerPostDatabaseConfigValid ($currentTab) {
 
                // Abort here
                return FALSE;
-       } elseif (count($engines) == 0) {
+       } elseif (!isFilledArray($engines)) {
                // No engine is active
                $GLOBALS['installer_post_error'][$currentTab] = '{--INSTALLER_POST_DATABASE_NO_ENGINES_ACTIVE--}';
                array_push($GLOBALS['installer_failed_fields'][$currentTab], 'mysql_engine');
@@ -800,6 +838,55 @@ function isInstallerPostDatabaseConfigValid ($currentTab) {
        return $isValid;
 }
 
+// Call-back function to check if first admin data is valid
+function isInstallerPostFirstAdminValid ($currentTab) {
+       // Is all data valid?
+       if (!isPostRequestElementSet('admin_login')) {
+               // Login not set
+               $GLOBALS['installer_post_error'][$currentTab] = '{--INSTALLER_POST_FIRST_ADMIN_LOGIN_EMPTY--}';
+               array_push($GLOBALS['installer_failed_fields'][$currentTab], 'admin_login');
+               return FALSE;
+       } elseif (strlen(postRequestElement('admin_login')) < 4) {
+               // Login to short
+               $GLOBALS['installer_post_error'][$currentTab] = '{--INSTALLER_POST_FIRST_ADMIN_LOGIN_SHORT--}';
+               array_push($GLOBALS['installer_failed_fields'][$currentTab], 'admin_login');
+               return FALSE;
+       } elseif (!isPostRequestElementSet('admin_email')) {
+               // Email address not set
+               $GLOBALS['installer_post_error'][$currentTab] = '{--INSTALLER_POST_FIRST_ADMIN_EMAIL_EMPTY--}';
+               array_push($GLOBALS['installer_failed_fields'][$currentTab], 'admin_email');
+               return FALSE;
+       } elseif (!isInstallerAdminEmailValid(postRequestElement('admin_email'))) {
+               // Invalid email address
+               $GLOBALS['installer_post_error'][$currentTab] = '{--INSTALLER_POST_FIRST_ADMIN_EMAIL_INVALID--}';
+               array_push($GLOBALS['installer_failed_fields'][$currentTab], 'admin_email');
+               return FALSE;
+       } elseif ((!isPostRequestElementSet('admin_password1')) && (isPostRequestElementSet('admin_password2'))) {
+               // Password 1 not set
+               $GLOBALS['installer_post_error'][$currentTab] = '{--INSTALLER_POST_FIRST_ADMIN_PASSWORD1_EMPTY--}';
+               array_push($GLOBALS['installer_failed_fields'][$currentTab], 'admin_password1');
+               return FALSE;
+       } elseif ((isPostRequestElementSet('admin_password1')) && (!isPostRequestElementSet('admin_password2'))) {
+               // Password 2 not set
+               $GLOBALS['installer_post_error'][$currentTab] = '{--INSTALLER_POST_FIRST_ADMIN_PASSWORD2_EMPTY--}';
+               array_push($GLOBALS['installer_failed_fields'][$currentTab], 'admin_password2');
+               return FALSE;
+       } elseif (postRequestElement('admin_password1') != postRequestElement('admin_password2')) {
+               // Passwords mismatch
+               $GLOBALS['installer_post_error'][$currentTab] = '{--INSTALLER_POST_FIRST_ADMIN_PASSWORDS_MISMATCH--}';
+               array_push($GLOBALS['installer_failed_fields'][$currentTab], 'admin_password1', 'admin_password2');
+               return FALSE;
+       } elseif (!isStrongPassword(postRequestElement('admin_password1'))) {
+               // Weak passwords entered
+               $GLOBALS['installer_post_error'][$currentTab] = '{--INSTALLER_POST_FIRST_ADMIN_PASSWORDS_WEAK--}';
+               array_push($GLOBALS['installer_failed_fields'][$currentTab], 'admin_password1', 'admin_password2');
+               return FALSE;
+       } // END - if
+
+       // All tests passed
+       return TRUE;
+}
+
 // Store given tab in session
 function installTabOkay ($currentTab) {
        // Is it set?
@@ -859,5 +946,11 @@ function importInstallSqlDump ($dumpName) {
        importSqlDump('install', $dumpName, 'install');
 }
 
+// Wrapper to check if tables.sql and menu-foo.sql are readable
+function isInstallerSqlsReadable ($path) {
+       // Determine it
+       return ((isFileReadable($path . 'install/tables.sql')) && (isFileReadable($path . 'install/menu-' . getLanguage() . '.sql')));
+}
+
 // [EOF]
 ?>
index 4a7443d451ddd30835f02ee3255c294d61d3d5fb..abf378c987c7ceb7d635fafe17fa3f94c3da61fb 100644 (file)
@@ -36,7 +36,7 @@
  ************************************************************************/
 
 // Some security stuff...
-if ((!defined('__SECURITY')) || (!isInstallationPhase())) {
+if ((!defined('__SECURITY')) || (!isInstaller())) {
        die();
 } // END - if
 
@@ -97,7 +97,7 @@ if ((!isInstalled()) || (!isAdminRegistered())) {
                loadIncludeOnce($inc);
        } else {
                // Not found, may be invalid page
-               logDebugMessage(__FILE__, __LINE__, sprintf("Wrong install_page=%s detected", getRequestElement('install_page')));
+               logDebugMessage(__FILE__, __LINE__, sprintf('Wrong install_page=%s detected', getRequestElement('install_page')));
                addTemplateToInstallContent('admin_settings_unsaved', '{%message,INSTALLER_WRONG_PAGE=' . getRequestElement('install_page') . '%}');
        }
 } else {
index 38166d6e74f31b422b1bc6cb448015cf322f2b22..3eb304602876003075cb349dc617c33a0753cf48 100644 (file)
@@ -36,7 +36,7 @@
  ************************************************************************/
 
 // Some security stuff...
-if ((!defined('__SECURITY')) || (!isInstallationPhase())) {
+if ((!defined('__SECURITY')) || (!isInstaller())) {
        die();
 } // END - if
 
index 13376a72cb2f40f0f0e7bd1bf7ae5141db44024a..f25eedaef693f2c8ff9e16cd15e52d7121d7e62d 100644 (file)
@@ -36,7 +36,7 @@
  ************************************************************************/
 
 // Some security stuff...
-if ((!defined('__SECURITY')) || (!isInstallationPhase())) {
+if ((!defined('__SECURITY')) || (!isInstaller())) {
        die();
 } // END - if
 
index 91839eb8092fad87394a304eeb7a7b9f4e943d33..cdf02e92d240428e7bece2ea70d951ebe3cc1bc3 100644 (file)
@@ -36,7 +36,7 @@
  ************************************************************************/
 
 // Some security stuff...
-if ((!defined('__SECURITY')) || (!isInstallationPhase())) {
+if ((!defined('__SECURITY')) || (!isInstaller())) {
        die();
 } // END - if
 
index 60ef83c0cd2f4f83dc7b1f7bc74bf7f7c18e7c49..57256a328dc7e19c71a9c04bece253a912d247b8 100644 (file)
@@ -36,7 +36,7 @@
  ************************************************************************/
 
 // Some security stuff...
-if ((!defined('__SECURITY')) || (!isInstallationPhase())) {
+if ((!defined('__SECURITY')) || (!isInstaller())) {
        die();
 } // END - if
 
index ba84c15b6c427fd7e16267d7c8838847c2b2e874..9f8e363a1d7da130683104019c20825e6237f872 100644 (file)
@@ -36,7 +36,7 @@
  ************************************************************************/
 
 // Some security stuff...
-if ((!defined('__SECURITY')) || (!isInstallationPhase())) {
+if ((!defined('__SECURITY')) || (!isInstaller())) {
        die();
 } // END - if
 
index 14c2a0cc155da430e12a2af42274fc42f573a748..faf29112a719416e36cc50224f9e26ddf8d61d3c 100644 (file)
@@ -36,7 +36,7 @@
  ************************************************************************/
 
 // Some security stuff...
-if ((!defined('__SECURITY')) || (!isInstallationPhase())) {
+if ((!defined('__SECURITY')) || (!isInstaller())) {
        die();
 } // END - if
 
@@ -56,7 +56,7 @@ if ((isPostRequestElementSet('finalize')) && (!isInstalled())) {
                // Seems to work, also right database?
                if (sqlSelectDatabase($GLOBALS['install_mysql']['dbase'], __FILE__, __LINE__) === TRUE) {
                        // Check for dumps
-                       if ((!isFileReadable(postRequestElement('spath') . 'install/tables.sql')) || (!isFileReadable(postRequestElement('spath') . 'install/menu-'.getLanguage().'.sql'))) {
+                       if (!isInstallerSqlsReadable(postRequestElement('spath'))) {
                                // Installation area not found
                                reportBug(__FILE__, __LINE__, 'SQL dumps not found. Please extract ALL files from the archive or checkout all files out from SVN.');
                                return;
index e36a56a9495d4bcfb8b6ae169fff3d9c62eadceb..8decb7ad8f456cc78fb1db833172448bbcd13bff 100644 (file)
@@ -36,7 +36,7 @@
  ************************************************************************/
 
 // Some security stuff...
-if ((!defined('__SECURITY')) || (!isInstallationPhase())) {
+if ((!defined('__SECURITY')) || (!isInstaller())) {
        die();
 } // END - if
 
index b89f9a721dacf9175ab5502beb812028d58daf8f..70c5cbedb068bad617b39654eb2cea39c12f4a74 100644 (file)
@@ -36,7 +36,7 @@
  ************************************************************************/
 
 // Some security stuff...
-if ((!defined('__SECURITY')) || (!isInstallationPhase())) {
+if ((!defined('__SECURITY')) || (!isInstaller())) {
        die();
 } // END - if
 
index a6f6f437c34843fd4f7c3fea37edee505a9ae060..ba6e1fd90a57eee6e4f1f3fd589fd9e43b83b946 100644 (file)
@@ -38,7 +38,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} elseif ((!isInstallationPhase()) || (!isGetRequestElementSet('install_page'))) {
+} elseif ((!isInstaller()) || (!isGetRequestElementSet('install_page'))) {
        return;
 }
 
index 249812c7102c781dfe4238dc6e6d2ed25fb4b71d..9566d60516a22ca37d57aee50cac5327281f1797 100644 (file)
@@ -51,7 +51,7 @@ function getMessage ($messageId) {
                $return = $GLOBALS['messages'][getCurrentLanguage()][$messageId];
        } else {
                // Missing language constant
-               logDebugMessage(__FUNCTION__, __LINE__, sprintf("Missing message string %s detected.", $messageId));
+               logDebugMessage(__FUNCTION__, __LINE__, sprintf('Missing message string %s detected.', $messageId));
        }
 
        // Return the string
@@ -168,10 +168,10 @@ function isLanguageIncludeReadable ($ext_name = 'none') {
                // Generate filename
                if ($ext_name == 'none') {
                        // Generic
-                       $languageInclude = sprintf("inc/language/%s.php", getLanguage());
+                       $languageInclude = sprintf('inc/language/%s.php', getLanguage());
                } else {
                        // Extension's language file
-                       $languageInclude = sprintf("inc/language/%s_%s.php", $ext_name, getLanguage());
+                       $languageInclude = sprintf('inc/language/%s_%s.php', $ext_name, getLanguage());
                }
 
                // Look for file if no extension name is provided
@@ -214,7 +214,7 @@ function loadLanguageFile ($ext_name = 'none') {
                loadLanguageInclude($ext_name);
        } elseif ((isDebugModeEnabled()) && (isHtmlOutputMode()) && ($ext_name != 'sql_patches') && (substr($ext_name, 0, 10) != 'admintheme')) {
                // No language file is not so good...
-               logDebugMessage(__FUNCTION__, __LINE__, sprintf("NOTICE: Extension %s has no language file or we cannot read from it. lang=%s, mode=%s",
+               logDebugMessage(__FUNCTION__, __LINE__, sprintf('NOTICE: Extension %s has no language file or we cannot read from it. lang=%s, mode=%s',
                        $ext_name,
                        getLanguage(),
                        getExtensionMode()
@@ -222,7 +222,7 @@ function loadLanguageFile ($ext_name = 'none') {
        }
 
        // Check for installation mode
-       if ((isInstallationPhase()) || (!isAdminRegistered())) {
+       if ((isInstaller()) || (!isAdminRegistered())) {
                // Load language file
                loadLanguageInclude('install');
        } // END - if
@@ -233,10 +233,10 @@ function loadLanguageInclude ($ext_name = 'none') {
        // Generate filename
        if ($ext_name == 'none') {
                // Generic
-               $languageInclude = sprintf("inc/language/%s.php", getLanguage());
+               $languageInclude = sprintf('inc/language/%s.php', getLanguage());
        } else {
                // Extension's language file
-               $languageInclude = sprintf("inc/language/%s_%s.php", $ext_name, getLanguage());
+               $languageInclude = sprintf('inc/language/%s_%s.php', $ext_name, getLanguage());
        }
 
        // Check it before loading
@@ -245,7 +245,7 @@ function loadLanguageInclude ($ext_name = 'none') {
                loadIncludeOnce($languageInclude);
        } else {
                // Not readable!
-               logDebugMessage(__FUNCTION__, __LINE__, sprintf("Language file %s not found or readable.", $languageInclude));
+               logDebugMessage(__FUNCTION__, __LINE__, sprintf('Language file %s not found or readable.', $languageInclude));
        }
 }
 
diff --git a/inc/language.php b/inc/language.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
index 0810d03720ab73e710b50441124708264f4c16e3..5b38dc4aa62c9b96c74001cdf5017186b7547765 100644 (file)
@@ -46,8 +46,8 @@ addMessages(array(
        'GUEST_ACTIVE_NO_MEMER_ONLINE_TODAY' => "Heute war noch kein einziges Mitglied online.",
        'GUEST_ACTIVE_HEADER' => "Wir waren heute online.",
        'GUEST_ACTIVE_FOOTER' => "Diese Mitglieder waren heute bei <strong>{?MAIN_TITLE?}</strong> eingeloggt.",
-       'ADMIN_CONFIG_ACTIVE_TITLE' => "Einstellungen an Aktiv-Liste",
-       'ADMIN_CONFIG_ACTIVE_LIMIT' => "Anzahl Eintr&auml;ge in Liste",
+       'ADMIN_CONFIG_ACTIVE_TITLE' => "Einstellungen an Aktiv-Liste:",
+       'ADMIN_CONFIG_ACTIVE_LIMIT' => "Anzahl Eintr&auml;ge in Liste:",
 ));
 
 // [EOF]
index 3115062e1ddc4945f4334b6bc403ed482de49759..77d675b888599b164cf1a164fbac937e0a2c32c1 100644 (file)
@@ -51,9 +51,9 @@ addMessages(array(
        'ADMIN_ADMINS_ADD_DONE' => "Das Admin-Account wurde angelegt.",
        'ADMIN_ADMINS_EDIT_ACCOUNTS_TITLE' => "Admin-Accounts bearbeiten",
        'ADMIN_ADMINS_EDIT_DELETE_ACCOUNTS_TITLE' => "Admin-Accounts verwalten",
-       'ADMIN_ADMINS_CONTACT' => "Admin-Login",
-       'ADMIN_ADMINS_EMAIL' => "E-Mail Adresse",
-       'ADMIN_ADMINS_PASSWORD' => "Passwort und Wiederholung",
+       'ADMIN_ADMINS_CONTACT' => "Admin-Login:",
+       'ADMIN_ADMINS_EMAIL' => "E-Mail Adresse:",
+       'ADMIN_ADMINS_PASSWORD' => "Passwort und Wiederholung:",
        'ADMIN_ADMINS_EDIT_NOTICE' => "Bitte beachten Sie, dass Sie nur dann das Passwort zweimal eingeben m&uuml;ssen, wenn Sie es &auml;ndern wollen. Wollen Sie nur die Daten &auml;ndern, brauchen Sie kein Passwort eingeben.",
        'ADMIN_ADMINS_DELETE_ACCOUNTS_TITLE' => "Wollen Sie wirklich diese Accounts l&ouml;schen?",
        'ADMIN_ADMINS_CANNOT_DELETE_LAST' => "Das letzte Admin-Account kann nicht gel&ouml;scht werden.",
@@ -75,14 +75,14 @@ addMessages(array(
        'ADMIN_ADMINS_SELECT_MODE' => "Zugriffsmodus ausw&auml;hlen",
        'ADMIN_ADMINS_ACCESS_MODE_ALLOW' => "Erlauben",
        'ADMIN_ADMINS_ACCESS_MODE_DENY' => "Ablehnen",
-       'ADMIN_ADMINS_ACCESS_MODE' => "Zugriffsmodus",
+       'ADMIN_ADMINS_ACCESS_MODE' => "Zugriffsmodus:",
        'ADMIN_ADMINS_ACL_NOTICE' => "Sperren Sie nicht sich selber aus, indem Sie den Zugriffsmodus Ihres eigenen Accountes auf <strong>{--ADMIN_ADMINS_ACCESS_MODE_DENY--}</strong> stellen! Dann k&ouml;nnen Sie zwar einloggen, aber nichts mehr machen.",
        'ADMIN_ADMINS_SAME_MODE_SELECTED' => "Bitte w&auml;hlen Sie den anderen Zugriffsmodus aus.",
        'ADMIN_ADMINS_SELECT_ACTION_WHAT' => "Bitte w&auml;hlen Sie ein Haupt- oder Untermen&uuml; aus.",
        'ADMIN_ADMINS_ACL_ALREADY_ADDED' => "Zugriffskontrollzeile bereits hinzugef&uuml;gt.",
        'ADMIN_ADMINS_ACL_SAVED' => "Zugriffskontrollzeile gespeichert.",
        'ADMIN_ADMINS_LIST_ACLS' => "Alle angelgten Zugriffkontrollzeilen auflisten",
-       'ADMIN_ADMINS_LOGIN_ID' => "Admin-Login",
+       'ADMIN_ADMINS_LOGIN_ID' => "Admin-Login:",
        'ADMIN_ADMINS_EDIT_ACLS_TITLE' => "Zugriffkontrollzeilen &auml;ndern",
        'ADMIN_ADMINS_DELETE_ACLS' => "Zugriffkontrollzeilen l&ouml;schen",
        'ADMIN_ADMINS_CHANGE_ACLS_SUBMIT' => "Eintr&auml;ge &auml;ndern",
@@ -91,7 +91,7 @@ addMessages(array(
        'ADMIN_ADMINS_ENTRIES_DELETED' => "Zugriffkontrollzeilen wurden gel&ouml;scht.",
        'ADMIN_ADMINS_MAILS_NO_ENTRIES' => "Keine Eintr&auml;ge gefunden.",
        'ADMIN_LIST_ADMINS_MAILS_TITLE' => "Admins-Mails verwalten",
-       'ADMIN_ADMINS_TEMPLATE' => "Mail-Template",
+       'ADMIN_ADMINS_TEMPLATE' => "Mail-Template:",
        'ADMIN_TO_ALL_ADMINS' => "An alle Admins",
        'ADMIN_ADMINS_TO_USER_EVENTS' => "Im Userlog vermerken",
        'ADMIN_ADMINS_NO_MAIL_CHECKED' => "Keine Mails zum Editieren ausgew&auml;hlt.",
index c62ea237080735b9900e460c78f3dcbbabc5f79a..972c0495fe34172f3ec77c29b88029406b3f7105 100644 (file)
@@ -43,7 +43,7 @@ if (!defined('__SECURITY')) {
 // Language definitions
 addMessages(array(
        // Admin lines
-       'ADMIN_CONFIG_AUTOPURGE_TITLE' => "Konfiguration der automatischen L&ouml;schungen",
+       'ADMIN_CONFIG_AUTOPURGE_TITLE' => "Konfiguration der automatischen L&ouml;schungen:",
        'ADMIN_CONFIG_AUTOPURGE_INACTIVE' => "Sollten inaktive Accounts erkannt und gel&ouml;scht werden?",
        'ADMIN_CONFIG_AUTOPURGE_INACTIVE_SINCE' => "Dauer bis best&auml;tigtes Account als inaktiv markiert wird:",
        'ADMIN_CONFIG_AUTOPURGE_INACTIVE_TIME' => "Dauer bis inaktives Account gel&ouml;scht wird:",
@@ -88,6 +88,7 @@ addMessages(array(
 
        // Points accounts - subject
        'POINTS_SUBJECT_AUTOPURGE_ADD' => "Mailr&uuml;ckverg&uuml;tung durch Autol&ouml;schung",
+       'POINTS_SUBJECT_AUTOPURGE_ADD_REF' => "Anteilige Mailr&uuml;ckverg&uuml;tung durch Autol&ouml;schung",
 
        // Admin - for ext-task
        'ADMIN_TASK_INACTIVE_AUTOPURGE' => "Inaktive Accounts",
index 985f079e3a1fa44e4d95398c84c08738a288f0f6..9965d913c43da9de1635235fdb894af674fb90cb 100644 (file)
@@ -62,22 +62,24 @@ addMessages(array(
        'ADMIN_ADD_BANK_PACKAGE' => "Angebotspaket einstellen",
        'ADMIN_BANK_FOOTER_NOTICE' => "Bitte beachten Sie, dass keine Mail zu den Mitgliedern unterwegs ist. Seien Sie bei Titel, Beschreibung und Freitext kreativ und schreiben Sie aussagekr&auml;ftige Texte.",
        'ADMIN_BANK_NO_PACKAGES_FOUND' => "Keine Angebotspakete zum Auflisten gefunden.",
-       'ADMIN_LIST_BANK_PACKAGES' => "Angebotspakete f&uuml;r Ihre Bank auflisten",
-       'ADMIN_LIST_BANK_PACKAGES_TITLE' => "Pakettitel",
-       'ADMIN_LIST_BANK_PACKAGES_DESCR' => "Paketbeschreibung",
-       'ADMIN_LIST_BANK_PACKAGES_ACCOUNT_FEE' => "Grundgeb&uuml;hr",
-       'ADMIN_LIST_BANK_PACKAGES_STATUS' => "Erwerbbar?",
-       'ADMIN_LIST_BANK_PACKAGES_ACCOUNT_INTEREST_PLUS' => "Zinsen f. Haben",
-       'ADMIN_LIST_BANK_PACKAGES_ACCOUNT_INTEREST_MINUS' => "Zinsen f. Soll",
-       'ADMIN_DELETE_BANK_PACKAGES' => "Angebotspakete entg&uuml;ltig entfernen",
+       'ADMIN_LIST_BANK_PACKAGES_TITLE' => "Angebotspakete f&uuml;r Ihre Bank auflisten",
+       'ADMIN_DELETE_BANK_PACKAGES_TITLE' => "Angebotspakete entg&uuml;ltig entfernen:",
        'ADMIN_DELETE_BANK_PACKAGES_NOTICE' => "<strong>Hinweis:</strong> Wenn Sie die aufgelisteten Angebotspakete entg&uuml;ltig l&ouml;schen, kann eventuell Ihre Bank nicht korrekt funktionieren, da eventuell einige Mitglieder dieses Paket ausgew&auml;hlt haben. Bitte schauen Sie unter <span class=\"bad\">Konten auflisten</span> vorher nach.",
        'ADMIN_EDIT_BANK_PACKAGES' => "Angebotspakete &auml;ndern",
        'ADMIN_EDIT_BANK_PACKAGES_NOTICE' => "<strong>Hinweis:</strong> Derzeit keine Tipps f&uuml;r diese Aktion.",
 
-// Output modes
+       // Output modes
        'BANK_OUTPUT_MODE_LOGIN' => "Nur im Mitgliedsbereich",
        'BANK_OUTPUT_MODE_EMAIL' => "Per EMail&amp;Mitgliedsbereich",
        'BANK_OUTPUT_MODE_DISABLED' => "Keinen Zugriff",
+
+       // Generic messages
+       'BANK_PACKAGES_TITLE' => "Pakettitel:",
+       'BANK_PACKAGES_DESCR' => "Paketbeschreibung:",
+       'BANK_PACKAGES_ACCOUNT_FEE' => "Grundgeb&uuml;hr:",
+       'BANK_PACKAGES_STATUS' => "Erwerbbar?",
+       'BANK_PACKAGES_ACCOUNT_INTEREST_PLUS' => "Zinsen f. Haben:",
+       'BANK_PACKAGES_ACCOUNT_INTEREST_MINUS' => "Zinsen f. Soll:",
 ));
 
 // [EOF]
index 9ff7d2ca7c7b7f3dec92a458bc1233189ab9685d..48ec2d3678cc85171183dbdbeb247424052b34c6 100644 (file)
@@ -106,9 +106,9 @@ addMessages(array(
        'ADMIN_BEG_ALREADY_WITHDRAW' => "Manuelle Verg&uuml;tungvorbereitung bereits bet&auml;tigt.",
        'BEG_RALLYE_NOTICE' => "Hinweis: Unter <strong>{--BEG_POINTS--}</strong> finden Sie Ihre gesamt erbettelten {?POINTS?} wieder.",
        'BEG_RALLYE_CONDITIONS' => "Wer alles an der Bettel-Rallye teilnehmen kann",
-       'BEG_RALLYE_CONDITION_1' => "Es werden nur aktive und freigeschaltete Mitglieder ber&uuml;cksichtig.",
+       'BEG_RALLYE_CONDITION_1' => "Es werden nur aktive und freigeschaltete Mitglieder ber&uuml;cksichtigt.",
        'BEG_RALLYE_CONDITION_2' => "Es kann jeder dran teilnehmen, der Mitglied bei diesem {?mt_word?} (<strong>{?MAIN_TITLE?}</strong>) und freigegeben ist.",
-       'BEG_RALLYE_CONDITION_3' => "Zur Erstellung des Rallye-Ergebnisses werden alle erbettelten {?POINTS?} ber&uuml;cksichtig.",
+       'BEG_RALLYE_CONDITION_3' => "Zur Erstellung des Rallye-Ergebnisses werden alle erbettelten {?POINTS?} ber&uuml;cksichtigt.",
        'BEG_RALLYE_CONDITION_4' => "Der Rechtsweg ist ausgeschlossen.",
        'MEMBER_LIST_BEG_RALLYE_TITLE' => "Derzeitiger Stand der Bettel-Rallye",
        'BEG_LINK_HERE' => "Betteln Sie am Besten gleich los! Hier ist der Link dazu.",
index f948b36df030dca27d55db7731b9f9d3aaa62a03..8990e1b3a26464dc89a30c9c1a4b2d8a0bc182e8 100644 (file)
@@ -49,6 +49,8 @@ addMessages(array(
        'ADMIN_CONFIG_IP_BLACKLIST_ENABLED' => "Sperrliste f&uuml;r IP-Adressen aktivieren?",
        'ADMIN_CONFIG_URL_BLACKLIST_ENABLED' => "Sperrliste f&uuml;r gebuchte URLs aktivieren?",
        'ADMIN_CONFIG_BLACKLIST_NOTICE' => "<strong>Hinweise:</strong> Die Sperrliste f&uuml;r Email-Adressen gilt sowohl f&uuml;r die Mitgliedsanmeldung als auch wenn das Mitglied seine Daten &auml;ndert. Ist die vom Mitglied eingegebene Email-Adresse gesperrt, wird diese nicht angenommen. Die URL-Sperrliste gilt f&uuml;r alle Erweiterungen (Besuchertausch, Mailbuchung, Forced-Buchungen usw.).",
+       'ADMIN_BLACKLIST_NO_SELECTIONS' => "Es wurden keine Auswahlen getroffen. Bitte w&auml;hlen Sie mindestens einen Sperreintrag aus.",
+       'ADMIN_BLACKLIST_404' => "Es wurden keine Eintr&auml;ge in der Sperrliste gefunden.",
 ));
 
 // [EOF]
index 1f848603d714eb0940dd8c06abb823afe06e340c..9596ca1e6c00fbb4e4f7dba5df87e337c55bf76c 100644 (file)
@@ -44,7 +44,7 @@ if (!defined('__SECURITY')) {
 addMessages(array(
        'MEMBER_BONUS_LOGIN_TOTAL' => "Login-Bonus",
        'MEMBER_BONUS_TURBO_TOTAL' => "Aktiv-Bonus beim Best.",
-       'ADMIN_CONFIG_BONUS_TITLE' => "Einstellungen an Verg&uuml;tungen",
+       'ADMIN_CONFIG_BONUS_TITLE' => "Einstellungen an Verg&uuml;tungen:",
        'ADMIN_CONFIG_BONUS_LOGIN' => "Bonus f&uuml;r Login",
        'ADMIN_CONFIG_BONUS_TURBO' => "Rang-Bonus f&uuml;r Erst-Klicker",
        'ADMIN_CONFIG_TURBO_RATES' => "Bonus f&uuml;r Klicker 2 bis x",
@@ -60,7 +60,7 @@ addMessages(array(
        'BONUS_SHOW_WRONG_TYPE' => "Falscher Typ an das Script &uuml;bergeben! Bitte melden Sie sich <a href=\"mailto:{?WEBMASTER?}\">beim Webmaster</a> .",
        'BONUS_SHOW_NO_DATA' => "Entweder haben Sie f&uuml;r diese Mail keine Aktiv-Verg&uuml;tung erhalten oder der Link ist nicht mehr g&uuml;ltig.",
        'MEMBER_BONUS_NO_RANKS' => "Es hat noch niemand {?POINTS?} zur Mail <span class=\"data\">%s</span> gewonnen! Sie k&ouml;nnten der erste sein! :-)",
-       'MEMBER_BONUS_LOGIN_TURBO_NOTICE' => "Der Login-, Referral-, Klickrate-, Mailbuchungs-  und Best&auml;tigungsbonus wird Ihnen nicht sofort verg&uuml;tet, sondern erst am Ende jeden Monats in Form einer Aktiv-Rallye. Den Mailbuchungsbonus erhalten Sie erst bei Freischaltung Ihrer Mail auf das Bonus-Konto gutgeschrieben.",
+       'MEMBER_BONUS_LOGIN_TURBO_NOTICE' => "Der Login-, Referral-, Klickrate-, Mailbuchungs-  und Best&auml;tigungsbonus wird Ihnen nicht sofort verg&uuml;tet, sondern erst am Ende jeden Monats in Form <a href=\"{%url=modules.php?module=login&amp;what=bonus%}\">einer Aktiv-Rallye</a>. Den Mailbuchungsbonus erhalten Sie erst bei Freischaltung Ihrer Mail auf das Bonus-Konto gutgeschrieben.",
        'MEMBER_BONUS_POINTS_TITLE' => "Sonderbonus-{?POINTS?}",
        'MEMBER_BONUS_RANK_YOU_ARE_404' => "Sie haben bis jetzt noch keine Aktiv-Verg&uuml;tung erhalten.",
        'BONUS_RANK' => "Platz",
@@ -97,7 +97,7 @@ addMessages(array(
        'ADMIN_CONFIG_BONUS_TURBO_TIMEOUT_TITLE' => "Zeitabst&auml;nde und Aufbewahrungszeiten",
        'ADMIN_CONFIG_BONUS_TURBO_MISC_TITLE' => "Sonstige Einstellungen zur Bonus-Erweiterung",
        'MEMBER_BONUS_REFERRAL_TOTAL' => "Referral-Bonus",
-       'MEMBER_BONUS_ORDER_TOTAL' => "Mailbestellungsbonus",
+       'MEMBER_BONUS_ORDER_TOTAL' => "Mailbuchungsbonus",
        'MEMBER_BONUS_STATS_TOTAL' => "100%-Klickratebonus",
        'MEMBER_BONUS_RALLYE_DISABLED' => "Aktiv-Rallye derzeit nicht aktiv.",
        'MEMBER_BONUS_STATS_SUBJECT' => "Ihr Aktiv-Bonus wegen 100% Klickrate",
index bcc81fd45c0e4b1a9cd7356a5175d7b7fd307309..494b5bec291384345df0680b8ce504a1a39b52d4 100644 (file)
@@ -42,6 +42,10 @@ if (!defined('__SECURITY')) {
 
 // Language strings
 addMessages(array(
+       // Admin config
+       'ADMIN_CONFIG_BOOKING_PAGE_COUNT' => "Anzahl Eintr&auml;ge pro Seite:",
+       'ADMIN_CONFIG_BOOKING_PURGE' => "Wie lange sollen Eintr&auml;ge f&uuml;r den Kontoauszug in der Datenbank verbleiben?",
+
        // Admin member 'action' links
        'ADMIN_USER_ACTION_LINK_LIST_BOOKING' => "Kontoauszug anzeigen",
        'ADMIN_USER_ACTION_LINK_LIST_BOOKING_TITLE' => "Zeigt den Kontoauszug des Mitgliedes an.",
@@ -50,8 +54,20 @@ addMessages(array(
        'ADMIN_BOOKING_404' => "Das ausgew&auml;hlte Mitgliedaccount weist zur Zeit keine Kontobewegungen auf.",
 
        // Admin titles
+       'ADMIN_CONFIG_BOOKING_TITLE' => "Konfiguration zum Kontoauszug",
        'ADMIN_LIST_BOOKING_RECORDS_TITLE'  => "Alle Buchungen des Mitgliedes <span class=\"data\">{%get,generateUserProfileLink=userid%}</span> auflisten",
 
+       // Admin legend texts
+       'ADMIN_CONFIG_BOOKING_LISTING_LEGEND' => "Auflisten von Auszugseintr&auml;gen:",
+       'ADMIN_CONFIG_BOOKING_PURGING_LEGEND' => "Bereinigung der Tabelle:",
+
+       // Admin notices
+       'ADMIN_CONFIG_BOOKING_NOTICE' => "<strong>Wichtig:</strong> Diese Tabelle kann bei vielen Mitgliedern sehr schnell gross werden, was bei kleineren Datenbankservern schnell zur &Uuml;berlastung f&uuml;hren kann. Daher empfiehlt es sich, die Eintr&auml;ge schneller zu bereinigen und auch den Tabellentyp auf InnoDB zu setzen.",
+       'ADMIN_LIST_BOOKING_NOTICE' => "<strong>Vorsicht:</strong> Mit Klick auf <strong>{--ADMIN_ACTION_DELETE_BOOKING_SUBMIT--}</strong> werden die Logbucheintr&auml;ge ohne Sicherheitsabfrage gel&ouml;scht. Die Buchungen selbst werden nicht r&uuml;ckg&auml;ngig gemacht.",
+
+       // Admin submit buttons
+       'ADMIN_ACTION_DELETE_BOOKING_SUBMIT' => "Kontoauszug l&ouml;schen",
+
        // Member error messages
        'MEMBER_BOOKING_404' => "Ihr Benutzerkonto weist noch keine Buchungen auf.",
 
@@ -64,10 +80,6 @@ addMessages(array(
        // Generic messages
        'BOOKING_RECORDED' => "Durchgef&uuml;hrt",
        'BOOKING_COMMENTS' => "Kommentar",
-
-       // Admin booking listing
-       'ADMIN_ACTION_DELETE_BOOKING_SUBMIT' => "Kontoauszug l&ouml;schen",
-       'ADMIN_LIST_BOOKING_NOTICE' => "<strong>Vorsicht:</strong> Mit Klick auf <strong>{--ADMIN_ACTION_DELETE_BOOKING_SUBMIT--}</strong> werden die Logbucheintr&auml;ge ohne Sicherheitsabfrage gel&ouml;scht. Die Buchungen selbst werden nicht r&uuml;ckg&auml;ngig gemacht.",
 ));
 
 // [EOF]
index 158041d111cbff1eb55b4bd9fb45eb0c184415dc..c0c65eeb0dd1d0bce132121caa895929c0ee2626 100644 (file)
@@ -101,7 +101,7 @@ addMessages(array(
 
        // Point account subjects
        'POINTS_SUBJECT_COUPON_CASHED' => "Einl&ouml;sung eines Gutscheins",
-       'POINTS_SUBJECT_CASHED_COUPON' => "Mitglied hat Gutschein eingel&ouml;st",
+       'POINTS_SUBJECT_COUPON_CASHED_REF' => "Anteil an Einl&ouml;sung eines Gutscheins",
 ));
 
 // [EOF]
index aa7c6d483c0b186ac1d78b2b7505a0f47baa3230..d7e47537d5c643376a74031b839128e6aa5d2279 100644 (file)
@@ -44,6 +44,7 @@ if (!defined('__SECURITY')) {
 addMessages(array(
        // Language elements - unsorted
        // @TODO Please sort these language elements
+       'MAILER_WARNING' => "Warnung:",
        'MODULE_REGISTRY_404' => "Modul <span class=\"data\">{%pipe,getModule%}</span> existiert nicht.",
        'MODULE_REGISTRY_LOCKED_404' => "Gsperrtes Modul <span class=\"data\">{%pipe,getModule%}</span> existiert nicht.",
        'MODULE_REGISTRY_IS_LOCKED' => "Das Modul <span class=\"data\">{%pipe,getModule%}</span> wurde gesperrt.",
@@ -73,15 +74,15 @@ addMessages(array(
        'ADMIN_ACCOUNT_FIRST_CREATION_LOGIN' => "Geben Sie einen Administrator-Loginnamen ein",
        'ADMIN_ACCOUNT_FIRST_CREATION_PASSWORD1' => "Vergeben Sie dazu ein Passwort",
        'ADMIN_ACCOUNT_FIRST_CREATION_PASSWORD2' => "Das Passwort erneut eingeben",
-       'ADMIN_NO_PASS' => "Kein Passwort eingegeben.",
+       'ADMIN_NO_PASSWORD' => "Kein Passwort eingegeben.",
        'CLEAR_FORM' => "Nochmal eingeben",
        'ADMIN_ACCOUNT_FIRST_CREATION_SUBMIT' => "Admin-Account erstellen",
        'ADMIN_NO_LOGIN' => "Sie haben keinen Loginnamen eingegeben.",
        'ADMIN_NO_PASSWORD1' => "Sie haben kein Passwort eingegeben.",
        'ADMIN_NO_PASSWORD2' => "Sie haben keine Passwortwiederholung eingegeben.",
-       'ADMIN_SHORT_PASSWORD1' => "Das Passwort ist zu kurz! Mindestens {?minium_admin_pass_length?} Zeichen.",
-       'ADMIN_SHORT_PASSWORD2' => "Die Passwortwiederholung ist zu kurz! Mindestens {?minium_admin_pass_length?} Zeichen.",
-       'ADMIN_SHORT_PASS' => "Ihr Administratorpasswort ist zu kurz! Mindestens {?minium_admin_pass_length?} Zeichen",
+       'ADMIN_WEAK_PASSWORD1' => "Das Passwort ist zu schwach. Mindestens: <strong>{%config,translatePasswordStrength=min_password_score%}</strong>.",
+       'ADMIN_WEAK_PASSWORD2' => "Die Passwortwiederholung ist zu schwach. Mindestens: <strong>{%config,translatePasswordStrength=min_password_score%}</strong>.",
+       'ADMIN_WEAK_PASSWORD' => "Ihr Administratorpasswort ist zu schwach. Mindestens: <strong>{%config,translatePasswordStrength=min_password_score%}</strong>.",
        'ADMIN_PASSWORD1_MISMATCH' => "Das Passwort stimmt nicht mit der Wiederholung &uuml;berein.",
        'ADMIN_PASSWORD2_MISMATCH' => "Die Passwortwiederholung stimmt nicht mit dem Passwort &uuml;berein.",
        'ADMIN_LOGIN_ALREADY_REG' => "Das von Ihnen eingegebene Admin-Login existiert bereits.",
@@ -199,17 +200,17 @@ addMessages(array(
        'ENTER_EMAIL' => "Bitte geben Sie Ihre Email-Adresse ein! Diese muss auch erreichbar sein.",
        'ENTER_SURNAME' => "Bitte geben Sie Ihren Vornamen ein.",
        'ENTER_FAMILY' => "Bitte geben Sie Ihren Nachnamen ein.",
-       'ADMIN_CONFIG_MINIMUM_PASSWORD_LENGTH' => "Minimale Passwortl&auml;nge",
        'SETTINGS_NOT_SAVED' => "Einstellungen NICHT gespeichert / ge&auml;ndert.",
        'SETTINGS_SAVED' => "Einstellungen gespeichert.",
        'FATAL_CANNOT_LOAD_CONFIG' => "Kann die Konfigurationsdaten nicht laden! Vermutlich richtet der Webmaster diesen {?mt_word?} gerade das Script erst ein! Bitte schauen Sie sp&auml;ter noch einmal vorbei.",
        'ADMIN_ACTION_INVALID' => "Die action/what-Kombination <span class=\"data\">%s</span> ist ung&uuml;ltig.",
-       'GUEST_SHORT_PASS' => "Das eingegebene Passwort ist nach unseren Sicherheitseinstellungen zu kurz. Mindestl&auml;nge ist",
+       'GUEST_WEAK_PASSWORD' => "Das eingegebene Passwort ist nach unseren Sicherheitseinstellungen zu schwch. Mindestst&auml;rke: <strong>{%config,translatePasswordStrength=min_password_score%}</strong>",
        'GUEST_EMPTY_PASSWORD_HINT' => "Lassen Sie beide Passw&ouml;rter leer, so wird Ihnen eines generiert.",
        'ADMIN_ENTER_POINTS_REGISTER' => "Willkommensgutschrift",
        'ADMIN_ENTER_POINTS_REFERRAL' => "Einmalige Referral-Gutschrift",
        'CHOOSE_MORE_CATEGORIES' => "Bitte w&auml;hlen Sie mehr Kategorien aus! Minimum ist: <span class=\"data\">{?least_cats?}</span>",
        'ADMIN_EDIT_POINTS' => "Willkommensgutschrift und andere Festbetr&auml;ge editieren",
+       'MEMBER_LIST_UNCONFIRMED_MAILS_TITLE' => "Ihre unbest&auml;tigten Mails:",
 
        // Referral levels (admin/generic)
        'ADMIN_ADD_NEW_REFERRAL_DEPTH_TITLE' => "Neue Referral-Ebene hinzuf&uuml;gen",
@@ -278,6 +279,7 @@ addMessages(array(
        'LIFE_MONTHS' => "Monat(e)",
        'LIFE_YEARS' => "Jahr(e)",
        'MODULE_MEMBER_ONLY' => "Auf das ausgew&auml;hlte Modul <span class=\"data\">%s</span> d&uuml;rfen nur eingeloggte Mitglieder zugreifen.",
+       'MODULE_GENERIC_API_TITLE' => "Generelle API",
        'MEMBER_404_ACTION' => "Das Mitgliedsaktionsmodul <span class=\"data\">%s</span> ist nicht auffindbar.",
        'USERNAME_GUEST' => "Gast",
        'USERNAME_INSTALLER' => "Installation",
@@ -337,10 +339,10 @@ addMessages(array(
        'REFERRAL_CLICKS_SHORT' => "Klicks",
        'REFERRAL_VIEWS' => "Views",
        'REFERRAL_IS_ACTIVE' => "Aktiv?",
-       'POINTS_USED' => "Verbrauchte {?POINTS?}",
-       'MEMBER_POINTS_LEFT' => "{?POINTS?}-Guthaben zum Mailversand &uuml;brig",
+       'POINTS_USED' => "Verbrauchte {?POINTS?}:",
+       'MEMBER_POINTS_LEFT' => "{?POINTS?}-Guthaben zum Mailversand &uuml;brig:",
        'MEMBER_SELECT_MAIL_TYPE' => "Mailart ausw&auml;hlen:",
-       'PLEASE_SELECT' => "Bitte ausw&auml;hlen",
+       'PLEASE_SELECT' => "Bitte ausw&auml;hlen:",
        'PER_MAIL' => "{?POINTS?} / Mail",
        'PAYMENT' => "{?POINTS?} Verg&uuml;tung",
        'SELECT_CATEGORY' => "Zielkategorie ausw&auml;hlen:",
@@ -544,7 +546,7 @@ addMessages(array(
        'ADMIN_EDIT_PAYMENT_TITLE' => "Mailverg&uuml;tungen editieren",
        'ADMIN_CHANGE_PAYMENT' => "Mailverg&uuml;tungen &auml;ndern",
        'ADMIN_REMOVE_PAYMENT' => "Mailverg&uuml;tungen l&ouml;schen",
-       'REFERRALS' => "Referrals",
+       'REFERRAL_COUNT' => "Referrals:",
        'MEMBER_PART_POINTS' => "Teilsummen",
        'KBYTES' => "KBytes",
        'MEBER_UPDATE_PWD_WRONG' => "Sie haben das falsche Passwort eingegeben! Bitte nochmal versuchen.",
@@ -567,8 +569,8 @@ addMessages(array(
        'ADMIN_ONLINE_DETAILS' => "Detailierte Statistik f&uuml;r alle Besucher",
        '_REFID' => "Ref-Id",
        '_MODULE' => "Modul",
-       'ADMIN_MENU_ACTION' => "Hauptmen&uuml;",
-       'ADMIN_MENU_WHAT' => "Untermen&uuml;",
+       'ADMIN_MENU_ACTION' => "Hauptmen&uuml;:",
+       'ADMIN_MENU_WHAT' => "Untermen&uuml;:",
        '_IS_ADMIN' => "Administrator",
        '_IS_GUEST' => "Gast",
        'LAST_SEEN' => "Zuletzt gesehen",
@@ -588,12 +590,11 @@ addMessages(array(
        'ADMIN_ID_404' => "ID <span class=\"data\">%s</span> nicht gefunden.",
 
        // Columns for listing tasks
-       'ADMIN_ASSIGNED_ADMIN' => "Zugewiesener Admin",
-       'ADMIN_ASSIGNED_ADMIN_EMAIL' => "Admin",
-       'ADMIN_MEMBER_USERID' => "ID des Mitgliedes",
-       'ADMIN_MEMBER_USERID_EMAIL' => "Mitglied-Id",
+       'ADMIN_TASK_ASSIGNED_ADMIN' => "Zugewiesener Admin",
+       'ADMIN_TASK_ASSIGNED_ADMIN_EMAIL' => "Admin:",
+       'ADMIN_ASSIGNED_USERID' => "ID des Mitgliedes",
+       'ADMIN_ASSIGNED_USERID_EMAIL' => "Mitglied-Id:",
        'ADMIN_TASK_TYPE' => "Aufgabenbereich",
-       'ADMIN_TASK_TYPE_EMAIL' => "Aufgabenbereich",
        'ADMIN_TASK_CREATED' => "Aufgabe erstellt",
        'ADMIN_TASK_CREATED_EMAIL' => "Erstellt",
 
@@ -625,10 +626,10 @@ addMessages(array(
        'ADMIN_IS_SYSTEM_TASK' => "System-Task",
        'ADMIN_TASK_SUBJECT' => "Aufgabenbetreff",
        'ADMIN_TASK_TEXT' => "Aufgabentext",
-       'ADMIN_REGISTER_EXTENSION' => "Installieren",
-       'ADMIN_REGISTER_EXTENSION_TITLE' => "Erweiterung sofort installieren",
+       'ADMIN_TASK_REGISTER_EXTENSION' => "Installieren",
+       'ADMIN_TASK_REGISTER_EXTENSION_TITLE' => "Erweiterung sofort installieren",
        'ADMIN_EXTENSION_IS_DEPRECATED_TITLE' => "Erweiterung wird nicht mehr verwendet (deprecated).",
-       'ADMIN_SELECTED_TASKS_ASSIGN' => "Zum Bearbeiten ausgew&auml;hlte Aufgaben",
+       'ADMIN_SELECTED_TASKS_ASSIGN' => "Zum Bearbeiten ausgew&auml;hlte Aufgaben:",
        'ADMIN_EXTENSION_REGISTRATION_FAILED_INVALID' => "Registrierung fehlgeschlagen: Ung&uuml;ltige id &uuml;bermittelt.",
        'ADMIN_EXTENSION_REGISTRATION_FAILED_ID_404' => "Registrierung fehlgeschlagen: Erweiterung-Id nicht auffindbar.",
        'ADMIN_EXTENSION_REGISTRATION_FAILED_404' => "Registrierung fehlgeschlagen: Erweiterung <span class=\"data\">%s</span> nicht auffindbar.",
@@ -778,7 +779,7 @@ addMessages(array(
        '_ON' => "an",
        'MEMBER_CLICK_STATISTICS' => "Mail-Statistik",
        'ADMIN_CONFIG_SELECT_DEFAULT_REFID' => "Standard Referral-Id bei Anmeldung &uuml;ber <strong>keinen</strong> Ref-Link",
-       'ADMIN_CONFIG_SELECT_REFID_TARGRT' => "Ziel-Seite des Referral-Linkes",
+       'ADMIN_CONFIG_SELECT_REFID_TARGRT' => "Ziel-Seite des Referral-Linkes:",
        'ADMIN_CONFIG_REFERRAL_TARGET_REGISTER' => "Zur Anmeldeseite",
        'ADMIN_CONFIG_REFERRAL_TARGET_INDEX' => "Zur Eingangsseite",
        'ADMIN_INSTALLER_THEME' => "Theme importieren",
@@ -877,10 +878,8 @@ addMessages(array(
        'ADMIN_LOGOUT_QUESTION' => "Wollen Sie sich jetzt ausloggen?",
        'ADMIN_LA_MODE' => "Men&uuml;typ",
        'ADMIN_ACCOUNT_NOREFS_404' => "Es wurden keine Mitgliederaccounts ohne Werber gefunden, oder ver&auml;ndern Sie die Aussortierung.",
-       'ADMIN_CONFIG_SALT_LENGTH' => "L&auml;nge des &quot;Salz-Hhashes&quot; f&uuml;r alle Passw&ouml;rter",
        'MEMBER_PASSWORD_ERROR' => "Fehler beim Abgleichen der Passw&ouml;rter.",
        'ADMIN_PASS_SALTED' => "Admin-Password wegen Update ge&auml;ndert",
-       'ADMIN_CONFIG_SALT_LENGTH_NOTICE' => "Um f&uuml;r alle Accounts (Mitglieder/Admins derzeit) neue Passw&ouml;rter zu generieren, lassen Sie das Eingabefeld <strong>{--ADMIN_CONFIG_SALT_LENGTH--}</strong> leer oder geben Sie eine <strong>0</strong> ein! <strong>Vorsicht!</strong> Sie m&uuml;ssen sich dann anschliessend erneut einloggen.",
        'GUEST_LOGIN_FAILED_GENERAL' => "Genereller Loginfehler! Bitte kontaktieren Sie den Webmaster.",
        'DEFAULT_MT_WORD' => "Mailtausch",
        'DEFAULT_MT_WORD2' => "Mailtausches",
@@ -926,12 +925,6 @@ addMessages(array(
        'EXTENSION_PROBLEM_EXTENSION_OUTDATED' => "Kann nicht fortfahren! Fehler Eine Erweiterung ist veraltet. Bitte benachrichten Sie den Support.",
        'EXTENSION_WARNING_EXTENSION_INACTIVE' => "Die Erweiterung <span class=\"data\">%s</span> ist nicht aktiv. Dies kann zu St&ouml;rungen f&uuml;hren.<br />\nBitte aktivieren Sie diese unter <span class=\"bad\">Verschiedenes-&gt;Erweiterungen</span>.",
        'EXTENSION_WARNING_USER_LIMIT' => "Die Erweiterung <strong>ext-user</strong> ist nicht aktiv. Die Anzahl Mitglieder pro Seite wurde auf 100 gesetzt. Bitte aktivieren Sie diese unter <span class=\"bad\">Verschiedenes-&gt;Erweiterungen</span>.",
-       'ADMIN_PROXY_SETTINGS_INVALID' => "Ihre Proxy-Einstellungen scheinen ung&uuml;ltig zu sein.",
-       'ADMIN_EDIT_PROXY_SETTINGS' => "Proxy-Einstellungen &auml;ndern",
-       'ADMIN_CONFIG_PROXY_HOST' => "Hostname oder IP-Nummer:",
-       'ADMIN_CONFIG_PROXY_PORT' => "Port-Nummer (z.B. 8085):",
-       'ADMIN_CONFIG_PROXY_USERNAME' => "Benuztername (falls vorhanden):",
-       'ADMIN_CONFIG_PROXY_PASSWORD' => "Passwort (falls vorhanden):",
        'ADMIN_EDIT_ENTRIES' => "Eintr&auml;ge &auml;ndern",
        '_CATEGORY_NONE' => "Keine Kategorie",
        '_UNUSED' => "Ungenutzt",
@@ -942,6 +935,14 @@ addMessages(array(
        'ENTRY_ADDED' => "Eintrag hinzugef&uuml;gt",
        'UNLIMITED' => "Unbegrenzt",
 
+       // Admin config - proxy settings
+       'ADMIN_CONFIG_PROXY_TITLE' => "Proxy-Einstellungen &auml;ndern",
+       'ADMIN_CONFIG_PROXY_HOST' => "Hostname oder IP-Nummer:",
+       'ADMIN_CONFIG_PROXY_PORT' => "Port-Nummer (z.B. 8085):",
+       'ADMIN_CONFIG_PROXY_USERNAME' => "Benuztername (falls vorhanden):",
+       'ADMIN_CONFIG_PROXY_PASSWORD' => "Passwort (falls vorhanden):",
+       'ADMIN_PROXY_SETTINGS_INVALID' => "Ihre Proxy-Einstellungen scheinen ung&uuml;ltig zu sein.",
+
        // Status
        'ACTIVATED' => "Aktiviert",
        'DEACTIVATED' => "Deaktiviert",
@@ -1011,8 +1012,9 @@ addMessages(array(
        'ADMIN_ENTRIES_404' => "Es wurden keine Eintr&auml;ge gefunden.",
        'ADMIN_EXTENSION_ALWAYS_ACTIVE' => "Die Erweiterung <span class=\"data\">{%%pipe,getExtensionName=%s%%}</span> kann nicht deaktiviert werden, da sie immer aktiv bleiben muss.",
        'MEMBER_REFERRAL_LINKS_FOOTER' => "Ihr Referral-Link eingebaut in Ihrer Homepage bringt Ihnen passiv mehr Referrals. (Aber Ihren Referral-Link bewerben schadet auch nicht... ;-) )",
-       'POINTS_ORDER' => "Werbeguthaben",
-       'MEMBER_TOTAL_POINTS' => "Gesamtguthaben",
+       'POINTS_OWN' => "Eigenguthaben:",
+       'POINTS_ORDER' => "Werbeguthaben:",
+       'MEMBER_TOTAL_POINTS' => "Gesamtguthaben:",
        'ADMIN_UNSUPPORTED_MAIL_TYPE_DETECTED' => "Nicht unterst&uuml;tzer Mail-Typ <span class=\"data\">%s</span> erkannt. Bitte melden Sie dies im Support-Forum.",
        'ADMIN_EDIT_EMAIL_FAILED' => "&Auml;nderungen an der Mail nicht gespeichert, bitte kontaktieren Sie den Support.",
        'ADMIN_EMAIL_CHANGES_SAVED' => "Die Maildaten wurden aktualisiert.",
@@ -1027,11 +1029,20 @@ addMessages(array(
        'URL_IS_BLACKLISTED' => "URL ist gesperrt.",
        'EMAIL_IS_BLACKLISTED' => "Ihre Email-Adresse darf bei uns nicht verwendet werden. Bitte setzen Sie sich mit uns in Verbindung.",
        'IP_IS_BLACKLISTED' => "Die von Ihnen derzeit verwendete IP-Adresse ist bei uns gesperrt. Bitte setzen Sie sich mit uns in Verbindung.",
+       'URL_IS_BLACKLISTED' => "Die von Ihnen eingegebene URL ist bei uns gesperrt. Bitte setzen Sie sich mit uns in Verbindung.",
        'DATA_IS_HIDDEN' => "Daten sind verdeckt.",
        'ADMIN_BOOKING_PACKAGE_ID' => "Buchungspaket",
        'ADMIN_BOOKING_PACKAGE_LINK' => "Zum Paket ...",
        'APPLICATION_DIED_TITLE' => "Bug im Script erkannt.",
 
+       // Admin config - security-related settings
+       'ADMIN_CONFIG_SECURE_TITLE' => "Sicherheitseinstellungen:",
+       'ADMIN_CONFIG_MINIMUM_PASSWORD_LENGTH_LEGEND' => "Minimale Passwort/Saltl&auml;ngen:",
+       'ADMIN_CONFIG_MINIMUM_PASSWORD_LENGTH' => "Minimale Passwortl&auml;nge:",
+       'ADMIN_CONFIG_SALT_LENGTH' => "L&auml;nge des &quot;Salz-Hhashes&quot; f&uuml;r alle Passw&ouml;rter:",
+       'ADMIN_CONFIG_MINIMUM_PASSWORD_SCORE' => "Minimale Sicherheitsstufe aller Passw&ouml;rter:",
+       'ADMIN_CONFIG_SECURE_NOTICE' => "Um f&uuml;r alle Accounts (Mitglieder/Admins derzeit) neue Passw&ouml;rter zu generieren, lassen Sie das Eingabefeld <strong>{--ADMIN_CONFIG_SALT_LENGTH--}</strong> leer oder geben Sie eine <strong>0</strong> ein! <strong>Vorsicht!</strong> Sie m&uuml;ssen sich dann anschliessend erneut einloggen. Sie sollten die minimale Passwortst&auml;rke <u>nie</u> unter {--PASSWORD_SCORE_3--} stellen, da diese dann zu schach und somit leicht &quot;erratbar&quot; sind (Brute-Force-Attacke).",
+
        // Admin - subject lines
        'ADMIN_NEW_ACCOUNT_SUBJECT' => "Neue Anmeldung zu Ihrem {?mt_word?}",
        'ADMIN_SEND_DONE_SUBJECT' => "Vollst&auml;ndig: Aussendung einer Werbebbuchung.",
@@ -1089,7 +1100,6 @@ addMessages(array(
 
        // Admin - configuration titles
        'ADMIN_CONFIG_CATEGORIES_TITLE' => "Aufgelistete Kategorien bearbeiten / l&ouml;schen",
-       'ADMIN_CONFIG_SECURITY_TITLE' => "Sicherheitseinstellungen",
        'ADMIN_CONFIG_POINTS_SETTINGS_TITLE' => "&Auml;ndern der Willkommensgutschrift und anderer {?POINTS?}",
        'ADMIN_CONFIG_POINT_SETTINGS_TITLE' => "Einstellungen an {?POINTS?}verg&uuml;tungen",
        'ADMIN_CONFIG_HOME_TITLE' => "Legen Sie hier die neue Home-Seite fest",
@@ -1186,12 +1196,12 @@ addMessages(array(
 
        // Special user lists (what=list_user)
        'ADMIN_LIST_ALL_ACCOUNTS' => "Alle Benutzeraccounts (auch Testaccounts) auflisten",
-       'ADMIN_LIST_STATUS_LOCKED_ACCOUNTS' => "Alle gesperrten Mitglieder-Accounts auflisten",
-       'ADMIN_LIST_STATUS_CONFIRMED_ACCOUNTS' => "Alle best&auml;tigten Mitglieder-Accounts auflisten",
-       'ADMIN_LIST_STATUS_UNCONFIRMED_ACCOUNTS' => "Alle unbest&auml;tigten Mitglieder-Accounts auflisten",
-       'ADMIN_LIST_DO_CONFIRMED_ACCOUNTS' => "Alle best&auml;tigten Mitglieder-Accounts auflisten",
-       'ADMIN_LIST_DO_NOREFS_ACCOUNTS' => "Alle Mitglieder-Accounts ohne Referrals auflisten",
-       'ADMIN_LIST_DO_RANDOM_REFID_ACCOUNTS' => "Alle Mitglieder-Accounts f&uuml;r Zufallsreferral auflisten",
+       'ADMIN_LIST_STATUS_LOCKED_ACCOUNTS' => "Alle gesperrten Mitgliedaccounts auflisten",
+       'ADMIN_LIST_STATUS_CONFIRMED_ACCOUNTS' => "Alle best&auml;tigten Mitgliedaccounts auflisten",
+       'ADMIN_LIST_STATUS_UNCONFIRMED_ACCOUNTS' => "Alle unbest&auml;tigten Mitgliedaccounts auflisten",
+       'ADMIN_LIST_DO_CONFIRMED_ACCOUNTS' => "Alle best&auml;tigten Mitgliedaccounts auflisten",
+       'ADMIN_LIST_DO_NOREFS_ACCOUNTS' => "Alle Mitgliedaccounts ohne Referrals auflisten",
+       'ADMIN_LIST_DO_RANDOM_REFID_ACCOUNTS' => "Alle Mitgliedaccounts f&uuml;r Zufallsreferral auflisten",
        'ADMIN_LIST_DO_TESTERS_ACCOUNTS' => "Alle Testbenutzer auflisten",
 
        // Admin task lines
@@ -1306,9 +1316,9 @@ addMessages(array(
        'ADMIN_ADD_POINTS_DATA_USAGE_TITLE' => "Kleine Nutzungsanleitung:",
        'ADMIN_ADD_POINTS_DATA_NOTICE' => "Achten Sie bei der Verwendung dieses Formulars darauf, dass der Verwendungszweck nicht mehrfach aufgef&uuml;hrt ist, sollte die eingegebene Tabellenspalte nicht existieren, wird sie automatisch angelegt. Sollte das Guthabenkonto wieder gel&ouml;scht werden, werden die dort angesammelten {?POINTS?} auf das eingestellbare Guthabenkonto (aktuell: <strong>{%config,translatePointsAccountType=points_remove_account%}</strong> umgebucht. Es k&ouml;nnen mit diesem Formular nur benutzerdefinierte Guthabenkonten angelegt oder gel&ouml;scht werden, die Konten durch Erweiterungen angelegt sind dieses nicht.",
        'ADMIN_ADD_POINTS_DATA_SUBJECT_NOTICE' => "Der Verwendungszweck ist stets klein zu schreiben und sollte auch im Programmcode verwendet werden und muss mit dem ersten Parameter von den Funktionen <strong>addPointsThroughReferralSystem()</strong>, <strong>subtractPoints()</strong> und somit auch <strong>addBookingRecord()</strong> &uuml;bereinstimmen.",
-       'ADMIN_ADD_POINTS_DATA_COLUMN_NAME_NOTICE' => "Die Tabellenspalte ist stets klein zu schreiben, ist diese in der Tabelle <strong>{?_MYSQL_PREFIX?}_user_points</strong> nicht vorhanden, wird diese plus der selbe Spaltenname mit dem Pr&auml;fix <strong>locked_</strong> automatisch dort erzeugt. Der Spaltenname sollte das Stichwort <strong>points</strong> enthalten und darf <strong><u>NIEMALS</u></strong> <strong>id</strong>, <strong>userid</strong> oder <strong>ref_depth</strong> heissen oder <strong>locked</strong> enthalten.",
+       'ADMIN_ADD_POINTS_DATA_COLUMN_NAME_NOTICE' => "Die Tabellenspalte ist stets klein zu schreiben, ist diese in der Tabelle <strong>{?_MYSQL_PREFIX?}_user_points</strong> nicht vorhanden, wird diese plus der selbe Spaltenname mit dem Pr&auml;fix <strong>locked_</strong> automatisch dort erzeugt. Der Spaltenname sollte das Stichwort <strong>points</strong> enthalten und darf <strong><u>NIEMALS</u></strong> <strong>id</strong>, <strong>userid</strong> oder <strong>ref_depth</strong> heissen oder <strong>locked</strong> enthalten oder mit <strong>_ref</strong> enden.",
        'ADMIN_ADD_POINTS_DATA_LOCKED_MODE_NOTICE' => "Bei der {?POINTS?}-Sperre werden dem Mitglied die {?POINTS?} auf sein so genanntes &quot;gesperrtes Guthaben&quot; gutgeschrieben. Auf dieses hat das Mitglied solange keinen Zugriff, bis es die Mindestanzahl zu best&auml;tigender Mails erreicht hat. Die Einstellung <strong>{--POINTS_LOCKED_MODE_LOCKED--}</strong> bewirkt, dass das Mitglied ebenfalls auf dieses Guthaben hinarbeiten muss. <strong>{--POINTS_LOCKED_MODE_UNLOCKED--}</strong> bewirkt hingegen, dass das Mitglied die Gutschrift sofort erh&auml;lt, ohne Mails best&auml;tigen zu m&uuml;ssen.",
-       'ADMIN_ADD_POINTS_DATA_PAYMENT_METHOD_NOTICE' => "Mit der Verg&uuml;tungsmethode k&ouml;nnen Sie beeinflussen, ob Ihre Mitglieder Referral-Gutschriften erhalten oder nur das eigentliche Mitglied (also das, was die Gutschrift erhalten soll) diese &quot;direkt&quot; gutgeschrieben werden soll. Stellen Sie dies z.B. beim Verwendungszweck <strong>mailid_okay</strong> auf &quot;{--POINTS_PAYMENT_METHOD_DIRECT--}&quot; um, erh&auml;t das werbende Mitglied (das als Referral-Id eingetragen ist) keine Gutschriften bei der Mailbest&auml;tigung mehr. Seien Sie also auch mit dieser Einstellung nicht leichtsinnig.",
+       'ADMIN_ADD_POINTS_DATA_PAYMENT_METHOD_NOTICE' => "Mit der Verg&uuml;tungsmethode k&ouml;nnen Sie beeinflussen, ob Ihre Mitglieder Referral-Gutschriften erhalten oder nur das eigentliche Mitglied (also das, was die Gutschrift erhalten soll) diese &quot;direkt&quot; gutgeschrieben werden soll. Stellen Sie dies z.B. beim Verwendungszweck <strong>mailid_okay</strong> auf &quot;{--POINTS_PAYMENT_METHOD_DIRECT--}&quot; um, erh&auml;lt das werbende Mitglied (das als Referral-Id eingetragen ist) keine Gutschriften bei der Mailbest&auml;tigung mehr. Seien Sie also auch mit dieser Einstellung nicht leichtsinnig.",
        'ADMIN_POINT_ACCOUNT_ADDED' => "Das Guthabenkonto wurde soeben angelegt. Bitte bauen Sie dies nun in Ihren PHP-Code ein.",
        'ADMIN_POINT_ACCOUNT_NOT_ADDED' => "Das Guthabenkonto konnte nicht angelegt werden. Vielleicht ist es bereits vorhanden oder von einer Erweiterung bereits angelegt?",
        'ADMIN_POINTS_ACCOUNT_SUBJECT' => "Verwendungszweck",
@@ -1324,7 +1334,7 @@ addMessages(array(
        // Admin points data config - title
        'ADMIN_ADD_POINTS_DATA_TITLE' => "Benutzerdefiniertes Guthabenkonto erstellen",
        'ADMIN_EDIT_POINTS_DATA_TITLE' => "&Auml;ndern von Guthabenkonten",
-       'ADMIN_LIST_POINTS_ACCOUNTS_TITLE' => "Alle Guthabenkonten auflisten",
+       'ADMIN_LIST_POINTS_ACCOUNTS_TITLE' => "Alle Verwendungszwecke und Guthabenkonten auflisten",
 
        // Admin points data config - submit buttons
        'ADMIN_ADD_POINTS_DATA_SUBMIT' => "Guthabenkonto anlegen",
@@ -1420,6 +1430,14 @@ addMessages(array(
        'EMAIL_DISPLAY_TO_ADDRESS' => "An:",
        'EMAIL_DISPLAY_SUBJECT_LINE' => "Betreffzeile:",
        'EMAIL_DISPLAY_MESSAGE_LENGTH' => "Nachricht(L&auml;nge):",
+
+       // Password scores
+       'PASSWORD_SCORE_0' => "Zu schwach/leer",
+       'PASSWORD_SCORE_1' => "Sehr schach",
+       'PASSWORD_SCORE_2' => "Schwach",
+       'PASSWORD_SCORE_3' => "Mittel",
+       'PASSWORD_SCORE_4' => "Stark",
+       'PASSWORD_SCORE_5' => "Sehr stark",
 ));
 
 // Description of all months
index 454c54bfd3c89b89cdcb93de7a53045e25233f2b..a1d2ae17995700506929e0a4f5f277cbe98f770a 100644 (file)
@@ -43,25 +43,25 @@ if (!defined('__SECURITY')) {
 // Language definitions
 addMessages(array(
        // Admin configuration
-       'ADMIN_CONFIG_DOUBLER_TITLE' => "Einstellungen am {?POINTS?}-Verdoppler",
-       'ADMIN_CONFIG_DOUBLER_CHARGE' => "Prozentuale Geb&uuml;hr zum Verdoppeln",
+       'ADMIN_CONFIG_DOUBLER_TITLE' => "Einstellungen am {?POINTS?}-Verdoppler:",
+       'ADMIN_CONFIG_DOUBLER_CHARGE' => "Prozentuale Geb&uuml;hr zum Verdoppeln:",
        'ADMIN_CONFIG_DOUBLER_JACKPOT' => "Soll der Jackpot zum Verdoppeln verwendet werden?",
-       'ADMIN_CONFIG_DOUBLER_SEND_MODE' => "Aussendemodus der Benachrichtigungsmails",
+       'ADMIN_CONFIG_DOUBLER_SEND_MODE' => "Aussendemodus der Benachrichtigungsmails:",
        'ADMIN_CONFIG_DOUBLER_SEND_DIRECT' => "Aussenden, sobald gen&uuml;gend {?POINTS?} zur Auszahlung der Verdoppelung bereit stehen.",
        'ADMIN_CONFIG_DOUBLER_SEND_RESET' => "Erst beim t&auml;glichen Reset pr&uuml;fen, ob Verdoppelungen ausgezahlt werden k&ouml;nnen.",
-       'ADMIN_CONFIG_DOUBLER_TIMEOUT' => "Verweildauer ausgezahlter Verdoppelungen in der Datenbank",
-       'ADMIN_CONFIG_DOUBLER_USERID' => "Mitglieder-Account zur Verdoppelung verwenden",
-       'ADMIN_CONFIG_DOUBLER_DISPLAY_TITLE' => "Anzeige-Einstellungen f&uuml;r Anzahl Eintr&auml;ge",
+       'ADMIN_CONFIG_DOUBLER_TIMEOUT' => "Verweildauer ausgezahlter Verdoppelungen in der Datenbank:",
+       'ADMIN_CONFIG_DOUBLER_USERID' => "Mitgliedaccount zur Verdoppelung verwenden:",
+       'ADMIN_CONFIG_DOUBLER_DISPLAY_TITLE' => "Anzeige-Einstellungen f&uuml;r Anzahl Eintr&auml;ge:",
        'ADMIN_CONFIG_DOUBLER_DISPLAY_NEW' => "Anzahl ersten X neuen Eintr&auml;ge",
        'ADMIN_CONFIG_DOUBLER_DISPLAY_PAY' => "Anzahl ersten X vor Auszahlung stehender Verdoppelungen",
        'ADMIN_CONFIG_DOUBLER_DISPLAY_OLD' => "Anzahl ersten X bereits ausgezahlter Verdoppelungen",
-       'ADMIN_CONFIG_DOUBLER_REFERRAL' => "Prozentuale Referral-Verg&uuml;tung",
+       'ADMIN_CONFIG_DOUBLER_REFERRAL' => "Prozentuale Referral-Verg&uuml;tung:",
        'ADMIN_CONFIG_DOUBLER_MINIMUM' => "Minimum {?POINTS?} die verdoppelt werden sollen",
        'ADMIN_CONFIG_DOUBLER_MAXIMUM' => "Maximum {?POINTS?} die verdoppelt werden sollen",
-       'ADMIN_CONFIG_DOUBLER_LEFT' => "Auf dem Mitgliedsaccount nach Verdoppelung Minimum-{?POINTS?}-Guthaben",
-       'ADMIN_CONFIG_DOUBLER_OWN' => "{?POINTS?}-Guthaben des Verdopplers zur Auszahlung verwenden",
-       'ADMIN_CONFIG_DOUBLER_GROUP_SENT' => "Auf Anzahl durchf&uuml;hrbare Auszahlungen warten, damit an diese ausgezahlt werden kann. (Gruppenauszahlung!)",
-       'ADMIN_CONFIG_DOUBLER_MAX_SENT' => "Pro Klick/Reset auf Auszahlungsf&auml;higkeit hin zu testende Verdopplungen",
+       'ADMIN_CONFIG_DOUBLER_LEFT' => "Auf dem Mitgliedsaccount nach Verdoppelung Restguthaben ({?POINTS?}):",
+       'ADMIN_CONFIG_DOUBLER_OWN' => "{?POINTS?}-Guthaben des Verdopplers zur Auszahlung verwenden?",
+       'ADMIN_CONFIG_DOUBLER_GROUP_SENT' => "Auf Anzahl durchf&uuml;hrbare Auszahlungen warten, damit an diese ausgezahlt werden kann. (Gruppenauszahlung)",
+       'ADMIN_CONFIG_DOUBLER_MAX_SENT' => "Pro Klick/Reset auf Auszahlungsf&auml;higkeit hin zu testende Verdopplungen:",
        'ADMIN_CONFIG_DOUBLER_SENT_ALL' => "Soll anstelle der Gruppenauszahlung alle m&ouml;glichen Auszahlungen durchgef&uuml;hrt werden?",
 
        // Admin generic messages
@@ -92,14 +92,10 @@ addMessages(array(
        'DOUBLER_MINIMUM_IS' => "Mindestens",
        'DOUBLER_MAXIMUM_IS' => "verdoppeln, maximal",
        'DOUBLER_HAVE_FUN' => "Viel Spa&szlig;.",
-       'DOUBLER_POINTS_1' => "Wenn Sie {?POINTS?} verdoppeln, kommen Sie diese nach Abzug von",
-       'DOUBLER_POINTS_2' => "Betreibergeb&uuml;hr in einen Topf; bei Erreichen einer Verdopplung wird diese der Einzahlungsreihe nach, automatisch ausgef&uuml;hrt.",
-       'DOUBLER_EXAMPLE_1' => "Beispiel: Einzahlung",
-       'DOUBLER_EXAMPLE_2' => "Auszahlung:",
-       'DOUBLER_EXAMPLE_3' => ", sobald Sie an der Reihe sind, ohne(*) ein Risiko einzugehen.",
+       'DOUBLER_POINTS' => "Wenn Sie {?POINTS?} verdoppeln, kommen Sie diese nach Abzug von <strong>{%config,translateComma=doubler_charge%}&#37;</strong> Betreibergeb&uuml;hr in einen Topf; bei Erreichen einer Verdopplung wird diese der Einzahlungsreihe nach, automatisch ausgef&uuml;hrt.",
+       'DOUBLER_EXAMPLE' => "Beispiel: Einzahlung <strong>500 {?POINTS?}</strong> &raquo;&raquo; Auszahlung: <strong>1000 {?POINTS?}</strong>, sobald Sie an der Reihe sind, ohne(*) ein Risiko einzugehen.",
        'DOUBLER_FULL_PAYOUT' => "100% Auszahlung",
-       'DOUBLER_REFERRAL_1' => "Refverdienst: Es gibt <strong>{%config,translateComma=doubler_ref%}&#37;</strong> Refverdienst. Wenn Sie {?POINTS?} auf dem Refkonto durch Werbung erwirtschaftet haben, (Wichtig! Maximal Verdoppelung darf nicht &uuml;berschritten werden) werden diese bei Ihrer n&auml;chsten Verdoppelung aufgeschlagen.",
-       'DOUBLER_REFERRAL_2' => "Beispiel: Sie haben <strong>100 {?POINTS?}</strong> Refverdienst und verdoppeln <strong>100 {?POINTS?}</strong>, Sie bekommen - sobald Sie an der Reihe sind - <strong>300 {?POINTS?}</strong> zur&uuml;ck.",
+       'DOUBLER_REFERRAL' => "Refverdienst: Es gibt <strong>{%config,translateComma=doubler_ref%}&#37;</strong> Refverdienst. Wenn Sie {?POINTS?} auf dem Refkonto durch Werbung erwirtschaftet haben, (Wichtig! Maximal Verdoppelung darf nicht &uuml;berschritten werden) werden diese bei Ihrer n&auml;chsten Verdoppelung aufgeschlagen. Beispiel: Sie haben <strong>100 {?POINTS?}</strong> Refverdienst und verdoppeln <strong>100 {?POINTS?}</strong>, Sie bekommen - sobald Sie an der Reihe sind - <strong>300 {?POINTS?}</strong> zur&uuml;ck.",
        'DOUBLER_TIMEOUT' => "Es werden Eintr&auml;ge nicht &auml;lter als <strong>{%config,createFancyTime=doubler_timeout%}</strong> angezeigt.",
        'DOUBLER_REFERRAL_LINK' => "Den Reflink erfahren Sie nach jeder Verdoppelung.",
        'DOUBLER_NOT_YET_REGISTERED' => "Noch nicht angemeldet?",
index a0985552ae612f13a5022306cc142b3afd342a5f..ecfced1c67fa6d2db58289f9466dba755402c19c 100644 (file)
@@ -53,11 +53,11 @@ addMessages(array(
        'ADMIN_HOLIDAY_DELETE_LINK' => "Urlaub beenden",
        'ADMIN_HOLIDAY_SINGLE_DELETED' => "Urlaub eines Mitgliedes beendet.",
        'ADMIN_HOLIDAY_MULTI_DELETE' => "Urlaub von <span class=\"data\">%s</span> Mitglied(-ern) beendet.",
-       'ADMIN_CONFIG_HOLIDAY_TITLE' => "Einstellungen an der Urlaubsschaltung",
-       'ADMIN_CONFIG_HOLIDAY_MAX_TIME' => "Maximale beantragbare Urlaubszeit",
+       'ADMIN_CONFIG_HOLIDAY_TITLE' => "Einstellungen an der Urlaubsschaltung:",
+       'ADMIN_CONFIG_HOLIDAY_MAX_TIME' => "Maximale beantragbare Urlaubszeit:",
        'ADMIN_HOLIDAY_SINGLE_404' => "Urlaubsschaltung nicht mehr vorhanden, oder veralteter Link.",
-       'ADMIN_CONFIG_HOLIDAY_LOCKED' => "Dauer bis Urlaubsschaltung aufgehoben werden kann",
-       'ADMIN_CONFIG_HOLIDAY_MODE' => "Zeitpunkt der Abarbeitung der Urlaubsschaltungen",
+       'ADMIN_CONFIG_HOLIDAY_LOCKED' => "Dauer bis Urlaubsschaltung aufgehoben werden kann:",
+       'ADMIN_CONFIG_HOLIDAY_MODE' => "Zeitpunkt der Abarbeitung der Urlaubsschaltungen:",
        'ADMIN_CONFIG_HOLIDAY_MODE_RESET' => "Am t&auml;glichen Reset um 00:00 Uhr",
        'ADMIN_CONFIG_HOLIDAY_MODE_DIRECT' => "Sofort nach Beantragung pr&uuml;fen",
        // Member strings
index 1a42d5fe1d0ff836f611c0b704af82043fd90a08..8e2812fb538b6f18065086ac769e97ba7e01478a 100644 (file)
@@ -81,20 +81,23 @@ addMessages(array(
        'INSTALLER_FATAL_NO_MPASSWORD2' => "Bitte geben Sie noch die Passwortbest&auml;tigung ein.",
 
        // Installation pages titles
-       'INSTALLER_PAGE_INIT_TITLE' => "Installationsroute initialisiert gerade",
-       'INSTALLER_PAGE_WELCOME_TITLE' => "Willkommen zur Installation von {?TITLE?}, dem freien {?mt_word?}-Script",
-       'INSTALLER_PAGE_BASE_DATA_TITLE' => "Server-Pfad, Basis-URL und Webseitentitel",
+       'INSTALLER_PAGE_INIT_TITLE'            => "Installationsroute initialisiert gerade",
+       'INSTALLER_PAGE_WELCOME_TITLE'         => "Willkommen zur Installation von {?TITLE?}, dem freien {?mt_word?}-Script",
+       'INSTALLER_PAGE_BASE_DATA_TITLE'       => "Server-Pfad, Basis-URL und Webseitentitel",
        'INSTALLER_PAGE_DATABASE_CONFIG_TITLE' => "Zugangsdaten zur Datenbank",
-       'INSTALLER_PAGE_SMTP_CONFIG_TITLE' => "SMTP-Server Einstellungen",
-       'INSTALLER_PAGE_OTHER_CONFIG_TITLE' => "Verschiedene Einstellungen",
-       'INSTALLER_PAGE_EXTENSIONS_TITLE' => "Erweiterungen installieren",
-       'INSTALLER_PAGE_OVERVIEW_TITLE' => "Die Installation kann beginnen",
+       'INSTALLER_PAGE_SMTP_CONFIG_TITLE'     => "SMTP-Server Einstellungen",
+       'INSTALLER_PAGE_OTHER_CONFIG_TITLE'    => "Verschiedene Einstellungen",
+       'INSTALLER_PAGE_EXTENSIONS_TITLE'      => "Erweiterungen installieren",
+       'INSTALLER_PAGE_FIRST_ADMIN_TITLE'     => "Ersten Administratoraccount anlegen",
+       'INSTALLER_PAGE_OVERVIEW_TITLE'        => "Die Installation kann starten",
 
        // Installation pages descriptions
-       'INSTALLER_BASE_DATA_DESCRIPTION' => "Geben Sie hier den absoluten Server-Pfad (/ihr/server/pfad/) <strong>mit</strong> abschliessendem Slash (/), die Basis-URL (vorgegebene Werte stimmen meistens) und den Titel Ihres {?mt_word2?} ein.",
+       'INSTALLER_BASE_DATA_DESCRIPTION'       => "Geben Sie hier den absoluten Server-Pfad (/ihr/server/pfad/) <strong>mit</strong> abschliessendem Slash (/), die Basis-URL (vorgegebene Werte stimmen meistens) und den Titel Ihres {?mt_word2?} ein.",
        'INSTALLER_DATABASE_CONFIG_DESCRIPTION' => "Geben Sie hier die Daten vom Datenbankserver ein, die Ihnen vom Hoster mitgeteilt wurden. Es wird dann anschliessend versucht, eine Testverbindung aufzubauen.",
-       'INSTALLER_SMTP_CONFIG_DESCRIPTION' => "Geben Sie hier Ihre Zugangsdaten zum SMTP-Server (ausgehender Mailserver) ein, wenn der mail()-Befehl auf Ihrem Server deaktiviert sein sollte. Oder lassen Sie alle Felder leer f&uuml;r Standard-Einstellungen.",
-       'INSTALLER_OTHER_CONFIG_DESCRIPTION' => "Hier k&ouml;nnen Sie weitere Einstellungen vornehmen, wie zum Beispiel den Ausgabe-Modus festlegen, in der der HTML-Code ausgegeben werden soll, usw.",
+       'INSTALLER_SMTP_CONFIG_DESCRIPTION'     => "Geben Sie hier Ihre Zugangsdaten zum SMTP-Server (ausgehender Mailserver) ein, wenn der mail()-Befehl auf Ihrem Server deaktiviert sein sollte. Oder lassen Sie alle Felder leer f&uuml;r Standard-Einstellungen.",
+       'INSTALLER_OTHER_CONFIG_DESCRIPTION'    => "Hier k&ouml;nnen Sie weitere Einstellungen vornehmen, wie zum Beispiel den Ausgabe-Modus festlegen, in der der HTML-Code ausgegeben werden soll, usw.",
+       'INSTALLER_EXTENSION_DESCRIPTION'       => "W&auml;hlen Sie Erweiterungen aus, die bei der Installation sofort mitinstalliert werden sollen. M&ouml;chten Sie eventuell sp&auml;ter weitere installieren, so ist dies kein Problem.",
+       'INSTALLER_FIRST_ADMIN_DESCRIPTION'     => "Richten Sie hier gleich mit den ersten Administratoraccount ein. Den vorgegebenen Loginnamen k&ouml;nnen Sie selbstverst&auml;ndlich anpassen (und sollten es auch), um die Sicherheit Ihrer Installation zu verbessern.",
 
        // Installation page - Base data
        'INSTALLER_LABEL_BASE_PATH' => "Absoluter Server-Pfad:",
@@ -115,23 +118,31 @@ addMessages(array(
        'INSTALLER_MYSQL_PASSWORD1' => "Ihr Passwort:",
        'INSTALLER_MYSQL_PASSWORD2' => "Passwortwiederholung:",
 
-       // Installation page - Other settings
+       // Installation page - other settings
        'INSTALLER_OUTPUT_MODE' => "Ausgabemodus des HTML-Codes",
        'INSTALLER_MODE_RENDER' => "In &#36;GLOBALS &quot;rendern&quot;",
        'INSTALLER_MODE_DIRECT' => "Im Ausgabebuffer cachen",
        'INSTALLER_ENABLE_BACKLINK' => "Backlink zu {?SERVER_URL?} setzen?",
        'INSTALLER_ENABLE_BACKLINK_NOTICE' => "<strong>Hinweis:</strong> Derzeit ist <span class=\"notice\">rel=&quot;external&quot;</span> f&uuml;r den Backlink gesetzt. Bitte nicht den Backlink eingebaut lassen und <strong>rel=&quot;nofollow&quot;</strong> verwenden. Das schadet allen.",
 
+       // Installation page - first admin
+       'INSTALLER_FIRST_ADMIN_LOGIN' => "Geben Sie einen Loginnamen ein:",
+       'INSTALLER_FIRST_ADMIN_EMAIL' => "Ihre EMail-Adresse:",
+       'INSTALLER_FIRST_ADMIN_PASSWORD1' => "Geben Sie ein Passwort ein:",
+       'INSTALLER_FIRST_ADMIN_PASSWORD2' => "Wiederholen Sie das Passwort:",
+       'INSTALLER_ADMIN_PASSWORD_NOTICE' => "Das Passwort muss der Mindestst&auml;rke <strong>{%config,translatePasswordStrength=min_password_score%}</strong> entsprechen.",
+
        // Installation notes
        'INSTALLER_BASE_PATH_NOTICE' => "Mit abschlie&szlig;endem &#47.",
        'INSTALLER_BASE_URL_NOTICE'  => "Ohne abschlie&szlig;endem &#47.",
        'INSTALLER_SMTP_HOST_NOTICE' => "Zum Beispiel <strong>mail.ihre-domain.example</strong>",
 
        // AJAX title
-       'INSTALLER_AJAX_ERROR_TITLE'   => "AJAX-Abfrage im Installer fehlgeschlagen",
-       'INSTALLER_AJAX_WARNING_TITLE' => "Warnung: Es sind ungespeicherte &Auml;nderungen vorhanden",
-       'INSTALLER_AJAX_TEST_TITLE'    => "AJAX-Testergebnis positiv",
-       'INSTALLER_AJAX_FINISH_TITLE'  => "Installation l&auml;uft . . .",
+       'INSTALLER_AJAX_ERROR_TITLE'    => "AJAX-Abfrage im Installer fehlgeschlagen",
+       'INSTALLER_AJAX_WARNING_TITLE'  => "Warnung: Es sind ungespeicherte &Auml;nderungen vorhanden",
+       'INSTALLER_AJAX_TEST_TITLE'     => "AJAX-Testergebnis positiv",
+       'INSTALLER_AJAX_PROGRESS_TITLE' => "Installation l&auml;uft . . .",
+       'INSTALLER_AJAX_SUCCESS_TITLE'  => "Installation abgeschlossen!",
 
        // Installer switches
        'INSTALLER_SWITCH_PLAIN' => "Kompatiblit&auml;tsmodus",
@@ -158,10 +169,12 @@ addMessages(array(
        'INSTALLER_TAB_NAVIGATION_DATABASE_CONFIG_LINK' => "Datenbankzugang",
        'INSTALLER_TAB_NAVIGATION_SMTP_CONFIG_TITLE' => "Seite 3: SMTP-Daten konfigurieren",
        'INSTALLER_TAB_NAVIGATION_SMTP_CONFIG_LINK' => "SMTP-Daten",
-       'INSTALLER_TAB_NAVIGATION_OTHER_CONFIG_TITLE' => "Seite 5: Sonstige Grundeinstellungen",
+       'INSTALLER_TAB_NAVIGATION_OTHER_CONFIG_TITLE' => "Seite 4: Sonstige Grundeinstellungen",
        'INSTALLER_TAB_NAVIGATION_OTHER_CONFIG_LINK' => "Sonstiges",
-       'INSTALLER_TAB_NAVIGATION_EXTENSIONS_TITLE' => "Erweiterungen installieren",
+       'INSTALLER_TAB_NAVIGATION_EXTENSIONS_TITLE' => "Seite 5: Erweiterungen installieren",
        'INSTALLER_TAB_NAVIGATION_EXTENSIONS_LINK' => "Erweiterungen",
+       'INSTALLER_TAB_NAVIGATION_FIRST_ADMIN_TITLE' => "Seite 6: Ersten Administratoraccount anlegen",
+       'INSTALLER_TAB_NAVIGATION_FIRST_ADMIN_LINK' => "Administratoraccount",
        'INSTALLER_TAB_NAVIGATION_OVERVIEW_TITLE' => "Installationszusammenfassung",
        'INSTALLER_TAB_NAVIGATION_OVERVIEW_LINK' => "Zusammenfassung",
 
@@ -196,29 +209,36 @@ addMessages(array(
        // Changed elements - extensions
        'INSTALLER_CHANGED_ELEMENT_EXTENSION' => "Die Erweiterung <span class=\"data\">%s</span> wurde aus- oder abgew&auml;hlt.",
 
+       // Changed elements - first admin
+       'INSTALLER_CHANGED_ELEMENT_ADMIN_LOGIN' => "Sie haben das Administratorlogin ge&auml;ndert.",
+       'INSTALLER_CHANGED_ELEMENT_ADMIN_EMAIL' => "Sie haben die EMail-Adresse des Administratorlogins ge&auml;ndert.",
+       'INSTALLER_CHANGED_ELEMENT_ADMIN_PASSWORD1' => "Sie haben das Kennwort des Administratorlogins ge&auml;ndert.",
+       'INSTALLER_CHANGED_ELEMENT_ADMIN_PASSWORD2' => "Sie haben die Wiederholung des Kennwortes des Administratorlogins ge&auml;ndert.",
+
        // Fieldset legends
-       'INSTALLER_BASE_DATA_LEGEND_BASE_URL_PATH' => "Basis-Pfad und -URL:",
-       'INSTALLER_BASE_DATA_LEGEND_TITLE_SLOGAN' => "{?mt_word?}-Titel und Werbespruch:",
+       'INSTALLER_BASE_DATA_LEGEND_BASE_URL_PATH'         => "Basis-Pfad und -URL:",
+       'INSTALLER_BASE_DATA_LEGEND_TITLE_SLOGAN'          => "{?mt_word?}-Titel und Werbespruch:",
        'INSTALLER_DATABASE_LEGEND_HOST_DBASE_PREFIX_TYPE' => "Hostname, Datenbankname, Pr&auml;fix und Tabellentyp:",
-       'INSTALLER_DATABASE_LEGEND_LOGIN_PASSWORD' => "Datenbanklogin und -passwort:",
-       'INSTALLER_SMTP_LEGEND_OPTIONAL_CONFIG' => "Optionale SMTP-Daten:",
-       'INSTALLER_OTHER_CONFIG_LEGEND_ET_CETERA' => "Sonstige Einstellungen:",
+       'INSTALLER_DATABASE_LEGEND_LOGIN_PASSWORD'         => "Datenbanklogin und -passwort:",
+       'INSTALLER_SMTP_LEGEND_OPTIONAL_CONFIG'            => "Optionale SMTP-Daten:",
+       'INSTALLER_OTHER_CONFIG_LEGEND_ET_CETERA'          => "Sonstige Einstellungen:",
+       'INSTALLER_FIRST_ADMIN_LEGEND'                     => "Daten des ersten Administratoraccunts:",
 
        // Save changes
        'INSTALLER_SAVE_CHANGES_FAILED' => "Die &Auml;nderungen konnten leider nicht gespeichert werden, da einige fehlerhaft sind. Bitte korregieren Sie die rot hervorgehobenen Eintr&auml;ge und probieren Sie es erneut.",
        'INSTALLER_SAVE_CHANGES_DONE'   => "&Auml;nderungen gespeichert.",
 
-       // Post-Check - General failure messages
+       // Post-check - general failure messages
        'INSTALLER_POST_CHECK_DATABASE_CONFIG_FAILED' => "Beim testweisen Aufbauen einer Datenbankverbindung ist ein Fehler entstanden: %s",
 
-       // Post-Check - Base configuration
+       // Post-check - base configuration
        'INSTALLER_POST_BASE_PATH_INVALID' => "Der Basis-Pfad f&uuml;r Include-Dateien ist ung&uuml;ltig.",
        'INSTALLER_POST_BASE_URL_INVALID' => "Die Basis-URL ist ung&uuml;ltig.",
        'INSTALLER_POST_MAIN_TITLE_INVALID' => "Der {?mt_word?}-Titel ist zu kurz.",
        'INSTALLER_POST_SLOGAN_INVALID' => "Der Werbespruch ist zu kurz.",
        'INSTALLER_POST_EMAIL_INVALID' => "Die eMail-Adresse ist ung&uuml;ltig.",
 
-       // Post-Check - Database connection
+       // Post-check - database connection
        'INSTALLER_POST_DATABASE_PASSWORD1_EMPTY' => "Das Passwort zur Datenbank ist leer, jedoch ist die Passwortwiederholung gesetzt.",
        'INSTALLER_POST_DATABASE_PASSWORD2_EMPTY' => "Das Passwort zur Datenbank ist gesetzt, jedoch ist die Passwortwiederholung leer.",
        'INSTALLER_POST_DATABASE_PASSWORDS_MISMATCH' => "Die von Ihnen eingegebenen Passw&ouml;rter stimmen nicht &uuml;berein.",
@@ -229,10 +249,19 @@ addMessages(array(
        'INSTALLER_POST_DATABASE_ENGINE_UNSUPPORTED' => "Die von Ihnen ausgew&auml;hlte Storage-Engine wird nicht unterst&uuml;tzt. Meistens gilt dies f&uuml;r InnoDB, dann m&uuml;ssen Sie einfach MyISAM nehmen.",
        'INSTALLER_POST_DATABASE_IN_USE' => "Die von Ihnen ausgew&auml;hlte Datenbank weist Tabellen auf, die von einer &auml;lteren Installation stammen. Damit keine Datenverluste entstehen, wurde die Installation abgebrochen. Bitte verwenden Sie eine neue Datenbank oder leeren Sie die alte. Alternativ k&ouml;nnen Sie auch einen anderen Tabellenpr&auml;fix eingeben.",
 
+       // Post-check - first admin
+       'INSTALLER_POST_FIRST_ADMIN_LOGIN_EMPTY' => "Das Administratorlogin ist leer.",
+       'INSTALLER_POST_FIRST_ADMIN_LOGIN_SHORT' => "Das Administratorlogin ist zu kurz. Es m&uuml;ssen mindestens 4 Zeichen eingegeben werden.",
+       'INSTALLER_POST_FIRST_ADMIN_EMAIL_INVALID' => "Die EMail-Adresse des ersten Administratoraccounts ist ung&uuml;ltig.",
+       'INSTALLER_POST_FIRST_ADMIN_PASSWORD1_EMPTY ' => "Das Passwort des ersten Administratoraccounts ist leer.",
+       'INSTALLER_POST_FIRST_ADMIN_PASSWORD2_EMPTY ' => "Die Wiederholung des Passwortes des ersten Administratoraccounts ist leer.",
+       'INSTALLER_POST_FIRST_ADMIN_PASSWORDS_MISMATCH' => "Das Passwort und die Wiederholung stimmen nicht &uuml;berein.",
+       'INSTALLER_POST_FIRST_ADMIN_PASSWORDS_WEAK' => "Die eingegebenen Passw&ouml;rter sind zu schwach. Bitte mindestens Passwortst&auml;rke <strong>{%config,translatePasswordStrength=min_password_score%}</strong> erreichen.",
+
        // Final check on 'overview' page
        'INSTALLER_OVERVIEW_FINAL_CHECK_FAILED' => "Leider kann die Installation nicht abgeschlossen werden, da nicht alle Angaben vollst&auml;ndig und korrekt sind.",
        'INSTALLER_OVERVIEW_FINAL_CHECK_DONE' => "Die Installation kann nun abgeschlossen werden.",
-       'INSTALLER_READY_TO_FINISH' => "Es wurden alle n&ouml;tigen Daten zur Installation gesammelt. Sie k&ouml;nnen nun die Installation beginnen, indem Sie auf <strong>{--PAGE_FINISH_SUBMIT--}</strong> klicken. Es wird Ihnen dann der Verlauf der Installation angezeigt. Danach sollten Sie als erstes den ersten Administrator-Account anlegen, damit niemand Ihren {?mt_word?} &uuml;bernehmen kann.",
+       'INSTALLER_READY_TO_FINISH' => "Die Installation kann starten. Klicken Sie dazu auf <strong>{--PAGE_FINISH_SUBMIT--}</strong>. Dabei wird Ihnen der Verlauf der Installation angezeigt. Danach sollten Sie als erstes sich in den Administratorbereich einloggen, um weitere Feineinstellungen vorzunehmen.",
 
        // "Failed overview"
        'INSTALLER_OVERVIEW_FAILED_TITLE' => "Es sind nicht alle ben&ouml;tigten Daten zur Installation vorhanden",
@@ -246,7 +275,7 @@ addMessages(array(
        'INSTALLER_FIELD_FAILED_WEBMASTER' => "Die EMail-Adresse der Webmaster-Adresse stimmt nicht.",
        'INSTALLER_FIELD_FAILED_MYSQL_HOST' => "Der Hostname f&uuml;r die Datenbankanbindung stimmt nicht.",
        'INSTALLER_FIELD_FAILED_MYSQL_DBASE' => "Der Datenbankname stimmt nicht.",
-       'INSTALLER_FIELD_FAILED_MYSQL_PREFIX' => "Der Pr&auml;fix ist leer.",
+       'INSTALLER_FIELD_FAILED_MYSQL_PREFIX' => "Der Tabellenpr&auml;fix ist leer.",
        'INSTALLER_FIELD_FAILED_MYSQL_ENGINE' => "Die Ausgew&auml;hlte Engine wurde nicht erkannt.",
        'INSTALLER_FIELD_FAILED_MYSQL_LOGIN' => "Das Datenbanklogin stimmt nicht (leer).",
        'INSTALLER_FIELD_FAILED_MYSQL_PASSWORD1' => "Das erste Datenbankpasswort stimmt nicht.",
@@ -259,6 +288,10 @@ addMessages(array(
        'INSTALLER_FIELD_FAILED_WARN_NO_PASS' => "Es wurde weder <strong>Y</strong> noch <strong>N</strong> f&uuml;r &#39;WARN_NO_PASS&#39; &uuml;bergeben.",
        'INSTALLER_FIELD_FAILED_WRITE_FOOTER' => "Es wurde weder <strong>Y</strong> noch <strong>N</strong> f&uuml;r &#39;WRITE_FOOTER&#39; &uuml;bergeben.",
        'INSTALLER_FIELD_FAILED_ENABLE_BACKLINK' => "Es wurde weder <strong>Y</strong> noch <strong>N</strong> f&uuml;r &#39;ENABLE_BACKLINK&#39; &uuml;bergeben.",
+       'INSTALLER_FIELD_FAILED_ADMIN_LOGIN' => "Es wurde kein g&uuml;ltiges Administratorlogin eingegeben. Dies muss mindestens 4 Zeichen lang sein.",
+       'INSTALLER_FIELD_FAILED_ADMIN_EMAIL' => "Es wurde keine g&uuml;ltige EMail-Adresse f&uuml;r den ersten Administratoraccount eingegeben.",
+       'INSTALLER_FIELD_FAILED_ADMIN_PASSWORD1' => "Das Passwort f&uuml;r den ersten Administratoraccount ist zu schwach. Mindestens: <strong>{%config,translatePasswordStrength=min_password_score%}</strong>",
+       'INSTALLER_FIELD_FAILED_ADMIN_PASSWORD2' => "Die Wiederholung des Passwortes f&uuml;r den ersten Administratoraccount ist zu schwach. Mindestens: <strong>{%config,translatePasswordStrength=min_password_score%}</strong>",
 
        // Other notices
        'INSTALLER_EXTENSIONS_NOTICE' => "Sie wollten mindestens <strong>ext-sql_patches</strong> und zur besseren &Uuml;bersicht im Adminbereich <strong>ext-task</strong> installieren. Sie k&ouml;nnen nach der Installation jederzeit weitere Erweiterungen hinzuinstallieren und brauchen dazu nicht das gesamte Script neu aufsetzen.",
index fcad540dcb220befa1af5f47743c98bb147747f4..924a4d61bfee53d2d20464a2da8772ed86aa4d34 100644 (file)
@@ -56,9 +56,10 @@ addMessages(array(
        'MEMBER_MAILID_CLICK_BUTTON' => "Einmal den Button anklicken",
 
        // Points accounts - subject
-       'POINTS_SUBJECT_MAILID_OKAY'     => "Verg&uuml;tung einer Mailbest&auml;tigung",
-       'POINTS_SUBJECT_MAILID_OKAY_REF' => "Referralverg&uuml;tung einer Mailbest&auml;tigung",
-       'POINTS_SUBJECT_MAILID_PAYBACK'  => "Best&auml;tungscode falsch",
+       'POINTS_SUBJECT_MAILID_OKAY'        => "Verg&uuml;tung einer Mailbest&auml;tigung",
+       'POINTS_SUBJECT_MAILID_OKAY_REF'    => "Referralverg&uuml;tung einer Mailbest&auml;tigung",
+       'POINTS_SUBJECT_MAILID_PAYBACK'     => "Best&auml;tungscode falsch",
+       'POINTS_SUBJECT_MAILID_PAYBACK_REF' => "Anteil an Best&auml;tungscode falsch",
 
        // Admin - subject lines
        'ADMIN_DIRECT_MAILID_OKAY_SUBJECT' => "Direktgutschrift von korrekte Mailbest&auml;tigung aufgebucht",
index 82099c21333474574b53a7a96131dccd28694fa6..3198f03c33f649d228e14eac968425988ae23390 100644 (file)
@@ -49,7 +49,7 @@ addMessages(array(
        'ADMIN_CONFIG_NICKNAME_CHARACTERS' => "Zeichenfolge f&uuml;r Sprachdatei",
 
        // Admin - nickname history
-       'ADMIN_LIST_NICKNAME_HISTORY_404' => "Das ausgew&auml;hlte Mitglied <span class=\"data\">{%get,generateUserProfileLink=userid%}</span> hat noch keinen Nicknamen angelegt. Daher konnten auch keine Historie-Eintr&auml;ge gefunden werden.",
+       'ADMIN_LIST_NICKNAME_HISTORY_404' => "Das ausgew&auml;hlte Mitglied <span class=\"data\">{%get,generateUserProfileLink=userid%}</span> hat noch keinen Nicknamen angelegt.",
        'ADMIN_LIST_NICKNAME_HISTORY_TITLE' => "Alle verwendeten Nicknames des Mitgliedes <span class=\"data\">{%get,generateUserProfileLink=userid%}</span>",
 
        // Member
index 71ed4d4e111c54f831ccfe37cec6ae1237c90848..0a42a8e0a3c6b859ebe2a804f49375086d996fd9 100644 (file)
@@ -42,11 +42,12 @@ if (!defined('__SECURITY')) {
 
 // Language definitions
 addMessages(array(
-       'ADMIN_OPTIMIZE_DBNAME' => "Tabelle",
-       'ADMIN_OPTIMIZE_REPAIRED' => "Repariert",
-       'ADMIN_OPTIMIZE_OPTIMIZED' => "Optimiert",
-       'ADMIN_OPTIMIZE_TOTAL_SIZE' => "Gesamtgr&ouml;sse",
-       'ADMIN_OPTIMIZE_GAIN_SIZE' => "Eingespart",
+       'ADMIN_OPTIMIZE_DATABASE_TITLE' => "Optimierung der {?mt_title?}-Datenbank {?__DB_NAME?}:",
+       'ADMIN_OPTIMIZE_DBNAME' => "Tabelle:",
+       'ADMIN_OPTIMIZE_REPAIRED' => "Repariert:",
+       'ADMIN_OPTIMIZE_OPTIMIZED' => "Optimiert:",
+       'ADMIN_OPTIMIZE_TOTAL_SIZE' => "Gesamtgr&ouml;sse:",
+       'ADMIN_OPTIMIZE_GAIN_SIZE' => "Eingespart:",
        'ADMIN_OPTIMIZE_STATUS_OK' => "Nein",
        'ADMIN_OPTIMIZE_STATUS_TABLE_DOES_NOT_SUPPORT_OPTIMIZE_DOING_RECREATE_ANALYZE_INSTEAD' => "Keine Unterst&uuml;tzung (1)",
        'ADMIN_OPTIMIZE_STATUS_THE_STORAGE_ENGINE_FOR_THE_TABLE_DOESNT_SUPPORT_OPTIMIZE' => "Keine Unterst&uuml;tzung (2)",
index f6cb6a4b2d6d5ec7cae59175d58a07e76b53e2dd..0a57f72a476a71eca6b1852cd7612655c88aeaf7 100644 (file)
@@ -43,38 +43,38 @@ if (!defined('__SECURITY')) {
 // Language constans
 addMessages(array(
        // Admin - configuration
-       'ADMIN_CONFIG_OTHER_TITLE' => "Sonstige Einstellungen",
-       'ADMIN_CONFIG_URL_TIME_LOCK' => "Selbe beworbene URL nicht mehr bewerbar (0 = URL sofort erneut buchbar)",
-       'ADMIN_CONFIG_POOL_MAX_SEND' => "Anzahl zu sendender Mails aus dem Pool",
+       'ADMIN_CONFIG_OTHER_TITLE' => "Sonstige Einstellungen:",
+       'ADMIN_CONFIG_URL_TIME_LOCK' => "Selbe beworbene URL nicht mehr bewerbar (0 = URL sofort erneut buchbar):",
+       'ADMIN_CONFIG_POOL_MAX_SEND' => "Anzahl zu sendender Mails aus dem Pool:",
        'ADMIN_CONFIG_NOTIFY_ADMIN' => "Benachrichtigung bei Profil&auml;nderung?",
-       'ADMIN_CONFIG_MAX_ONLINETIME' => "Timeout f&uuml;r Who-is-Online",
-       'ADMIN_CONFIG_SENDING_TITLE' => "Versand-Optionen",
-       'ADMIN_CONFIG_NOTIFY_TITLE' => "Benachrichtigungsoptionen",
-       'ADMIN_CONFIG_TIMEOUT_TITLE' => "Time-out Optionen",
-       'ADMIN_CONFIG_CODE_LENGTH' => "L&auml;nge des grafischen Codes im Best.-Frame (0 = Nur Button anklicken)",
+       'ADMIN_CONFIG_MAX_ONLINETIME' => "Timeout f&uuml;r Who-is-Online:",
+       'ADMIN_CONFIG_SENDING_TITLE' => "Versand-Optionen:",
+       'ADMIN_CONFIG_NOTIFY_TITLE' => "Benachrichtigungsoptionen:",
+       'ADMIN_CONFIG_TIMEOUT_TITLE' => "Time-out Optionen:",
+       'ADMIN_CONFIG_CODE_LENGTH' => "L&auml;nge des grafischen Codes im Best.-Frame (0 = Nur Button anklicken):",
        'ADMIN_CODE_LENGTH_NOTICE' => "(Zeichenanzahl)",
-       'ADMIN_CONFIG_ACTIVATE_EXCHANGE' => "Automatisches Freischalten des {?mt_word2?}, wenn x Mitglieder empfangsbereit sind. 0 = Funktion abschalten",
-       'ADMIN_CONFIG_POINTS_WORD' => "W&auml;hrung Ihres Tausches (Klammlose, Wernis, Primera, FuCo, etc.)",
-       'ADMIN_CONFIG_MAX_COMMA' => "Angezeigte Stellen hinter dem Komma",
+       'ADMIN_CONFIG_ACTIVATE_EXCHANGE' => "Automatisches Freischalten des {?mt_word2?}, wenn x Mitglieder empfangsbereit sind. 0 = Funktion abschalten:",
+       'ADMIN_CONFIG_POINTS_WORD' => "W&auml;hrung Ihres {?mt_word2?} (Klammlose, Wernis, Primera, FuCo, etc.):",
+       'ADMIN_CONFIG_MAX_COMMA' => "Angezeigte Stellen hinter dem Komma:",
        'ADMIN_CONFIG_CSS_PHP' => "Sollen die CSS-Dateien direkt ausgegeben werden oder von css.php angezeigt werden?",
-       'ADMIN_CONFIG_SELECT_CSS_OUTPUT_MODE_DIRECT' => "Per &lt;link&gt;-Tag ausgeben (Debug!)",
-       'ADMIN_CONFIG_SELECT_CSS_OUTPUT_MODE_FILE' => "Per css.php ausgeben",
-       'ADMIN_CONFIG_SELECT_CSS_OUTPUT_MODE_INLINE' => "In &lt;style&gt;-Tag ausgeben",
+       'ADMIN_CONFIG_SELECT_CSS_OUTPUT_MODE_DIRECT' => "Per &lt;link&gt;-Tag ausgeben.",
+       'ADMIN_CONFIG_SELECT_CSS_OUTPUT_MODE_FILE' => "Per css.php ausgeben.",
+       'ADMIN_CONFIG_SELECT_CSS_OUTPUT_MODE_INLINE' => "In &lt;style&gt;-Tag ausgeben.",
        'ADMIN_CONFIG_GUEST_MENU' => "Gastmen&uuml; einblenden?",
        'ADMIN_CONFIG_MEMBER_MENU' => "Mitgliedsmen&uuml; einblenden?",
        'ADMIN_CONFIG_YOURE_HERE' => "Navigation &quot;Sie sind hier&quot; einblenden?",
-       'ADMIN_CONFIG_MT_WORD' => "Art Ihres Tausches (1. Fall, Singular)",
-       'ADMIN_CONFIG_MT_WORD2' => "Art Ihres Tausches (2. Fall, Singular)",
-       'ADMIN_CONFIG_MT_WORD3' => "Art Ihres Tausches (1. Fall, Plural)",
-       'ADMIN_CONFIG_REJECT_URL' => "Standard-URL bei Ablehnung der Mailbuchung",
-       'ADMIN_CONFIG_SHOW_TIMINGS' => "Skript-Statistiken im Seitenfuss einblenden (n&uuml;tzlich zum Debuggen)",
+       'ADMIN_CONFIG_MT_WORD' => "Art Ihres Tausches (1. Fall, Singular):",
+       'ADMIN_CONFIG_MT_WORD2' => "Art Ihres Tausches (2. Fall, Singular):",
+       'ADMIN_CONFIG_MT_WORD3' => "Art Ihres Tausches (1. Fall, Plural):",
+       'ADMIN_CONFIG_REJECT_URL' => "Standard-URL bei Ablehnung der Mailbuchung:",
+       'ADMIN_CONFIG_SHOW_TIMINGS' => "Skript-Statistiken im Seitenfuss einblenden (n&uuml;tzlich zum Debuggen):",
        'ADMIN_CONFIG_SHOW_POINTS_UNCONFIRMED' => "{?POINTS?} in unbest&auml;tige Mails im Mitgliedsbereich anzeigen?",
        'ADMIN_CONFIG_MINIMUM_AGE' => "Ab welchem Mindestalter d&uuml;rfen sich Ihre Mitglieder anmelden?",
-       'ADMIN_CONFIG_SQL_TITLE' => "SQL-Einstellungen",
+       'ADMIN_CONFIG_SQL_TITLE' => "SQL-Einstellungen:",
        'ADMIN_CONFIG_DISPLAY_DEBUG_SQLS' => "Sollen die SQL-Abfragen f&uuml;r Administratoren zu Debug-Zwecken angezeigt werden?.  Das Einschalten dieser Einstellung kann enorme Performanceverluste bedeuten.",
-       'ADMIN_CONFIG_INTERNAL_STATS_TITLE' => "Interne Statistik-Einstellungen",
+       'ADMIN_CONFIG_INTERNAL_STATS_TITLE' => "Interne Statistik-Einstellungen:",
        'ADMIN_CONFIG_INTERNAL_STATS_ENABLED' => "Sollen die internen Statistiken eingeschaltet sein? Das Abschalten dieser Statistiken kann etwas Performance bringen, ist aber f&uuml;r Performancemessungen vorraussetzend.",
-       'ADMIN_CONFIG_WORD_WRAP' => "Allgemeiner Zeilenumbruch",
+       'ADMIN_CONFIG_WORD_WRAP' => "Allgemeiner Zeilenumbruch:",
        'ADMIN_CONFIG_OTHER_NOTICE' => "<strong>Hinweise:</strong> Der allgemeine Zeilenumbruch (in Zeichen angegeben) gilt als Fallback-Einstellung falls der f&uuml;r die Erweiterung spezielle Konfigurationseintrag fehlen sollte. Falls Sie Details wissen wollen, so schauen Sie bitte in der Funktion <strong>getWordWrap()</strong> im Script <strong>inc/wrapper-functions.php</strong> nach.",
        'ADMIN_CONFIG_REJECT_DOUBLE_EMAIL' => "Doppelt angemeldete Email-Adressen ablehnen?",
 ));
diff --git a/inc/language/pro_de.php b/inc/language/pro_de.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
index a9e39ddc0544dfa401aa973fa4b6477a7ed4143e..d3dec1ebb18d0d9d69c74b9d4274c1490a86ca44 100644 (file)
@@ -159,6 +159,7 @@ addMessages(array(
 
        // Points accounts - subject
        'POINTS_SUBJECT_RALLYE_WINNER' => "Gewinnaussch&uuml;ttung der Referral-Rallye",
+       'POINTS_SUBJECT_RALLYE_WINNER_REF' => "Anteil an Gewinnaussch&uuml;ttung der Referral-Rallye",
 ));
 
 // [EOF]
index 5c9efd0508c6830d1352a54a0472b3d0590c6481..36552b773960e417cb86521575784a8a4a6ee78a 100644 (file)
@@ -42,7 +42,7 @@ if (!defined('__SECURITY')) {
 
 // Admin language strings
 addMessages(array(
-       'ADMIN_CONFIG_REFBACK_TITLE' => "Refback-Einstellungen",
+       'ADMIN_CONFIG_REFBACK_TITLE' => "Refback-Einstellungen:",
        'ADMIN_CONFIG_REFBACK_ENABLED' => "Refback eingeschaltet? (Wenn nein, ist nur die Referral-&Uuml;bersicht funktionell.)",
        'ADMIN_CONFIG_REFBACK_MIN_PERCENTS' => "Minimum erlaubte Refback-Prozente:<br /><span class=\"notice\">(0&#37; ist immer erlaubt!)</span>",
        'ADMIN_CONFIG_REFBACK_MAX_PERCENTS' => "Maximum erlaubte Refback-Prozente:",
index 1f30d1bf8accf941e3f371b305a522088463cd30..836a01115dad6324f168116a6dada2b1db80998b 100644 (file)
@@ -301,7 +301,7 @@ addMessages(array(
        'SPONSOR_BOTH_NEW_PASSWORDS_DIDNOT_MATCH' => "Die von Ihnen eingegebenen neuen Passw&ouml;rter stimmen nicht &uuml;berein.",
        'SPONSOR_PASSWORD_ONE_EMPTY' => "Erstes einzugebenes Passwort ist leer.",
        'SPONSOR_PASSWORD_TWO_EMPTY' => "Zweites einzugebenes Passwort ist leer.",
-       'SPONSOR_PASSWORD_TOO_SHORT' => "Eingegebenes Passwort entspricht nicht der Mindestl&auml;nge von <span class=\"data\">{?pass_len?}</span> Zeichen.",
+       'SPONSOR_PASSWORD_TOO_SHORT' => "Eingegebenes Passwort entspricht nicht der Mindestl&auml;nge von <span class=\"data\">{?min_password_length?}</span> Zeichen.",
        'SPONSOR_ACCOUNT_DATA_NOT_SAVED' => "Ihre Daten wurden <u>nicht</u> gespeichert.",
 
        // Module titles
index 82c7d0089070866dbf5821221e2e3fdf59b6ea3b..e7f0915e8490f606d6aa02adcb37fec21a2e8cc4 100644 (file)
@@ -65,12 +65,12 @@ addMessages(array(
        'ADMIN_TASK_MAIL_BONUS_AP' => "Bereinigte Bonus-Mails",
        'ADMIN_TASK_MAIL_BONUS_SEND' => "Versendete Bonus-Mails",
        'ADMIN_TASK_UNKNOWN_MODE' => "Unbekannter Modus <span class=\"data\">%s</span> erkannt.",
-       'ADMIN_OVERVIEW_TASK_YOUR_TYPE' => "Ihre zugewiesen Aufgaben (ohne Updates)",
-       'ADMIN_OVERVIEW_TASK_UPDATES_TYPE' => "Automatisch durchgef&uuml;hrte Updates",
-       'ADMIN_OVERVIEW_TASK_SOLVED_TYPE' => "Ihre erledigten Aufgaben",
-       'ADMIN_OVERVIEW_TASK_UNASSIGNED_TYPE' => "Nicht zugewiesene und nicht gel&ouml;schte Aufgaben",
-       'ADMIN_OVERVIEW_TASK_DELETED_TYPE' => "Als zu l&ouml;schende markierte Aufgaben",
-       'ADMIN_OVERVIEW_TASK_CLOSED_TYPE' => "Ihre geschlossenen Aufgaben",
+       'ADMIN_OVERVIEW_TASK_YOUR_TYPE_TITLE' => "Ihre zugewiesen Aufgaben (ohne Updates):",
+       'ADMIN_OVERVIEW_TASK_UPDATES_TYPE_TITLE' => "Automatisch durchgef&uuml;hrte Updates:",
+       'ADMIN_OVERVIEW_TASK_SOLVED_TYPE_TITLE' => "Ihre erledigten Aufgaben:",
+       'ADMIN_OVERVIEW_TASK_UNASSIGNED_TYPE_TITLE' => "Nicht zugewiesene und nicht gel&ouml;schte Aufgaben:",
+       'ADMIN_OVERVIEW_TASK_DELETED_TYPE_TITLE' => "Als zu l&ouml;schende markierte Aufgaben:",
+       'ADMIN_OVERVIEW_TASK_CLOSED_TYPE_TITLE' => "Ihre geschlossenen Aufgaben:",
        'ADMIN_TASK_DELETE_ENTRIES' => "Sofort l&ouml;schen",
        'ADMIN_TASK_DELETE_MODE_NOTICE' => "Diese Aufgaben sind zum automatischen L&ouml;schen freigegeben. Die automatische L&ouml;schung erfolgt durch die autopurge-Erweiterung. Sie k&ouml;nnen die Aufgaben aber auch jetzt endg&uuml;ltig l&ouml;schen.",
        'ADMIN_TASK_UNKNOWN_LIST_TITLE' => "Linktitel nicht gesetzt.",
index b38cdded3388c36252f9519f4efac87aa046cf5e..92c4498ed6a393d2aa9b13bfb8cf30dad96d6083 100644 (file)
@@ -51,6 +51,7 @@ addMessages(array(
        'ADMIN_SET_AS_DEFAULT_THEME' => "Dieses Theme als Standard-Theme setzen",
        'ADMIN_EDIT_THEME_TITLE' => "Designs &auml;ndern, Standarddesign setzen",
        'ADMIN_EDIT_THEME_NOTICE' => "Durch Anklicken des Uni*-Names wird das jeweilige Theme als Standard-Theme gesetzt, welches Ihre Besucher sofort sehen werden.",
+       'ADMIN_IMPORT_THEMES_TITLE' => "Hochgeladene Designs importieren",
 
        // Admin - for ext-task
        'ADMIN_TASK_LIST_THEME_ALL' => "Alle inst. Themes",
index e8f0afeb32197578dcd8a6ed094a388905b43f47..a293456fd8527fb8bbf003f4ffda9c0dd541c2b5 100644 (file)
@@ -43,7 +43,7 @@ if (!defined('__SECURITY')) {
 // Language definitions
 addMessages(array(
        // Admin messages
-       'ADMIN_CONFIG_TRANSFER_TITLE' => "Einstellungen zu {?POINTS?}-&Uuml;berweisungen",
+       'ADMIN_CONFIG_TRANSFER_TITLE' => "Einstellungen zu {?POINTS?}-&Uuml;berweisungen:",
        'ADMIN_CONFIG_TRANSFER_MAX' => "Maximal angezeigte Eintr&auml;ge",
        'ADMIN_CONFIG_TRANSFER_AGE' => "Maximales Alter von Eintr&auml;gen",
        'ADMIN_CONFIG_TRANSFER_TIMEOUT' => "Sperrung der Einstellungen nach {?POINTS?}-&Uuml;berweisung",
@@ -104,6 +104,7 @@ addMessages(array(
 
        // Points accounts - subject
        'POINTS_SUBJECT_TRANSFER' => "&Uuml;berweisung durch Mitglied",
+       'POINTS_SUBJECT_TRANSFER_REF' => "Anteil an &Uuml;berweisung durch Mitglied",
 ));
 
 // [EOF]
index 62505b51d467f47f6570689a04703caaef8c9966..a456c25d64ef2e47a00a801ecc0176e331414811 100644 (file)
@@ -122,14 +122,14 @@ addMessages(array(
        'MEMBER_USER_SUBID_NOT_ASSIGNED_404' => "Die angegebene Sub-Id-Kennung ist Ihrem Mitgliedsaccount nicht zugewiesen oder existiert nicht.",
        'MEMBER_USER_SUBID_STATS_404' => "F&uuml;r diese Sub-Id ist noch keine Statistik abfragbar, da sie noch nicht aufgerufen wurde.",
        'MEMBER_ENTER_SUBID' => "Geben Sie eine Sub-Id ein:",
-       'MEMBER_ADD_SUBID_LEGEND' => "Daten zur Sub-Id",
+       'MEMBER_ADD_SUBID_LEGEND' => "Daten zur Sub-Id:",
        'MEMBER_SUBID_NO_SELECTIONS' => "Sie haben keine Auswahl getroffen! Bitte navigieren Sie zur&uuml;ck, w&auml;hlen Sie mindestens eine Sub-Id aus und versuchen Sie es dann erneut.",
        'MEMBER_USER_SUBID_STATS_LINK' => "Aufrufstatistiken",
        'MEMBER_USER_SUBID_ADDED' => "Sub-Id hinzugef&uuml;gt",
        'MEMBER_CHANGE_USER_SUBID' => "Geben Sie eine neue ein:",
        'MEMBER_INVALID_DO_USER_SUBID' => "Ung&uuml;ltiges Sub-Modul aufgerufen! Sollten Sie der Meinung sein, dies ist ein Fehler, so teilen Sie bitte dem Support mit, wie es zu dieser Meldung gekommen ist.",
        'MEMBER_BACK_SUBIDS_OVERVIEW_LINK' => "Zur&uuml;ck zur Sub-Id-&Uuml;bersicht ...",
-       'MEMBER_REFLINK_USER_SUBIDS_HEADER' => "Hier sehen Sie alle Ihre Sub-Ids, die Sie <a href=\"{%url=modules.php?module=login&amp;what=subids\">eingegeben</a> haben. Sie k&ouml;nnen anstelle der User-Id auch Ihren Nicknamen verwenden.",
+       'MEMBER_REFLINK_USER_SUBIDS_HEADER' => "Hier sehen Sie alle Ihre Sub-Ids, die Sie <a href=\"{%url=modules.php?module=login&amp;what=subids%}\">eingegeben</a> haben. Sie k&ouml;nnen anstelle der User-Id auch Ihren Nicknamen verwenden.",
        'MEMBER_REFLINK_USER_SUBIDS_NOTICE' => "<strong>Hinweis:</strong> Tipp! Legen Sie sich z.B. pro Besuchertausch und Mailtausch je eine Sub-Ids zum genaueren Tracking an. Somit k&ouml;nnen Sie genauer feststellen, wor&uuml;ber das geworbene Mitglied sich angemeldet hat.",
 
        // Member - sub ids - submit buttons
@@ -145,7 +145,7 @@ addMessages(array(
        'ADMIN_REMOVE_USER_SUBID_SUBMIT' => "Sub-Ids l&ouml;schen",
 
        // Member/admin - sub ids - notices
-       'MEMBER_ADD_USER_SUBIDS_NOTICE' => "<strong>Hinweise:</strong> Mit Sub-Ids haben Sie die M&ouml;glichkeit, die Aufrufe Ihres Referral-Linkes noch genauer zu verfolgen. Zum Beispiel k&ouml;nnen Sie jedem Besuchertausch oder fremden Paidmailer eine eigene Sub-Id vergeben, indem Sie diese hier zuerst eingeben und dann am Ende des Referral-Linkes mit <strong>&amp;subid=<em>Ihre Sub-Id</em></strong> anh&auml;ngen. Bewerben Sie nun diesen erweiterten Link. Sobald Aufrufe auf diesen erfolgen, k&ouml;nnen Sie bei der jeweiligen Sub-Id auf &quot;Aufruf-Statistik&quot; klicken, um eine detailierte Statistik zu erhalten. Leerzeichen oder Bindestrichen werden automatisch in Unterstriche umgewandelt, es wurden nur Zeichen von A-Z (klein- und grossgeschrieben) und alle Zahlenzeichen sowie Unterstriche angenommen.",
+       'MEMBER_ADD_USER_SUBIDS_NOTICE' => "<strong>Hinweise:</strong> Mit Sub-Ids haben Sie die M&ouml;glichkeit, die Aufrufe Ihres Referral-Linkes noch genauer zu verfolgen. Zum Beispiel k&ouml;nnen Sie jedem Besuchertausch oder fremden Paidmailer eine eigene Sub-Id vergeben, indem Sie diese hier zuerst eingeben und dann am Ende des Referral-Linkes mit <strong>&amp;subid=<em>Ihre Sub-Id</em></strong> anh&auml;ngen. Bewerben Sie nun diesen erweiterten Link. Sobald Aufrufe auf diesen erfolgen, k&ouml;nnen Sie bei der jeweiligen Sub-Id auf &quot;Aufrufstatistiken&quot; klicken, um eine detailierte Statistik zu erhalten. Leerzeichen oder Bindestrichen werden automatisch in Unterstriche umgewandelt, es werden nur Zeichen von A-Z (klein- und grossgeschrieben) und alle Zahlenzeichen sowie Unterstriche angenommen.",
        'MEMBER_EDIT_USER_SUBIDS_NOTICE' => "Wenn Sie doch nichts &auml;ndern wollen, klicken Sie einfach auf <strong>{--MEMBER_USER_SUBIDS_CHANGE_SUBMIT--}</strong> oder in der Navigation <strong>{--YOU_ARE_HERE--}</strong> auf Sub-Id Tracking.",
        'MEMBER_DELETE_USER_SUBIDS_NOTICE' => "Wollen Sie die oben aufgef&uuml;hrte(n) Sub-Id(s) wirklich l&ouml;schen? Dieses ist nicht umkehrbar! Die Statistik dazu bleibt noch eine Weile gespeichert, ist aber nicht mehr aus der Auswahl aufrufbar (Sie k&ouml;nnen sich ja den Link notieren?).",
        'MEMBER_USER_SUBID_STATS_NOTICE' => "<strong>Wichtiger Hinweis:</strong> Tauschen Sie diesen Text im Template (nicht hier in der Sprachdatei) aus und f&uuml;gen Sie Ihren eigenen bitte ein. Das Template finden Sie unter <strong>templates/de/html/member/member_list_subid_stats.tpl</strong>. Es wird hier auf nicht von Ihnen kontrollierbaren externen Webseiten verlinkt (der so genannte HTTP-Referrer wird hier verlinkt). Leider sieht das mit Velinken von externen Webseiten in Deutschland ziemlich tr&uuml;be aus, alles verb&uuml;rokratisiert ... :-(",
index ad87427cca8da7840dff009f7100af02a75264e9..82c3802ae6f40f67d6f0f0e753a1427b46e03a79 100644 (file)
@@ -42,7 +42,7 @@ if (!defined('__SECURITY')) {
 
 // Language definitions
 addMessages(array(
-       'ADMIN_CONFIG_VALIDATOR_TITLE' => "Validierer-Einstellungen",
+       'ADMIN_CONFIG_VALIDATOR_TITLE' => "Validierer-Einstellungen:",
        'ADMIN_CONFIG_VALIDATOR_ENABLED' => "Sind unten im Footer die Validierer-Buttons zum direkten Validieren der Seiten eingeblendet?"
 ));
 
index b053c1d19392ab1567e865184613df7021879785..f18d919011e194f616dc511ccceb1084e3135d9f 100644 (file)
@@ -200,7 +200,7 @@ LIMIT 1",
                // No entries found
                // @TODO Move this HTML to a template
                $OUT = '<tr>
-  <td colspan="3" align="center" height="30" class="bottom">
+  <td colspan="3" align="center" class="bottom">
     <div class="bad">{%message,MEMBER_BONUS_NO_RANKS=' . $data . '%}</div>
   </td>
 </tr>';
index cac106ac282d4dfa9064671cc41cb1c82c2f1873..fb2e847bdde2249893f324acc431e10405ce70bd 100644 (file)
@@ -129,7 +129,7 @@ function insertMemberEarning ($earningId, $dailyAmount, $isActive = 'Y') {
        sendAdminNotification('{--ADMIN_EARNING_INSERTED_SUBJECT--}', 'admin_earning_added', $content, getMemberId());
 
        // Return status
-       return ($content['insert_id'] > 0);
+       return isValidId($content['insert_id']);
 }
 
 // Update a given earning amount
index 1705959c9353480cd4ec253f261aa63ca961bd2c..761e5bd73c72168afb6936305dc9fbc027a11282 100644 (file)
@@ -358,7 +358,6 @@ function changeForcedCampaignStatus ($campaignId, $prevStatus, $newStatus, $data
                'prev_status' => $prevStatus,
                'new_status'  => $newStatus,
                'data'        => $data,
-               'abort'       => NULL
        );
 
        // Run pre filter chain
@@ -401,12 +400,16 @@ function changeForcedCampaignStatus ($campaignId, $prevStatus, $newStatus, $data
 // Notify admin(s) with a selected message and content
 function doForcedNotifyAdmin ($messageType, $content) {
        // Prepare template name
-       $templateName = sprintf("admin_forced_%s", $messageType);
+       $templateName = sprintf('admin_forced_%s', $messageType);
+
+       // Is the user id valid?
+       if (!isValidId($content['forced_campaign_userid'])) {
+               // No, then use admin-only template
+               $templateName = sprintf('admin_only_forced_%s', $messageType);
+       } // END - if
 
        // Prepare subject
-       $subject = sprintf("{--ADMIN_FORCED_NOTIFY_%s_SUBJECT--}",
-               strtoupper($messageType)
-       );
+       $subject = sprintf('{--ADMIN_FORCED_NOTIFY_%s_SUBJECT--}', strtoupper($messageType));
 
        // Is the subject line there?
        if ((substr($subject, 0, 1) == '!') && (substr($subject, -1, 1) == '!')) {
@@ -430,12 +433,10 @@ function doForcedNotifyMember ($messageType, $content) {
        } // END - if
 
        // Prepare template name
-       $templateName = sprintf("member_forced_%s", $messageType);
+       $templateName = sprintf('member_forced_%s', $messageType);
 
        // Prepare subject
-       $subject = sprintf("{--MEMBER_FORCED_NOTIFY_%s_SUBJECT--}",
-               strtoupper($messageType)
-       );
+       $subject = sprintf('{--MEMBER_FORCED_NOTIFY_%s_SUBJECT--}', strtoupper($messageType));
 
        // Is the subject line there?
        if ((substr($subject, 0, 1) == '!') && (substr($subject, -1, 1) == '!')) {
@@ -502,7 +503,7 @@ function doTemplateForcedAdSelectionBox ($templateName, $clear, $default = NULL)
        $forcedAds = getArrayFromForcedAdsByType();
 
        // Handle it over to generateSelectionBoxFromArray()
-       $content = generateSelectionBoxFromArray($forcedAds, 'forced_ads_id', 'forced_ads_id', '', '', '', $default, 'forced_ads_type', FALSE, TRUE);
+       $content = generateSelectionBoxFromArray($forcedAds, 'forced_ads_id', 'forced_ads_id', '', '', '', $default, 'forced_ads_type');
 
        // Return prepared content
        return $content;
@@ -514,7 +515,7 @@ function doTemplateForcedCostsSelectionBox ($templateName, $clear, $default = NU
        $forcedCosts = getArrayFromForcedCostsByVisibility();
 
        // Handle it over to generateSelectionBoxFromArray()
-       $content = generateSelectionBoxFromArray($forcedCosts, 'forced_costs_id', 'forced_costs_id', '', '', '', $default, '', TRUE, TRUE);
+       $content = generateSelectionBoxFromArray($forcedCosts, 'forced_costs_id', 'forced_costs_id', '', '', '', $default, '', TRUE);
 
        // Return prepared content
        return $content;
@@ -523,7 +524,7 @@ function doTemplateForcedCostsSelectionBox ($templateName, $clear, $default = NU
 // Template helper function to create selection box for foreced campaign userid
 function doTemplateForcedCampaignUseridSelectionBox ($templateName, $clear, $default = NULL) {
        // Generate the selection box without all
-       $content = addMemberSelectionBox($default, FALSE, TRUE, TRUE, 'forced_campaign_userid[]');
+       $content = addMemberSelectionBox($default, FALSE, TRUE, TRUE, 'forced_campaign_userid');
 
        // Return prepared content
        return $content;
index 7d1aeb7f14a737d877f6c78b7e8f3a4065a85c83..ad166a5a44a21f52b786159d1c1f9399bae9ca7d 100644 (file)
@@ -218,7 +218,6 @@ function doMailIdConfirm ($data) {
                        $templ = 'mailid_enter_code';
                } else {
                        // Disabled code
-                       $data['real_code'] = $realCode;
                        $templ = 'mailid_confirm_buttom';
                }
 
index d72a0297b164e8033ca0b33810971fc994e6433a..b169e35efdcfa2639307731b8439f4e5cb456150 100644 (file)
@@ -47,7 +47,7 @@ function updateMediadataEntry ($keys_array, $mode, $value) {
        $added = FALSE;
 
        // Are there entries?
-       if (is_array($keys_array) && ($value > 0)) {
+       if (isFilledArray($keys_array) && ($value > 0)) {
                // Is an array so we can run it through
                foreach ($keys_array as $key) {
                        // First check if it does exist
index e811faed5ad61780e36158cdf19e8c08a64c4ac4..deabc187338e61f96b79ead8aa03659a3ebf9a01 100644 (file)
@@ -102,7 +102,7 @@ function detectNetworkProcessForm () {
 // Handle a (maybe) sent form here
 function doNetworkHandleForm () {
        // Is there a form sent?
-       if (countRequestPost() > 0) {
+       if ((!isPostRequestElementSet('save_expert')) && (countRequestPost() > 0)) {
                // Detect sent POST form
                detectNetworkProcessForm();
        } elseif (!isGetRequestElementSet('do')) {
@@ -120,7 +120,7 @@ function doNetworkHandleForm () {
 // Processes an admin form
 function doAdminNetworkProcessForm () {
        // Create function name
-       $functionName = sprintf("doAdminNetworkProcess%s", capitalizeUnderscoreString(getRequestElement('do')));
+       $functionName = sprintf('doAdminNetworkProcess%s', capitalizeUnderscoreString(getRequestElement('do')));
 
        // Is the function valid?
        if (!function_exists($functionName)) {
@@ -686,7 +686,7 @@ ORDER BY
                } // END - while
 
                // Nothing found?
-               if (count($rows) == 0) {
+               if (!isFilledArray($rows)) {
                        // Then return nothing ... ;-)
                        return '';
                } // END - if
@@ -1852,7 +1852,7 @@ function doAdminNetworkProcessHandleNetworks () {
                                $networkData = getNetworkDataFromId($networkId);
 
                                // Is there found the network?
-                               if (count($networkData) > 0) {
+                               if (isFilledArray($networkData)) {
                                        // Add row template with given form name
                                        $OUT .= loadTemplate('admin_' . getNetworkFormName() . '_networks_row', TRUE, $networkData);
                                } // END - if
@@ -1894,7 +1894,7 @@ function doAdminNetworkProcessHandleNetworkTypes () {
                                $networkTypeData = getNetworkTypeDataByTypeId($networkId);
 
                                // Is there found the network?
-                               if (count($networkTypeData) > 0) {
+                               if (isFilledArray($networkTypeData)) {
                                        if (getNetworkFormName() == 'edit') {
                                                // Add row template for deleting
                                                $OUT .= loadTemplate('admin_edit_network_types_row', TRUE, $networkTypeData);
@@ -1955,7 +1955,7 @@ function doAdminNetworkProcessHandleRequestParams () {
                                $networkRequestData = getNetworkRequestParamsDataFromId($networkId);
 
                                // Is there found the network?
-                               if (count($networkRequestData) > 0) {
+                               if (isFilledArray($networkRequestData)) {
                                        if (getNetworkFormName() == 'edit') {
                                                // Add row template for deleting
                                                $OUT .= loadTemplate('admin_edit_network_request_params_row', TRUE, $networkRequestData);
@@ -2442,7 +2442,7 @@ function doAdminNetworkProcessHandleArrayTranslations () {
                                $networkTranslationsData = getNetworkArrayTranslationsDataFromId($networkId);
 
                                // Is there found the network?
-                               if (count($networkTranslationsData) > 0) {
+                               if (isFilledArray($networkTranslationsData)) {
                                        if (getNetworkFormName() == 'edit') {
                                                // Add row template for deleting
                                                $OUT .= loadTemplate('admin_edit_network_array_translation_row', TRUE, $networkTranslationsData);
@@ -3064,7 +3064,7 @@ function doAjaxAdminNetworkQuerySingleApi () {
        $requestParams = getNetworkRequestParametersByTypeId(postRequestElement('network_type_id'));
 
        // Is there at least one entry?
-       if (count($requestParams) == 0) {
+       if (!isFilledArray($requestParams)) {
                // No entry found, please setup some first
                reportBug(__FUNCTION__, __LINE__, 'Network ' . $networkData['network_title'] . ' with id ' . $networkData['network_id'] . ' has no request parameters.');
        } // END - if
diff --git a/inc/libs/output_functions.php b/inc/libs/output_functions.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
index 849874be8d427c5f72fabfb86fd9f8017d1fdfe7..5aa2cdb91fa3294872712c707269f852d4ffd4bf 100644 (file)
@@ -889,7 +889,7 @@ function addReferralRallyeTemplateSelection ($name = 'template', $default = '')
        $ral = array();
 
        // Check templates directory
-       $basePath = sprintf("templates/%s/html/rallye/", getLanguage());
+       $basePath = sprintf('templates/%s/html/rallye/', getLanguage());
 
        // Read the directory
        $templates = getArrayFromDirectory($basePath, 'rallye_', FALSE, TRUE, array(), '.tpl');
@@ -905,7 +905,7 @@ function addReferralRallyeTemplateSelection ($name = 'template', $default = '')
                        $ral[$read] = $read;
                } else {
                        // Log invalid
-                       logDebugMessage(__FUNCTION__, __LINE__, sprintf("WARNING: Template %s not used.", $read));
+                       logDebugMessage(__FUNCTION__, __LINE__, sprintf('WARNING: Template %s not used.', $read));
                }
        } // END - foreach
 
index 05819eb73ab2a6259672e74cda235fa878d301b6..6a882d10ac458941536208aa3c3a0aaeb39fcec5 100644 (file)
@@ -242,14 +242,8 @@ ORDER BY
        if (!ifSqlHasZeroNums($result)) {
                // Fetch all entries
                while ($row = sqlFetchArray($result)) {
-                       // Init click rate
-                       $row['click_rate'] = '0';
-
-                       // Does he have received some mails?
-                       if ($row['emails_received'] > 0) {
-                               // Calculate click rate
-                               $row['click_rate'] = ($row['mails_confirmed'] / $row['emails_received'] * 100);
-                       } // END - if
+                       // Calculate click rate
+                       $row['click_rate'] = calculatePercentageRate($row['mails_confirmed'], $row['emails_received']);
 
                        // Add row
                        $refs[$row['id']] = $row;
@@ -316,7 +310,7 @@ function updateMemberRefbackPercents ($id, $percents, $note) {
        $content = getArrayFromUserRefbackData($id);
 
        // Is this valid?
-       if (count($content) == 0) {
+       if (!isFilledArray($content)) {
                // id does not belong to user!
                $status['message'] = 'MEMBER_REFBACK_ERROR_ID_MISMATCH';
                return $status;
index 94826655e798ffb00230aee4882da57763f91239..9fdf938c698c4f5008ce37e29ab1d281430bd439 100644 (file)
@@ -141,12 +141,13 @@ function registerOutputFailedMessage ($messageId, $extra='') {
 // Checks whether the registration data is complete
 function isRegistrationDataComplete () {
        // Init elements
-       $GLOBALS['registration_ip_timeout']     = FALSE;
-       $GLOBALS['registration_short_password'] = FALSE;
-       $GLOBALS['registration_selected_cats']  = '0';
+       $GLOBALS['registration_ip_timeout']    = FALSE;
+       $GLOBALS['registration_weak_password'] = FALSE;
+       $GLOBALS['registration_selected_cats'] = '0';
 
        // Default is okay
        $isOkay = TRUE;
+       $isRandom = FALSE;
 
        // First we only check the submitted data then we continue... :)
        //
@@ -192,6 +193,7 @@ function isRegistrationDataComplete () {
                if ((isExtensionInstalledAndNewer('register', '0.5.5')) && (isRegisterGeneratePasswordEmptyEnabled())) {
                        // Generate a random password
                        $randomPassword = generatePassword();
+                       $isRandom = TRUE;
 
                        // Set it in both entries
                        setPostRequestElement('password1', $randomPassword);
@@ -235,9 +237,9 @@ function isRegistrationDataComplete () {
                $isOkay = FALSE;
        } // END - if
 
-       // Is the password long enouth?
-       if ((strlen(postRequestElement('password1')) < getPassLen()) && ($isOkay === TRUE)) {
-               $GLOBALS['registration_short_password'] = TRUE;
+       // Is the password strong enough?
+       if (($isRandom === FALSE) && (!isStrongPassword(postRequestElement('password1')))) {
+               $GLOBALS['registration_weak_password'] = TRUE;
                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'User did enter a short password.');
                $isOkay = FALSE;
        } // END - if
index fc12052eea581f4fe8e0e8043e8ada74653a55a0..d7daeab73c8a7f8134e35a5986b29d3bc090c043 100644 (file)
@@ -739,7 +739,7 @@ function fetchSponsorData ($sponsor_id, $column = 'id') {
 // Wrapper for fetchSponsorData() and getSponsorData() calls
 function getFetchedSponsorData ($keyColumn, $sponsor_id, $valueColumn) {
        // Zero ids are not valid
-       if ($sponsor_id == 0) {
+       if (!isValidId($sponsor_id)) {
                // Abort here
                reportBug(__FUNCTION__, __LINE__, 'Zero sponsor_id provided');
        } // END - if
index acb07cf9e1bee8731d91463337439a6868d4983b..0f6bf029a8664c4a1ecdb68025ebac117d01be75 100644 (file)
@@ -117,7 +117,7 @@ function doSurfbarAdminUnlockUrlIds ($IDs) {
                // No array
                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Cannot add URL: IDs type ' . gettype($IDs) . '!=array');
                return FALSE;
-       } elseif (count($IDs) == 0) {
+       } elseif (!isFilledArray($IDs)) {
                // Empty array
                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Cannot add URL: IDs is empty');
                return FALSE;
@@ -147,7 +147,7 @@ function doSurfbarAdminRejectUrlIds ($IDs) {
                // No array
                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Cannot add URL: IDs type ' . gettype($IDs) . '!=array');
                return FALSE;
-       } elseif (count($IDs) == 0) {
+       } elseif (!isFilledArray($IDs)) {
                // Empty array
                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Cannot add URL: IDs is empty');
                return FALSE;
@@ -529,7 +529,7 @@ function doHandleSurfbarDepletedViews () {
        $urlArray = getSurfbarUrlData('0', 'url_views_max', 'url_id', 'ASC', 'url_id', " AND `url_views_allowed` > 0 AND `url_status`='ACTIVE'");
 
        // Are there some entries?
-       if (count($urlArray) > 0) {
+       if (isFilledArray($urlArray)) {
                // Then handle all!
                foreach ($urlArray as $id => $urlData) {
                        // Backup data
@@ -584,7 +584,7 @@ function ifSurfbarHasUrlUserId ($url, $userid) {
        $urlArray = getSurfbarUrlData($url, 'url', 'url_id', 'ASC', 'url_id', sprintf(" AND `url_userid`=%s", bigintval($userid)));
 
        // Was it found?
-       return (count($urlArray) > 0);
+       return isFilledArray($urlArray);
 }
 
 // Load URL data by given search term and column
@@ -1000,7 +1000,7 @@ function getSurfbarTotalUrls ($status = 'ACTIVE', $excludeUserId = NULL) {
        $userids = determineSurfbarDepletedUserids();
 
        // If we dont get any user ids back, there are no URLs
-       if (count($userids['url_userid']) == 0) {
+       if (!isFilledArray($userids['url_userid'])) {
                // No user ids found, no URLs!
                return 0;
        } // END - if
@@ -1418,7 +1418,7 @@ function changeSurfbarUrlStatus ($urlId, $prevStatus, $newStatus, $data = array(
        $newStatus = strtolower($newStatus);
 
        // Get URL data for status comparison if missing
-       if ((!is_array($data)) || (count($data) == 0)) {
+       if (!isFilledArray($data)) {
                // Fetch missing URL data
                $data = getSurfbarUrlData($urlId);
        } // END - if
@@ -1429,16 +1429,15 @@ function changeSurfbarUrlStatus ($urlId, $prevStatus, $newStatus, $data = array(
                'prev_status' => $prevStatus,
                'new_status'  => $newStatus,
                'data'        => $data,
-               'abort'       => NULL
        );
 
        // Run pre filter chain
        $filterData = runFilterChain('pre_change_surfbar_url_status', $filterData);
 
        // Abort here?
-       if (!is_null($filterData['abort'])) {
+       if (isFilterChainAborted()) {
                // Abort here
-               return $filterData['abort'];
+               return FALSE;
        } // END - if
 
        // Update the status now
@@ -1736,7 +1735,7 @@ function determineSurfbarNextId ($urlId = NULL) {
 
                // Shall we add some URL ids to ignore?
                $add = '';
-               if (count($USE) > 0) {
+               if (isFilledArray($USE)) {
                        // Ignore some!
                        $add = " AND `sbu`.`url_id` NOT IN (";
                        foreach ($USE as $url_id => $lid) {
index d01582467be2939738018496214062c640b5e080..d2ff048c90cdc0ca01f928d87745f89fde52f9d7 100644 (file)
@@ -88,25 +88,28 @@ function outputAdvancedOverview (&$result_main) {
                $content['update_tasks'] = '<a href="{%url=modules.php?module=admin&amp;what=list_task&amp;type=updates%}">' . $value . '</a>';
        } // END - if
 
-       //
-       // First check for all account status seperately
-       //
-       // Confirmed accounts
-       $value = getTotalConfirmedUser();
-       if ($value > 0) {
-               $content['confirmed_members'] = '<a href="{%url=modules.php?module=admin&amp;what=list_user&amp;status=confirmed%}">' . $value . '</a>';
-       } // END - if
+       // Do this only if ext-user is installed
+       if (isExtensionInstalled('user')) {
+               //
+               // First check for all account status seperately
+               //
+               // Confirmed accounts
+               $value = getTotalConfirmedUser();
+               if ($value > 0) {
+                       $content['confirmed_members'] = '<a href="{%url=modules.php?module=admin&amp;what=list_user&amp;status=confirmed%}">' . $value . '</a>';
+               } // END - if
 
-       // Unconfirmed accounts
-       $value = getTotalUnconfirmedUser();
-       if ($value > 0) {
-               $content['unconfirmed_members'] = '<a href="{%url=modules.php?module=admin&amp;what=list_user&amp;status=unconfirmed%}">' . $value . '</a>';
-       } // END - if
+               // Unconfirmed accounts
+               $value = getTotalUnconfirmedUser();
+               if ($value > 0) {
+                       $content['unconfirmed_members'] = '<a href="{%url=modules.php?module=admin&amp;what=list_user&amp;status=unconfirmed%}">' . $value . '</a>';
+               } // END - if
 
-       // Locked accounts
-       $value = getTotalLockedUser();
-       if ($value > 0) {
-               $content['locked_members'] = '<a href="{%url=modules.php?module=admin&amp;what=list_user&amp;status=locked%}">' . $value . '</a>';
+               // Locked accounts
+               $value = getTotalLockedUser();
+               if ($value > 0) {
+                       $content['locked_members'] = '<a href="{%url=modules.php?module=admin&amp;what=list_user&amp;status=locked%}">' . $value . '</a>';
+               } // END - if
        } // END - if
 
        if (isExtensionInstalledAndNewer('user', '0.3.4')) {
index 09dee2dd5df886db06016112589d0edebd708c44..8539bff033401c4c406958c283de9c0e894b3600 100644 (file)
@@ -154,7 +154,7 @@ function getThemeVersion ($name) {
 // Checks whether a theme is found in db
 function ifThemeExists ($name) {
        // Get theme and is it not nul?
-       return (((isExtensionActive('theme')) || (getModule() == 'admin')) && (getThemeId($name) > 0));
+       return (((isExtensionActive('theme')) || (getModule() == 'admin')) && (isValidId(getThemeId($name))));
 }
 
 // Checks if a theme is active
diff --git a/inc/libs/transaction_functions.php b/inc/libs/transaction_functions.php
new file mode 100644 (file)
index 0000000..6e47230
--- /dev/null
@@ -0,0 +1,376 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 06/22/2013 *
+ * ===================                          Last change: 06/22/2013 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : transaction_functions.php                        *
+ * -------------------------------------------------------------------- *
+ * Short description : Functions for ext-transaction                    *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Funktionen fuer ext-transaction                  *
+ * -------------------------------------------------------------------- *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2013 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')) {
+       die();
+} // END - if
+
+// Logs a transaction and "signs" it
+function logTransaction ($sender, $receiver, $level, $valueAmount, $originalAmount, $transactionSubject) {
+       // Check all conditions
+       assert(((is_null($sender)) || (isValidId($sender))) && (isValidId($receiver)) && ((is_null($level)) || (isValidNumber($level))) && ($valueAmount > 0) && ($originalAmount > 0));
+
+       // Record the transaction for later fee collection
+       sqlQueryEscaped("INSERT INTO
+       `{?_MYSQL_PREFIX?}_transaction_log`
+(
+       `transaction_sender`,
+       `transaction_receiver`,
+       `transaction_level`,
+       `transaction_value`,
+       `transaction_original`,
+       `transaction_fee_sender`,
+       `transaction_fee_sender_percents`,
+       `transaction_fee_receiver`,
+       `transaction_fee_receiver_percents`,
+       `transaction_subject`
+) VALUES (
+       %s,
+       %s,
+       %s,
+       %01.5f,
+       %01.5f,
+       %01.5f,
+       %01.5f,
+       %01.5f,
+       %01.5f,
+       '%s'
+)",
+               array(
+                       convertNull($sender),
+                       bigintval($receiver),
+                       convertNull($level),
+                       $valueAmount,
+                       $originalAmount,
+                       calculateSenderTransactionFee($originalAmount),
+                       getConfig('transaction_fee_sender'),
+                       calculateReceiverTransactionFee($valueAmount),
+                       getConfig('transaction_fee_receiver'),
+                       $transactionSubject
+               ), __FUNCTION__, __LINE__
+       );
+
+       // Should work
+       assert(isValidId(getSqlInsertId()));
+}
+
+// Calculates transaction fee for sender amount
+function calculateSenderTransactionFee ($amount) {
+       // Calculate it
+       $fee = $amount * getConfig('transaction_fee_sender') / 100;
+
+       // Return fee
+       return $fee;
+}
+
+// Calculates transaction fee for receiver amount
+function calculateReceiverTransactionFee ($amount) {
+       // Calculate it
+       $fee = $amount * getConfig('transaction_fee_receiver') / 100;
+
+       // Return fee
+       return $fee;
+}
+
+// Hashes given transaction data
+function generateHashFromTransactionData (array &$data, $oldHash = '') {
+       // Add CAPTCHA code, if missing
+       if (!isset($data['transaction_captcha'])) {
+               // Add it
+               $data['transaction_captcha'] = generateId(
+                       5,
+                       implode(
+                               ':',
+                               $data
+                       )
+               );
+       } // END - if
+
+       // Convert some possible NULL values
+       $data['transaction_sender'] = convertNull($data['transaction_sender']);
+
+       // Generate string to hash
+       $string = implode(':', $data);
+
+       // Hash it then
+       $hash = hashString($string, $oldHash);
+
+       // Return it
+       return $hash;
+}
+
+// "Getter" for CAPTCHA code from given transaction id
+function getCaptchaCodeFromTransactionId ($transactionId) {
+       // Must be valid
+       assert(isValidId($transactionId));
+
+       // Default is NULL
+       $code = NULL;
+
+       // Search for it
+       $result = sqlQueryEscaped("SELECT
+       `transaction_captcha`
+FROM
+       `{?_MYSQL_PREFIX?}_transaction_log`
+WHERE
+       `transaction_id`=%s AND
+       `transaction_level` IS NULL AND
+       `transaction_captcha` IS NOT NULL
+LIMIT 1",
+               array(
+                       bigintval($transactionId)
+               ), __FUNCTION__, __LINE__
+       );
+
+       // Is it there?
+       if (sqlNumRows($result) == 1) {
+               // Load it
+               list($code) = sqlFetchRoww($result);
+       } // END - if
+
+       // Free result
+       sqlFreeResult($result);
+
+       // Return it
+       return $code;
+}
+
+// Tries to confirm given transactions
+function doTryConfirmTransactions (array $post) {
+       // Make sure only members can do this
+       assert((isMember()) && (isset($post['ok'])) && (ifPostHasSelection('transaction_id', $post)));
+
+       // Remove submit button
+       unset($post['ok']);
+
+       // Default is not working ;-)
+       $confirmed = FALSE;
+
+       // Init arrays/variables
+       $confirmedIds = array();
+       $failedIds = array();
+       $points = 0;
+
+       // "Walk" through all transaction ids
+       foreach ($post['transaction_id'] as $transactionId => $code) {
+               // Process only valid ids/CAPTCHA codes
+               if ((isValidId($transactionId)) && (empty($code))) {
+                       // Empty code found, no CAPTCHA entered
+                       continue;
+               } elseif ((!isValidId($transactionId)) || (!isValidNumber($code))) {
+                       // Better set it as "invalid" explicitly and abort here
+                       $confirmed = FALSE;
+                       break;
+               }
+
+               // Init data array
+               $data = array();
+
+               // Try to load more transaction data
+               $result = sqlQueryEscaped("SELECT
+       `transaction_id`,
+       `transaction_hash`,
+       `transaction_sender`,
+       `transaction_receiver`,
+       `transaction_fee_sender`,
+       `transaction_fee_receiver`,
+       `transaction_original`,
+       `transaction_subject`,
+       `transaction_timestamp`
+FROM
+       `{?_MYSQL_PREFIX?}_transaction_log`
+WHERE
+       `transaction_id`=%s AND
+       `transaction_hash` != 'INVALID' AND
+       `transaction_sender` != %s AND
+       `transaction_sender` IS NOT NULL AND
+       `transaction_receiver` != %s AND
+       `transaction_receiver` IS NOT NULL AND
+       `transaction_confirmed`='N' AND
+       `transaction_level` IS NULL AND
+       `transaction_captcha` IS NOT NULL
+LIMIT 1",
+                       array(
+                               bigintval($transactionId),
+                               getCurrentUserId(),
+                               getCurrentUserId()
+                       ), __FUNCTION__, __LINE__
+               );
+
+               // Is there one entry?
+               if (sqlNumRows($result) == 1) {
+                       // Then load it
+                       $data = sqlFetchArray($result);
+
+                       /*
+                        * Save hash for later usage and remove it, so that the hasher
+                        * function will calculate the same hash if same CAPTCHA code
+                        * has been entered.
+                        */
+                       $oldHash = $data['transaction_hash'];
+                       unset($data['transaction_hash']);
+
+                       // Set captcha code from POST data
+                       $data['transaction_captcha'] = bigintval($code);
+
+                       // Generate hash again
+                       $hash = generateHashFromTransactionData($data, $oldHash);
+
+                       // Is it the same?
+                       $confirmed = ($hash == $oldHash);
+                       if ($confirmed === TRUE) {
+                               // Then mark it as confirmed and count all points
+                               array_push($confirmedIds, $transactionId);
+                               $points += $data['transaction_fee_sender'] + $data['transaction_fee_receiver'];
+                       } else {
+                               // Failed confirmation
+                               array_push($failedIds, $transactionId);
+                       }
+               } // END - if
+
+               // Free result
+               sqlFreeResult($result);
+
+               // If it is not found, abort here
+               if (!isFilledArray($data)) {
+                       // Is not valid, better explicitly set it here and abort
+                       $confirmed = FALSE;
+                       break;
+               } // END - if
+       } // END - foreach
+
+       // Were all transaction ids valid?
+       if ($confirmed === TRUE) {
+               // Update all confirmed transactions
+               sqlQueryEscaped("UPDATE
+       `{?_MYSQL_PREFIX?}_transaction_log`
+SET
+       `transaction_confirmed`='Y'
+WHERE
+       `transaction_id` IN (" . implode(',', $confirmedIds) . ") AND
+       `transaction_hash` != 'INVALID' AND
+       `transaction_sender` != %s AND
+       `transaction_sender` IS NOT NULL AND
+       `transaction_receiver` != %s AND
+       `transaction_receiver` IS NOT NULL AND
+       `transaction_confirmed`='N'
+LIMIT %s",
+                       array(
+                               getCurrentUserId(),
+                               getCurrentUserId(),
+                               count($confirmedIds)
+                       ), __FUNCTION__, __LINE__
+               );
+
+               // Check if all has been updated
+               $confirmed = (sqlAffectedRows() == count($confirmedIds));
+
+               // Has all confirmed?
+               if ($confirmed === TRUE) {
+                       // Allowed fields
+                       $allowed = array(
+                               'transaction_fees',
+                               'transaction_confirmed',
+                               'transaction_confirmed_yearly',
+                               'transaction_count'
+                       );
+
+                       // Add them user's "pot"
+                       $updated = doUpdateMemberProfileData(array(
+                               'transaction_fees'             => getUserData('transaction_fees')             + $points,
+                               'transaction_confirmed'        => getUserData('transaction_confirmed')        + count($confirmedIds),
+                               'transaction_confirmed_yearly' => getUserData('transaction_confirmed_yearly') + count($confirmedIds),
+                               'transaction_count'            => getUserData('transaction_count')            + (count($confirmedIds) * getConfig('transaction_count_captcha_confirm'))
+                       ), $allowed, '', FALSE);
+
+                       // Should always work
+                       assert($updated === TRUE);
+               } // END - if
+       } // END - if
+
+       // Are there some failed transactions?
+       if (count($failedIds) > 0) {
+               // Then update all
+               sqlQueryEscaped("UPDATE
+       `{?_MYSQL_PREFIX?}_transaction_log`
+SET
+       `transaction_captcha_failed`='Y'
+WHERE
+       `transaction_id` IN (" . implode(',', $failedIds) . ") AND
+       `transaction_hash` != 'INVALID' AND
+       `transaction_sender` != %s AND
+       `transaction_sender` IS NOT NULL AND
+       `transaction_receiver` != %s AND
+       `transaction_receiver` IS NOT NULL AND
+       `transaction_confirmed`='N'
+LIMIT %s",
+                       array(
+                               getCurrentUserId(),
+                               getCurrentUserId(),
+                               count($failedIds)
+                       ), __FUNCTION__, __LINE__
+               );
+
+               // Should always work
+               assert(sqlAffectedRows() == count($failedIds));
+       } // END - if
+
+       // Return status
+       return $confirmed;
+}
+
+// Checks whether the given user has a fee exempt
+function ifUserHasTransactionFeeExempt ($username) {
+       // Accept only valid ids
+       assert(isValidId($username));
+
+       // Is there "cache"?
+       if (!isset($GLOBALS[__FUNCTION__][$username])) {
+               // Default is the user has no excempt
+               $GLOBALS[__FUNCTION__][$username] = FALSE;
+
+               // "Determine" it
+               $GLOBALS[__FUNCTION__][$username] = (getTotalAmountByUserid($username) < getConfig('transaction_fee_exempt_amount'));
+       } // END - if
+
+       // Return cache
+       return $GLOBALS[__FUNCTION__][$username];
+}
+
+// [EOF]
+?>
index 7007190e74535479bc73ae392a462e5d7576a3bd..3c7ce1d13bfdc7f790ba8ce0b190c45eaf19b78a 100644 (file)
@@ -111,14 +111,14 @@ function YOOMEDIA_TEST_CONFIG ($data) {
        $errorCode = YOOMEDIA_GET_ERRORCODE_FROM_RESULT($response);
 
        // Log the response if failed
-       if ((count($response) == 0) && ($errorCode > 0)) {
+       if ((!isFilledArray($response)) && (isValidNumber($errorCode))) {
                // Queries depleted (as we count here!)
                logDebugMessage(__FUNCTION__, __LINE__, 'Requested depleted. Maxmimum was: ' . getConfig('yoomedia_requests_total') . ',errorCode=' . $errorCode);
                $errorCode = -1;
-       } elseif ((($errorCode <= 4) && ($errorCode > 0)) || ($errorCode >= 8)) {
+       } elseif ((($errorCode <= 4) && (isValidNumber($errorCode))) || ($errorCode >= 8)) {
                // An error has returned from the account
                logDebugMessage(__FUNCTION__, __LINE__, 'Unexpected error code ' . $errorCode . ' received.');
-       } elseif ((count($response) > 0) && ($errorCode != 0)) {
+       } elseif ((isFilledArray($response)) && (isValidNumber($errorCode))) {
                // Log serialized raw response
                logDebugMessage(__FUNCTION__, __LINE__, 'errorCode=' . $errorCode . ',response=' . base64_encode(serialize($response)));
                $errorCode = -1;
@@ -141,7 +141,7 @@ function YOOMEDIA_GET_PARSED_RESULT_TEXTMAILS () {
        $result = array();
 
        // Parse the response
-       if (count($response) > 0) {
+       if (isFilledArray($response)) {
                $result = YOOMEDIA_PARSE_RESPONSE($response, 'textmail');
        } // END - if
 
@@ -158,7 +158,7 @@ function YOOMEDIA_PARSE_RESPONSE ($response, $type) {
        $dummy = removeHttpHeaderFromResponse($response);
 
        // If there is no result, abort here
-       if (count($dummy) == 0) {
+       if (!isFilledArray($dummy)) {
                // Empty response from API
                reportBug(__FUNCTION__, __LINE__, 'Empty result from API received. response()=' . count($response) . ',type=' . $type);
                return array();
@@ -426,7 +426,7 @@ function YOOMEDIA_GET_ERRORCODE_FROM_RESULT ($response) {
                                $code = -999;
                        } // END - if
                }
-       } elseif (count($response) == 0) {
+       } elseif (!isFilledArray($response)) {
                // All fine, but empty result
                $code = '0';
        } else {
index b7e53a6d8609bff515ec3abef0aa865cd901756f..ee94c6f58243ff1bfd12a142f7fc107cfa0ae0d1 100644 (file)
@@ -82,9 +82,9 @@ if ((isIncludeReadable(getCachePath() . 'config-local.php')) && (isIncludeReadab
 }
 
 // Check if the user setups his database login stuff...
-if ((empty($GLOBALS['mysql']['login'])) && (!isInstalling()) && (!isInstallationPhase()) && (!isGetRequestElementSet('installing')) && (isInstalled())) {
+if ((empty($GLOBALS['mysql']['login'])) && (!isInstalling()) && (!isInstaller()) && (!isGetRequestElementSet('installing')) && (isInstalled())) {
        // No login entered and outside installation mode
-       outputHtml('<strong>{--MAILER_WARNING--}:</strong>');
+       outputHtml('<strong>{--MAILER_WARNING--}</strong>');
        if (isInstalled()) {
                // You have changed my configuration file!
                reportBug(__FILE__, __LINE__, '{--DIE_CONFIG_CHANGED_YOU--}');
@@ -92,9 +92,9 @@ if ((empty($GLOBALS['mysql']['login'])) && (!isInstalling()) && (!isInstallation
                // Please run the installation script (maybe again)
                reportBug(__FILE__, __LINE__, '{--DIE_RUN_INSTALLER_MYSQL--}');
        }
-} elseif ((!isInstalling()) && (!isInstallationPhase()) && (empty($GLOBALS['mysql']['password'])) && (getConfig('WARN_NO_PASS') == 'Y')) {
+} elseif ((!isInstalling()) && (!isInstaller()) && (empty($GLOBALS['mysql']['password'])) && (getConfig('WARN_NO_PASS') == 'Y')) {
        // No database password entered
-       displayMessage('<div class="warning">{--MAILER_WARNING--}:</div> {--WARN_NULL_PASSWORD--}');
+       displayMessage('<div class="warning">{--MAILER_WARNING--}</div> {--WARN_NULL_PASSWORD--}');
 }
 
 // [EOF]
diff --git a/inc/load_extensions.php b/inc/load_extensions.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
index aba412eedd424c7e832422f085e6b48a73c3fa96..d912ecea2bfe8032ba15654ca2887e078bf93d08 100644 (file)
@@ -38,8 +38,9 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} elseif (isInstallationPhase()) {
+} elseif (isInstaller()) {
        // Use this code if you don't want to run this cache loader on installation phase
+       //* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Run from installation phase.');
        return FALSE;
 }
 
@@ -47,15 +48,15 @@ if (!defined('__SECURITY')) {
 if (($GLOBALS['cache_instance']->loadCacheFile('foo')) && ($GLOBALS['cache_instance']->extensionVersionMatches('foo'))) {
        // Load cache
        $GLOBALS['cache_array']['foo'] = $GLOBALS['cache_instance']->getArrayFromCache();
-} elseif ((isHtmlOutputMode()) || (isRawOutputMode())) {
+} elseif ((isHtmlOutputMode()) || (isAjaxOutputMode()) || (isRawOutputMode())) {
        // Create cache file
        $GLOBALS['cache_instance']->init();
 
        // Query the database about this
        $result = sqlQuery('SELECT * FROM `{?_MYSQL_PREFIX?}_foos` ORDER BY `some_bar` ASC', __FILE__, __LINE__);
-       while ($dummy = sqlFetchArray($result)) {
+       while ($data = sqlFetchArray($result)) {
                // Save row
-               $GLOBALS['cache_instance']->addRow($dummy);
+               $GLOBALS['cache_instance']->addRow($data);
        } // END - while
 
        // Free memory
index 96edeb31639741f77d9a7cf0d230acdc7fb32deb..18c65bd2ecbd4bf68c055b7296a66dc1ea766a7f 100644 (file)
@@ -38,8 +38,9 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} elseif (isInstallationPhase()) {
+} elseif (isInstaller()) {
        // Do not run in installation phase
+       //* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Run from installation phase.');
        return FALSE;
 }
 
@@ -81,7 +82,7 @@ if (($GLOBALS['cache_instance']->loadCacheFile('admin')) && ($GLOBALS['cache_ins
                $GLOBALS['cache_instance']->removeCacheFile();
                unset($GLOBALS['cache_array']['admin']);
        }
-} elseif ((isHtmlOutputMode()) || (isRawOutputMode())) {
+} elseif ((isHtmlOutputMode()) || (isAjaxOutputMode()) || (isRawOutputMode())) {
        // Create cache file
        $GLOBALS['cache_instance']->init();
 
@@ -152,7 +153,7 @@ if (isExtensionInstalledAndNewer('admins', '0.3')) {
                        // This may drive a lot messages to the logfile
                        //* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'No entry found in admin_acls to rewrite.');
                }
-       } elseif ((isHtmlOutputMode()) || (isRawOutputMode())) {
+       } elseif ((isHtmlOutputMode()) || (isAjaxOutputMode()) || (isRawOutputMode())) {
                // Create cache file here
                $GLOBALS['cache_instance']->init();
 
index b84090136462a0de6bd1e552875b4a2c347461b6..f5be7054bad24bb51f257bc28c1394c38566eb61 100644 (file)
@@ -38,8 +38,9 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} elseif (isInstallationPhase()) {
+} elseif (isInstaller()) {
        // Do not run in installation phase
+       //* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Run from installation phase.');
        return FALSE;
 }
 
@@ -58,7 +59,7 @@ if (($GLOBALS['cache_instance']->loadCacheFile('config')) && ($GLOBALS['cache_in
 
        // Remove dummy array
        unset($config);
-} elseif ((isHtmlOutputMode()) || (isRawOutputMode())) {
+} elseif ((isHtmlOutputMode()) || (isAjaxOutputMode()) || (isRawOutputMode())) {
        // Create cache file here
        $GLOBALS['cache_instance']->init();
 
index d6a8e67d41788df6b2f3b65745d674c3ad94b43b..ab31866453517dee012abe4dcc35ae39c62bcc5d 100644 (file)
@@ -38,8 +38,9 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} elseif (isInstallationPhase()) {
+} elseif (isInstaller()) {
        // Do not run in installation phase
+       //* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Run from installation phase.');
        return FALSE;
 } elseif (!isExtensionInstalled('earning')) {
        // Do not cache if not installed!
@@ -50,15 +51,15 @@ if (!defined('__SECURITY')) {
 if (($GLOBALS['cache_instance']->loadCacheFile('earning')) && ($GLOBALS['cache_instance']->extensionVersionMatches('earning'))) {
        // Load cache
        $GLOBALS['cache_array']['earning'] = $GLOBALS['cache_instance']->getArrayFromCache();
-} elseif ((isHtmlOutputMode()) && (isExtensionInstalled('earning'))) {
+} elseif ((isHtmlOutputMode()) || (isAjaxOutputMode()) || (isRawOutputMode())) {
        // Create cache file
        $GLOBALS['cache_instance']->init();
 
        // Query the database about this
        $result = sqlQuery('SELECT * FROM `{?_MYSQL_PREFIX?}_earning_data` ORDER BY `earning_id` ASC', __FILE__, __LINE__);
-       while ($dummy = sqlFetchArray($result)) {
+       while ($data = sqlFetchArray($result)) {
                // Save row
-               $GLOBALS['cache_instance']->addRow($dummy);
+               $GLOBALS['cache_instance']->addRow($data);
        } // END - while
 
        // Free memory
index 0d35dd45019d89ee2d186455ffb9bb5a0f573585..acaeb8514527ddf14dce4713d987070e42728e6e 100644 (file)
@@ -40,8 +40,9 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} elseif (isInstallationPhase()) {
+} elseif (isInstaller()) {
        // Do not run in installation phase
+       //* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Run from installation phase.');
        return FALSE;
 }
 
@@ -60,7 +61,7 @@ if (($GLOBALS['cache_instance']->loadCacheFile('extension')) && ($GLOBALS['cache
 
                // Loop through all
                foreach ($EXT_DUMMY['ext_name'] as $k => $ext_name) {
-                       // Load CSS file
+                       // Load CSS file?
                        if ($EXT_DUMMY['ext_css'][$k] == 'Y') {
                                addExtensionCssFile($ext_name . '.css');
                        } // END - if
@@ -132,7 +133,7 @@ if (($GLOBALS['cache_instance']->loadCacheFile('extension')) && ($GLOBALS['cache
 
        // Remove array and mark cache as loaded
        unset($EXT_POOL);
-} elseif ((isHtmlOutputMode()) || (isRawOutputMode())) {
+} elseif ((isHtmlOutputMode()) || (isAjaxOutputMode()) || (isRawOutputMode())) {
        // Create cache file here
        $GLOBALS['cache_instance']->init();
 
index 48debd41b37d8a02bc50a2b2298e1639b1553b00..f460b455a75acc255cf75abdf0a0e954b4707ee8 100644 (file)
@@ -38,8 +38,9 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} elseif (isInstallationPhase()) {
+} elseif (isInstaller()) {
        // Do not run in installation phase
+       //* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Run from installation phase.');
        return FALSE;
 }
 
@@ -50,7 +51,7 @@ if (($GLOBALS['cache_instance']->loadCacheFile('filter')) && ($GLOBALS['cache_in
 
        // Prepare the array here
        prepareFilterArray();
-} elseif (((isHtmlOutputMode()) || (isRawOutputMode())) && (isExtensionInstalledAndNewer('sql_patches', '0.5.9'))) {
+} elseif (((isHtmlOutputMode()) || (isAjaxOutputMode()) || (isRawOutputMode())) && (isExtensionInstalledAndNewer('sql_patches', '0.5.9'))) {
        // Create cache file here
        $GLOBALS['cache_instance']->init();
 
index dd1a51424988ea4bea9f1fe53def5436d8cd3f48..e8303d343876a2944f1aa7e097ff2b891cae5192 100644 (file)
@@ -38,8 +38,9 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} elseif (isInstallationPhase()) {
+} elseif (isInstaller()) {
        // Do not run in installation phase
+       //* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Run from installation phase.');
        return FALSE;
 } elseif (!isExtensionInstalled('imprint')) {
        // Do not cache if not installed!
@@ -50,7 +51,7 @@ if (!defined('__SECURITY')) {
 if (($GLOBALS['cache_instance']->loadCacheFile('imprint')) && ($GLOBALS['cache_instance']->extensionVersionMatches('imprint'))) {
        // Load cache
        $GLOBALS['cache_array']['imprint'] = $GLOBALS['cache_instance']->getArrayFromCache();
-} elseif ((isHtmlOutputMode()) || (isRawOutputMode())) {
+} elseif ((isHtmlOutputMode()) || (isAjaxOutputMode()) || (isRawOutputMode())) {
        // Create cache file
        $GLOBALS['cache_instance']->init();
 
index f52226607f879c1b5501f2c210c91814409141cb..44178611f465776439652573341f256b3bd92b33 100644 (file)
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} elseif (isInstallationPhase()) {
+} elseif (isInstaller()) {
        // Do not run in installation phase
+       //* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Run from installation phase.');
+       return FALSE;
+} elseif (!isExtensionInstalled('mods')) {
+       // Do not run if ext-mods is missing
        return FALSE;
 }
 
@@ -87,7 +91,7 @@ if (($GLOBALS['cache_instance']->loadCacheFile('modules')) && ($GLOBALS['cache_i
                } // END - foreach
        } // END - foreach
        unset($modArray);
-} elseif ((isHtmlOutputMode()) || (isRawOutputMode())) {
+} elseif ((isHtmlOutputMode()) || (isAjaxOutputMode()) || (isRawOutputMode())) {
        // Create cache file here
        $GLOBALS['cache_instance']->init();
 
index de1647c1374f65cc3f082746c1d77e706686fe02..3d72aec7f24790a39ea745edc733c62ddca1b175 100644 (file)
@@ -38,8 +38,9 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} elseif (isInstallationPhase()) {
+} elseif (isInstaller()) {
        // Do not run in installation phase
+       //* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Run from installation phase.');
        return FALSE;
 }
 
@@ -66,15 +67,15 @@ if (($GLOBALS['cache_instance']->loadCacheFile('payments')) && ($GLOBALS['cache_
        // Set the array back and remove temporary
        $GLOBALS['cache_array']['payments'] = $paymentsData;
        unset($paymentsData);
-} elseif ((isHtmlOutputMode()) || (isRawOutputMode())) {
+} elseif ((isHtmlOutputMode()) || (isAjaxOutputMode()) || (isRawOutputMode())) {
        // Create cache file
        $GLOBALS['cache_instance']->init();
 
        // Query the database about this
        $result = sqlQuery('SELECT * FROM `{?_MYSQL_PREFIX?}_payments` ORDER BY `id` ASC', __FILE__, __LINE__);
-       while ($dummy = sqlFetchArray($result)) {
+       while ($data = sqlFetchArray($result)) {
                // Save row
-               $GLOBALS['cache_instance']->addRow($dummy);
+               $GLOBALS['cache_instance']->addRow($data);
        } // END - while
 
        // Free memory
index 91da8e922bd3f000ef1083c7661bf03f028b9c59..886795351f665285d767503f752d45fd220ac5fb 100644 (file)
@@ -38,8 +38,9 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} elseif (isInstallationPhase()) {
+} elseif (isInstaller()) {
        // Do not run in installation phase
+       //* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Run from installation phase.');
        return FALSE;
 } elseif (!isExtensionInstalledAndNewer('sql_patches', '0.8.0')) {
        // Is not installed or recent enough
@@ -78,15 +79,15 @@ if (($GLOBALS['cache_instance']->loadCacheFile('points_data')) && ($GLOBALS['cac
        // Set the array back and remove temporary
        $GLOBALS['cache_array']['points_data'] = $pointsData;
        unset($pointsData);
-} elseif ((isHtmlOutputMode()) && (isExtensionInstalledAndNewer('sql_patches', '0.8.6'))) {
+} elseif (((isHtmlOutputMode()) || (isAjaxOutputMode()) || (isRawOutputMode())) && (isExtensionInstalledAndNewer('sql_patches', '0.8.6'))) {
        // Create cache file
        $GLOBALS['cache_instance']->init();
 
        // Query the database about this
        $result = sqlQuery('SELECT * FROM `{?_MYSQL_PREFIX?}_points_data` ORDER BY `id` ASC', __FILE__, __LINE__);
-       while ($dummy = sqlFetchArray($result)) {
+       while ($data = sqlFetchArray($result)) {
                // Save row
-               $GLOBALS['cache_instance']->addRow($dummy);
+               $GLOBALS['cache_instance']->addRow($data);
        } // END - while
 
        // Free memory
index 446896fc790416fc5e1f6b712a25f983730a947b..ea9d178a83f235cc5e7171f1a4d3c56f86194aa6 100644 (file)
@@ -38,8 +38,9 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} elseif (isInstallationPhase()) {
+} elseif (isInstaller()) {
        // Do not run in installation phase
+       //* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Run from installation phase.');
        return FALSE;
 }
 
@@ -47,7 +48,7 @@ if (!defined('__SECURITY')) {
 if (($GLOBALS['cache_instance']->loadCacheFile('refdepths')) && ($GLOBALS['cache_instance']->extensionVersionMatches('sql_patches'))) {
        // Load referral system from cache
        $GLOBALS['cache_array']['refdepths'] = $GLOBALS['cache_instance']->getArrayFromCache();
-} elseif ((isHtmlOutputMode()) || (isRawOutputMode())) {
+} elseif ((isHtmlOutputMode()) || (isAjaxOutputMode()) || (isRawOutputMode())) {
        // Create cache file here
        $GLOBALS['cache_instance']->init();
 
index 9fcc557dfb105fa9977d735f988ba1a201fdfa69..245bfdf3ed600bf7dc4a81715ebc357ed9599b79 100644 (file)
@@ -38,8 +38,9 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} elseif (isInstallationPhase()) {
+} elseif (isInstaller()) {
        // Do not run in installation phase
+       //* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Run from installation phase.');
        return FALSE;
 }
 
@@ -47,7 +48,7 @@ if (!defined('__SECURITY')) {
 if (($GLOBALS['cache_instance']->loadCacheFile('refsystem')) && ($GLOBALS['cache_instance']->extensionVersionMatches('sql_patches'))) {
        // Load referral system from cache
        $GLOBALS['cache_array']['refsystem'] = $GLOBALS['cache_instance']->getArrayFromCache();
-} elseif ((isHtmlOutputMode()) || (isRawOutputMode())) {
+} elseif ((isHtmlOutputMode()) || (isAjaxOutputMode()) || (isRawOutputMode())) {
        // Create cache file here
        $GLOBALS['cache_instance']->init();
 
index ac634f319ab1a92fcbe41fa5cf0c6a1b04176ba4..9292bb922f833c2e3477c91fe39a8d4b663eef59 100644 (file)
@@ -44,7 +44,7 @@ if (!defined('__SECURITY')) {
 if ($GLOBALS['cache_instance']->loadCacheFile('revision')) {
        // Load revision from cache
        $GLOBALS['cache_array']['revision'] = $GLOBALS['cache_instance']->getArrayFromCache();
-} elseif ((isHtmlOutputMode())) {
+} elseif (((isHtmlOutputMode())) || (isAjaxOutputMode()) || (isRawOutputMode())) {
        // Create cache file here
        $GLOBALS['cache_instance']->init();
 
@@ -55,7 +55,7 @@ if ($GLOBALS['cache_instance']->loadCacheFile('revision')) {
        $GLOBALS['cache_instance']->finalize();
 
        // Generate FQFN for old revision file
-       $FQFN = sprintf("%s/.revision", getCachePath());
+       $FQFN = sprintf('%s/.revision', getCachePath());
 
        // Is it there?
        if (isFileReadable($FQFN)) {
index a349240e19cb57f696ddb9c849882e588bdf47b0..916312f6380d7c810ad908b28a561f75d81ae36a 100644 (file)
@@ -38,8 +38,9 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} elseif (isInstallationPhase()) {
+} elseif (isInstaller()) {
        // Do not run in installation phase
+       //* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Run from installation phase.');
        return FALSE;
 } elseif (!isExtensionActive('theme')) {
        // Skip this loader
@@ -70,7 +71,7 @@ if (($GLOBALS['cache_instance']->loadCacheFile('themes')) && ($GLOBALS['cache_in
 
        // Remove dummy array
        unset($cache);
-} elseif ((isHtmlOutputMode()) || (isRawOutputMode())) {
+} elseif ((isHtmlOutputMode()) || (isAjaxOutputMode()) || (isRawOutputMode())) {
        // Create cache file here
        $GLOBALS['cache_instance']->init();
 
diff --git a/inc/mails/birthday_mails.php b/inc/mails/birthday_mails.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
index 92606bfba89f384615ec89d93ae5f38633684f29..1783c69cb15b16403a9927277d8094ac8bc5c098 100644 (file)
@@ -167,7 +167,7 @@ if ((($totalCount > 0) && (getConfig('doubler_sent_all') == 'Y')) || ((sqlNumRow
                        if ($content['userid'] != getDoublerUserid()) {
                                // Add points
                                initReferralSystem();
-                               addPointsThroughReferralSystem(sprintf("doubler_%s", strtolower(getDoublerSendMode())), $content['userid'], $content['points']);
+                               addPointsThroughReferralSystem(sprintf('doubler_%s', strtolower(getDoublerSendMode())), $content['userid'], $content['points']);
                        } // END - if
 
                        // Set entry as "payed"
@@ -184,7 +184,7 @@ if ((($totalCount > 0) && (getConfig('doubler_sent_all') == 'Y')) || ((sqlNumRow
                        } // END - if
 
                        // Exclude also webmaster's id in taking points from webmaster's account
-                       if (($userPoints > 0) && ($userPoints >= $content['points']) && ($okay === FALSE) && (getDoublerUserid() > 0) && ($content['userid'] != getDoublerUserid())) {
+                       if (($userPoints > 0) && ($userPoints >= $content['points']) && ($okay === FALSE) && (isValidId(getDoublerUserid())) && ($content['userid'] != getDoublerUserid())) {
                                // Subtract points
                                $okay = subtractPoints('doubler_payout', getDoublerUserid(), $content['points']);
                        } // END - if
index ba6ba895cfa513c7b96615e04f9b0262907d662f..f7779d051a753df268060d7f378ae2ae5d2203b7 100644 (file)
@@ -241,7 +241,7 @@ function checkModulePermissions ($module = '') {
        setModuleStatus($module_chk, 'major');
 
        // Check if script is installed if not return a 'done' to prevent some errors
-       if ((isInstallationPhase()) || (!isAdminRegistered())) {
+       if ((isInstaller()) || (!isAdminRegistered())) {
                // Not installed or no admin registered or in installation phase
                setModuleStatus($module_chk, 'done');
 
@@ -271,7 +271,7 @@ function checkModulePermissions ($module = '') {
                        setModuleStatus($module_chk, 'admin_only');
                } else {
                        // @TODO Nothing helped???
-                       logDebugMessage(__FUNCTION__, __LINE__, sprintf("ret=%s,locked=%d,hidden=%d,mem=%d,admin=%d",
+                       logDebugMessage(__FUNCTION__, __LINE__, sprintf('ret=%s,locked=%d,hidden=%d,mem=%d,admin=%d',
                                getModuleStatus($module_chk),
                                intval(isModuleLocked($module_chk)),
                                intval(isModuleHidden($module_chk)),
@@ -284,7 +284,7 @@ function checkModulePermissions ($module = '') {
        // Still no luck or not found?
        if (($found === FALSE) && (!isExtensionActive('cache')) && (getModuleStatus($module_chk) != 'done'))  {
                //              ----- Default module -----                                  ---- Module in base folder  ----                       --- Module with extension's name ---
-               if ((isIncludeReadable(sprintf("inc/modules/%s.php", $module))) || (isIncludeReadable(sprintf("%s.php", $module))) || (isIncludeReadable(sprintf("%s/%s.php", $extension, $module)))) {
+               if ((isIncludeReadable(sprintf('inc/modules/%s.php', $module))) || (isIncludeReadable($module . '.php')) || (isIncludeReadable(sprintf('%s/%s.php', $extension, $module)))) {
                        // Data is missing so we add it
                        if (isExtensionInstalledAndNewer('sql_patches', '0.3.6')) {
                                /*
@@ -328,7 +328,7 @@ VALUES
                rebuildCache('modules', 'modules');
        } elseif ($found === FALSE) {
                // Problem with module detected
-               logDebugMessage(__FUNCTION__, __LINE__, sprintf("Problem in module %s detected. getModuleStatus()=%s,locked=%d,hidden=%d,mem=%d,admin=%d,output_mode=%s",
+               logDebugMessage(__FUNCTION__, __LINE__, sprintf('Problem in module %s detected. getModuleStatus()=%s,locked=%d,hidden=%d,mem=%d,admin=%d,output_mode=%s',
                        $module_chk,
                        getModuleStatus($module_chk),
                        intval(isModuleLocked($module_chk)),
@@ -340,7 +340,7 @@ VALUES
        }
 
        // Debug log
-       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, sprintf("module=%s, status=%s", $module_chk, getModuleStatus($module_chk)));
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, sprintf('module=%s, status=%s', $module_chk, getModuleStatus($module_chk)));
 
        // Return the value
        return getModuleStatus($module_chk);
@@ -388,7 +388,7 @@ function ifModuleHasMenu ($module, $forceDb = FALSE) {
        } elseif (!isExtensionInstalled('sql_patches')) {
                // No ext-sql_patches installed, so maybe in admin/guest/member/sponsor area or no admin registered?
                $ret = in_array($module, array('admin', 'index', 'login', 'sponsor')); // Then there is a menu!
-       } elseif (!isInstallationPhase()) {
+       } elseif (!isInstaller()) {
                // Unsupported state, but ignored in installation phase
                logDebugMessage(__FUNCTION__, __LINE__, 'This should never be reached, module[' . gettype($module) . ']=' . $module . ',forceDb=' . intval($forceDb));
        }
@@ -405,7 +405,7 @@ function addModuleSql ($module, $title, $locked, $hidden, $adminOnly, $memOnly)
                addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_mod_reg` (`module`, `title`, `locked`, `hidden`, `admin_only`, `mem_only`) VALUES ('" . $module . "', '" . $title . "', '" . $locked . "', '" . $hidden . "', '" . $adminOnly . "', '" . $memOnly . "')");
        } else {
                // Already registered
-               logDebugMessage(__FUNCTION__, __LINE__, sprintf("Already registered: module=%s,locked=%s,hidden=%s,admin=%s,mem=%s",
+               logDebugMessage(__FUNCTION__, __LINE__, sprintf('Already registered: module=%s,locked=%s,hidden=%s,admin=%s,mem=%s',
                        $module,
                        $locked,
                        $hidden,
@@ -421,7 +421,7 @@ function loadModule () {
        $isModuleValid = FALSE;
 
        // Construct module name
-       $GLOBALS['module_inc'] = sprintf("inc/modules/%s.php", getModule());
+       $GLOBALS['module_inc'] = sprintf('inc/modules/%s.php', getModule());
 
        // Check module permission (again)
        $moduleState = checkModulePermissions();
@@ -474,7 +474,7 @@ function loadModule () {
 
                default:
                        // Unknown module status
-                       logDebugMessage(__FUNCTION__, __LINE__, sprintf("Unknown status %s return from module check. Module=%s", $moduleState, getModule()));
+                       logDebugMessage(__FUNCTION__, __LINE__, sprintf('Unknown status %s return from module check. Module=%s', $moduleState, getModule()));
                        addFatalMessage(__FUNCTION__, __LINE__, '{%message,UNKNOWN_MODULE_STATUS=' . $moduleState . '%}');
                        break;
        } // END - switch
@@ -542,7 +542,7 @@ function getMenuModeFromModule () {
                } elseif (getModule() == 'admin') {
                        // Is admin area
                        $GLOBALS[__FUNCTION__] = 'admin';
-               } elseif (isInstallationPhase()) {
+               } elseif (isInstaller()) {
                        // Is installation phase
                        $GLOBALS[__FUNCTION__] = 'install';
                } else {
index ef900aec04627657b838bcf1af7172e595f800e7..bab348470530e81001d8a58872654c05564371f3 100644 (file)
@@ -169,10 +169,7 @@ if (!isAdminRegistered()) {
                        // Check for password
                        if (!isPostRequestElementSet('admin_password')) {
                                // No password entered?
-                               $passwdMessage = '{--ADMIN_NO_PASS--}';
-                       } elseif (strlen(postRequestElement('admin_password')) < getConfig('minium_admin_pass_length')) {
-                               // Or password too short?
-                               $passwdMessage = '{--ADMIN_SHORT_PASS--}';
+                               $passwdMessage = '{--ADMIN_NO_PASSWORD--}';
                        } elseif ((!empty($ret)) && (postRequestElement('login') == 'password')) {
                                // An error comes back from login?
                                $passwdMessage = $ret;
@@ -208,7 +205,7 @@ if (!isAdminRegistered()) {
                        $remove = getRequestElement('remove');
 
                        // Special logout redirect for removal of given extension
-                       loadTemplate(sprintf("admin_logout_%s_remove", $remove));
+                       loadTemplate(sprintf('admin_logout_%s_remove', $remove));
                } else {
                        // Logged out normally
                        loadTemplate('admin_logout');
@@ -265,7 +262,7 @@ if (!isAdminRegistered()) {
                        break;
 
                default: // Others will be logged
-                       logDebugMessage(__FILE__, __LINE__, sprintf("Unknown return code %s from ifAdminCookiesAreValid()", $ret));
+                       logDebugMessage(__FILE__, __LINE__, sprintf('Unknown return code %s from ifAdminCookiesAreValid()', $ret));
                        break;
        } // END - switch
 }
index b4f8ff20fabe14962fd67408d8124629cb4450d0..9360b73c8ae581708cb69e5f1327a36f3c1fa0d0 100644 (file)
@@ -42,6 +42,9 @@ if (!defined('__SECURITY')) {
 
 // Register an administrator account
 function addAdminAccount ($adminLogin, $passHash, $adminEmail, $accessLevel = 'deny') {
+       // Only let valid data pass
+       assert(in_array($accessLevel, array('allow', 'deny')));
+
        // Login does already exist
        $ret = 'already';
 
@@ -507,10 +510,10 @@ ORDER BY
        while ($content = sqlFetchArray($result)) {
                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'userid=' . intval($userid) . '/' . $content['userid']);
                $OUT .= '<option value="' . bigintval($content['userid']) . '"';
-               if (bigintval($userid, FALSE, FALSE) === bigintval($content['userid'])) {
+               if ($userid === $content['userid']) {
                        $OUT .= ' selected="selected"';
                } // END - if
-               $OUT .= '>' . $content['surname'] . ' ' . $content['family'] . ' (' . bigintval($content['userid']) . ')</option>';
+               $OUT .= '>' . $content['surname'] . ' ' . $content['family'] . ' (' . $content['userid'] . ')</option>';
        } // END - while
 
        // Free memory
@@ -1703,15 +1706,15 @@ function registerFirstAdmin () {
                        // No password 1 entered or to short?
                        if (!isPostRequestElementSet('admin_password1')) {
                                $password1Message = '{--ADMIN_NO_PASSWORD1--}';
-                       } elseif (strlen(postRequestElement('admin_password1')) < getConfig('minium_admin_pass_length')) {
-                               $password1Message = '{--ADMIN_SHORT_PASSWORD1--}';
+                       } elseif (!isStrongPassword(postRequestElement('admin_password1'))) {
+                               $password1Message = '{--ADMIN_WEAK_PASSWORD1--}';
                        }
 
                        // No password 2 entered or to short?
                        if (!isPostRequestElementSet('admin_password2')) {
                                $password2Message = '{--ADMIN_NO_PASSWORD2--}';
-                       } elseif (strlen(postRequestElement('admin_password2')) < getConfig('minium_admin_pass_length')) {
-                               $password2Message = '{--ADMIN_SHORT_PASSWORD2--}';
+                       } elseif (!isStrongPassword(postRequestElement('admin_password2'))) {
+                               $password2Message = '{--ADMIN_WEAK_PASSWORD2--}';
                        }
 
                        // Both didn't match?
index e8fd2aac206cb50dffcf513fe54585d5ca84de91..026068e6fb4098127e20e79cc799c67b6cf6f998 100644 (file)
@@ -188,7 +188,7 @@ LIMIT 1",
                                                $content = getUserDataArray();
 
                                                // Generate HTML list entry
-                                               $add = '<li>{--ADMIN_MEMBER_USERID--}: <strong>' . generateUserProfileLink($taskData['userid'], 'user_data') . ' (<a href="' . generateEmailLink($content['email'], 'user_data') . '">{%pipe,translateGender=' . $content['gender'] . '%} ' . $content['surname'] . ' ' . $content['family'] . '</a>)</strong></li>';
+                                               $add = '<li>{--ADMIN_ASSIGNED_USERID--}: <strong>' . generateUserProfileLink($taskData['userid'], 'user_data') . ' (<a href="' . generateEmailLink($content['email'], 'user_data') . '">{%pipe,translateGender=' . $content['gender'] . '%} ' . $content['surname'] . ' ' . $content['family'] . '</a>)</strong></li>';
                                        } else {
                                                // Invalid userid, so log and zero it
                                                logDebugMessage(__FUNCTION__, __LINE__, 'fetchUserData() failed: userid=' . $taskData['userid'] . ' not found.');
index 35e974f87eb800770a52700e5765c7d41e284b29..a78dd46647ceb70e015fcd9524719e2d0f4788d6 100644 (file)
@@ -62,7 +62,7 @@ if (!isNewUserTesterAllowed()) {
 } // END - if
 
 // Display form
-loadTemplate('admin_add_tester_user', FALSE, $content);
+loadTemplate('admin_add_tester_user');
 
 // [EOF]
 ?>
diff --git a/inc/modules/admin/what-admins_contact.php b/inc/modules/admin/what-admins_contact.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
diff --git a/inc/modules/admin/what-autopurge.php b/inc/modules/admin/what-autopurge.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
diff --git a/inc/modules/admin/what-config_booking.php b/inc/modules/admin/what-config_booking.php
new file mode 100644 (file)
index 0000000..7905761
--- /dev/null
@@ -0,0 +1,58 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 10/25/2009 *
+ * ===================                          Last change: 10/25/2009 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : what-config_                                     *
+ * -------------------------------------------------------------------- *
+ * Short description : Configuration for                                *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Konfiguration der                                *
+ * -------------------------------------------------------------------- *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2013 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__);
+
+if (isFormSent('save_config')) {
+       // Save data
+       adminSaveSettingsFromPostData();
+} else {
+       // Prepare some selections
+       $content['booking_purge'] = createConfigurationTimeSelections('booking_purge'   , 'MWDh');
+
+       // Output template
+       loadTemplate('admin_config_booking', FALSE, $content);
+}
+
+// [EOF]
+?>
diff --git a/inc/modules/admin/what-config_cache.php b/inc/modules/admin/what-config_cache.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
diff --git a/inc/modules/admin/what-config_cats.php b/inc/modules/admin/what-config_cats.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
diff --git a/inc/modules/admin/what-config_mods.php b/inc/modules/admin/what-config_mods.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
diff --git a/inc/modules/admin/what-config_rallye_prices.php b/inc/modules/admin/what-config_rallye_prices.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
diff --git a/inc/modules/admin/what-config_reg.php b/inc/modules/admin/what-config_reg.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
index 9fe424cb50babf41f49cb463091fa6f292892766..b10890133e65087beb890bb953c5c1194e52438d 100644 (file)
@@ -61,12 +61,15 @@ if (isFormSent('save_config')) {
        // Save settings
        adminSaveSettingsFromPostData();
 } else {
+       // Explode all modules
+       $MODs = explode(':', getConfig('rewrite_skip'));
+
        // Load existing modules and generate TR rows for the template
-       $result = sqlQuery("SELECT `module`, `title` FROM `{?_MYSQL_PREFIX?}_mod_reg` ORDER BY module", __FILE__, __LINE__);
+       $result = sqlQuery("SELECT `module`, `title` FROM `{?_MYSQL_PREFIX?}_mod_reg` ORDER BY `module` ASC", __FILE__, __LINE__);
        $OUT = '';
        while ($content = sqlFetchArray($result)) {
                // Already registered module?
-               if (isInString($content['module'], getConfig('rewrite_skip'))) {
+               if (in_array($content['module'], $MODs)) {
                        // Found
                        $y = ' checked="checked"';
                        $n = '';
index de299e1acee60ef7a690010726c7bc1cb4295975..dd009a0eeedde04b3e3f880cea87f711e2c58466 100644 (file)
@@ -59,8 +59,20 @@ if (isFormSent('save_config')) {
        // Save settings
        adminSaveSettingsFromPostData();
 } else {
+       // Prepare content
+       $content = array();
+
+       // Loop all scores
+       for ($idx = 0; $idx <= 5; $idx++) {
+               // Init value
+               $content['min_password_score_' . $idx] = '';
+       } // END - for
+
+       // Set default
+       $content['min_password_score_' . strtolower(getMinPasswordScore())] = ' selected="selected"';
+
        // Load template
-       loadTemplate('admin_config_secure');
+       loadTemplate('admin_config_secure', FALSE, $content);
 }
 
 // [EOF]
diff --git a/inc/modules/admin/what-del_task.php b/inc/modules/admin/what-del_task.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
index 14bfd64d9be2c70e6d33690075efca105d2593d5..1fe5197c2ef232d1e48fef9f0131e2a26aebe8f5 100644 (file)
@@ -154,7 +154,7 @@ LIMIT 1",
                                // Output message
                                displayMessage($message);
                        } // END - if
-               } elseif (isFileReadable(sprintf("%stemplates/%s/html/admin/%s.tpl", getPath(), getLanguage(), $TPL))) {
+               } elseif (isFileReadable(sprintf('%s/admin/%s.tpl', getTemplateBasePath('html'), $TPL))) {
                        // Create mailto link
                        $content['contact'] = '<a href="' . generateSponsorEmailLink($content['email'], 'sponsor_data') . '">' . $content['surname'] . ' ' . $content['family'] . '</a>';
 
index f3c04ad1c29d469712f1c1762c0de0db96f7628f..58204dfd932a64e3905e64a8e48d750d850bf02c 100644 (file)
@@ -4,7 +4,7 @@
  * ===================                          Last change: 10/04/2012 *
  *                                                                      *
  * -------------------------------------------------------------------- *
- * File              : what-list_!!!s.php                               *
+ * File              : what-list_!!!.php                                *
  * -------------------------------------------------------------------- *
  * Short description : List all URLs in !!!                             *
  * -------------------------------------------------------------------- *
@@ -58,40 +58,40 @@ if ((countRequestPost() > 0) && (!ifPostContainsSelections('???_id'))) {
 // Edit or delete button hit?
 if (isFormSent('edit')) {
        // Show entries for editing
-       doGenericXmlTemplateCallback('admin_edit_show_!!!s');
+       doGenericXmlTemplateCallback('admin_edit_show_!!!');
 
        // Do not show the list of URLs after this template
        $show = FALSE;
 } elseif (isFormSent('do_edit')) {
        // Change data of entries
-       doGenericXmlTemplateCallback('admin_edit_do_!!!s');
+       doGenericXmlTemplateCallback('admin_edit_do_!!!');
 } elseif (isFormSent('delete')) {
        // Show entries for deletion
-       doGenericXmlTemplateCallback('admin_delete_show_!!!s');
+       doGenericXmlTemplateCallback('admin_delete_show_!!!');
 
        // Do not show the list of URLs after this template
        $show = FALSE;
 } elseif (isFormSent('do_delete')) {
        // Remove entries from database
-       doGenericXmlTemplateCallback('admin_delete_do_!!!s');
+       doGenericXmlTemplateCallback('admin_delete_do_!!!');
 } elseif (isFormSent('lock')) {
        // Un-/lock selected URLs. This does not work for pending URLs
-       doGenericXmlTemplateCallback('admin_lock_show_!!!s');
+       doGenericXmlTemplateCallback('admin_lock_show_!!!');
 
        // Do not show the list of URLs after this template
        $show = FALSE;
 } elseif (isFormSent('do_lock')) {
        // Un-/lock selected URLs. This does not work for pending URLs
-       doGenericXmlTemplateCallback('admin_lock_do_!!!s');
+       doGenericXmlTemplateCallback('admin_lock_do_!!!');
 } elseif (isFormSent('undelete')) {
        // Undelete selected URLs. This does only work for deleted URLs... ;-)
-       doGenericXmlTemplateCallback('admin_undelete_show_!!!s');
+       doGenericXmlTemplateCallback('admin_undelete_show_!!!');
 
        // Do not show the list of URLs after this template
        $show = FALSE;
 } elseif (isFormSent('do_undelete')) {
        // Undelete selected URLs. This does only work for deleted URLs... ;-)
-       doGenericXmlTemplateCallback('admin_undelete_do_!!!s');
+       doGenericXmlTemplateCallback('admin_undelete_do_!!!');
 }
 
 // Show entries?
@@ -101,7 +101,7 @@ if ($show === FALSE) {
 } // END - if
 
 // List all !!!
-doGenericXmlTemplateCallback('admin_list_!!!s');
+doGenericXmlTemplateCallback('admin_list_!!!');
 
 // [EOF]
 ?>
index defadc828e8436c14709bb26a8a9e8e8c4563079..d35b1b4d9fc1bab289c67e62a83b60a0990d6756 100644 (file)
@@ -46,7 +46,7 @@ addYouAreHereLink('admin', __FILE__);
 // Exclude default referral id if set
 $userExclusionSql = ' ';
 $excludedUserids = runFilterChain('config_userid_exclusion_sql', array());
-if (count($excludedUserids) > 0) {
+if (isFilledArray($excludedUserids)) {
        // Exclude all
        $userExcludeSql = ' AND `d`.`userid` NOT IN (' . implode(', ', $excludedUserids) . ')';
 } // END - if
diff --git a/inc/modules/admin/what-list_blacklist.php b/inc/modules/admin/what-list_blacklist.php
new file mode 100644 (file)
index 0000000..c8f4fc4
--- /dev/null
@@ -0,0 +1,89 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 06/23/2013 *
+ * ===================                          Last change: 06/23/2013 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : what-list_blacklist.php                          *
+ * -------------------------------------------------------------------- *
+ * Short description : List all blacklist entries                       *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Alle Eintraege der Sperrliste auflisten          *
+ * -------------------------------------------------------------------- *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2013 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 ((countRequestPost() > 0) && (!ifPostContainsSelections('id'))) {
+       // Not found so output message
+       displayMessage('{--ADMIN_BLACKLIST_NO_SELECTIONS--}');
+
+       // Abort here
+       return;
+} // END - if
+
+// Edit or delete button hit?
+if (isFormSent('edit')) {
+       // Show entries for editing
+       doGenericXmlTemplateCallback('admin_edit_show_blacklist');
+
+       // Do not show the list of URLs after this template
+       $show = FALSE;
+} elseif (isFormSent('do_edit')) {
+       // Change data of entries
+       doGenericXmlTemplateCallback('admin_edit_do_blacklist');
+} elseif (isFormSent('delete')) {
+       // Show entries for deletion
+       doGenericXmlTemplateCallback('admin_delete_show_blacklist');
+
+       // Do not show the list of URLs after this template
+       $show = FALSE;
+} elseif (isFormSent('do_delete')) {
+       // Remove entries from database
+       doGenericXmlTemplateCallback('admin_delete_do_blacklist');
+}
+
+// Show entries?
+if ($show === FALSE) {
+       // No, a form has already been show
+       return FALSE;
+} // END - if
+
+// List all blacklist entries
+doGenericXmlTemplateCallback('admin_list_blacklist');
+
+// [EOF]
+?>
diff --git a/inc/modules/admin/what-list_network_vcheck_params.php b/inc/modules/admin/what-list_network_vcheck_params.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
diff --git a/inc/modules/admin/what-list_newsletter.php b/inc/modules/admin/what-list_newsletter.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
diff --git a/inc/modules/admin/what-list_norefs.php b/inc/modules/admin/what-list_norefs.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
index 8625db86075f7cddd28e53c72596220b3b0d1c38..ff171fded3ed00434a2c63579fea731040161ed2 100644 (file)
@@ -179,7 +179,7 @@ ORDER BY
 
                // Prepare content
                $content = array(
-                       'message' => '{--ADMIN_OVERVIEW_TASK_' . strtoupper(getRequestElement('type')) . '_TYPE--}',
+                       'message' => '{--ADMIN_OVERVIEW_TASK_' . strtoupper(getRequestElement('type')) . '_TYPE_TITLE--}',
                        'type'    => getRequestElement('type'),
                        'rows'    => $OUT
                );
index 3884447e0d0c8219d8a915d78251dee9610ae0cb..c10c443ab31251505a30dd55d50f164a71518c41 100644 (file)
@@ -157,10 +157,7 @@ LIMIT 1',
                } // END - if
 
                // Clickrate
-               $content['click_rate'] = '0';
-               if ($content['emails_received'] > 0) {
-                       $content['click_rate'] = ($content['mails_confirmed'] / $content['emails_received'] * 100);
-               } // END - if
+               $content['click_rate'] = calculatePercentageRate($content['mails_confirmed'], $content['emails_received']);
 
                // Is the extension 'country' installed?
                if (isExtensionActive('country')) {
@@ -313,10 +310,7 @@ ORDER BY
                        } // END - if
 
                        // Click rate
-                       $content['click_rate'] = '0';
-                       if ($content['emails_received'] > 0) {
-                               $content['click_rate'] = $content['mails_confirmed'] / $content['emails_received'] * 100;
-                       } // END - if
+                       $content['click_rate'] = calculatePercentageRate($content['mails_confirmed'], $content['emails_received']);
 
                        // Transfer data to array
                        $content['email']          = '[<a href="' . generateEmailLink($content['email'], 'user_data') . '">' . $content['email'] . '</a>]';
index 88f25ca9ab79bfa032a1419c54f27a723ff532dd..76491a7c9eea453eeb8d0357d51ff296c2a89b5c 100644 (file)
@@ -93,7 +93,7 @@ if (!ifSqlHasZeroNums($result)) {
        // ... and display all
        foreach ($amounts as $userid => $row) {
                // Calculate and add percentage to data array
-               $row['percents'] = $row['points'] / $totalPoints * 100;
+               $row['percents'] = calculatePercentageRate($row['points'], $totalPoints);
 
                // Load row template
                $out['rows'] .= loadTemplate('admin_list_user_amounts_row', TRUE, $row);
index e72482611b90336c5e075db4e20e407c8621ce25..e7b42518b7b98970841e19f08ee58e687c28d439 100644 (file)
@@ -76,7 +76,7 @@ if (getConfig('yoomedia_requests_remain') == '0') {
 $result = YOOMEDIA_GET_PARSED_RESULT_TEXTMAILS();
 
 // Sanity-check on result array
-if ((!is_array($result)) || (count($result) == 0) || (!isset($result[0]['id']))) {
+if ((!isFilledArray($result)) || (!isset($result[0]['id']))) {
        // Invalid result
        displayMessage('{--ADMIN_YOOMEDIA_INVALID_RESULT--}');
        return FALSE;
diff --git a/inc/modules/admin/what-newsletter.php b/inc/modules/admin/what-newsletter.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
index 44a739c7b26dcd4fc220d328b3be195a25096071..eb6c919711cba3c9fb6cd9886f10bd2ea4bd432a 100644 (file)
@@ -63,7 +63,7 @@ foreach ($content['tables'] as $row_array) {
                $optimizeStatus = '{--ADMIN_OPTIMIZE_STATUS_OPTIMIZED--}';
                $B1 = '<strong>'; $B2 = '<strong>';
                $gain_tabs++;
-       } elseif (count(explode(' ', $row_array[2])) == 0) {
+       } elseif (!isFilledArray(explode(' ', $row_array[2]))) {
                $optimizeStatus = '{--ADMIN_OPTIMIZE_STATUS_' . strtoupper($row_array[2]) . '--}';
        }
 
index 6b266f45fc1a71fef9f5d85926b3b8e11ca4c94e..027a00e2343b1a5f5aa7195a6af4e70fe3cef9e3 100644 (file)
@@ -48,7 +48,7 @@ if (((!isPostRequestElementSet('t_wait')) || (!isPostRequestElementSet('payment'
 } // END - if
 
 // Init SQL array
-nitSqls();
+initSqls();
 
 if (isFormSent()) {
        switch (getRequestElement('do')) {
diff --git a/inc/modules/admin/what-repair_amenu.php b/inc/modules/admin/what-repair_amenu.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
diff --git a/inc/modules/admin/what-repair_gmenu.php b/inc/modules/admin/what-repair_gmenu.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
diff --git a/inc/modules/admin/what-repair_mmenu.php b/inc/modules/admin/what-repair_mmenu.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
index cbb5d8a1ca8b604f91e1ba3d384b3ede8c1985ca..6dcccbd68d9bff82540d339913eada2b3afbe915 100644 (file)
@@ -72,7 +72,7 @@ ORDER BY
                        $expirationTime = time() + createEpocheTimeFromSelections('coupon_default_time', postRequestArray());
 
                        // Insert coupon data
-                       sqlQueryEscaped("INSERT INTO `{?_MYSQL_PREFIX?}_coupon_data` (`coupon_expired`, `total_created`, `points`, `coupon_description`) VALUES ('{%%pipe,SQL_EPOCHE_TO_TIMESTAMP=%s%%}', %s,%s,'%s')",
+                       sqlQueryEscaped("INSERT INTO `{?_MYSQL_PREFIX?}_coupon_data` (`coupon_expired`, `total_created`, `points`, `coupon_description`) VALUES ('{%%pipe,getSqlTimestampFromUnix=%s%%}', %s,%s,'%s')",
                                array(
                                        $expirationTime,
                                        sqlNumRows($result),
diff --git a/inc/modules/admin/what-stats.php b/inc/modules/admin/what-stats.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
index 4fbd9eeebec660c873bccac6b904e7bb0e67585e..96def4c7b97ed53d9e1a416ecf4d84718f81e0a9 100644 (file)
@@ -73,7 +73,7 @@ if ((!ifSqlHasZeroNums($result_main)) || (isFormSent('lock'))) {
                                $content = getPoolDataFromId($id);
 
                                // Found some data?
-                               if (count($content) > 0) {
+                               if (isFilledArray($content)) {
                                        // Is the surfbar installed?
                                        // @TODO Rewrite these if-blocks to a filter
                                        if ((isExtensionActive('surfbar')) && (getConfig('surfbar_migrate_order') == 'Y')) {
diff --git a/inc/modules/admin/what-user_online.php b/inc/modules/admin/what-user_online.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
index 123fd67f63817900f4161b8f4c0060006cc25038..2a8dc6acc5059543a31f904d889b92992289112d 100644 (file)
@@ -73,7 +73,7 @@ if (!ifAdminMenuHasEntries(getAction())) {
        displayMessage('{--ADMIN_MENU_EMPTY--}');
 } elseif ($jobsDone === TRUE) {
        // Generate overview of all main menus
-       if ((is_array($GLOBALS['menu']['description'])) && (count($GLOBALS['menu']['description']) > 0)) {
+       if (isFilledArray($GLOBALS['menu']['description'])) {
                $OUT = '';
                foreach ($GLOBALS['menu']['description'] as $key => $value) {
                        // Prepare content
diff --git a/inc/modules/frameset.php b/inc/modules/frameset.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
index 8e250ba0cff42d51a0a193185cfbfbf2c323e6b8..b404c68e7c78a9999f27b4603fb3f82373d2ca09 100644 (file)
@@ -49,7 +49,7 @@ if (isGetRequestElementSet('order')) {
                $content = getPoolDataFromId(getRequestElement('order'));
 
                // Finally is the entry valid?
-               if ((count($content) > 0) && ($content['data_type'] == 'TEMP')) {
+               if ((isFilledArray($content)) && ($content['data_type'] == 'TEMP')) {
                        // Load subject and URL (but forwhat do we need the subject line here???
                        list($url) = sqlFetchRow($result);
 
index 7bb56305bc18b23d75e8d439b51ca915c5d56bfb..c3ecf925becd5900eb66cdd8616105200ec69fd4 100644 (file)
@@ -126,17 +126,12 @@ $content['sent']       = $sent;
 $content['user_links'] = abs($sent - $clicks);
 
 // Click rate
-$content['click_rate'] = '0';
-if ($sent > 0) {
-       $content['click_rate'] = $clicks / $sent * 100;
-} // END - if
+$content['click_rate'] = calculatePercentageRate($clicks, $sent);
 
 // Load jackpot
-$jackpot = '0';
-if (isExtensionActive('jackpot')) $jackpot = getJackpotPoints();
-
-if (empty($jackpot)) $jackpot = '0';
-$content['jackpot'] = $jackpot;
+$content['jackpot'] = '0';
+if (isExtensionActive('jackpot')) $content['jackpot'] = getJackpotPoints();
+if (empty($content['jackpot'])) $content['jackpot'] = '0';
 
 // Total referral link clicks, total logins
 $result = sqlQuery('SELECT
@@ -190,7 +185,7 @@ if (isExtensionActive('beg')) {
        // Clicks on beg links
        $data = array(
                'lang'  => '{--MEDIA_BEG_CLICKS--}',
-               'value' => countSumTotalData('0', 'user_data', 'beg_clicks', 'userid', FALSE, ' AND `beg_clicks` > 0')
+               'value' => countSumTotalData('0', 'user_data', 'beg_clicks', 'userid', FALSE, ' WHERE `beg_clicks` > 0')
        );
        $OUT_EXTRA .= loadTemplate('mediadata_extra_row', TRUE, $data);
 } // END - if
index 8b424a837e89d197bd4cebc2ce3283e473852eed..d30a787e3f3677b3d313be08f6e4fb7c94b66e53 100644 (file)
@@ -92,8 +92,8 @@ if ((isFormSent()) && (isRegistrationDataComplete())) {
                        registerOutputFailedMessage('ENTER_PASSWORD2');
                }
 
-               if ((isset($GLOBALS['registration_short_password'])) && ($GLOBALS['registration_short_password'] === TRUE)) {
-                       registerOutputFailedMessage('GUEST_SHORT_PASS', ': ' . getPassLen());
+               if ((isset($GLOBALS['registration_weak_password'])) && ($GLOBALS['registration_weak_password'] === TRUE)) {
+                       registerOutputFailedMessage('GUEST_WEAK_PASSWORD');
                } // END - if
 
                if ((isset($GLOBALS['registration_ip_timeout'])) && ($GLOBALS['registration_ip_timeout'] === TRUE)) {
@@ -127,7 +127,7 @@ if ((isFormSent()) && (isRegistrationDataComplete())) {
 
        // ZIP codes are numerical values
        $content['zip'] = '';
-       if ((isPostRequestElementSet('zip')) && (postRequestElement('zip') > 0)) {
+       if ((isPostRequestElementSet('zip')) && (isValidNumber(postRequestElement('zip')))) {
                $content['zip'] = bigintval(postRequestElement('zip'));
        } // END - if
 
index 5a7f76999b8b09318330e9691d3378e954979837..0750e187559d13e8b4868ad77522d24801c137e3 100644 (file)
@@ -182,7 +182,7 @@ if (isFormSent()) {
                                array_push($formErrors, '{--SPONSOR_PASSWORD2_EMPTY--}');
                        }
                }
-       } elseif (strlen(postRequestElement('password1')) < getPassLen()) {
+       } elseif (strlen(postRequestElement('password1')) < getMinPasswordLength()) {
                // Password is to short!
                array_push($formErrors, '{--SPONSOR_PASSWORD_TOO_SHORT--}');
        }
@@ -194,10 +194,10 @@ if (isFormSent()) {
        } // END - if
 
        // If there is something wrong/missing stop registration
-       if (count($formErrors) > 0) unsetPostRequestElement('ok');
+       if (isFilledArray($formErrors)) unsetPostRequestElement('ok');
 } // END - if
 
-if ((isFormSent()) && (count($formErrors) == 0)) {
+if ((isFormSent()) && (!isFilledArray($formErrors))) {
        // Generate message array
        $messageArray = array(
                'failed' => '{--SPONSOR_REGISTRATION_FAILED--}',
@@ -263,7 +263,7 @@ ORDER BY
                } // END - foreach
 
                // Check for invalid entries
-               if (count($formErrors) > 0) {
+               if (isFilledArray($formErrors)) {
                        // Some found... :-(
                        foreach (array('company','position','tax_ident','surname','family','street_nr1','street_nr2','country','zip','city','phone','fax','cell','email','url') as $entry) {
                                $content[$entry]    = postRequestElement($entry);
@@ -278,7 +278,7 @@ ORDER BY
                        $OUT = '';
 
                        // Errors found?
-                       if (count($formErrors) > 0) {
+                       if (isFilledArray($formErrors)) {
                                $OUT = displayMessage('{--SPONSOR_REGISTER_SOMETHING_MISSING--}', TRUE);
                                $OUT .= '<ol>';
                                foreach ($formErrors as $error) {
index 0b187f963e98131437599cd73bccad56ac6daf9c..48049c784619a3fde28a1ca59c392d151acc66e2 100644 (file)
@@ -94,79 +94,31 @@ LIMIT 1",
        sqlFreeResult($result);
 
        if ($data['data_type'] == 'TEMP') {
-               /*
-                * No entry found, so we need to check out the stats table as well...
-                * :) We have to add that suff here, now we continue WITHOUT checking
-                * and check the text and subject against some filters
-                */
-               $data['url'] = '';
-               if (!isAllowUrlInTextEnabled()) {
-                       // Test submitted text against some filters (length, URLs in text etc.)
-                       if ((isInStringIgnoreCase('https://', postRequestElement('text'))) || (isInStringIgnoreCase('http://', postRequestElement('text'))) || (isInStringIgnoreCase('www', postRequestElement('text')))) {
-                               // URL found
-                               $data['url'] = 'modules.php?module=login&amp;what=order&amp;code=' . getCode('URL_FOUND');
-                       } // END - if
-
-                       // Remove new-line and carriage-return characters
-                       $TEST = str_replace(array(PHP_EOL, chr(13)), array('', ''), postRequestElement('text'));
-
-                       // Text length within allowed length?
-                       if (strlen($TEST) > getMaxTextLength()) {
-                               // Text is too long!
-                               $data['url'] = 'modules.php?module=login&amp;what=order&amp;code=' . getCode('OVERLENGTH');
-                       } // END - if
-               } // END - if
-
-               // Shall I test the subject line against URLs?
-               if (!isAllowUrlInSubjectEnabled()) {
-                       // Check the subject line for issues
-                       setPostRequestElement('subject', str_replace(chr(92), '[nl]', substr(postRequestElement('subject'), 0, 200)));
-                       if ((isInStringIgnoreCase('https://', postRequestElement('subject'))) || (isInStringIgnoreCase('http://', postRequestElement('subject'))) || (isInStringIgnoreCase('www', postRequestElement('subject')))) {
-                               // URL in subject found
-                               $data['url'] = 'modules.php?module=login&amp;what=order&amp;code=' . getCode('SUBJECT_URL');
-                       } // END - if
-               } // END - if
-
-               // And shall I check that his URL is not in the black list?
-               if ((isExtensionActive('blacklist')) && (isUrlBlacklisted(postRequestElement('url')))) {
-                       // Create redirect-URL
-                       $data['url'] = 'modules.php?module=login&amp;what=order&amp;code=' . getCode('BLIST_URL') . '&amp;blist=' . $GLOBALS['blacklist_data'][postRequestElement('url')]['timestamp'];
-               } // END - if
-
-               // Enougth receivers entered?
-               if ((postRequestElement('receiver') < getOrderMin()) && (!isAdmin())) {
-                       // Less than allowed receivers entered!
-                       $data['url'] = 'modules.php?module=login&amp;what=order&amp;code=' . getCode('MORE_RECEIVERS3');
-               } // END - if
-
-               // Validate URL
-               if (!isUrlValid(postRequestElement('url'))) {
-                       // URL is invalid!
-                       $data['url'] = 'modules.php?module=login&amp;what=order&amp;code=' . getCode('INVALID_URL');
-               } // END - if
-
-               // Probe for HTML extension
-               if (isExtensionActive('html_mail')) {
-                       // HTML or regular text mail?
-                       if (postRequestElement('html') == 'Y') {
-                               // Chek for valid HTML tags
-                               $checked = checkHtmlTags(postRequestElement('text')));
-
-                               // Maybe invalid tags found?
-                               if (empty($checked)) {
-                                       // Invalid HTML tags found
-                                       $data['url'] = 'modules.php?module=login&amp;what=order&amp;code=' . getCode('INVALID_TAGS') . '&amp;id=' . $data['id'];
-                               } // END - if
-                       } else {
-                               // Remove any HTML code
-                               setPostRequestElement('text', str_replace(array('<', '>'), array('{OPEN_HTML}', '{CLOSE_HTML}'), postRequestElement('text')));
-                       }
-               } // END - if
-
-               // Is mail type set?
-               if ((!isPostRequestElementSet('mail_type')) || (postRequestElement('mail_type') < 1)) {
-                       // Not correctly set
-                       $data['url'] = 'modules.php?module=login&amp;what=order&amp;code=' . getCode('NO_MAIL_TYPE');
+               // Prepare data for filter chain
+               $filterData = array(
+                       'url'       => postRequestElement('url'),
+                       'text'      => postRequestElement('text'),
+                       'subject'   => postRequestElement('subject'),
+                       'receiver'  => bigintval(postRequestElement('receiver')),
+                       'mail_type' => bigintval(postRequestElement('mail_type')),
+                       'html'      => postRequestElement('html'),
+                       'id'        => bigintval($data['id']),
+                       'redirect'  => '',
+               );
+
+               // Run the filter chain
+               $filterData = runFilterChain('pre_mail_order', $filterData);
+
+               // Copy field redirect->url
+               $data['url'] = $filterData['redirect'];
+
+               // Is there an error?
+               if (empty($data['url'])) {
+                       // Copy all filter data -> POST
+                       foreach ($filterData as $key => $value) {
+                               // Set it
+                               setPostRequestElement($key, $value);
+                       } // END - foreach
                } // END - if
        } elseif (!isAdmin()) {
                // He has already sent a mail within a specific time
@@ -234,7 +186,7 @@ LIMIT 1",
                        sqlFreeResult($result);
 
                        // Implode array into string for the sending pool
-                       $receiver = implode($TEST, ';');
+                       $receivers = implode($TEST, ';');
 
                        // Count array for maximum sent
                        $content['target_send'] = count($TEST);
@@ -242,7 +194,7 @@ LIMIT 1",
                        // Update receiver list
                        sqlQueryEscaped("UPDATE `{?_MYSQL_PREFIX?}_user_data` SET `receive_mails`=`receive_mails`-1 WHERE `userid` IN (%s) LIMIT %s",
                                array(
-                                       convertReceivers($receiver),
+                                       convertReceivers($receivers),
                                        bigintval($content['target_send'])
                                ), __FILE__, __LINE__);
 
@@ -268,7 +220,7 @@ LIMIT 1",
                                                'sender'      => getMemberId(),
                                                'subject'     => postRequestElement('subject'),
                                                'text'        => postRequestElement('text'),
-                                               'receivers'   => $receiver
+                                               'receivers'   => $receivers,
                                                'payment_id'  => bigintval(postRequestElement('mail_type')),
                                                'data_type'   => 'TEMP',
                                                'timestamp'   => 'UNIX_TIMESTAMP()',
@@ -291,7 +243,7 @@ LIMIT 1",
                                        $data = array(
                                                'subject'     => postRequestElement('subject'),
                                                'text'        => postRequestElement('text'),
-                                               'receivers'   => $receiver
+                                               'receivers'   => $receivers,
                                                'payment_id'  => bigintval(postRequestElement('mail_type')),
                                                'timestamp'   => 'UNIX_TIMESTAMP()',
                                                'url'         => postRequestElement('url'),
@@ -604,7 +556,7 @@ LIMIT 1",
                        }
                } else {
                        // No points left
-                       displayMessage('<span class="bad">{--MEMBER_ORDER_NO_POINTS--}</span>');
+                       displayMessage('<span class="notice">{--MEMBER_ORDER_NO_POINTS--}</span>');
                }
        } else {
                // No cateogries are defined yet
index f9884a0c99eacec1867942eb03d8d8c0ebbdeebb..ff2333a22908a001f89fbbb436efbb1e9ea72aad 100644 (file)
@@ -124,8 +124,7 @@ if (!ifSqlHasZeroNums($result)) {
                        } // END - if
 
                        // Add/"translate" more content
-                       $refRow['click_rate']  = translateComma($refRow['click_rate'], TRUE, 1);
-                       $refRow['joined']      = generateDateTime($refRow['joined'], '3');
+                       $refRow['joined'] = generateDateTime($refRow['joined'], '3');
 
                        // Load row template
                        if ($deleted === TRUE) {
index 456c45fb0bc73c174721f94b22e91302b96f3648..7be8a951d35895e897d8567b775ddc82f357349a 100644 (file)
@@ -68,9 +68,6 @@ if (!ifSqlHasZeroNums($result)) {
 
                // Check for users ref in this level
                foreach (getUserReferralPoints(getMemberId(), $content['level']) as $refRow) {
-                       // Add/"translate" more content
-                       $refRow['click_rate'] = translateComma($refRow['click_rate'], TRUE, 1);
-
                        // Load row template
                        $rows .= loadTemplate('member_list_referral_row', TRUE, $refRow);
 
index 0d7043d169d65e71da207937ace58ed909a35100..12390580eeecf40b8f5a739977af9ba78f2378db 100644 (file)
@@ -118,12 +118,7 @@ if (!ifSqlHasZeroNums($result)) {
                $content['timestamp_sent']    = generateDateTime($content['timestamp_send'], '2');
 
                // Click rate
-               $content['click_rate'] = '0';
-
-               // Better protection against 'divison-by-zero'
-               if ($content['max_rec'] > 0) {
-                       $content['click_rate'] = ($content['clicks'] / $content['max_rec'] * 100);
-               } // END - if
+               $content['click_rate'] = calculatePercentageRate($content['clicks'], $content['max_rec']);
 
                // Load row template and switch colors
                $OUT .= loadTemplate('member_stats_row', TRUE, $content);
diff --git a/inc/modules/member/what-transaction_fees.php b/inc/modules/member/what-transaction_fees.php
new file mode 100644 (file)
index 0000000..aa410fc
--- /dev/null
@@ -0,0 +1,235 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 02/12/2004 *
+ * ===================                          Last change: 01/07/2004 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : what-                                            *
+ * -------------------------------------------------------------------- *
+ * Short description :                                                  *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  :                                                  *
+ * -------------------------------------------------------------------- *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2013 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')) {
+       exit();
+} elseif (!isMember()) {
+       redirectToIndexMemberOnlyModule();
+}
+
+// Add description as navigation point
+addYouAreHereLink('member', __FILE__);
+
+// Continue only if the proper extension is active (admins can always continue)
+if ((!isExtensionActive('transaction')) && (!isAdmin())) {
+       displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=transaction%}');
+       return;
+} // END - if
+
+// Init array
+$data = array(
+       'current_day'             => generateDateTime(time(), '3'),
+       'next_year'               => generateDateTime(mktime(0, 0, 0, 1, 1, (getCurrentYear() + 1)), '3'),
+       'transaction_holding_fee' => '0.00000'
+);
+
+// Get user's open transaction fees
+$result = sqlQueryEscaped("SELECT
+       COUNT(`transaction_fee_receiver`) AS `transaction_receiver_count`,
+       SUM(`transaction_fee_receiver`) AS `transaction_receiver_fee`
+FROM
+       `" . $GLOBALS['db_table']['translog'] . "`
+WHERE
+       `transaction_receiver`=%s AND
+       `transaction_fee_collected`='N' AND
+       `transaction_confirmed`='N' AND
+       `transaction_captcha_failed`='N'
+LIMIT 1",
+       array(
+               getCurrentUserId()
+       ), __FILE__, __LINE__
+);
+
+// Load entry
+$data = array_merge($data, sqlFetchArray($result));
+
+// Free result
+sqlFreeResult($result);
+
+// Get user's open transaction fees
+$result = sqlQueryEscaped("SELECT
+       COUNT(`transaction_fee_sender`) AS `transaction_sender_count`,
+       SUM(`transaction_fee_sender`) AS `transaction_sender_fee`
+FROM
+       `" . $GLOBALS['db_table']['translog'] . "`
+WHERE
+       `transaction_sender`=%s AND
+       `transaction_fee_collected`='N' AND
+       `transaction_confirmed`='N' AND
+       `transaction_captcha_failed`='N'
+LIMIT 1",
+       array(
+               getCurrentUserId()
+       ), __FILE__, __LINE__
+);
+
+// Load entry
+$data = array_merge($data, sqlFetchArray($result));
+
+// Free result
+sqlFreeResult($result);
+
+// Get user's saved transaction fees
+$result = sqlQueryEscaped("SELECT
+       COUNT(`transaction_fee_receiver`) AS `transaction_receiver_saved_count`,
+       SUM(`transaction_fee_receiver`) AS `transaction_receiver_saved_fee`
+FROM
+       `" . $GLOBALS['db_table']['translog'] . "`
+WHERE
+       `transaction_receiver`=%s AND
+       `transaction_fee_collected`='N' AND
+       (
+               `transaction_confirmed`='Y' OR
+               `transaction_captcha_failed`='Y'
+       )
+LIMIT 1",
+       array(
+               getCurrentUserId()
+       ), __FILE__, __LINE__
+);
+
+// Load entry
+$data = array_merge($data, sqlFetchArray($result));
+
+// Free result
+sqlFreeResult($result);
+
+// Get user's saved transaction fees
+$result = sqlQueryEscaped("SELECT
+       COUNT(`transaction_fee_sender`) AS `transaction_sender_saved_count`,
+       SUM(`transaction_fee_sender`) AS `transaction_sender_saved_fee`
+FROM
+       `" . $GLOBALS['db_table']['translog'] . "`
+WHERE
+       `transaction_sender`=%s AND
+       `transaction_fee_collected`='N' AND
+       (
+               `transaction_confirmed`='Y' OR
+               `transaction_captcha_failed`='Y'
+       )
+LIMIT 1",
+       array(
+               getCurrentUserId()
+       ), __FILE__, __LINE__
+);
+
+// Load entry
+$data = array_merge($data, sqlFetchArray($result));
+
+// Free result
+sqlFreeResult($result);
+
+// Get total collected fees
+$result = sqlQuery("SELECT
+       SUM(`transaction_fee_receiver` + `transaction_fee_sender`) AS `total_fee`
+FROM
+       `" . $GLOBALS['db_table']['translog'] . "`
+WHERE
+       `transaction_confirmed`='N' AND
+       `transaction_captcha_failed`='N'
+LIMIT 1", __FILE__, __LINE__);
+
+// Load total sum
+list($data['total_fee']) = sqlFetchRow($result);
+
+// Free result
+sqlFreeResult($result);
+
+// Get total confirmed
+$result = sqlQuery("SELECT
+       SUM(`transaction_count`) AS `total_transaction_count`
+FROM
+       `" . $GLOBALS['db_table']['user'] . "`
+WHERE
+       `locked`='N'
+LIMIT 1", __FILE__, __LINE__);
+
+// Load total amount
+list($data['total_transaction_sum']) = sqlFetchRow($result);
+
+// Free result
+sqlFreeResult($result);
+
+// Add user's count
+$data['transaction_count_sum'] = getMemberData('transaction_count');
+
+// Is the user's own count > 0? (This fixes a division by zero)
+if ($data['total_transaction_sum'] > 0) {
+       // Calulcate how much the user would get if today is 01-01 (new year)
+       $data['transaction_holding_fee'] = $data['total_fee'] / $data['total_transaction_sum'] * $data['transaction_count_sum'];
+} // END - if
+
+// "Translate" all fields
+foreach ($data as $key => $value) {
+       // What suffix has $key?
+       if (substr($key, -6, 6) == '_count') {
+               // Count
+               $data[$key] = translateComma($value, TRUE);
+       } elseif ((substr($key, -4, 4) == '_fee') || (substr($key, -4, 4) == '_sum')) {
+               // Fees/sums
+               $data[$key] = translateComma($value);
+       }
+} // END - foreach
+
+// Get all related config entries
+// @TODO Make this working
+$result = sqlGetResultFromLikeColumnsType('config', 'transaction_count_%%', 'decimal(3,1)');
+
+// Load all fields
+$data['config_rows'] = ''; $SW = 1;
+while ($row = sqlFetchArray($result)) {
+       // Prepare content
+       $content = array(
+               'field' => translateField('data', $row['Field']),
+               'value' => translateComma(getConfig($row['Field'])),
+               'sw'    => $SW,
+       );
+
+       // Load row template + switch color
+       $data['config_rows'] .= loadTemplate('member_transaction_fees_config_row', TRUE, $content);
+       $SW = 3 - $SW;
+} // END - while
+
+// Free result
+sqlFreeResult($result);
+
+// Load template
+loadTemplate('member_transaction_fees', FALSE, $data);
+
+// [EOF]
+?>
diff --git a/inc/modules/member/what-transactions.php b/inc/modules/member/what-transactions.php
new file mode 100644 (file)
index 0000000..64e0cdb
--- /dev/null
@@ -0,0 +1,176 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 06/22/2013 *
+ * ===================                          Last change: 06/22/2013 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : what-transactions.php                            *
+ * -------------------------------------------------------------------- *
+ * Short description : Confirm transactions of other members            *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Transaktionen anderer Mitglieder bestaetigen     *
+ * -------------------------------------------------------------------- *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2013 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')) {
+       exit();
+} elseif (!isMember()) {
+       redirectToIndexMemberOnlyModule();
+}
+
+// Add description as navigation point
+addYouAreHereLink('member', __FILE__);
+
+// Continue only if the proper extension is active (admins can always continue)
+if ((!isExtensionActive('transaction')) && (!isAdmin())) {
+       displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=transaction%}');
+       return;
+} elseif ((isFormSent()) &&  (ifPostContainsSelections('transaction_id'))) {
+       // Try to confirm transactions
+       if (doTryConfirmTransactions($_POST)) {
+               // All fine
+               displayMessage('Best&auml;tigung der CAPTCHA(s) abgeschlossen. Vielen Dank.');
+       } else {
+               // None confirmed
+               displayMessage('Es konnten keine CAPTCHA(s) best&auml;tigt werden. Vermutlich weil Sie diese bereits best&auml;tigt haben.');
+       }
+}
+
+// Load X most oldest transactions this user is not sender and not receiver
+$result = sqlQueryEscaped("SELECT
+       `transaction_id`
+FROM
+       `{?_MYSQL_PREFIX?}_transaction_log`
+WHERE
+       `transaction_sender` != %s AND
+       `transaction_sender` IS NOT NULL AND
+       `transaction_receiver` != %s AND
+       `transaction_receiver` IS NOT NULL AND
+       `transaction_hash` != 'INVALID' AND
+       `transaction_confirmed`='N' AND
+       `transaction_captcha_failed`='N' AND
+       `transaction_fee_collected`='N' AND
+       `transaction_level` IS NULL AND
+       `transaction_captcha` IS NOT NULL
+ORDER BY
+       `transaction_hash` ASC
+LIMIT {?transaction_max_captcha?}",
+       array(
+               getCurrentUserId(),
+               getCurrentUserId()
+       ), __FILE__, __LINE__
+);
+
+// Init variables
+$OUT = '';
+
+// Are there entries?
+if (sqlNumRows($result) > 0) {
+       // Then load all
+       $row = '';
+       while (list($id) = sqlFetchRow($result)) {
+               // Load "row" template
+               $row .= loadTemplate('member_transactions_row', TRUE, $id);
+       } // END - while
+
+       // Load form template
+       $OUT .= loadTemplate('member_transactions_form', TRUE, $row);
+} else {
+       // Display message
+       $OUT .= returnMessage('Es sind noch keine Transaktionen zum Best&auml;tigen vorhanden. Neu zu best&auml;tigende Transaktionen gibt es durch den &quot;Stundenreset&quot;, der ungef&auml;hr zur vollen Stunde l&auml;uft.');
+}
+
+// Free result
+sqlFreeResult($result);
+
+// Get summarizations
+$result = sqlQuery("SELECT
+       SUM(`transaction_fee_sender`) AS `total_sender`,
+       SUM(`transaction_fee_receiver`) AS `total_receiver`
+FROM
+       `{?_MYSQL_PREFIX?}_transaction_log`
+WHERE
+       `transaction_fee_collected`='N' AND
+       `transaction_confirmed`='N' AND
+       `transaction_captcha_failed`='N'
+LIMIT 1", __FILE__, __LINE__);
+
+// Get values
+list($totalSenderN, $totalReceiverN) = sqlFetchRow($result);
+
+// Free result
+sqlFreeResult($result);
+
+// Get summarizations
+$result = sqlQuery("SELECT
+       SUM(`transaction_fee_sender`) AS `total_sender`,
+       SUM(`transaction_fee_receiver`) AS `total_receiver`
+FROM
+       `{?_MYSQL_PREFIX?}_transaction_log`
+WHERE
+       `transaction_fee_collected`='Y'
+LIMIT 1", __FILE__, __LINE__);
+
+// Get values
+list($totalSenderY, $totalReceiverY) = sqlFetchRow($result);
+
+// Free result
+sqlFreeResult($result);
+
+// Get summarizations
+$result = sqlQuery("SELECT
+       COUNT(`transaction_id`) AS `cnt`,
+       (SUM(`transaction_fee_sender`) + SUM(`transaction_fee_receiver`)) AS `total_confirmed`
+FROM
+       `{?_MYSQL_PREFIX?}_transaction_log`
+WHERE
+       `transaction_confirmed`='Y'
+LIMIT 1", __FILE__, __LINE__);
+
+// Get values
+list($confirmedCount, $totalConfirmed) = sqlFetchRow($result);
+
+// Free result
+sqlFreeResult($result);
+
+// Prepare content
+$content = array(
+       'captcha_content'                => $OUT,
+       'transaction_confirmed'          => translateComma(getUserData('transaction_confirmed'), TRUE),
+       'total_sender_uncollected'       => $totalSenderN,
+       'total_receiver_uncollected'     => $totalReceiverN,
+       'total_sender_collected'         => $totalSenderY,
+       'total_receiver_collected'       => $totalReceiverY,
+       'total_confirmed_count'          => translateComma($confirmedCount, TRUE),
+       'total_confirmed'                => $totalConfirmed,
+);
+
+// Load main template
+loadTemplate('member_transactions', FALSE, $content);
+
+// [EOF]
+?>
index 4edb063590215aceebe1c6be2f63ea7104518111..7fa142b3f1dddeb81c48d4464d22a8623cd74c3f 100644 (file)
@@ -87,7 +87,7 @@ if (sqlNumRows($result) == 1) {
                        } elseif ((isPostRequestElementSet('password1')) && (!isPostRequestElementSet('password2'))) {
                                // No password two entered
                                $message = '{--SPONSOR_PASSWORD_TWO_EMPTY--}';
-                       } elseif ((isPostRequestElementSet('password1')) && (strlen(postRequestElement('password1')) < getPassLen())) {
+                       } elseif ((isPostRequestElementSet('password1')) && (strlen(postRequestElement('password1')) < getMinPasswordLength())) {
                                // Too short password
                                $message = '{--SPONSOR_PASSWORD_TOO_SHORT--}';
                        } else {
diff --git a/inc/modules/welcome.php b/inc/modules/welcome.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
index b79794bea0a486c1d1a9e5cfa2d364c17d849188..5cd6a3cf45277990ba93d498c8da49ef1fe61e85 100644 (file)
@@ -104,7 +104,7 @@ initRepositoryData();
 enableTemplateHtml();
 
 // Are we in installation phase?
-if ((!isInstalling()) && (!isInstallationPhase())) {
+if ((!isInstaller()) && (isInstalled())) {
        // Load configuration file(s) here
        loadIncludeOnce('inc/load_config.php');
 
@@ -143,7 +143,7 @@ if ((!isInstalling()) && (!isInstallationPhase())) {
 
        // Include more
        foreach (array('databases', 'session', 'versions', 'install-functions', 'load_config', 'load_cache') as $inc) {
-               // Load the include
+               // Load include file
                loadIncludeOnce('inc/' . $inc . '.php');
        } // END - foreach
 
index bacb22cb67ec91d55483936337025f6fd7a36f54..f6f55610d44d93cc4c46f339f61176a49dc25025 100644 (file)
@@ -580,7 +580,7 @@ function isAdmin () {
        } // END - if
 
        // No admin in installation phase!
-       if ((isInstallationPhase()) || (!isAdminRegistered())) {
+       if ((isInstaller()) || (!isAdminRegistered())) {
                $GLOBALS[__FUNCTION__] = FALSE;
                return FALSE;
        } // END - if
@@ -1837,7 +1837,12 @@ LIMIT %s",
 function reduceRecipientReceivedMails ($column, $id, $count) {
        // Search for mail in database
        $result = sqlQueryEscaped("SELECT * FROM `{?_MYSQL_PREFIX?}_user_links` WHERE `%s`=%s ORDER BY `userid` ASC LIMIT %s",
-               array($column, bigintval($id), $count), __FUNCTION__, __LINE__);
+               array(
+                       $column,
+                       bigintval($id),
+                       $count
+               ), __FUNCTION__, __LINE__
+       );
 
        // Are there entries?
        if (!ifSqlHasZeroNums($result)) {
@@ -1849,10 +1854,10 @@ function reduceRecipientReceivedMails ($column, $id, $count) {
 
                        // We must now look if he has already confirmed this mail, so might sound double, but it may resolve problems
                        // @TODO Rewrite this to a filter
-                       if ((isset($data['stats_id'])) && ($data['stats_id'] > 0)) {
+                       if ((isset($data['stats_id'])) && (isValidId($data['stats_id']))) {
                                // User email
                                $num = countSumTotalData($data['userid'], 'user_stats_data', 'id', 'userid', TRUE, sprintf(" AND `stats_type`='mailid' AND `stats_data`=%s", bigintval($data['stats_id'])));
-                       } elseif ((isset($data['bonus_id'])) && ($data['bonus_id'] > 0)) {
+                       } elseif ((isset($data['bonus_id'])) && (isValidId($data['bonus_id']))) {
                                // Bonus mail
                                $num = countSumTotalData($data['userid'], 'user_stats_data', 'id', 'userid', TRUE, sprintf(" AND `stats_type`='bonusid' AND `stats_data`=%s", bigintval($data['bonus_id'])));
                        }
@@ -1863,7 +1868,7 @@ function reduceRecipientReceivedMails ($column, $id, $count) {
                        } // END - if
                } // END - while
 
-               if (count($userids) > 0) {
+               if (isFilledArray($userids)) {
                        // Now update all user accounts
                        sqlQueryEscaped("UPDATE `{?_MYSQL_PREFIX?}_user_data` SET `emails_received`=`emails_received`-1 WHERE `userid` IN (%s) LIMIT %s",
                                array(
@@ -1936,7 +1941,7 @@ function doGenericJoinedListEntries ($tableTemplate, $rowTemplate, $noEntryMessa
        if ((!is_array($tableName)) || (count($tableName) != 1)) {
                // No tableName specified
                reportBug(__FUNCTION__, __LINE__, 'tableName is not given. Please fix your XML,tableName[]=' . gettype($tableName) . '!=array,tableTemplate=' . $tableTemplate . ',rowTemplate=' . $rowTemplate);
-       } elseif (count($columns) == 0) {
+       } elseif (!isFilledArray($columns)) {
                // No columns specified
                reportBug(__FUNCTION__, __LINE__, 'columns is not given. Please fix your XML,tableTemplate=' . $tableTemplate . ',rowTemplate=' . $rowTemplate . ',tableName[0]=' . $tableName[0]);
        }
@@ -1969,7 +1974,7 @@ function doGenericListEntries ($tableTemplate, $rowTemplate, $noEntryMessageId,
        if ((!is_array($tableName)) || (count($tableName) != 1)) {
                // No tableName specified
                reportBug(__FUNCTION__, __LINE__, 'tableName is not given. Please fix your XML,tableName[]=' . gettype($tableName) . '!=array,tableTemplate=' . $tableTemplate . ',rowTemplate=' . $rowTemplate);
-       } elseif (count($columns) == 0) {
+       } elseif (!isFilledArray($columns)) {
                // No columns specified
                reportBug(__FUNCTION__, __LINE__, 'columns is not given. Please fix your XML,tableTemplate=' . $tableTemplate . ',rowTemplate=' . $rowTemplate . ',tableName[0]=' . $tableName[0]);
        }
@@ -2025,7 +2030,7 @@ function doListEntries ($sql, $tableTemplate, $noEntryMessageId, $rowTemplate, $
                } // END - while
 
                // Is at least one entry set in content?
-               if ((is_array($content)) && (count($content) > 0)) {
+               if (isFilledArray($content)) {
                        // Then add generic 'rows' element
                        $content['rows'] = $OUT;
                } else {
@@ -2051,7 +2056,7 @@ function doGenericAddEntries ($tableName, $columns = array(), $filterFunctions =
        if ((!is_array($tableName)) || (count($tableName) != 1)) {
                // No tableName specified
                reportBug(__FUNCTION__, __LINE__, 'tableName is not given. Please fix your XML,tableName[]=' . gettype($tableName) . '!=array: userIdColumn=' . $userIdColumn);
-       } elseif (count($columns) == 0) {
+       } elseif (!isFilledArray($columns)) {
                // No columns specified
                reportBug(__FUNCTION__, __LINE__, 'columns is not given. Please fix your XML.');
        }
@@ -2064,7 +2069,7 @@ function doGenericAddEntries ($tableName, $columns = array(), $filterFunctions =
        $GLOBALS['__XML_PARSE_RESULT'] = TRUE;
 
        // Is there "time columns"?
-       if (count($timeColumns) > 0) {
+       if (isFilledArray($timeColumns)) {
                // Then "walk" through all entries
                foreach ($timeColumns as $column) {
                        // Convert all (possible) selections
@@ -2088,9 +2093,18 @@ function doGenericAddEntries ($tableName, $columns = array(), $filterFunctions =
                // Debug message
                //* NOISY-DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'key=' . $key . ',columnName[' . gettype($columnName) . ']=' . $columnName . ',filterFunctions=' . $filterFunctions[$key] . ',extraValues=' . intval(isset($extraValues[$key])) . ',extraValuesName=' . intval(isset($extraValues[$columnName . '_list'])));
 
+               // Get value back (no array supported)
+               $value = postRequestElement($columnName);
+
+               // Is this an array and element 0 is set?
+               if ((is_array($value)) && (isset($value[0]))) {
+                       // Then only take this
+                       $value = $value[0];
+               } // END - if
+
                // Copy entry securely to the final arrays
                $sqlColumns[$key] = sqlEscapeString($columnName);
-               $sqlValues[$key]  = sqlEscapeString(postRequestElement($columnName));
+               $sqlValues[$key]  = sqlEscapeString($value);
 
                // Search for it
                $search = key(search_array($columns, 'column', $columnName));
@@ -2154,7 +2168,7 @@ function doGenericAddEntries ($tableName, $columns = array(), $filterFunctions =
 // Edit rows by given id numbers
 function doGenericEditEntriesConfirm ($tableName, $columns = array(), $filterFunctions = array(), $extraValues = array(), $timeColumns = array(), $editNow = array(FALSE), $idColumn = array('id'), $userIdColumn = array('userid'), $rawUserId = array('userid'), $cacheFiles = array(), $subject = '') {
        // Is there "time columns"?
-       if (count($timeColumns) > 0) {
+       if (isFilledArray($timeColumns)) {
                // Then "walk" through all entries
                foreach ($timeColumns as $column) {
                        // Convert all (possible) selections
@@ -2274,7 +2288,7 @@ function doGenericEditEntriesConfirm ($tableName, $columns = array(), $filterFun
        } // END - foreach
 
        // Delete cache?
-       if ((count($cacheFiles) > 0) && (!empty($cacheFiles[0]))) {
+       if ((isFilledArray($cacheFiles)) && (!empty($cacheFiles[0]))) {
                // Delete cache file(s)
                foreach ($cacheFiles as $cache) {
                        // Skip any empty entries
@@ -2436,7 +2450,7 @@ function doGenericListBuilder ($prefix, $listType, $tableName, $columns, $filter
                        } // END - foreach
 
                        // Then list it
-                       $OUT .= loadTemplate(sprintf("%s_%s_%s_row",
+                       $OUT .= loadTemplate(sprintf('%s_%s_%s_row',
                                $prefix,
                                $listType,
                                $tableName[0]
@@ -2449,7 +2463,7 @@ function doGenericListBuilder ($prefix, $listType, $tableName, $columns, $filter
        } // END - foreach
 
        // Is there an entry in $content?
-       if ((is_array($content)) && (count($content) > 0)) {
+       if (isFilledArray($content)) {
                // Use generic 'rows'
                $content['rows'] = $OUT;
        } else {
@@ -2459,7 +2473,7 @@ function doGenericListBuilder ($prefix, $listType, $tableName, $columns, $filter
 
        // Load master template
        loadTemplate(
-               sprintf("%s_%s_%s",
+               sprintf('%s_%s_%s',
                        $prefix,
                        $listType,
                        $tableName[0]
@@ -2480,7 +2494,7 @@ function addKeyValueSql ($key, $value) {
                );
        } elseif ((is_double($value)) || (is_float($value)) || (is_int($value))) {
                // Is a number, so addd it directly
-               $sql .= sprintf(" `%s`=%s,",
+               $sql .= sprintf(' `%s`=%s,',
                        sqlEscapeString($key),
                        $value
                );
diff --git a/inc/patch-system.php b/inc/patch-system.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
diff --git a/inc/pool-update.php b/inc/pool-update.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
index f65a12cee40008160774a574331bc3df786e9de5..25dbf25c55e9943ab85b6474787fd63860bf99a6 100644 (file)
@@ -306,7 +306,7 @@ if (!ifSqlHasZeroNums($result_main)) {
        } // END - while
 
        // Is there points to "pay back"?
-       if ((count($pointsBack) > 0) && (!empty($pointsBack[0]))) {
+       if ((isFilledArray($pointsBack)) && (!empty($pointsBack[0]))) {
                // Walk through all points
                foreach ($pointsBack as $userid => $PB) {
                        // Add points only when we have points left to add and a valid user id
diff --git a/inc/profile-updte.php b/inc/profile-updte.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
index 45b4da7dc6c0313ba025be36fcbcf06268553f22..ad663cc4f0f591e92f313caddf13eaf3539e3c61 100644 (file)
@@ -54,7 +54,7 @@ if (isAutopurgeInactiveEnabled()) {
        // Init userid exclusion
        $excludeSql = '';
        $excludedUserids = runFilterChain('config_userid_exclusion_sql', array());
-       if (count($excludedUserids) > 0) {
+       if (isFilledArray($excludedUserids)) {
                // Exclude all
                $excludeSql = ' AND `userid` NOT IN (' . implode(', ', $excludedUserids) . ')';
        } // END - if
index 72e53b622ad549c90d10772476317f4b7ef67af6..59a1c66a629a38ba6a7d71ed3e1c20fb8fb65a56 100644 (file)
@@ -200,7 +200,7 @@ function addPointsThroughReferralSystem ($subject, $userid, $points, $refid = NU
                        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'subject=' . $subject . ',userid=' . $userid . ',refid=' . $refid . ',paymentMethod=' . $paymentMethod . ',sendNotify=' . intval($sendNotify) . ',isLocked=' . intval($isLocked));
 
                        // Send "referral confirmed" mails out?
-                       if ((isValidUserid($refid)) && ($refid != $userid) && ($sendNotify === TRUE)) {
+                       if ((isValidId($refid)) && ($refid != $userid) && ($sendNotify === TRUE)) {
                                // Calculate the referral's points and percents
                                $percentsReferral = getReferralLevelPercents($GLOBALS['ref_level'] + 1);
 
@@ -279,14 +279,14 @@ function addPointsThroughReferralSystem ($subject, $userid, $points, $refid = NU
                        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'points=' . $points . ',refid(var|data)=' . convertNullToZero($refid) . '|' . convertNullToZero(getUserData('refid')) . ',userid=' . $userid . ',paymentMethod=' . $paymentMethod . ',subject=' . $subject . ',ref_level=' . $GLOBALS['ref_level']);
                        if (($paymentMethod == 'REFERRAL') && (isValidId(getUserData('refid'))) && ($points > 0) && (getUserData('refid') != $userid)) {
                                // Is _ref there?
-                               if (substr($subject, -4, 4) == '_ref') {
+                               if (ifSubjectHasReferralSuffix($subject)) {
                                        // Then remove it, no double _ref suffix!
                                        $subject = substr($subject, 0, -4);
                                } // END - if
 
                                // Then let's credit him here...
                                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'subject=' . $subject . ',userid=' . $userid . ',refid=' . convertNullToZero(getUserData('refid')) . ',points=' . $points . ',ref_points=' . $ref_points . ',added[' . gettype($added) . ']=' . intval($added) . ',ref_level=' . $GLOBALS['ref_level'] . ' - ADVANCE!');
-                               $added = ($added && addPointsThroughReferralSystem(sprintf("%s_ref:%s", $subject, $GLOBALS['ref_level']), getUserData('refid'), $points, getFetchedUserData('userid', getUserData('refid'), 'refid')));
+                               $added = ($added && addPointsThroughReferralSystem(sprintf('%s_ref:%s', $subject, $GLOBALS['ref_level']), getUserData('refid'), $points, getFetchedUserData('userid', getUserData('refid'), 'refid')));
                        } // END - if
                } // END - if
        } // END - if
@@ -423,13 +423,7 @@ ORDER BY
                // Fetch all entries
                while ($row = sqlFetchArray($result)) {
                        // Init click rate with zero
-                       $row['click_rate'] = '0';
-
-                       // Is at least one mail received?
-                       if ($row['emails_received'] > 0) {
-                               // Calculate click rate
-                               $row['click_rate'] = ($row['mails_confirmed'] / $row['emails_received'] * 100);
-                       } // END - if
+                       $row['click_rate'] = calculatePercentageRate($row['mails_confirmed'], $row['emails_received']);
 
                        // Activity is 'active' by default because if ext-autopurge is not installed
                        $row['activity'] = '{--MEMBER_ACTIVITY_ACTIVE--}';
@@ -482,8 +476,22 @@ function getPointsDataArrayFromSubject ($subject) {
        } // END - if
 
        // Now checkout the entry in database table
-       $result = sqlQueryEscaped("SELECT `id`, `subject`, `column_name`, `locked_mode`, `payment_method`, `notify_recipient` FROM `{?_MYSQL_PREFIX?}_points_data` WHERE `subject`='%s' LIMIT 1",
-               array($subject), __FUNCTION__, __LINE__);
+       $result = sqlQueryEscaped("SELECT
+       `id`,
+       `subject`,
+       `column_name`,
+       `locked_mode`,
+       `payment_method`,
+       `notify_recipient`
+FROM
+       `{?_MYSQL_PREFIX?}_points_data`
+WHERE
+       `subject`='%s'
+LIMIT 1",
+               array(
+                       $subject
+               ), __FUNCTION__, __LINE__
+       );
 
        // Is there an entry?
        if (sqlNumRows($result) == 1) {
@@ -682,7 +690,7 @@ function flushReferralTableToDatabase ($userid) {
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'userid=' . $userid . ',count()=' . count($GLOBALS['referral_refid'][$userid]));
 
        // If no entries are there, skip this whole step
-       if (count($GLOBALS['referral_refid'][$userid]) == 0) {
+       if (!isFilledArray($GLOBALS['referral_refid'][$userid])) {
                // No entries found
                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'userid=' . $userid . ' - ABORTING...');
                return;
@@ -800,7 +808,7 @@ function setReferralId ($refid) {
 
 // Checks if 'refid' is valid
 function isReferralIdValid () {
-       return ((isset($GLOBALS['__refid'])) && (getReferralId() !== NULL) && (getReferralId() > 0));
+       return ((isset($GLOBALS['__refid'])) && (isValidId(getReferralId())));
 }
 
 // Getter for referral id
index 14c5e43e9cfaa05260610bef42d5f4b0376b55d2..2903a4418cb18058398be0b80c6d069682403296 100644 (file)
@@ -137,7 +137,7 @@ function postRequestElement ($element, $subElement = NULL) {
                        // Then use this
                        $value = sqlEscapeString($value[$subElement]);
                        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'element=' . $element . ',subElement=' . $subElement . ' - SUB!');
-               } elseif (!is_array($value)) {
+               } elseif ((!is_array($value)) && (function_exists('sqlEscapeString'))) {
                        // Escape it here
                        $value = sqlEscapeString($value);
                        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'element=' . $element . ' - REGULAR!');
index acfccbecc93dc9368da41fd11c313e3ddd08bf39..6e8da9535bd80840840ddcb637511ca6da02c1d4 100644 (file)
@@ -85,7 +85,7 @@ function getRepositoryData ($type = 'Revision') {
                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'ret[' . $type . ']=' . $ret);
        } else {
                // FQFN of revision file
-               $FQFN = sprintf("%s/.revision", getCachePath());
+               $FQFN = sprintf('%s/.revision', getCachePath());
 
                // Check if 'check_revision_data' is setted (switch for manually rewrite the .revision-File)
                if ((isGetRequestElementSet('check_revision_data')) && (getRequestElement('check_revision_data') == 'yes')) {
diff --git a/inc/security.php b/inc/security.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
index eab241370e0969f6023fc2cf4dff69ad38f2762c..362e5d53cda28a6aeea9006d49ef57140d0378a9 100644 (file)
@@ -69,7 +69,7 @@ function getSqls () {
 
 // Add an SQL to the list
 function addSql ($sql) {
-       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, sprintf("sql=%s, count=%d", $sql, countSqls()));
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, sprintf('sql=%s, count=%d', $sql, countSqls()));
        array_push($GLOBALS['sqls']['generic'], $sql);
 }
 
@@ -106,7 +106,7 @@ function countSqls () {
        if (isSqlsInitialized()) {
                // Then count it
                $count = count($GLOBALS['sqls']);
-               //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, sprintf("count=%d", $count));
+               //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, sprintf('count=%d', $count));
        } // END - if
 
        // Return it
@@ -233,9 +233,6 @@ function initSqlLink () {
        // "Unset" the link
        unsetSqlLinkUp(__FUNCTION__, __LINE__);
 
-       // Do this only if link is down
-       assert(!isSqlLinkUp());
-
        // Is the configuration data set?
        if ((!empty($GLOBALS['mysql']['host'])) && (!empty($GLOBALS['mysql']['login'])) && (!empty($GLOBALS['mysql']['dbase']))) {
                // Remove cache
@@ -281,7 +278,7 @@ function importSqlDump ($path, $dumpName, $sqlPool) {
        // Is the file readable?
        if (!isFileReadable($FQFN)) {
                // Not found, which is bad
-               reportBug(__FUNCTION__, __LINE__, sprintf("SQL dump %s/%s.sql is not readable.", $path, $dumpName));
+               reportBug(__FUNCTION__, __LINE__, sprintf('SQL dump %s/%s.sql is not readable.', $path, $dumpName));
        } // END - if
 
        // Then read it
@@ -327,7 +324,7 @@ function getSqlResultFromArray ($table, $columns, $idRow, $id, $file, $line) {
        // Is columns an array?
        if (!is_array($columns)) {
                // No array
-               reportBug(__FUNCTION__, __LINE__, sprintf("columns is not an array. %s != array, file=%s, line=%s",
+               reportBug(__FUNCTION__, __LINE__, sprintf('columns is not an array. %s != array, file=%s, line=%s',
                        gettype($columns),
                        basename($file),
                        $line
@@ -430,7 +427,7 @@ function sqlQueryAlterTable ($sql, $file, $line, $enableCodes = TRUE) {
                } // END - foreach
        } elseif ((getTableType() == 'InnoDB') && (isInString('FULLTEXT', $sql))) {
                // Skip this query silently because InnoDB does not understand fulltext indexes
-               //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, sprintf("Skipped FULLTEXT: sql=%s,tableName=%s,hasZeroNums=%d,file=%s,line=%s", $sql, $tableName, intval((is_bool($result)) ? 0 : ifSqlTableColumnExists($columnName)), $file, $line));
+               //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, sprintf('Skipped FULLTEXT: sql=%s,tableName=%s,hasZeroNums=%d,file=%s,line=%s', $sql, $tableName, intval((is_bool($result)) ? 0 : ifSqlTableColumnExists($columnName)), $file, $line));
        } elseif ($isAlterIndex === TRUE) {
                // And column name as well without backticks
                $keyName = str_replace('`', '', $tableArray[5]);
@@ -498,16 +495,15 @@ function getSqlLink () {
 }
 
 // Setter for link
+// Do *not* add debug lines here. This will cause and endless loop
 function setSqlLink ($file, $line, $link) {
-       //* DEBUG: */ logDebugMessage($file . ':' . __FUNCTION__, $line . ':' . __LINE__, 'link[]=' . gettype($link) . ' - ENTERED!');
        // Is this a resource or null?
-       if ((ifFatalErrorsDetected()) && (isInstallationPhase())) {
+       if ((ifFatalErrorsDetected()) && (isInstaller())) {
                // This may happen in installation phase
-               //* DEBUG: */ logDebugMessage($file . ':' . __FUNCTION__, $line . ':' . __LINE__, 'Some fatal errors detected in installation phase.');
                return;
        } elseif ((!is_resource($link)) && (!is_null($link))) {
                // This should never happen!
-               reportBug($file . ':' . __FUNCTION__, $line . ':' . __LINE__, sprintf("Type of link is not resource or null, type=%s", gettype($link)));
+               reportBug($file . ':' . __FUNCTION__, $line . ':' . __LINE__, sprintf('Type of link is not resource or null, type=%s', gettype($link)));
        } // END - if
 
        // Set it
@@ -515,7 +511,6 @@ function setSqlLink ($file, $line, $link) {
 
        // Re-init cache
        $GLOBALS['__is_sql_link_up'] = is_resource($link);
-       //* DEBUG: */ logDebugMessage($file . ':' . __FUNCTION__, $line . ':' . __LINE__, '__is_sql_link_up=' . intval($GLOBALS['__is_sql_link_up']) . ' - EXIT!');
 }
 
 // Checks if the link is up
@@ -523,7 +518,7 @@ function isSqlLinkUp () {
        // Is there cached this?
        if (!isset($GLOBALS['__is_sql_link_up'])) {
                // Something bad went wrong
-               reportBug(__FUNCTION__, __LINE__, 'Called before SQL_SET_LINK() was called!');
+               reportBug(__FUNCTION__, __LINE__, 'Called before setSqlLink() was called!');
        } // END - if
 
        // Return the result
@@ -592,7 +587,7 @@ function ifSqlTableExists ($tableName) {
                // Is a link there?
                if (!is_resource($result)) {
                        // Is installation phase?
-                       if (isInstallationPhase()) {
+                       if (isInstaller()) {
                                // Then silently abort here
                                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'result[]=' . gettype($result) . ',isLinkUp=' . intval(isSqlLinkUp()) . ',tableName=' . $tableName . ' - Returning FALSE ...');
                                return FALSE;
@@ -624,7 +619,7 @@ function ifSqlTableColumnExists ($tableName, $columnName, $forceFound = FALSE) {
        if (!ifSqlTableExists($tableName)) {
                // Then abort here
                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Table ' . $tableName . ' does not exist, columnName=' . $columnName . ',forceFound=' . intval($forceFound));
-               return (($forceFound === FALSE) && (isInstallationPhase()));
+               return (($forceFound === FALSE) && (isInstaller()));
        } // END - if
 
        // Get column information
@@ -637,7 +632,7 @@ function ifSqlTableColumnExists ($tableName, $columnName, $forceFound = FALSE) {
        // Is a link there?
        if (!is_resource($result)) {
                // Is installation phase?
-               if (isInstallationPhase()) {
+               if (isInstaller()) {
                        // Then silently abort here
                        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'result[]=' . gettype($result) . ',isLinkUp=' . intval(isSqlLinkUp()) . ',tableName=' . $tableName . ',columnName=' . $columnName . ' - Returning FALSE ...');
                        return $forceFound;
@@ -670,7 +665,7 @@ function ifSqlTableIndexExist ($tableName, $keyName, $forceFound = FALSE) {
        if (!ifSqlTableExists($tableName)) {
                // Then abort here
                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Table ' . $tableName . ' does not exist, keyName=' . $keyName . ',forceFound=' . intval($forceFound));
-               return (($forceFound === FALSE) && (isInstallationPhase()));
+               return (($forceFound === FALSE) && (isInstaller()));
        } // END - if
 
        // Show indexes
@@ -679,7 +674,7 @@ function ifSqlTableIndexExist ($tableName, $keyName, $forceFound = FALSE) {
        // Is a link there?
        if (!is_resource($result)) {
                // Is installation phase?
-               if (isInstallationPhase()) {
+               if (isInstaller()) {
                        // Then silently abort here
                        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'result[]=' . gettype($result) . ',isLinkUp=' . intval(isSqlLinkUp()) . ',tableName=' . $tableName . ',keyName=' . $keyName . ' - Returning FALSE ...');
                        return $forceFound;
@@ -757,5 +752,30 @@ function getArrayFromSupportedSqlEngines ($requestedEngine = 'ALL') {
        return $engines;
 }
 
+// "Getter" for result from given table and field/type LIKEs
+function sqlGetResultFromLikeColumnsType ($tableName, $field, $type) {
+       // The table should be there
+       assert(ifSqlTableExists($tableName));
+
+       // Default no field set
+       $fieldSql = '';
+       if (!empty($field)) {
+               // Then use it
+               $fieldSql = "`Field` LIKE '" . $field . "' AND";
+       } // END - if
+
+       // Show them
+       return sqlQueryEscaped("SHOW COLUMNS FROM
+       `{?_MYSQL_PREFIX?}_%s`
+WHERE
+       " . $fieldSql . "
+       `Type` LIKE '%s%%'",
+               array(
+                       $tableName,
+                       $type
+               ), __FUNCTION__, __LINE__
+       );
+}
+
 // [EOF]
 ?>
diff --git a/inc/sql_error.php b/inc/sql_error.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
index db168776c5361ae58b34e8f73d957cf28af7e121..a5ab7b12a164704e9636657beaf68c8849999d11 100644 (file)
@@ -158,11 +158,11 @@ function writeStatsTable () {
        if (!isSqlLinkUp()) return FALSE;
 
        // Empty the table first
-       sqlQueryEscaped("TRUNCATE `{?_MYSQL_PREFIX?}_stats_%s`",
+       sqlQueryEscaped('TRUNCATE `{?_MYSQL_PREFIX?}_stats_%s`',
                array(generateDateTime(time(), '6')), __FUNCTION__, __LINE__);
 
        // Begin the SQL command
-       $sql = sprintf("REPLACE INTO `{?_MYSQL_PREFIX?}_stats_%s` (`stats_entry`, `stats_value`) VALUES ",
+       $sql = sprintf('REPLACE INTO `{?_MYSQL_PREFIX?}_stats_%s` (`stats_entry`, `stats_value`) VALUES ',
                generateDateTime(time(), '6'));
 
        // Add all entries to the final query
@@ -177,7 +177,7 @@ function writeStatsTable () {
 // Filter for flushing statistics
 function FILTER_FLUSH_STATS () {
        // Now do we have stats?
-       if ((isset($GLOBALS['stats'])) && (!isInstallationPhase()) && (ifInternalStatsEnabled())) {
+       if ((isset($GLOBALS['stats'])) && (!isInstaller()) && (ifInternalStatsEnabled())) {
                // Write statistics to temporary table
                writeStatsTable();
 
diff --git a/inc/stats_bonus.php b/inc/stats_bonus.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
index 8aa0924e7da797dd823a416b8c85b119ff36a707..baaee6da2c3ff5de98744b6f37393a5ed2d9fdb0 100644 (file)
@@ -47,7 +47,7 @@ $stylesList = array(
 );
 
 // Add stylesheet for installation
-if ((isInstallationPhase())) {
+if ((isInstaller())) {
        array_push($stylesList, 'install.css');
 } // END - if
 
@@ -71,12 +71,12 @@ if ((isCssOutputMode()) || (getCssPhp() == 'DIRECT')) {
        $stylesList = merge_array($stylesList, getExtensionCssFiles());
 
        // Generate base path
-       $basePath = sprintf("%stheme/%s/css/", getPath(), $currentTheme);
+       $basePath = getBasePathFromTheme($currentTheme);
 
        // Output inclusion lines
        foreach ($stylesList as $value) {
                // Only include found CSS files (to reduce 404 requests)
-               $FQFN = $basePath . $value;
+               $FQFN = $basePath . '/' . $value;
 
                // Do include only existing files and whose are not empty
                if ((isFileReadable($FQFN)) && (filesize($FQFN) > 0)) {
@@ -90,7 +90,7 @@ if ((isCssOutputMode()) || (getCssPhp() == 'DIRECT')) {
                                        break;
 
                                default: // Invalid mode!
-                                       reportBug(__FILE__, __LINE__, sprintf("Invalid css_php value %s detected.", getCssPhp()));
+                                       reportBug(__FILE__, __LINE__, sprintf('Invalid css_php value %s detected.', getCssPhp()));
                                        break;
                        } // END - switch
                } // END - if
@@ -100,13 +100,13 @@ if ((isCssOutputMode()) || (getCssPhp() == 'DIRECT')) {
        $stylesList = merge_array($stylesList, getExtensionCssFiles());
 
        // Generate base path
-       $basePath = sprintf("%stheme/%s/css/", getPath(), getCurrentTheme());
+       $basePath = getBasePathFromTheme(getCurrentTheme());
 
        // Output inclusion lines
        $OUT = '';
        foreach ($stylesList as $value) {
                // Only include found CSS files (to reduce 404 requests)
-               $FQFN = $basePath . $value;
+               $FQFN = $basePath . '/' . $value;
 
                // Do include only existing files and whose are not empty
                if ((isFileReadable($FQFN)) && (filesize($FQFN) > 0)) {
@@ -120,7 +120,7 @@ if ((isCssOutputMode()) || (getCssPhp() == 'DIRECT')) {
 } else {
        // Now we load all CSS files from css.php!
        $OUT = '<link rel="stylesheet" type="text/css" href="{%url=css.php';
-       if ((isInstallationPhase())) {
+       if ((isInstaller())) {
                // Default theme first
                $OUT .= '?theme=' . getCurrentTheme() . '&amp;installing=1';
        } else {
index 4b6420a59f013706ed0e545a6329842f5762200a..5e163cb6e4420a83d37488f5d344c9cbe44b0ac0 100644 (file)
@@ -144,7 +144,7 @@ function outputHtml ($htmlCode = NULL, $newLine = TRUE) {
                                reportBug(__FUNCTION__, __LINE__, '<strong>{--FATAL_ERROR--}:</strong> {--NO_RENDER_DIRECT--}');
                                break;
                } // END - switch
-       } elseif ((getPhpCaching() == 'on') && ((!isset($GLOBALS['http_header'])) || (count($GLOBALS['http_header']) == 0)) && (!isRawOutputMode())) {
+       } elseif ((getPhpCaching() == 'on') && (!isFilledArray($GLOBALS['http_header'])) && (!isRawOutputMode())) {
                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'getPhpCaching()=' . getPhpCaching() . ',isset(http_header)=' . intval(isset($GLOBALS['http_header'])) . ',getScriptOutputMode()=' . getScriptOutputMode() . '');
                // Output cached HTML code
                $GLOBALS['__output'] = ob_get_contents();
@@ -322,17 +322,17 @@ function loadTemplate ($template, $return = FALSE, $content = array(), $compileC
                $template = strtolower($template);
 
                // Base directory
-               $basePath = sprintf("%stemplates/%s/html/", getPath(), getLanguage());
+               $basePath = getTemplateBasePath('html');
                $extraPath = detectExtraTemplatePath('html', $template);
 
                // Generate FQFN
-               $FQFN = $basePath . $extraPath . $template . '.tpl';
+               $FQFN = $basePath . '/' . $extraPath . $template . '.tpl';
                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Template ' . $template . ' is solved to FQFN=' . $FQFN);
 
                // Does the special template exists?
                if (!isFileReadable($FQFN)) {
                        // Reset to default template
-                       $FQFN = $basePath . $template . '.tpl';
+                       $FQFN = $basePath . '/' . $template . '.tpl';
                } // END - if
 
                // Now does the final template exists?
@@ -509,18 +509,18 @@ function loadEmailTemplate ($template, $content = array(), $userid = NULL, $load
                unset($GLOBALS['template_eval']['email'][$template]);
        } elseif (!isset($GLOBALS['template_eval']['email'][$template])) {
                // Base directory
-               $basePath = sprintf("%stemplates/%s/emails/", getPath(), getLanguage());
+               $basePath = getTemplateBasePath('emails');
 
                // Detect extra path
                $extraPath = detectExtraTemplatePath('email', $template);
 
                // Generate full FQFN
-               $FQFN = $basePath . $extraPath . $template . '.tpl';
+               $FQFN = $basePath . '/' . $extraPath . $template . '.tpl';
 
                // Does the special template exists?
                if (!isFileReadable($FQFN)) {
                        // Reset to default template
-                       $FQFN = $basePath . $template . '.tpl';
+                       $FQFN = $basePath . '/' . $template . '.tpl';
                } // END - if
 
                // Now does the final template exists?
@@ -562,6 +562,7 @@ function loadEmailTemplate ($template, $content = array(), $userid = NULL, $load
                // Eval the code
                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'template=' . $template . ' - BEFORE EVAL');
                //* DEBUG: */ print('<pre>'.htmlentities($GLOBALS['template_eval']['email'][$template]).'</pre>');
+               //* DEBUG: */ die('<pre>'.print_r($content, TRUE).'</pre><pre>'.htmlentities($GLOBALS['template_eval']['email'][$template]).'</pre>');
                eval($GLOBALS['template_eval']['email'][$template]);
                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'template=' . $template . ' - AFTER EVAL');
        } // END - if
@@ -677,17 +678,20 @@ function compileRawCode ($code, $full = TRUE, $compileCode = TRUE) {
        //* NOISY-DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Second regex gave ' . count($matches[0]) . ' matches.');
 
        // Are some matches found?
-       if ((count($matches) > 0) && (count($matches[0]) > 0)) {
+       if ((isFilledArray($matches)) && (isFilledArray($matches[0]))) {
                // Replace all matches
                $matchesFound = array();
                foreach ($matches[0] as $key => $match) {
                        // Fuzzy look has failed by default
                        $fuzzyFound = FALSE;
 
+                       // "Cache" match length
+                       $matchLength = strlen($match);
+
                        // Fuzzy look on match if already found
                        foreach ($matchesFound as $found => $set) {
                                // Get test part
-                               $test = substr($found, 0, strlen($match));
+                               $test = substr($found, 0, $matchLength);
 
                                // Does this entry exist?
                                //* NOISY-DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'found=' . $found . ',match=' . $match . ',set=' . $set);
@@ -734,7 +738,7 @@ function compileRawCode ($code, $full = TRUE, $compileCode = TRUE) {
        preg_match_all('/\$([a-z_A-Z\[\]]){0,}/', $code, $matches);
 
        // Are some matches found?
-       if ((count($matches) > 0) && (count($matches[0]) > 0)) {
+       if ((isFilledArray($matches)) && (isFilledArray($matches[0]))) {
                // Scan all matches for not $content
                foreach ($matches[0] as $match) {
                        // Trim match
@@ -855,20 +859,20 @@ function addSelectionBox ($type, $default, $prefix = '', $id = NULL, $class = 'f
 
                case 'ho': // Hours
                        for ($idx = 0; $idx <= 23; $idx++) {
-                               if (strlen($idx) == 1) $idx = 0 . $idx;
-                               $OUT .= '<option value="' . $idx . '"';
-                               if ($default == $idx) $OUT .= ' selected="selected"';
-                               $OUT .= '>' . $idx . '</option>';
+                               $padded = padLeftZero($idx);
+                               $OUT .= '<option value="' . $padded . '"';
+                               if ($default == $padded) $OUT .= ' selected="selected"';
+                               $OUT .= '>' . $padded . '</option>';
                        } // END - for
                        break;
 
                case 'mi': // Minutes
                case 'se': // Seconds
                        for ($idx = 0; $idx <= 59; $idx+=5) {
-                               if (strlen($idx) == 1) $idx = 0 . $idx;
-                               $OUT .= '<option value="' . $idx . '"';
-                               if ($default == $idx) $OUT .= ' selected="selected"';
-                               $OUT .= '>' . $idx . '</option>';
+                               $padded = padLeftZero($idx);
+                               $OUT .= '<option value="' . $padded . '"';
+                               if ($default == $padded) $OUT .= ' selected="selected"';
+                               $OUT .= '>' . $padded . '</option>';
                        } // END - for
                        break;
 
@@ -900,7 +904,7 @@ function generateImageOrCode ($img_code, $headerSent = TRUE) {
        }
 
        // Load image
-       $img = sprintf("%s/theme/%s/images/code_bg.%s",
+       $img = sprintf('%s/theme/%s/images/code_bg.%s',
                getPath(),
                getCurrentTheme(),
                getImgType()
@@ -920,7 +924,7 @@ function generateImageOrCode ($img_code, $headerSent = TRUE) {
                } // END - switch
        } else {
                // Silently log the error
-               logDebugMessage(__FUNCTION__, __LINE__, sprintf("File for image-type %s in theme %s not found.", getImgType(), getCurrentTheme()));
+               logDebugMessage(__FUNCTION__, __LINE__, sprintf('File for image-type %s in theme %s not found.', getImgType(), getCurrentTheme()));
                return;
        }
 
@@ -1267,7 +1271,7 @@ function reportBug ($file, $line, $message = '', $sendEmail = TRUE) {
        // Is this already called?
        if (isset($GLOBALS[__FUNCTION__])) {
                // Other backtrace
-               print '[' . $file . ':' . $line . ':] ' . __FUNCTION__ . ' has already died! Message:' . $message . '<br />Backtrace:<pre>';
+               print '[' . $file . ':' . $line . ':] ' . __FUNCTION__ . '() has already died! Message:' . $message . '<br />Backtrace:<pre>';
                debug_print_backtrace();
                die('</pre>');
        } // END - if
@@ -1300,7 +1304,7 @@ function reportBug ($file, $line, $message = '', $sendEmail = TRUE) {
        $debug .= '<div class="para">Thank you for finding bugs.</div>';
 
        // Send an email? (e.g. not wanted for evaluation errors)
-       if (($sendEmail === TRUE) && (!isInstallationPhase())) {
+       if (($sendEmail === TRUE) && (!isInstaller()) && (isAdminRegistered())) {
                // Prepare content
                $content = array(
                        'message'   => trim($message),
@@ -1311,10 +1315,28 @@ function reportBug ($file, $line, $message = '', $sendEmail = TRUE) {
                sendAdminNotification('{--REPORT_BUG_SUBJECT--}', 'admin_report_bug', $content);
        } // END - if
 
-       // Is there HTML/CSS/AJAX mode?
-       if (((isHtmlOutputMode()) || (isCssOutputMode()) || (isAjaxOutputMode())) && (isDebugModeEnabled())) {
+       // Is there HTML/CSS/AJAX mode while debug-mode is enabled?
+       if ((isDebugModeEnabled()) && ((isHtmlOutputMode()) || (isCssOutputMode()) || (isAjaxOutputMode()))) {
                // And abort here
                app_exit($file, $line, $debug);
+       } elseif (isAjaxOutputMode()) {
+               // Load include (again?)
+               loadIncludeOnce('inc/ajax-functions.php');
+
+               // Init AJAX
+               initAjax();
+
+               // Set HTTP status to 500 again
+               setHttpStatus('500 Internal Server Error');
+
+               // Is AJAX output mode, then output message as JSON
+               setAjaxReplyContent($debug);
+
+               // Send it out to browser
+               sendAjaxContent(TRUE);
+
+               // Include footer
+               loadIncludeOnce('inc/footer.php');
        } else {
                // Raw/image output mode and all other modes doesn't work well with text ...
                die();
@@ -2150,7 +2172,7 @@ function doTemplateExtensionRegistrationLink ($templateName, $clear, $ext_name)
                $OUT = '<span title="{--ADMIN_EXTENSION_IS_DEPRECATED_TITLE--}">---</span>';
        } elseif (isExtensionProductive($ext_name)) {
                // Productive code
-               $OUT = '<a title="{--ADMIN_REGISTER_EXTENSION_TITLE--}" href="{%url=modules.php?module=admin&amp;what=extensions&amp;register_ext=' . $ext_name . '%}">{--ADMIN_REGISTER_EXTENSION--}</a>';
+               $OUT = '<a title="{--ADMIN_TASK_REGISTER_EXTENSION_TITLE--}" href="{%url=modules.php?module=admin&amp;what=extensions&amp;register_ext=' . $ext_name . '%}">{--ADMIN_TASK_REGISTER_EXTENSION--}</a>';
        }
 
        // Return code
@@ -2362,5 +2384,17 @@ function doTemplateMetaFavIcon ($templateName, $clear = FALSE) {
        return $out;
 }
 
+// "Getter" for template base path
+function getTemplateBasePath ($part) {
+       // Is there cache?
+       if (!isset($GLOBALS[__FUNCTION__][$part])) {
+               // "Build" path
+               $GLOBALS[__FUNCTION__][$part] = sprintf('%stemplates/%s/%s', getPath(), getLanguage(), $part);
+       } // END - if
+
+       // Return cache
+       return $GLOBALS[__FUNCTION__][$part];
+}
+
 // [EOF]
 ?>
diff --git a/inc/template.php b/inc/template.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
index 0969cf0bc5579c6d4b6197fe561d0d80bb54ba78..20169be5dd324ab3e6199474f65343fd935370df 100644 (file)
@@ -325,7 +325,7 @@ function isInstalling () {
        // Determine whether we are installing
        if (!isset($GLOBALS['__mailer_installing'])) {
                // Check URL (css.php/js.php need this)
-               $GLOBALS['__mailer_installing'] = (isGetRequestElementSet('installing') || ((isGetRequestElementSet('level')) && (getRequestElement('level') == 'install')));
+               $GLOBALS['__mailer_installing'] = (isGetRequestElementSet('installing') || ((isAjaxOutputMode()) && (isGetRequestElementSet('level')) && (getRequestElement('level') == 'install')));
        } // END - if
 
        // Return result
@@ -406,10 +406,16 @@ function isMonthlyResetEnabled () {
        return ((isset($GLOBALS['monthly_enabled'])) && ($GLOBALS['monthly_enabled'] === TRUE));
 }
 
+// Checks whether the yearly reset mode is active
+function isYearlyResetEnabled () {
+       // Now simply check it
+       return ((isset($GLOBALS['yearly_enabled'])) && ($GLOBALS['yearly_enabled'] === TRUE));
+}
+
 // Checks whether one of the reset modes is enabled
 function isResetModeEnabled () {
        // Now simply check it
-       return ((isHourlyResetEnabled()) || (isDailyResetEnabled()) || (isWeeklyResetEnabled()) || (isMonthlyResetEnabled()));
+       return ((isHourlyResetEnabled()) || (isDailyResetEnabled()) || (isWeeklyResetEnabled()) || (isMonthlyResetEnabled()) || (isYearlyResetEnabled()));
 }
 
 // Checks whether the debug mode is enabled
@@ -472,6 +478,18 @@ function isDebugMonthlyEnabled () {
        return $GLOBALS[__FUNCTION__];
 }
 
+// Checks whether the debug yearly is enabled
+function isDebugYearlyEnabled () {
+       // Is cache set?
+       if (!isset($GLOBALS[__FUNCTION__])) {
+               // Simply check it
+               $GLOBALS[__FUNCTION__] = ((isConfigEntrySet('DEBUG_YEARLY')) && (getConfig('DEBUG_YEARLY') == 'Y'));
+       } // END - if
+
+       // Return it
+       return $GLOBALS[__FUNCTION__];
+}
+
 // Checks whether SQL debugging is enabled
 function isSqlDebuggingEnabled () {
        // Is cache set?
@@ -891,7 +909,7 @@ function getUsername () {
 }
 
 // Wrapper function for installation phase
-function isInstallationPhase () {
+function isInstaller () {
        // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
@@ -1377,7 +1395,7 @@ function isValidId ($id) {
        // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__][$id])) {
                // Check it out
-               $GLOBALS[__FUNCTION__][$id] = ((!is_null($id)) && (!is_bool($id)) && (!empty($id)) && ($id != 'NULL') && ($id > 0));
+               $GLOBALS[__FUNCTION__][$id] = ((isValidNumber($id)) && (!is_bool($id)) && ($id != '00000') && ($id > 0));
        } // END - if
 
        // Return cache
@@ -1385,6 +1403,12 @@ function isValidId ($id) {
        return $GLOBALS[__FUNCTION__][$id];
 }
 
+// Checks whether a valid number is given
+function isValidNumber ($num) {
+       // Determine it
+       return ((!is_null($num)) && (!empty($num)) && ('*' . bigintval($num, TRUE, FALSE) . '*' == '*' . $num . '*'));
+}
+
 // Encodes entities
 function encodeEntities ($str) {
        // Secure it first
@@ -1613,6 +1637,18 @@ function isMonthlyResetDebugEnabled () {
        return $GLOBALS[__FUNCTION__];
 }
 
+// Checks whether debugging of yearly resets is enabled
+function isYearlyResetDebugEnabled () {
+       // Is there cache?
+       if (!isset($GLOBALS[__FUNCTION__])) {
+               // Determine it
+               $GLOBALS[__FUNCTION__] = ((isConfigEntrySet('DEBUG_YEARLY')) && (getConfig('DEBUG_YEARLY') == 'Y'));
+       } // END - if
+
+       // Return cache
+       return $GLOBALS[__FUNCTION__];
+}
+
 // Checks whether displaying of debug SQLs are enabled
 function isDisplayDebugSqlEnabled () {
        // Is there cache?
@@ -2248,12 +2284,24 @@ function getCodeLength () {
        return $GLOBALS[__FUNCTION__];
 }
 
-// "Getter" for pass_len
-function getPassLen () {
+// "Getter" for min_password_length
+function getMinPasswordLength () {
+       // Is there cache?
+       if (!isset($GLOBALS[__FUNCTION__])) {
+               // Determine it
+               $GLOBALS[__FUNCTION__] = getConfig('min_password_length');
+       } // END - if
+
+       // Return cache
+       return $GLOBALS[__FUNCTION__];
+}
+
+// "Getter" for min_password_score
+function getMinPasswordScore () {
        // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
-               $GLOBALS[__FUNCTION__] = getConfig('pass_len');
+               $GLOBALS[__FUNCTION__] = getConfig('min_password_score');
        } // END - if
 
        // Return cache
@@ -2320,6 +2368,18 @@ function getLastMonthly () {
        return $GLOBALS[__FUNCTION__];
 }
 
+// "Getter" for last_yearly
+function getLastYearly () {
+       // Is there cache?
+       if (!isset($GLOBALS[__FUNCTION__])) {
+               // Determine it
+               $GLOBALS[__FUNCTION__] = getConfig('last_yearly');
+       } // END - if
+
+       // Return cache
+       return $GLOBALS[__FUNCTION__];
+}
+
 // "Getter" for mails_page
 function getMailsPage () {
        // Is there cache?
@@ -2781,7 +2841,7 @@ function isProxyUsed () {
        // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Determine it
-               $GLOBALS[__FUNCTION__] = ((isExtensionInstalledAndNewer('sql_patches', '0.4.3')) && (getConfig('proxy_host') != '') && (getConfig('proxy_port') > 0));
+               $GLOBALS[__FUNCTION__] = ((isExtensionInstalledAndNewer('sql_patches', '0.4.3')) && (getConfig('proxy_host') != '') && (isValidNumber(getConfig('proxy_port'))));
        } // END - if
 
        // Return cache
@@ -2987,9 +3047,9 @@ function appendLineToFile ($file, $line) {
 }
 
 // Wrapper for changeDataInFile() but with full path added
-function changeDataInInclude ($FQFN, $comment, $prefix, $suffix, $inserted, $seek=0) {
+function changeDataInInclude ($inc, $comment, $prefix, $suffix, $inserted, $seek=0) {
        // Add full path
-       $FQFN = getPath() . $FQFN;
+       $FQFN = getPath() . $inc;
 
        // Call inner function
        return changeDataInFile($FQFN, $comment, $prefix, $suffix, $inserted, $seek);
@@ -3451,5 +3511,50 @@ function padLeftZero ($str, $amount = 2) {
        }
 }
 
+// Calculates percentage
+function calculatePercentageRate ($current, $total) {
+       // Default is zero
+       $rate = '0.0';
+
+       // Is sent larger zero? (Prevents division-by-zero)
+       if ($total > 0) {
+               // Calculate it (it should be "translated" alter on)
+               $rate = ($current / $total * 100);
+       } // END - if
+
+       // The should be a .0 at the end?
+       if (strpos($rate, '.') === FALSE) {
+               // No, then add it
+               $rate .= '.0';
+       } // END - if
+
+       // Return it
+       return $rate;
+}
+
+// Checks whether an array is filled with entries
+function isFilledArray ($array) {
+       // Determine it
+       return ((is_array($array)) && (count($array) > 0));
+}
+
+// Checks whether this script runs on a developer system (called with localhost/127.0.0.1 SERVER_NAME)
+function isDeveloperSystem () {
+       // Determine it
+       return in_array(detectServerName(), array('localhost', '127.0.0.1'));
+}
+
+// Checks whether given subject line has '_ref' suffix
+function ifSubjectHasReferralSuffix ($subject) {
+       // Is there cache?
+       if (!isset($GLOBALS[__FUNCTION__][$subject])) {
+               // Determine it
+               $GLOBALS[__FUNCTION__][$subject] = (substr($subject, -4, 4) == '_ref');
+       } // END - if
+
+       // Return cache
+       return $GLOBALS[__FUNCTION__][$subject];
+}
+
 // [EOF]
 ?>
index 3e11e66a779c5cbca93b067b3d568b5f69523682..0228d8f528cd5afe3af34844c55ae4a368080f39 100644 (file)
@@ -61,7 +61,7 @@ function doGenericXmlTemplateCallback ($template, $content = array(), $compileCo
        initXml();
 
        // Generate FQFN for with special path
-       $FQFN = sprintf("%stemplates/xml/%s%s.xml",
+       $FQFN = sprintf('%stemplates/xml/%s%s.xml',
                getPath(),
                detectExtraTemplatePath('xml', $template),
                $template
@@ -70,7 +70,7 @@ function doGenericXmlTemplateCallback ($template, $content = array(), $compileCo
        // Is the file readable?
        if (!isFileReadable($FQFN)) {
                // No, use without extra path
-               $FQFN = sprintf("%stemplates/xml/%s.xml",
+               $FQFN = sprintf('%stemplates/xml/%s.xml',
                        getPath(),
                        $template
                );
@@ -109,7 +109,7 @@ function doGenericXmlTemplateCallback ($template, $content = array(), $compileCo
                addXmlSpecialElements($template);
 
                // Call the call-back function
-               doCallXmlCallbackFunction($content);
+               doCallXmlCallbackFunction();
        } else {
                // Template not found
                displayMessage('{%message,XML_TEMPLATE_404=' . $template . '%}');
@@ -339,7 +339,7 @@ function getSqlPartFromXmlArray ($columns) {
 // "Getter" for JOIN statement
 function getSqlXmlJoinedTable ($tableJoinType, $tableJoinName, $joinOnLeftTable, $joinOnCondition, $joinOnRightTable) {
        // Are all set?
-       assert((count($tableJoinType) > 0) && (count($tableJoinName) > 0) && (count($joinOnLeftTable) > 0) && (count($joinOnCondition) > 0) && (count($joinOnRightTable) > 0));
+       assert((isFilledArray($tableJoinType)) && (isFilledArray($tableJoinName)) && (isFilledArray($joinOnLeftTable)) && (isFilledArray($joinOnCondition)) && (isFilledArray($joinOnRightTable)));
 
        // Init SQL
        $sql = '';
@@ -374,7 +374,7 @@ function getSqlXmlWhereConditions ($whereColumns, $conditions) {
        $sql = '';
 
        // Are there some conditions?
-       if (count($whereColumns) > 0) {
+       if (isFilledArray($whereColumns)) {
                // Then add these as well
                if (count($whereColumns) == 1) {
                        // One entry found
@@ -388,7 +388,7 @@ function getSqlXmlWhereConditions ($whereColumns, $conditions) {
 
                        // Add the rest
                        $sql .= '`' . $whereColumns[0]['column'] . '`' . $whereColumns[0]['condition'] . chr(39) . $whereColumns[0]['look_for'] . chr(39);
-               } elseif ((count($whereColumns > 1)) && (count($conditions) > 0)) {
+               } elseif ((count($whereColumns > 1)) && (isFilledArray($conditions))) {
                        // More than one "WHERE" + condition found
                        foreach ($whereColumns as $idx => $columnArray) {
                                // Default is WHERE
@@ -397,11 +397,10 @@ function getSqlXmlWhereConditions ($whereColumns, $conditions) {
                                // Is the condition element there?
                                if (isset($conditions[$columnArray['column']])) {
                                        // Assume the condition
-                                       $condition .= ' ' . $conditions[$columnArray['column']] . ' ';
+                                       $condition = ' ' . $conditions[$columnArray['column']] . ' ';
                                } // END - if
 
                                // Add to SQL query
-                               die($sql.'/'.$condition);
                                $sql .= $condition;
 
                                // Table/alias included?
@@ -429,7 +428,7 @@ function getSqlXmlOrderBy ($orderByColumns) {
        $sql = '';
 
        // Are there entries from orderByColumns to add?
-       if (count($orderByColumns) > 0) {
+       if (isFilledArray($orderByColumns)) {
                // Add them as well
                $sql .= ' ORDER BY ';
                foreach ($orderByColumns as $orderByColumn => $array) {
diff --git a/inc/yearly/.htaccess b/inc/yearly/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/inc/yearly/yearly_ b/inc/yearly/yearly_
new file mode 100644 (file)
index 0000000..2dc53ad
--- /dev/null
@@ -0,0 +1,58 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 09/08/2008 *
+ * ===================                          Last change: 06/20/2010 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : yearly_                                          *
+ * -------------------------------------------------------------------- *
+ * Short description :                                                  *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  :                                                  *
+ * -------------------------------------------------------------------- *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2013 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')) {
+       die();
+} elseif ((!isHtmlOutputMode()) || (!isYearlyResetEnabled())) {
+       // Do not execute when script is in non-HTML mode or no daily reset
+       return;
+} elseif (!isExtensionActive('')) {
+       if (isDebugModeEnabled()) logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext- disabled.');
+       return;
+}
+
+// Debug line
+//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Yearly reset started.');
+
+// Start your yearly-reset things here
+
+// Debug line
+//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Yearly reset ended.');
+
+// [EOF]
+?>
diff --git a/js.php b/js.php
index fa81a756160178d9d27448d5c2e315171929aeed..5594b86993c92f76793bacf83324b8cc1bf4c4f7 100644 (file)
--- a/js.php
+++ b/js.php
@@ -44,13 +44,15 @@ require('inc/libs/security_functions.php');
 // Init start time
 $GLOBALS['__start_time'] = microtime(TRUE);
 
-// This is a fake-CSS file loader, more a JavaScript loader...
-// This is in one way good and in one not. The whole reset part will be
-// by-passed even in this "faked" CSS mode. The bad news is that this makes all
-// JS calls on this script to CSS calls. So no real "request" like in MVC
-// pattern is given...
-//
-// But Mailer-Project 0.3.0 will show that in better way! :D :D :D
+/*
+ * This is a fake-CSS file loader, more a JavaScript loader...
+ * This is in one way good and in one not. The whole reset part will be
+ * by-passed even in this "faked" CSS mode. The bad news is that this makes all
+ * JS calls on this script to CSS calls. So no real "request" like in MVC
+ * pattern is given...
+ *
+ * But Mailer-Project 0.3.0 will show that in better way! :D :D :D
+ */
 $GLOBALS['__module']      = 'js';
 $GLOBALS['__output_mode'] = 1;
 
@@ -67,9 +69,7 @@ if (isGetRequestElementSet('js')) {
        loadIncludeOnce('inc/header.php');
 
        // Prepare include file for looking
-       $inc = sprintf("inc/js/js-%s.php",
-               getRequestElement('js')
-       );
+       $inc = sprintf('inc/js/js-%s.php', getRequestElement('js'));
 
        // Is that file readable?
        if (isIncludeReadable($inc)) {
index 69bd8a50c6f97d4cc0d479f8f9e5500e53c5bf1e..dd2f5c8f580fa9e3f91e836b7aae831164b9c7fa 100644 (file)
@@ -53,14 +53,17 @@ function setCurrentTabId (tabId) {
 
 // Checks whether a given element is visible by checking 'display: none'
 function isElementVisible (prefix, element) {
+       //* DEBUG: */ alert('isElementVisible(' + prefix + ',' + element + ') Called!');
+
        // Get element
        var el = document.getElementById(prefix + '_' + element);
+       //* DEBUG: */ alert('isElementVisible(): el=' + el);
 
        // Is element set?
        if ((el === null) || (el == undefined)) {
-               throw new '"' + prefix + '_' + element + '" does not exist.';
+               throw new ('prefix=' + prefix + ',element=' + element + ' does not exist.');
        } else if ((el.style.display == undefined) || (el.style.display == '')) {
-               throw new '"' + prefix + '_' + element + '" has no style.display element.';
+               throw new ('prefix=' + prefix + ',element=' + element + ' has no style.display element.');
        }
 
        // Default is visible
@@ -157,7 +160,7 @@ function getAjaxContent () {
        // Is it defined?
        if (data['ajax_content'] == undefined) {
                // Not set
-               throw new 'ajax_content requested but not set.';
+               throw new('ajax_content requested but not set.');
        } // END - if
 
        // Return it
@@ -229,10 +232,10 @@ function sendAjaxRequest (level, doValue, extra, isJson) {
                        // Is ajax_content set?
                        if (ajax_content.reply_content == undefined) {
                                // This shall not happen
-                               throw new 'ajax_content.reply_content not returned from ajax.php, please fix your scripts. (1)';
+                               throw new('ajax_content.reply_content not returned from ajax.php, please fix your scripts. (1)');
                        } else if (ajax_content.reply_content === null) {
                                // This shall not happen, too
-                               throw new 'ajax_content.reply_content=null from ajax.php, please fix your scripts. (2)';
+                               throw new('ajax_content.reply_content=null from ajax.php, please fix your scripts. (2)');
                        }
 
                        // Set AJAX reply
@@ -240,6 +243,13 @@ function sendAjaxRequest (level, doValue, extra, isJson) {
 
                        // Mark it as success
                        setAjaxSuccess(true);
+
+                       // Was there a redirect?
+                       if ((ajax_content.redirect != undefined) && (ajax_content.redirect != null)) {
+                               // Redirect URL detected
+                               // @TODO Need this be secured?
+                               document.location.href = ajax_content.redirect;
+                       } // END - if
                },
 
                // Called in case of an error (e.g. HTTP response status not '200 OK')
@@ -254,7 +264,7 @@ function sendAjaxRequest (level, doValue, extra, isJson) {
                                        // Is 'reply_content' set?
                                        if (obj.reply_content == undefined) {
                                                // This shall not happen
-                                               throw new 'obj.reply_content not returned from ajax.php, please fix your scripts. (3)';
+                                               throw new('obj.reply_content not returned from ajax.php, please fix your scripts. (3)');
                                        } // END - if
 
                                        // Set it
@@ -262,15 +272,22 @@ function sendAjaxRequest (level, doValue, extra, isJson) {
                                        return false;
                                } else {
                                        // This shall not happen
-                                       throw new 'ajax_content.reply_content not returned from ajax.php, please fix your scripts. (4)';
+                                       throw new('ajax_content.reply_content not returned from ajax.php, please fix your scripts. (4)');
                                }
                        } else if (ajax_content.reply_content === null) {
                                // This shall not happen, too
-                               throw new 'ajax_content.reply_content=null from ajax.php, please fix your scripts. (5)';
+                               throw new('ajax_content.reply_content=null from ajax.php, please fix your scripts. (5)');
                        }
 
                        // Set AJAX reply
                        setAjaxReply(ajax_content.reply_content, isJson);
+
+                       // Was there a redirect?
+                       if ((ajax_content.redirect != undefined) && (ajax_content.redirect != null)) {
+                               // Redirect URL detected
+                               // @TODO Need this be secured?
+                               document.location.href = ajax_content.redirect;
+                       } // END - if
                }
        });
 
@@ -407,12 +424,15 @@ function displayChangedWarningWindow (prefix, button) {
        closeAllWindows(prefix);
 
        // Abort here if warningDisplayed is still true
+       //* DEBUG: */ alert('displayChangedWarningWindow(): Calling isElementVisible(' + prefix + ', warning)');
        if (isElementVisible(prefix, 'warning')) {
                // Make sure this doesn't happen
+               //* DEBUG: */ alert('displayChangedWarningWindow(): isElementVisible(' + prefix + ', warning)=true');
                return;
        } // END - if
 
        // Request it from the AJAX backend
+       //* DEBUG: */ alert('displayChangedWarningWindow(): Calling sendAjaxRequest(' + prefix + ', button=' + button  + ',changedElements()=' + changedElements.join(':') + ')');
        if (sendAjaxRequest(prefix, 'change_warning', '&button=' + button + '&elements=' + changedElements.join(':')) === true) {
                // Transfer the returned content to the prefix_warning_content id
                setWarningContent(prefix, getAjaxContent());
@@ -522,10 +542,15 @@ function setSuccessContent (prefix, content) {
 
 // Close all windows
 function closeAllWindows (prefix) {
+       //* DEBUG: */ alert('closeAllWindows(): Calling closeWarningWindow(' + prefix + ', true, false)');
        closeWarningWindow(prefix, true, false);
+       //* DEBUG: */ alert('closeAllWindows(): Calling closeErrorWindow(' + prefix + ', true, false)');
        closeErrorWindow(prefix, true, false);
+       //* DEBUG: */ alert('closeAllWindows(): Calling closeProgressWindow(' + prefix + ', true, false)');
        closeProgressWindow(prefix, true, false);
+       //* DEBUG: */ alert('closeAllWindows(): Calling closeSuccessWindow(' + prefix + ', true, false)');
        closeSuccessWindow(prefix, true, false);
+       //* DEBUG: */ alert('closeAllWindows(): EXIT!');
 }
 
 // Waits until the window has been closed
@@ -619,6 +644,7 @@ function closeSuccessLocked (prefix) {
 // Closes an success window
 function closeSuccessWindow (prefix, waitClose, resetCurrentTabId) {
        // Is the success displayed?
+       //* DEBUG: */ alert('closeSuccessWindow(): prefix=' + prefix + ',waitClose=' + waitClose + ',resetCurrentTabId=' + resetCurrentTabId + ' - ENTERED!');
        if (isElementVisible(prefix, 'success')) {
                // Shall we wait ("sync") until the animation has completed?
                if (waitClose === true) {
@@ -640,6 +666,7 @@ function closeSuccessWindow (prefix, waitClose, resetCurrentTabId) {
                        closeSuccessLocked(prefix);
                } // END - if
        } // END - if
+       //* DEBUG: */ alert('closeSuccessWindow(): prefix=' + prefix + ',waitClose=' + waitClose + ',resetCurrentTabId=' + resetCurrentTabId + ' - EXIT!');
 }
 
 // Waits until the window has been closed
@@ -913,7 +940,7 @@ function doSaveChangesContinue (prefix, htmlId, tab) {
        saveChanges(prefix);
 
        // Close the window
-       //* DEBUG: */ alert('doSaveChangesPage(): prefix=' + prefix + ',htmlId=' + htmlId + ',tab=' + tab + ' - calling closeWarningWindow()');
+       //* DEBUG: */ alert('doSaveChangesContinue(): prefix=' + prefix + ',htmlId=' + htmlId + ',tab=' + tab + ' - calling closeWarningWindow()');
        closeWarningWindow(prefix, true, false);
 
        // Load requested content
index f2cc0b7be89fad854b447d6865a66bee0cce0ec1..cb8af56acac7e947f6ad0e999cbb4603bc0a4947 100644 (file)
@@ -36,6 +36,7 @@ var failedStep = '';
 installationSteps[0] = 'import_tables_sql';
 installationSteps[1] = 'import_menu_sql';
 installationSteps[2] = 'install_extensions';
+installationSteps[3] = 'register_first_admin';
 
 // Always keep as last step
 installationSteps[installationSteps.length] = 'write_local_config';
@@ -91,7 +92,10 @@ function doInstallationLoop () {
        if (counterSuccess != installationSteps.length) {
                // Display error message
                displayErrorWindow('install', getAjaxContent() + ':' + counterSuccess + '/' + installationSteps.length + ':' + failedStep);
-       } // END - if
+       } else {
+               // Redirect to admin.php
+               document.location.href = 'admin.php';
+       }
 }
 
 // Sends an "installation step" request out
index 909601bc20ec95f8eb57f2cb653b5229b63cbbe3..4353b64bb70376c2d3e87e77597729d01b9dd44e 100644 (file)
@@ -35,7 +35,8 @@ indexTranslation[2] = 'database_config';
 indexTranslation[3] = 'smtp_config';
 indexTranslation[4] = 'other_config';
 indexTranslation[5] = 'extensions';
-indexTranslation[6] = 'overview';
+indexTranslation[6] = 'first_admin';
+indexTranslation[7] = 'overview';
 
 // Always last ...
 indexTranslation[indexTranslation.length] = 'finish';
@@ -50,7 +51,8 @@ nextPage['base_data']       = 'database_config';
 nextPage['database_config'] = 'smtp_config';
 nextPage['smtp_config']     = 'other_config';
 nextPage['other_config']    = 'extensions';
-nextPage['extensions']      = 'overview';
+nextPage['extensions']      = 'first_admin';
+nextPage['first_admin']     = 'overview';
 nextPage['overview']        = 'finish';
 
 // 'previous page' linking, key is current page, value is the previous page
@@ -62,5 +64,6 @@ previousPage['database_config'] = 'base_data';
 previousPage['smtp_config']     = 'database_config';
 previousPage['other_config']    = 'smtp_config';
 previousPage['extensions']      = 'other_config';
-previousPage['overview']        = 'extensions';
+previousPage['first_admin']     = 'extensions';
+previousPage['overview']        = 'first_admin';
 previousPage['finish']          = 'overview';
diff --git a/js/jquery-ui.custom.js b/js/jquery-ui.custom.js
deleted file mode 100644 (file)
index 19e0af8..0000000
+++ /dev/null
@@ -1 +0,0 @@
-// @DEPRECATED
diff --git a/js/jquery-uncompressed.js b/js/jquery-uncompressed.js
deleted file mode 100644 (file)
index 19e0af8..0000000
+++ /dev/null
@@ -1 +0,0 @@
-// @DEPRECATED
index 21cbc8922d77b75c48d4cf9d90225aadb0379056..a1b85addaad04d28b3a00b67fdfea1f53e31fdf1 100644 (file)
@@ -55,10 +55,10 @@ require('inc/config-global.php');
 setContentType('text/html');
 setHttpStatus('404 Not Found');
 
-// Is the extension mailid active?
+// Is ext-mailid active?
 redirectOnUninstalledExtension('mailid');
 
-// Is the extension other active?
+// Is ext-other active?
 redirectOnUninstalledExtension('other');
 
 // Init data
@@ -80,18 +80,18 @@ if (isGetRequestElementSet('type'))   $data['type']   = getRequestElement('type'
 
 // @TODO Improve check on $data['type'], empty() is not very much ...
 if ((isValidId($data['userid'])) && (isValidId($data['id'])) && (!empty($data['type'])) && (!ifFatalErrorsDetected())) {
-       // No image?
-       if ($data['do'] != 'img') {
-               // ... then output header
-               loadIncludeOnce('inc/header.php');
-       } // END - fi
-
        // Is 'do' still "frames"?
        if ($data['do'] == 'frames') {
                // This is a frameset module
                $GLOBALS['frameset_mode'] = TRUE;
        } // END - if
 
+       // No image?
+       if ($data['do'] != 'img') {
+               // ... then output header
+               loadIncludeOnce('inc/header.php');
+       } // END - fi
+
        // Init result for below sqlNumRows() function
        $result_main = FALSE;
 
@@ -123,12 +123,12 @@ if ((isValidId($data['userid'])) && (isValidId($data['id'])) && (!empty($data['t
                // @TODO Rewrite this to a filter/function
                switch ($data['link_type']) {
                        case 'NORMAL':
-                               $result_mailid = sqlQueryEscaped("SELECT `pool_id`, `userid` AS `sender` FROM `{?_MYSQL_PREFIX?}_user_stats` WHERE `id`=%s LIMIT 1",
+                               $result_mailid = sqlQueryEscaped("SELECT `pool_id`, `userid` AS `sender`, `url` FROM `{?_MYSQL_PREFIX?}_user_stats` WHERE `id`=%s LIMIT 1",
                                        array($data['id']), __FILE__, __LINE__);
                                break;
 
                        case 'BONUS':
-                               $result_mailid = sqlQueryEscaped("SELECT `id` AS `pool_id`, `is_notify` FROM `{?_MYSQL_PREFIX?}_bonus` WHERE `id`=%s LIMIT 1",
+                               $result_mailid = sqlQueryEscaped("SELECT `id` AS `pool_id`, `is_notify`, `url` FROM `{?_MYSQL_PREFIX?}_bonus` WHERE `id`=%s LIMIT 1",
                                        array($data['id']), __FILE__, __LINE__);
                                break;
 
diff --git a/mailid_top.php b/mailid_top.php
deleted file mode 100644 (file)
index f551ef4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// @DEPRECATED
-?>
index 97f9bd3c0dd46236941ebc0e7dee5e136a7915e7..daffd41d3d372750a2f31112139add9581fd10f6 100644 (file)
@@ -70,7 +70,7 @@ if ((isValidId(getRequestElement('userid'))) && (getRequestElement('d') > 0) &&
                        break;
 
                default: // Invalid type
-                       logDebugMessage(__FILE__, __LINE__, sprintf("Invalid type %s detected.", getRequestElement('t')));
+                       logDebugMessage(__FILE__, __LINE__, sprintf('Invalid type %s detected.', getRequestElement('t')));
                        break;
        } // END - switch
 
diff --git a/templates/de/emails/admin/admin_autopurge_del_mails.tpl b/templates/de/emails/admin/admin_autopurge_del_mails.tpl
deleted file mode 100644 (file)
index 84d1ed3..0000000
+++ /dev/null
@@ -1 +0,0 @@
-@DEPRECATED
diff --git a/templates/de/emails/admin/admin_autopurge_delete.tpl b/templates/de/emails/admin/admin_autopurge_delete.tpl
deleted file mode 100644 (file)
index 84d1ed3..0000000
+++ /dev/null
@@ -1 +0,0 @@
-@DEPRECATED
diff --git a/templates/de/emails/admin/admin_autopurge_inactive.tpl b/templates/de/emails/admin/admin_autopurge_inactive.tpl
deleted file mode 100644 (file)
index 84d1ed3..0000000
+++ /dev/null
@@ -1 +0,0 @@
-@DEPRECATED
diff --git a/templates/de/emails/admin/admin_autopurge_points.tpl b/templates/de/emails/admin/admin_autopurge_points.tpl
deleted file mode 100644 (file)
index 84d1ed3..0000000
+++ /dev/null
@@ -1 +0,0 @@
-@DEPRECATED
diff --git a/templates/de/emails/admin/admin_autopurge_tsks.tpl b/templates/de/emails/admin/admin_autopurge_tsks.tpl
deleted file mode 100644 (file)
index 84d1ed3..0000000
+++ /dev/null
@@ -1 +0,0 @@
-@DEPRECATED
diff --git a/templates/de/emails/admin/admin_autopurge_turbo.tpl b/templates/de/emails/admin/admin_autopurge_turbo.tpl
deleted file mode 100644 (file)
index 84d1ed3..0000000
+++ /dev/null
@@ -1 +0,0 @@
-@DEPRECATED
diff --git a/templates/de/emails/admin/admin_autopurge_unconfirmed.tpl b/templates/de/emails/admin/admin_autopurge_unconfirmed.tpl
deleted file mode 100644 (file)
index 84d1ed3..0000000
+++ /dev/null
@@ -1 +0,0 @@
-@DEPRECATED
index b3a9aa34b7bae36619f691e4ddfdd7113caa595e..0ba17c4a00ed857b7224dafadee3ed7ef41a7245 100644 (file)
@@ -1,6 +1,6 @@
 Hallo Administrator,
 
-es wurden folgende Mitglieder-Account durch die Urlaubsschaltung wieder freigegeben:
+es wurden folgende Mitgliedaccount durch die Urlaubsschaltung wieder freigegeben:
 
 --------------------------------
 $content
@@ -9,4 +9,4 @@ $content
 Mit freundlichen Gr&uuml;&szlig;en,
   Ihr {?MAIN_TITLE?} Script
 
-{?URL?}/admin.php
\ No newline at end of file
+{?URL?}/admin.php
diff --git a/templates/de/emails/admin/admin_only_forced_campaign_pending_active.tpl b/templates/de/emails/admin/admin_only_forced_campaign_pending_active.tpl
new file mode 100644 (file)
index 0000000..2401faa
--- /dev/null
@@ -0,0 +1,25 @@
+Hallo Administrator,
+
+ein Administrator hat soeben eine Forced-Kampagne freigeschaltet.
+
+Hier sind alle Daten dazu:
+------------------------------------------
+Kampagnen-Id: $content[forced_campaign_id]
+------------------------------------------
+Kampagne erstellt: $content[forced_campaign_created]
+------------------------------------------
+Klicks &uuml;brig: {%pipe,translateComma=$content[forced_campaign_ordered_clicks]%}
+------------------------------------------
+Reload-Sperre: {%pipe,createFancyTime=$content[forced_campaign_reload_lock]%}
+------------------------------------------
+Mindestauffenthalt: {%pipe,createFancyTime=$content[forced_campaign_minimum_stay]%}
+------------------------------------------
+Forced-Werbemittel: $content[forced_ads_id]
+------------------------------------------
+Kosten-Id: $content[forced_costs_id]
+------------------------------------------
+
+Mit freundlichen Gr&uuml;&szlig;en,
+  Ihr {?MAIN_TITLE?} Script
+
+{?URL?}/admin.php
index 047ad6602eda6f124c20b5d63f0dd01c85a5af3e..835301a71a0a2162c47132d57363174cbd0f5297 100644 (file)
@@ -3,7 +3,7 @@ Hallo Administrator,
 In Ihrem {?mt_word?} wurden $content[count] Aufgaben gel&ouml;scht.
 
 --------------------------------------------------------------------------
- {--ID_SELECT--} | {--ADMIN_ASSIGNED_ADMIN_EMAIL--} | {--ADMIN_MEMBER_USERID_EMAIL--} | {--ADMIN_TASK_INFOS_EMAIL--} | {--ADMIN_TASK_TYPE_EMAIL--} | {--ADMIN_TASK_CREATED_EMAIL--}
+ {--ID_SELECT--} | {--ADMIN_TASK_ASSIGNED_ADMIN_EMAIL--} | {--ADMIN_ASSIGNED_USERID_EMAIL--} | {--ADMIN_TASK_INFOS--} | {--ADMIN_TASK_TYPE--} | {--ADMIN_TASK_CREATED_EMAIL--}
 --------------------------------------------------------------------------
 $content[rows]
 --------------------------------------------------------------------------
index 3a03ec4cf58a366547fff5ce08ef4a5dc8c0467d..cddbf25485fe07ed3c4580aa889fe72df9ae6c0e 100644 (file)
@@ -18,7 +18,7 @@ $content[holiday_comments]
 
 ------------------------------
 
-Ihre Urlaubsschaltung ist hiermit wieder aufgehoben. Sie k&ouml;nnen sich wieder in Ihren Mitglieder-Account einloggen. Verwenden Sie den unten stehenden Link dazu.
+Ihre Urlaubsschaltung ist hiermit wieder aufgehoben. Sie k&ouml;nnen sich wieder in Ihren Mitgliedaccount einloggen. Verwenden Sie den unten stehenden Link dazu.
 
 Mit freundlichen Gr&uuml;&szlig;en,
   Ihr {?MAIN_TITLE?} Team
index cc4d110cc3ea25635e4d737873fea2c3dace8ef5..512e409f3af138c216e1fea282dba3f81ef9347a 100644 (file)
@@ -2,7 +2,7 @@
 {%form,formMethodGet=modules.php%}
 <div class="dashed">
        <div class="table_header bottom">
-               <strong>{%message,ADMIN_ADD_CONFIG_NETWORK_HANDLER_TYPE_TITLE=$content[network_type_handler]%}</strong>
+               {%message,ADMIN_ADD_CONFIG_NETWORK_HANDLER_TYPE_TITLE=$content[network_type_handler]%}
        </div>
 
        <div class="bottom">
index c47b000fc32874c6d987e36e0a042b5782ad69ce..e917f3aff8c0effa836152e9fe8650e5cd13b7fe 100644 (file)
@@ -3,7 +3,7 @@
 <div class="table dashed">
        <div class="table_header bottom">
                <div>
-                       <strong>{%message,ADMIN_ADD_CONFIG_NETWORK_HANDLER_TYPE_TITLE=$content[network_type_handler]%}</strong>
+                       {%message,ADMIN_ADD_CONFIG_NETWORK_HANDLER_TYPE_TITLE=$content[network_type_handler]%}
                </div>
                <div class="tiny">
                        ({%network,generateMetworkReferralLinkById=%network_id%%})
diff --git a/templates/de/html/admin/admin_add_network_vcheck_param.tpl b/templates/de/html/admin/admin_add_network_vcheck_param.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
index ada3a50cc736177153afcaa9c32c17f723c20b94..3d45124f860b6bd014f4a64645260920dc795b00 100644 (file)
@@ -37,7 +37,7 @@
                </td>
        </tr>
        <tr>
-               <td colspan="3" align="center" class="table_header bottom" height="40">
+               <td colspan="3" align="center" class="table_header bottom">
                        <strong>{--ADMIN_PAYOUT_OPTIONAL_SETTINGS--}:</strong>
                </td>
        </tr>
diff --git a/templates/de/html/admin/admin_add_reflevel.tpl b/templates/de/html/admin/admin_add_reflevel.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/admin/admin_add_reflvl.tpl b/templates/de/html/admin/admin_add_reflvl.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/admin/admin_add_shop_cat.tpl b/templates/de/html/admin/admin_add_shop_cat.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
index 88491f426193b24498f455b084805ef4fc808942..4922ba627c7807b37328cd006304647ff246afc5 100644 (file)
                        <div align="left">{%config,generateGenderSelectionBox=tester_user_gender%}</div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="tester_user_surname_prefix">{--ADMIN_ADD_TESTER_USER_SURNAME--}</label>
                        <div align="left"><em>{?tester_user_surname_prefix?}{%pipe,getNextFreeTesterUserNumber%}</em></div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="tester_user_family">{--ADMIN_ADD_TESTER_USER_FAMILY--}</label>
                        <div align="left"><input type="text" class="form_field" name="family" value="{?tester_user_family?}" size="10" maxlength="255" /></div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="tester_user_street_nr">{--ADMIN_ADD_TESTER_USER_STREET_NR--}</label>
                        <div align="left"><input type="text" class="form_field" name="street_nr" value="{?tester_user_street_nr?}" size="15" maxlength="255" /></div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="tester_user_default_refid">{--ADMIN_ADD_TESTER_USER_COUNTRY--}</label>
                        <div align="left">{%pipe,addCountryCodeSelectionBox%}</div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="tester_user_zip">{--ADMIN_ADD_TESTER_USER_ZIP--}</label>
                        <div align="left"><input type="text" class="form_field" name="zip" value="{?tester_user_zip?}" size="6" maxlength="6" /></div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="tester_user_city">{--ADMIN_ADD_TESTER_USER_CITY--}</label>
                        <div align="left"><input type="text" class="form_field" name="city" value="{?tester_user_city?}" size="10" maxlength="255" /></div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="tester_user_email">{--ADMIN_ADD_TESTER_USER_EMAIL--}</label>
                        <div align="left"><input type="text" class="form_field" name="email" value="{?tester_user_email?}" size="20" maxlength="255" /></div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="tester_user_email">{--ADMIN_ADD_TESTER_USER_BIRTHDAY--}</label>
                        <input type="hidden" name="day" value="01" />
@@ -55,6 +71,8 @@
                        <div align="left">01.01.1970</div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="tester_user_default_refid">{--ADMIN_ADD_TESTER_USER_DEFAULT_REFID--}</label>
                        <div align="left">{%pipe,addTesterUserDefaultRefidSelectionBox=refid%}</div>
@@ -81,6 +99,8 @@
                        <input type="password" class="form_field" name="password1" value="{?tester_user_password?}" size="10" maxlength="255" />
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="tester_user_email">{--ADMIN_ADD_TESTER_USER_PASSWORD2--}</label>
                        <input type="password" class="form_field" name="password2" value="{?tester_user_password?}" size="10" maxlength="255" />
diff --git a/templates/de/html/admin/admin_admins_contact_form.tpl b/templates/de/html/admin/admin_admins_contact_form.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
index c7637575c2c0858f3333d290f53859e0c5d1abf6..244145714f77244f54a0d29553e0aa4101e7341f 100644 (file)
@@ -1,26 +1,29 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=admins_mails%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td colspan="2" align="center" class="table_header">
-                       <strong>{--ADMIN_EDIT_ADMINS_MAILS_TITLE--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td class="header_column bottom right" align="center">
-                       <strong>{--ADMIN_ADMINS_TEMPLATE--}:</strong>
-               </td>
-               <td class="header_column bottom" align="center">
-                       <strong>{--ADMIN_ADMINS_CONTACT--}:</strong>
-               </td>
-       </tr>
-       $content
-       <tr>
-               <td 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_EDIT_ADMINS_MAILS_SUBMIT--}" />
-               </td>
-       </tr>
+<tr>
+       <td colspan="2" align="center" class="table_header">
+               {--ADMIN_EDIT_ADMINS_MAILS_TITLE--}
+       </td>
+</tr>
+
+<tr>
+       <td class="header_column bottom right" align="center">
+               {--ADMIN_ADMINS_TEMPLATE--}
+       </td>
+       <td class="header_column bottom" align="center">
+               {--ADMIN_ADMINS_CONTACT--}
+       </td>
+</tr>
+
+$content
+
+<tr>
+       <td 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_EDIT_ADMINS_MAILS_SUBMIT--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index 1bd75e77247e27d7d44fd75581a67982b724839d..b1e6ed6a717822ca77ed8562e0049e10dfdc03db 100644 (file)
@@ -1,29 +1,32 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=admins_mails%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td colspan="3" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_LIST_ADMINS_MAILS_TITLE--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td width="30" class="header_column bottom right" align="center">
-                       <strong>{--ID_SELECT--}</strong>
-               </td>
-               <td width="235" class="header_column bottom right" align="center">
-                       <strong>{--ADMIN_ADMINS_TEMPLATE--}:</strong>
-               </td>
-               <td width="235" class="header_column bottom" align="center">
-                       <strong>{--ADMIN_ADMINS_CONTACT--}:</strong>
-               </td>
-       </tr>
-       $content
-       <tr>
-               <td colspan="3" 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--}" />
-               </td>
-       </tr>
+<tr>
+       <td colspan="3" align="center" class="table_header bottom">
+               {--ADMIN_LIST_ADMINS_MAILS_TITLE--}
+       </td>
+</tr>
+
+<tr>
+       <td width="30" class="header_column bottom right" align="center">
+               {--ID_SELECT--}
+       </td>
+       <td width="235" class="header_column bottom right" align="center">
+               {--ADMIN_ADMINS_TEMPLATE--}
+       </td>
+       <td width="235" class="header_column bottom" align="center">
+               {--ADMIN_ADMINS_CONTACT--}
+       </td>
+</tr>
+
+$content
+
+<tr>
+       <td colspan="3" 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--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index 381567612fcf60bfdbfd0e9935ca92cb775f5777..22ea5f39006d028e3f07bc1d0d1416ecd9b66e60 100644 (file)
@@ -2,7 +2,7 @@
 {%form,formMethodPost=modules.php?module=admin&amp;what=config_foo%}
 <div class="table dashed">
        <div class="table_header bottom">
-               <strong>{--ADMIN_CONFIG_FOO_TITLE--}</strong>
+               {--ADMIN_CONFIG_FOO_TITLE--}
        </div>
 
        <fieldset id="config_foo_my_stuff">
@@ -14,6 +14,8 @@
                                <input type="text" class="form_field" name="foo_stuff_bar" value="{?foo_stuff_bar?}" />
                        </div>
                </div>
+
+               <!-- Don't forget: <div class="clear"></div> //-->
        </fieldset>
 
        <div class="table_footer top">
index bea3526cb331911b28f5cdd5495d97bf34a6ebb1..360098b255e48bb893b617f0dcc8bff67f6159ea 100644 (file)
@@ -3,11 +3,11 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
        <tr>
                <td class="table_header bottom" colspan="2" align="center">
-                       <strong>{--ADMIN_CONFIG_ACTIVE_TITLE--}:</strong>
+                       {--ADMIN_CONFIG_ACTIVE_TITLE--}
                </td>
        </tr>
        <tr>
-               <td class="bottom" align="right">{--ADMIN_CONFIG_ACTIVE_LIMIT--}:</td>
+               <td class="bottom" align="right">{--ADMIN_CONFIG_ACTIVE_LIMIT--}</td>
                <td class="bottom" align="center">
                        <input type="input" name="active_limit" class="form_field" value="{?active_limit?}" size="5" maxlength="20" />
                </td>
index 35b1ac63f7bbcf5917e412d0e11c1c38e7341b65..5643bf43225af8725ba30a435133540674f39888 100644 (file)
@@ -2,7 +2,7 @@
 {%form,formMethodPost=modules.php?module=admin&amp;what=config_admin%}
 <div class="table dashed">
        <div class="table_header bottom">
-               <strong>{--ADMIN_CONFIG_ADMIN_MENU_TITLE--}</strong>
+               {--ADMIN_CONFIG_ADMIN_MENU_TITLE--}
        </div>
 
        <fieldset id="config_admin_menu_type_fields">
@@ -15,6 +15,8 @@
                        </div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="admin_menu">{--ADMIN_CONFIG_ADMIN_MENU_OLD--}</label>
                        <div align="center">
index 4f2b71ae98ebcee03c7fec1a5baea6ff87db7fab..92a518efc822aee8644fe81f119a31f730c0add4 100644 (file)
@@ -2,7 +2,7 @@
 {%form,formMethodPost=modules.php?module=admin&amp;what=config_autopurge%}
 <div class="table dashed">
        <div align="center" class="table_header bottom">
-               <strong>{--ADMIN_CONFIG_AUTOPURGE_TITLE--}</strong>
+               {--ADMIN_CONFIG_AUTOPURGE_TITLE--}
        </div>
 
        <fieldset id="autopurge_inactive_fields">
                        <div align="center">{%template,ConfigurationYesNoSelectionBox=ap_inactive_selection%}</div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="ap_inactive_since">{--ADMIN_CONFIG_AUTOPURGE_INACTIVE_SINCE--}</label>
                        <div align="center">$content[ap_in_since]</div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="ap_inactive_time">{--ADMIN_CONFIG_AUTOPURGE_INACTIVE_TIME--}</label>
                        <div align="center">$content[ap_in_time]</div>
@@ -32,6 +36,8 @@
                        <div align="center">{%template,ConfigurationYesNoSelectionBox=ap_unconfirmed_selection%}</div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="ap_un_time">{--ADMIN_CONFIG_AUTOPURGE_UNCONFIRMED_TIME--}</label>
                        <div align="center">$content[ap_un_time]</div>
@@ -46,6 +52,8 @@
                        <div align="center">{%template,ConfigurationYesNoSelectionBox=ap_tasks_selection%}</div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="ap_task_time">{--ADMIN_CONFIG_AUTOPURGE_TASKS_TIME--}</label>
                        <div align="center">$content[ap_task_time]</div>
                        <div align="center">{%template,ConfigurationYesNoSelectionBox=auto_purge%}</div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="auto_purge">{--ADMIN_CONFIG_MAIL_LIFETIME--}</label>
                        <div align="center">$content[auto_purge]</div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="ap_notify_del_mails">{--ADMIN_CONFIG_AUTOPURGE_NOTIFY_DELETE_MAILS--}</label>
                        <div align="center">{%template,ConfigurationYesNoSelectionBox=ap_notify_del_mails%}</div>
@@ -79,6 +91,8 @@
                        <div align="center">{%template,ConfigurationYesNoSelectionBox=ap_del_mails_selection%}</div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="ap_del_mails_time">{--ADMIN_CONFIG_AUTOPURGE_DELETE_MAILS_TIME--}</label>
                        <div align="center">$content[ap_del_mails_time]</div>
                        <div align="center">{%template,ConfigurationYesNoSelectionBox=ap_server_name%}</div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="ap_un_time">{--ADMIN_CONFIG_AUTOPURGE_SERVER_NAME_LOG_TIME--}</label>
                        <div align="center">$content[ap_server_name_since]</div>
                        <div align="center">{%template,ConfigurationYesNoSelectionBox=ap_notify_inactive%}</div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="ap_notify_unconfirmed">{--ADMIN_CONFIG_AUTOPURGE_NOTIFY_UNCONFIRMED--}</label>
                        <div align="center">{%template,ConfigurationYesNoSelectionBox=ap_notify_unconfirmed%}</div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="ap_notify_tasks">{--ADMIN_CONFIG_AUTOPURGE_NOTIFY_TASKS--}</label>
                        <div align="center">{%template,ConfigurationYesNoSelectionBox=ap_notify_tasks%}</div>
diff --git a/templates/de/html/admin/admin_config_autopurge_pro.tpl b/templates/de/html/admin/admin_config_autopurge_pro.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
index f533da498ed656166d0287f2a021c6030d96238e..8235463b5f6a412edc98bf3e86f151fd457da12c 100644 (file)
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=config_beg%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_BEG_TITLE--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td align="right" width="200" height="20">
-                       {--ADMIN_CONFIG_BEG_POINTS--}:
-               </td>
-               <td width="295" align="center">
-                       <input type="text" class="form_field" name="beg_points" size="7" maxlength="10" value="{%config,translateComma=beg_points%}" />
-               </td>
-       </tr>
-       <tr>
-               <td align="right" width="300" height="20">
-                       {--ADMIN_CONFIG_BEG_POINTS_MAX--}:
-               </td>
-               <td width="195" align="center">
-                       <input type="text" class="form_field" name="beg_points_max" size="7" maxlength="10" value="{%config,translateComma=beg_points_max%}" />
-               </td>
-       </tr>
-       <tr>
-               <td align="right" height="20">
-                       {--ADMIN_CONFIG_BEG_TIMEOUT--}:
-               </td>
-               <td align="center">
-                       $content[timeout]
-               </td>
-       </tr>
-       <tr>
-               <td align="right" height="20">
-                       {--ADMIN_CONFIG_BEG_USERID_TIMEOUT--}:
-               </td>
-               <td align="center">
-                       $content[userid_timeout]
-               </td>
-       </tr>
-       <tr>
-               <td align="right" height="20">
-                       {--ADMIN_CONFIG_BEG_REMOTE_IP_TIMEOUT--}:
-               </td>
-               <td align="center">
-                       $content[beg_ip_timeout]
-               </td>
-       </tr>
-       <tr>
-               <td class="bottom" align="right" height="20">{--ADMIN_CONFIG_BEG_USERID--}:</td>
-               <td class="bottom" align="center">
-                       $content[beg_userid]
-               </td>
-       </tr>
-       <tr>
-               <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_BEG_RALLYE_TITLE--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td align="right" height="20">
-                       {--ADMIN_CONFIG_BEG_RALLYE_ACTIVE--}
-               </td>
-               <td align="center">
-                       {%template,ConfigurationYesNoSelectionBox=beg_rallye%}
-               </td>
-       </tr>
-       <tr>
-               <td align="right" height="20">
-                       {--ADMIN_CONFIG_BEG_INCLUDE_OWN--}
-               </td>
-               <td align="center">
-                       {%template,ConfigurationYesNoSelectionBox=beg_include_own%}
-               </td>
-       </tr>
-       <tr>
-               <td align="right" height="20">
-                       {--ADMIN_CONFIG_BEG_RANKS--}
-               </td>
-               <td align="center">
-                       <input type="text" class="form_field" name="beg_ranks" size="3" maxlength="7" value="{?beg_ranks?}" />
-               </td>
-       </tr>
-       <tr>
-               <td align="right" height="20">
-                       {--ADMIN_CONFIG_BEG_RALLYE_ONLY_ACTIVE--}
-               </td>
-               <td align="center">
-                       {%template,ConfigurationYesNoSelectionBox=beg_active%}
-               </td>
-       </tr>
-       <tr>
-               <td class="bottom" align="right" height="20">
-                       {--ADMIN_CONFIG_BEG_PAY_MODE--}
-               </td>
-               <td class="bottom" align="center">
-                       <select class="form_select" name="beg_pay_mode" size="1">
-                               <option value="IMG"$content[pay_mode_img]>{--ADMIN_CONFIG_BEG_PAY_MODE_IMG--}</option>
-                               <option value="JS"$content[pay_mode_js]>{--ADMIN_CONFIG_BEG_PAY_MODE_JS--}</option>
-                               <option value="BOTH"$content[pay_mode_both]>{--ADMIN_CONFIG_BEG_PAY_MODE_BOTH--}</option>
-                               <option value="NONE"$content[pay_mode_none]>{--ADMIN_CONFIG_BEG_PAY_MODE_NONE--}</option>
-                       </select>
-               </td>
-       </tr>
-       <tr>
-               <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_BEG_RALLYE_NOTIFICATIONS_TITLE--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td align="right" height="20">
-                       {--ADMIN_CONFIG_BEG_RALLYE_ENABLE_NOTIFY--}
-               </td>
-               <td align="center">
-                       {%template,ConfigurationYesNoSelectionBox=beg_rallye_enable_notify%}
-               </td>
-       </tr>
-       <tr>
-               <td align="right" height="20">
-                       {--ADMIN_CONFIG_BEG_RALLYE_DISABLE_NOTIFY--}
-               </td>
-               <td align="center">
-                       {%template,ConfigurationYesNoSelectionBox=beg_rallye_disable_notify%}
-               </td>
-       </tr>
-       <tr>
-               <td align="right" height="20">
-                       {--ADMIN_CONFIG_BEG_NEW_MEMBER_NOTIFY--}
-               </td>
-               <td align="center">
-                       {%template,ConfigurationYesNoSelectionBox=beg_new_member_notify%}
-               </td>
-       </tr>
-       <tr>
-               <td align="right" height="20">
-                       {--ADMIN_CONFIG_BEG_NOTIFY_BONUS--}
-               </td>
-               <td align="center">
-                       <input type="text" class="form_field" name="beg_notify_bonus" size="3" maxlength="7" value="{%config,translateComma=beg_notify_bonus%}" />
-               </td>
-       </tr>
-       <tr>
-               <td class="bottom" align="right" height="20">
-                       {--ADMIN_CONFIG_BEG_NOTIFY_WAIT--}
-               </td>
-               <td class="bottom" align="center">
-                       $content[wait_selection]
-               </td>
-       </tr>
-       <tr>
-               <td colspan="2" class="table_footer">
-                       <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
-                       <input type="submit" class="form_submit" name="save_config" value="{--SAVE_SETTINGS--}" />
-               </td>
-       </tr>
+<tr>
+       <td colspan="2" align="center" class="table_header bottom">
+               {--ADMIN_CONFIG_BEG_TITLE--}
+       </td>
+</tr>
+
+<tr>
+       <td align="right" width="200" height="20">
+               {--ADMIN_CONFIG_BEG_POINTS--}
+       </td>
+       <td width="295" align="center">
+               <input type="text" class="form_field" name="beg_points" size="7" maxlength="10" value="{%config,translateComma=beg_points%}" />
+       </td>
+</tr>
+
+<tr>
+       <td align="right" width="300" height="20">
+               {--ADMIN_CONFIG_BEG_POINTS_MAX--}
+       </td>
+       <td width="195" align="center">
+               <input type="text" class="form_field" name="beg_points_max" size="7" maxlength="10" value="{%config,translateComma=beg_points_max%}" />
+       </td>
+</tr>
+
+<tr>
+       <td align="right" height="20">
+               {--ADMIN_CONFIG_BEG_TIMEOUT--}
+       </td>
+       <td align="center">
+               $content[timeout]
+       </td>
+</tr>
+
+<tr>
+       <td align="right" height="20">
+               {--ADMIN_CONFIG_BEG_USERID_TIMEOUT--}
+       </td>
+       <td align="center">
+               $content[userid_timeout]
+       </td>
+</tr>
+
+<tr>
+       <td align="right" height="20">
+               {--ADMIN_CONFIG_BEG_REMOTE_IP_TIMEOUT--}
+       </td>
+       <td align="center">
+               $content[beg_ip_timeout]
+       </td>
+</tr>
+
+<tr>
+       <td class="bottom" align="right" height="20">{--ADMIN_CONFIG_BEG_USERID--}</td>
+       <td class="bottom" align="center">
+               $content[beg_userid]
+       </td>
+</tr>
+
+<tr>
+       <td colspan="2" align="center" class="table_header bottom">
+               {--ADMIN_CONFIG_BEG_RALLYE_TITLE--}
+       </td>
+</tr>
+
+<tr>
+       <td align="right" height="20">
+               {--ADMIN_CONFIG_BEG_RALLYE_ACTIVE--}
+       </td>
+       <td align="center">
+               {%template,ConfigurationYesNoSelectionBox=beg_rallye%}
+       </td>
+</tr>
+
+<tr>
+       <td align="right" height="20">
+               {--ADMIN_CONFIG_BEG_INCLUDE_OWN--}
+       </td>
+       <td align="center">
+               {%template,ConfigurationYesNoSelectionBox=beg_include_own%}
+       </td>
+</tr>
+
+<tr>
+       <td align="right" height="20">
+               {--ADMIN_CONFIG_BEG_RANKS--}
+       </td>
+       <td align="center">
+               <input type="text" class="form_field" name="beg_ranks" size="3" maxlength="7" value="{?beg_ranks?}" />
+       </td>
+</tr>
+
+<tr>
+       <td align="right" height="20">
+               {--ADMIN_CONFIG_BEG_RALLYE_ONLY_ACTIVE--}
+       </td>
+       <td align="center">
+               {%template,ConfigurationYesNoSelectionBox=beg_active%}
+       </td>
+</tr>
+
+<tr>
+       <td class="bottom" align="right" height="20">
+               {--ADMIN_CONFIG_BEG_PAY_MODE--}
+       </td>
+       <td class="bottom" align="center">
+               <select class="form_select" name="beg_pay_mode" size="1">
+                       <option value="IMG"$content[pay_mode_img]>{--ADMIN_CONFIG_BEG_PAY_MODE_IMG--}</option>
+                       <option value="JS"$content[pay_mode_js]>{--ADMIN_CONFIG_BEG_PAY_MODE_JS--}</option>
+                       <option value="BOTH"$content[pay_mode_both]>{--ADMIN_CONFIG_BEG_PAY_MODE_BOTH--}</option>
+                       <option value="NONE"$content[pay_mode_none]>{--ADMIN_CONFIG_BEG_PAY_MODE_NONE--}</option>
+               </select>
+       </td>
+</tr>
+
+<tr>
+       <td colspan="2" align="center" class="table_header bottom">
+               {--ADMIN_CONFIG_BEG_RALLYE_NOTIFICATIONS_TITLE--}
+       </td>
+</tr>
+
+<tr>
+       <td align="right" height="20">
+               {--ADMIN_CONFIG_BEG_RALLYE_ENABLE_NOTIFY--}
+       </td>
+       <td align="center">
+               {%template,ConfigurationYesNoSelectionBox=beg_rallye_enable_notify%}
+       </td>
+</tr>
+
+<tr>
+       <td align="right" height="20">
+               {--ADMIN_CONFIG_BEG_RALLYE_DISABLE_NOTIFY--}
+       </td>
+       <td align="center">
+               {%template,ConfigurationYesNoSelectionBox=beg_rallye_disable_notify%}
+       </td>
+</tr>
+
+<tr>
+       <td align="right" height="20">
+               {--ADMIN_CONFIG_BEG_NEW_MEMBER_NOTIFY--}
+       </td>
+       <td align="center">
+               {%template,ConfigurationYesNoSelectionBox=beg_new_member_notify%}
+       </td>
+</tr>
+
+<tr>
+       <td align="right" height="20">
+               {--ADMIN_CONFIG_BEG_NOTIFY_BONUS--}
+       </td>
+       <td align="center">
+               <input type="text" class="form_field" name="beg_notify_bonus" size="3" maxlength="7" value="{%config,translateComma=beg_notify_bonus%}" />
+       </td>
+</tr>
+
+<tr>
+       <td class="bottom" align="right" height="20">
+               {--ADMIN_CONFIG_BEG_NOTIFY_WAIT--}
+       </td>
+       <td class="bottom" align="center">
+               $content[wait_selection]
+       </td>
+</tr>
+
+<tr>
+       <td colspan="2" class="table_footer">
+               <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+               <input type="submit" class="form_submit" name="save_config" value="{--SAVE_SETTINGS--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
diff --git a/templates/de/html/admin/admin_config_beg_pro.tpl b/templates/de/html/admin/admin_config_beg_pro.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
index ebd821ae11a22be11fa86671407e3924dc43bbef..4bbd95da2cca27a2333c639450035517b12edc72 100644 (file)
@@ -3,12 +3,12 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
        <tr>
                <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_BIRTHDAY_TITLE--}</strong>
+                       {--ADMIN_CONFIG_BIRTHDAY_TITLE--}
                </td>
        </tr>
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_BIRTHDAY_POINTS--}:
+                       {--ADMIN_CONFIG_BIRTHDAY_POINTS--}
                        <span class="notice">({--ADMIN_CONFIG_BIRTHDAY_POINTS_NOTICE--})</span>
                </td>
                <td>
index fef984e962eafef9a056ec5ab3ff72b7e98eeea1..b7756e16c93e82b3623743ae0076a1ea69d5be19 100644 (file)
@@ -2,7 +2,7 @@
 {%form,formMethodPost=modules.php?module=admin&amp;what=config_blacklist%}
 <div class="table dashed">
        <div class="table_header bottom">
-               <strong>{--ADMIN_CONFIG_BLACKLIST_TITLE--}</strong>
+               {--ADMIN_CONFIG_BLACKLIST_TITLE--}
        </div>
 
        <fieldset id="config_order_member_fields">
@@ -15,6 +15,8 @@
                        </div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="ip_blacklist">{--ADMIN_CONFIG_IP_BLACKLIST_ENABLED--}</label>
                        <div align="center">
@@ -22,6 +24,8 @@
                        </div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="url_blacklist">{--ADMIN_CONFIG_URL_BLACKLIST_ENABLED--}</label>
                        <div align="center">
index 6b6022c28fdac5dea54a12078f84ad1510926e28..1a396e727cddbc3dfa326e55a2deb9c0ea69528a 100644 (file)
@@ -3,7 +3,7 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
        <tr>
                <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_BONUS_RALLYE_TITLE--}</strong>
+                       {--ADMIN_CONFIG_BONUS_RALLYE_TITLE--}
                </td>
        </tr>
        <tr>
        </tr>
        <tr>
                <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_BONUS_TITLE--}</strong>
+                       {--ADMIN_CONFIG_BONUS_TITLE--}
                </td>
        </tr>
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_BONUS_ORDER--}:
+                       {--ADMIN_CONFIG_BONUS_ORDER--}
                </td>
                <td align="center">
                        <input type="text" class="form_field" name="bonus_order" size="8" maxlength="20" value="{%config,translateComma=bonus_order%}" />
@@ -78,7 +78,7 @@
        </tr>
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_BONUS_REFERRAL--}:
+                       {--ADMIN_CONFIG_BONUS_REFERRAL--}
                </td>
                <td align="center">
                        <input type="text" class="form_field" name="bonus_ref" size="8" maxlength="20" value="{%config,translateComma=bonus_ref%}" />
@@ -87,7 +87,7 @@
        </tr>
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_BONUS_STATS--}:
+                       {--ADMIN_CONFIG_BONUS_STATS--}
                </td>
                <td align="center">
                        <input type="text" class="form_field" name="bonus_stats" size="8" maxlength="20" value="{%config,translateComma=bonus_stats%}" />
@@ -96,7 +96,7 @@
        </tr>
        <tr>
                <td class="bottom" align="right">
-                       {--ADMIN_CONFIG_BONUS_LOGIN--}:
+                       {--ADMIN_CONFIG_BONUS_LOGIN--}
                </td>
                <td class="bottom" align="center">
                        <input type="text" class="form_field" name="login_bonus" size="8" maxlength="20" value="{%config,translateComma=login_bonus%}" />
        </tr>
        <tr>
                <td colspan="2" class="table_header bottom" align="center">
-                       <strong>{--ADMIN_CONFIG_BONUS_TURBO_TITLE--}:</strong>
+                       {--ADMIN_CONFIG_BONUS_TURBO_TITLE--}
                </td>
        </tr>
        <tr>
-               <td align="right">{--ADMIN_CONFIG_BONUS_TURBO--}:</td>
+               <td align="right">{--ADMIN_CONFIG_BONUS_TURBO--}</td>
                <td align="center">
                        <input type="text" class="form_field" name="turbo_bonus" size="10" maxlength="20" value="{%config,translateComma=turbo_bonus%}" />
                        <span class="notice">({?POINTS?})</span>
        </tr>
        <tr>
                <td class="bottom" align="right" valign="top">
-                       {--ADMIN_CONFIG_TURBO_RATES--}:<br />
+                       {--ADMIN_CONFIG_TURBO_RATES--}<br />
                        <br />
                        <div align="left">
                                <ol>
-                                       <li><strong>{--ADMIN_CONFIG_TURBO_RATES_NOTICE1--}:</strong></li>
+                                       <li>{--ADMIN_CONFIG_TURBO_RATES_NOTICE1--}</li>
                                        <li>{--ADMIN_CONFIG_TURBO_RATES_NOTICE2--}</li>
                                        <li>{--ADMIN_CONFIG_TURBO_RATES_NOTICE3--}</li>
                                        <li>{--ADMIN_CONFIG_TURBO_RATES_NOTICE4--}</li>
        </tr>
        <tr>
                <td colspan="2" class="table_header bottom" align="center">
-                       <strong>{--ADMIN_CONFIG_BONUS_TURBO_TIMEOUT_TITLE--}:</strong>
+                       {--ADMIN_CONFIG_BONUS_TURBO_TIMEOUT_TITLE--}
                </td>
        </tr>
        <tr>
-               <td align="right">{--ADMIN_CONFIG_BONUS_LOGIN_TIMEOUT--}:</td>
+               <td align="right">{--ADMIN_CONFIG_BONUS_LOGIN_TIMEOUT--}</td>
                <td align="center">$content[login_timeout_selection]</td>
        </tr>
        <tr>
-               <td class="bottom" align="right">{--ADMIN_CONFIG_BONUS_TIMEOUT--}:</td>
+               <td class="bottom" align="right">{--ADMIN_CONFIG_BONUS_TIMEOUT--}</td>
                <td class="bottom" align="center">$content[bonus_timeout_selection]</td>
        </tr>
        <tr>
                <td colspan="2" class="table_header bottom" align="center">
-                       <strong>{--ADMIN_CONFIG_BONUS_TURBO_MISC_TITLE--}:</strong>
+                       {--ADMIN_CONFIG_BONUS_TURBO_MISC_TITLE--}
                </td>
        </tr>
        <tr>
-               <td align="right">{--ADMIN_CONFIG_BONUS_TURBO_RANKS--}:</td>
+               <td align="right">{--ADMIN_CONFIG_BONUS_TURBO_RANKS--}</td>
                <td align="center">
                        <input type="text" class="form_field" name="bonus_ranks" size="3" maxlength="5" value="{?bonus_ranks?}" />
                </td>
        </tr>
        <tr>
-               <td align="right">{--ADMIN_CONFIG_BONUS_TURBO_LINES--}:</td>
+               <td align="right">{--ADMIN_CONFIG_BONUS_TURBO_LINES--}</td>
                <td align="center">
                        <input type="text" class="form_field" name="bonus_lines" size="3" maxlength="5" value="{?bonus_lines?}" />
                </td>
        </tr>
        <tr>
-               <td class="bottom" align="right">{--ADMIN_CONFIG_BONUS_USERID--}:</td>
+               <td class="bottom" align="right">{--ADMIN_CONFIG_BONUS_USERID--}</td>
                <td class="bottom" align="center">
                        $content[bonus_userid]
                </td>
        </tr>
        <tr>
                <td colspan="2" class="table_header bottom" align="center">
-                       <strong>{--ADMIN_CONFIG_BONUS_RALLYE_NOTIFTICATIONS--}:</strong>
+                       {--ADMIN_CONFIG_BONUS_RALLYE_NOTIFTICATIONS--}
                </td>
        </tr>
        <tr>
diff --git a/templates/de/html/admin/admin_config_bonus_pro.tpl b/templates/de/html/admin/admin_config_bonus_pro.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/admin/admin_config_booking.tpl b/templates/de/html/admin/admin_config_booking.tpl
new file mode 100644 (file)
index 0000000..4669274
--- /dev/null
@@ -0,0 +1,40 @@
+<div align="center">
+{%form,formMethodPost=modules.php?module=admin&amp;what=config_booking%}
+<div class="table dashed">
+       <div class="table_header bottom">
+               {--ADMIN_CONFIG_BOOKING_TITLE--}
+       </div>
+
+       <fieldset id="config_booking_listing">
+               <legend>{--ADMIN_CONFIG_BOOKING_LISTING_LEGEND--}</legend>
+
+               <div class="admin_input">
+                       <label for="booking_page_count">{--ADMIN_CONFIG_BOOKING_PAGE_COUNT--}</label>
+                       <div align="center">
+                               <input type="text" class="form_field" name="booking_page_count" size="10" maxlength="20" value="{?booking_page_count?}" />
+                       </div>
+               </div>
+       </fieldset>
+
+       <fieldset id="config_booking_purging">
+               <legend>{--ADMIN_CONFIG_BOOKING_PURGING_LEGEND--}</legend>
+
+               <div class="admin_input">
+                       <label for="booking_purge">{--ADMIN_CONFIG_BOOKING_PURGE--}</label>
+                       <div align="center">
+                               $content[booking_purge]
+                       </div>
+               </div>
+       </fieldset>
+
+       <div class="table_footer top">
+               <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+               <input type="submit" class="form_submit" name="save_config" value="{--SAVE_SETTINGS--}" />
+       </div>
+</div>
+{%form_close%}
+</div>
+
+<div class="notice">
+       {--ADMIN_CONFIG_BOOKING_NOTICE--}
+</div>
diff --git a/templates/de/html/admin/admin_config_cache.tpl b/templates/de/html/admin/admin_config_cache.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
index fa99326427bbcbd6a95059218cca21659c1f39ec..7d4275495e612e467c40f7e24f043849a1a09fc1 100644 (file)
@@ -3,7 +3,7 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
        <tr>
                <td class="table_header bottom" colspan="2" align="center">
-                       <strong>{--ADMIN_CONFIG_COUPON_TITLE--}</strong>
+                       {--ADMIN_CONFIG_COUPON_TITLE--}
                </td>
        </tr>
        <tr>
index fe7ae5af32f36f0cdb14e1d5b2637d1684f97ec4..87498905fbcf6daa0e31c16e238e0a2aa5ea7f10 100644 (file)
@@ -3,12 +3,12 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
        <tr>
                <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_DOUBLER_TITLE--}</strong>
+                       {--ADMIN_CONFIG_DOUBLER_TITLE--}
                </td>
        </tr>
        <tr>
                <td align="right" width="300" height="20">
-                       {--ADMIN_CONFIG_DOUBLER_CHARGE--}:
+                       {--ADMIN_CONFIG_DOUBLER_CHARGE--}
                </td>
                <td width="195" style="padding-left: 5px">
                        <input type="text" class="form_field" name="doubler_charge" size="5" maxlength="10" value="{%config,translateComma=doubler_charge%}" /> (%)
@@ -16,7 +16,7 @@
        </tr>
        <tr>
                <td align="right" width="300" height="20">
-                       {--ADMIN_CONFIG_DOUBLER_REFERRAL--}:
+                       {--ADMIN_CONFIG_DOUBLER_REFERRAL--}
                </td>
                <td width="195" style="padding-left: 5px">
                        <input type="text" class="form_field" name="doubler_ref" size="5" maxlength="10" value="{%config,translateComma=doubler_ref%}" /> (%)
@@ -24,7 +24,7 @@
        </tr>
        <tr>
                <td align="right" width="300" height="20">
-                       {--ADMIN_CONFIG_DOUBLER_MINIMUM--}:
+                       {--ADMIN_CONFIG_DOUBLER_MINIMUM--}
                </td>
                <td width="195" style="padding-left: 5px">
                        <input type="text" class="form_field" name="doubler_min" size="9" maxlength="20" value="{%config,translateComma=doubler_min%}" /> ({?POINTS?})
@@ -32,7 +32,7 @@
        </tr>
        <tr>
                <td align="right" width="300" height="20">
-                       {--ADMIN_CONFIG_DOUBLER_MAXIMUM--}:
+                       {--ADMIN_CONFIG_DOUBLER_MAXIMUM--}
                </td>
                <td width="195" style="padding-left: 5px">
                        <input type="text" class="form_field" name="doubler_max" size="9" maxlength="20" value="{%config,translateComma=doubler_max%}" /> ({?POINTS?})
@@ -40,7 +40,7 @@
        </tr>
        <tr>
                <td align="right" width="300" height="20">
-                       {--ADMIN_CONFIG_DOUBLER_LEFT--}:
+                       {--ADMIN_CONFIG_DOUBLER_LEFT--}
                </td>
                <td width="195" style="padding-left: 5px">
                        <input type="text" class="form_field" name="doubler_left" size="9" maxlength="20" value="{%config,translateComma=doubler_left%}"> ({?POINTS?})
@@ -48,7 +48,7 @@
        </tr>
        <tr>
                <td align="right" width="300" height="20">
-                       {--ADMIN_CONFIG_DOUBLER_GROUP_SENT--}:
+                       {--ADMIN_CONFIG_DOUBLER_GROUP_SENT--}
                </td>
                <td width="195" style="padding-left: 5px">
                        <input type="text" class="form_field" name="doubler_group_sent" size="2" maxlength="4" value="{?doubler_group_sent?}" />
        </tr>
        <tr>
                <td align="right" width="300" height="20">
-                       {--ADMIN_CONFIG_DOUBLER_MAX_SENT--}:
+                       {--ADMIN_CONFIG_DOUBLER_MAX_SENT--}
                </td>
                <td width="195" style="padding-left: 5px">
                        <input type="text" class="form_field" name="doubler_max_sent" size="2" maxlength="4" value="{?doubler_max_sent?}" />
                </td>
        </tr>
        <tr>
-               <td align="right" height="20">{--ADMIN_CONFIG_DOUBLER_SENT_ALL--}:</td>
+               <td align="right" height="20">{--ADMIN_CONFIG_DOUBLER_SENT_ALL--}</td>
                <td style="padding-left: 5px">
                        {%template,ConfigurationYesNoSelectionBox=doubler_sent_all%}
                </td>
        </tr>
        <tr>
                <td align="right" height="20">
-                       {--ADMIN_CONFIG_DOUBLER_JACKPOT--}:
+                       {--ADMIN_CONFIG_DOUBLER_JACKPOT--}
                </td>
                <td style="padding-left: 5px">
                        {%template,ConfigurationYesNoSelectionBox=doubler_jackpot%}
@@ -78,7 +78,7 @@
        </tr>
        <tr>
                <td align="right" height="20">
-                       {--ADMIN_CONFIG_DOUBLER_OWN--}:
+                       {--ADMIN_CONFIG_DOUBLER_OWN--}
                </td>
                <td style="padding-left: 5px">
                        {%template,ConfigurationYesNoSelectionBox=doubler_own%}
@@ -86,7 +86,7 @@
        </tr>
        <tr>
                <td align="right" height="20">
-                       {--ADMIN_CONFIG_DOUBLER_TIMEOUT--}:
+                       {--ADMIN_CONFIG_DOUBLER_TIMEOUT--}
                </td>
                <td style="padding-left: 5px" align="left">
                        $content[timeout_selection]
@@ -94,7 +94,7 @@
        </tr>
        <tr>
                <td class="bottom" align="right" height="20">
-                       {--ADMIN_CONFIG_DOUBLER_USERID--}:
+                       {--ADMIN_CONFIG_DOUBLER_USERID--}
                </td>
                <td class="bottom" style="padding-left: 5px">
                        $content[doubler_userid]
        </tr>
        <tr>
                <td align="center" colspan="2" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_DOUBLER_SEND_MODE--}:</strong>
+                       {--ADMIN_CONFIG_DOUBLER_SEND_MODE--}
                </td>
        </tr>
        <tr>
        </tr>
        <tr>
                <td align="center" colspan="2" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_DOUBLER_DISPLAY_TITLE--}:</strong>
+                       {--ADMIN_CONFIG_DOUBLER_DISPLAY_TITLE--}
                </td>
        </tr>
        <tr>
-               <td align="right" height="20">{--ADMIN_CONFIG_DOUBLER_DISPLAY_NEW--}:</td>
+               <td align="right" height="20">{--ADMIN_CONFIG_DOUBLER_DISPLAY_NEW--}</td>
                <td style="padding-left: 5px">
                        <select name="doubler_display_new" size="1" class="form_select">
                                $content[display_new]
                </td>
        </tr>
        <tr>
-               <td align="right" height="20">{--ADMIN_CONFIG_DOUBLER_DISPLAY_PAY--}:</td>
+               <td align="right" height="20">{--ADMIN_CONFIG_DOUBLER_DISPLAY_PAY--}</td>
                <td style="padding-left: 5px">
                        <select name="doubler_display_pay" size="1" class="form_select">
                                $content[display_pay]
                </td>
        </tr>
        <tr>
-               <td class="bottom" align="right" height="20">{--ADMIN_CONFIG_DOUBLER_DISPLAY_OLD--}:</td>
+               <td class="bottom" align="right" height="20">{--ADMIN_CONFIG_DOUBLER_DISPLAY_OLD--}</td>
                <td class="bottom" style="padding-left: 5px">
                        <select name="doubler_display_old" size="1" class="form_select">
                                $content[display_old]
diff --git a/templates/de/html/admin/admin_config_doubler_pro.tpl b/templates/de/html/admin/admin_config_doubler_pro.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
index 5ceab8a2de3e16abdabc2930416f2302529cf4bc..4dc23dc0f32e229e710a0a94cd5990d7046c7a9b 100644 (file)
@@ -3,12 +3,12 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
        <tr>
                <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_EXTENSIONS_TITLE--}</strong>
+                       {--ADMIN_CONFIG_EXTENSIONS_TITLE--}
                </td>
        </tr>
        <tr>
                <td class="bottom" align="right" width="350">
-                       {--ADMIN_CONFIG_EXTENSIONS_VERBOSE_SQL--}:
+                       {--ADMIN_CONFIG_EXTENSIONS_VERBOSE_SQL--}
                </td>
                <td class="bottom" width="150" align="right">
                        {%template,ConfigurationYesNoSelectionBox=verbose_sql%}
index 1482a7b7952898ac43e013811b518b77e3a50bda..ebcd9f71d812e0fd1168df25f648d0896d0447d6 100644 (file)
@@ -1,37 +1,41 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=config_holiday%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_HOLIDAY_TITLE--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td width="300" style="padding-left: 5px">{--ADMIN_CONFIG_HOLIDAY_MAX_TIME--}:</td>
-               <td width="270">
-                       <input type="text" class="form_field" name="holiday_max" value="{?holiday_max?}" size="4" maxlength="6" />
-                       <div class="tiny">({--DAYS--})</div>
-               </td>
-       </tr>
-       <tr>
-               <td width="300" style="padding-left: 5px">{--ADMIN_CONFIG_HOLIDAY_LOCKED--}:</td>
-               <td width="270">$content[holiday_lock]</td>
-       </tr>
-       <tr>
-               <td class="bottom" width="300" style="padding-left: 5px">{--ADMIN_CONFIG_HOLIDAY_MODE--}:</td>
-               <td class="bottom" width="270">
-                       <input type="radio" class="form_field" name="holiday_mode" value="RESET"$content[holiday_mode_reset] />
-                       {--ADMIN_CONFIG_HOLIDAY_MODE_RESET--}<br />
-                       <input type="radio" class="form_field" name="holiday_mode" value="DIRECT"$content[holiday_mode_direct] />
-                       {--ADMIN_CONFIG_HOLIDAY_MODE_DIRECT--}
-               </td>
-       </tr>
-       <tr>
-               <td colspan="2" class="table_footer">
-                       <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
-                       <input type="submit" class="form_submit" name="save_config" value="{--SAVE_SETTINGS--}" />
-               </td>
-       </tr>
+<tr>
+       <td colspan="2" align="center" class="table_header bottom">
+               {--ADMIN_CONFIG_HOLIDAY_TITLE--}
+       </td>
+</tr>
+
+<tr>
+               <td width="300" style="padding-left: 5px">{--ADMIN_CONFIG_HOLIDAY_MAX_TIME--}</td>
+       <td width="270">
+               <input type="text" class="form_field" name="holiday_max" value="{?holiday_max?}" size="4" maxlength="6" />
+               <div class="tiny">({--DAYS--})</div>
+       </td>
+</tr>
+
+<tr>
+       <td width="300" style="padding-left: 5px">{--ADMIN_CONFIG_HOLIDAY_LOCKED--}</td>
+       <td width="270">$content[holiday_lock]</td>
+</tr>
+
+<tr>
+       <td class="bottom" width="300" style="padding-left: 5px">{--ADMIN_CONFIG_HOLIDAY_MODE--}</td>
+       <td class="bottom" width="270">
+               <input type="radio" class="form_field" name="holiday_mode" value="RESET"$content[holiday_mode_reset] />
+               {--ADMIN_CONFIG_HOLIDAY_MODE_RESET--}<br />
+               <input type="radio" class="form_field" name="holiday_mode" value="DIRECT"$content[holiday_mode_direct] />
+               {--ADMIN_CONFIG_HOLIDAY_MODE_DIRECT--}
+       </td>
+</tr>
+
+<tr>
+       <td colspan="2" class="table_footer">
+               <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+               <input type="submit" class="form_submit" name="save_config" value="{--SAVE_SETTINGS--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index fab850cfb6a1490a8a608897ab773184bc95f56a..32b1618203405dd27c733b2bb6cc35c818d5d3e4 100644 (file)
@@ -3,7 +3,7 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="510">
        <tr>
                <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_HOME_SETTINGS_TITLE--}</strong>
+                       {--ADMIN_CONFIG_HOME_SETTINGS_TITLE--}
                </td>
        </tr>
        <tr>
index 062f5aec8ae32f867df99abdc9a6a7374de60ac1..e51300007c4c37c862d419173e776d6693055449 100644 (file)
@@ -1,17 +1,13 @@
 <div align="center" class="table dashed">
        <div class="table_header bottom top left right">
-               <strong>{--ADMIN_CONFIG_HOME_MAIN_TITLE--}</strong>
+               {--ADMIN_CONFIG_HOME_MAIN_TITLE--}
        </div>
+
        <div class="guest_menu_row">
-               <a class="menu_blur" href="{%url=modules.php?module=admin&amp;what=config_home&amp;sub=target%}">
-                       <strong><big>&middot;</big></strong>
-                       {--ADMIN_CONFIG_HOME_TARGET--}
-               </a>
+               <a class="menu_blur" href="{%url=modules.php?module=admin&amp;what=config_home&amp;sub=target%}"><big>&middot;</big> {--ADMIN_CONFIG_HOME_TARGET--}</a>
        </div>
+
        <div class="guest_menu_bottom">
-               <a class="menu_blur" href="{%url=modules.php?module=admin&amp;what=config_home&amp;sub=settings%}">
-                       <strong><big>&middot;</big></strong>
-                       {--ADMIN_CONFIG_HOME_SETTINGS_LINK--}
-               </a>
+               <a class="menu_blur" href="{%url=modules.php?module=admin&amp;what=config_home&amp;sub=settings%}"><big>&middot;</big> {--ADMIN_CONFIG_HOME_SETTINGS_LINK--}</a>
        </div>
 </div>
diff --git a/templates/de/html/admin/admin_config_home_settings_pro.tpl b/templates/de/html/admin/admin_config_home_settings_pro.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
index 2209c6a85a8756971f10a1e468b2d3baa274c1ee..1b8b56a7c6639b6d6b78c63c4eaeb01a83169217 100644 (file)
@@ -3,15 +3,15 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
        <tr>
                <td class="table_header bottom" colspan="3" align="center">
-                       <strong>{--ADMIN_CONFIG_MEDIADATA_TITLE--}:</strong>
+                       {--ADMIN_CONFIG_MEDIADATA_TITLE--}
                </td>
        </tr>
        <tr>
-               <td align="right">{--ADMIN_CONFIG_MEDIADATA_MT_START--}:</td>
+               <td align="right">{--ADMIN_CONFIG_MEDIADATA_MT_START--}</td>
                <td align="center">$content[mt_start]</td>
        </tr>
        <tr>
-               <td class="bottom" align="right">{--ADMIN_CONFIG_MEDIADATA_MT_STAGE--}:</td>
+               <td class="bottom" align="right">{--ADMIN_CONFIG_MEDIADATA_MT_STAGE--}</td>
                <td class="bottom" align="center">
                        <input type="text" class="form_field" name="mt_stage" value="{?mt_stage?}" size="6" maxlength="20" />
                </td>
@@ -27,6 +27,8 @@
 </div>
 
 <div class="notice">
-       <strong><big>&middot;</big></strong>&nbsp;{--ADMIN_CONFIG_MEDIADATA_MT_START_NOTICE--}<br />
-       <strong><big>&middot;</big></strong>&nbsp;{--ADMIN_CONFIG_MEDIADATA_MT_STAGE_NOTICE--}<br />
+       <ul>
+               <li>{--ADMIN_CONFIG_MEDIADATA_MT_START_NOTICE--}</li>
+               <li>{--ADMIN_CONFIG_MEDIADATA_MT_STAGE_NOTICE--}</li>
+       </ul>
 </div>
index 874238a46ec962c31f2c2692481b8759dc9fc3e2..5ce6176673da23ba8a8271c9c1f06a169ac67ba3 100644 (file)
@@ -3,7 +3,7 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
        <tr>
                <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_MENU_TITLE--}</strong>
+                       {--ADMIN_CONFIG_MENU_TITLE--}
                </td>
        </tr>
        <tr>
index e6b1ce59fb68998095e3a192d5ad708ab2fba65d..d571eb4533a50d404867bff64486e1ed61785003 100644 (file)
@@ -2,7 +2,7 @@
 {%form,formMethodPost=modules.php?module=admin&amp;what=config_network%}
 <div class="table dashed">
        <div class="table_header bottom">
-               <strong>{--ADMIN_CONFIG_NETWORK_TITLE--}</strong>
+               {--ADMIN_CONFIG_NETWORK_TITLE--}
        </div>
 
        <fieldset id="config_network_cache">
@@ -26,6 +26,8 @@
                        </div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="network_logging_purge">{--ADMIN_CONFIG_NETWORK_LOGGING_DEBUG--}</label>
                        <div align="center">
index 1a5969e29e87e4a6ab7baea2ef2212c1800090eb..45287c22076b3cdf28190cca7662dd9393f3bd99 100644 (file)
@@ -3,7 +3,7 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
 <tr>
        <td class="table_header bottom" colspan="2" align="center">
-               <strong>{%message,ADMIN_CONFIG_NETWORK_API_TITLE=$content[network_id]%}</strong>
+               {%message,ADMIN_CONFIG_NETWORK_API_TITLE=$content[network_id]%}
        </td>
 </tr>
 
@@ -48,7 +48,7 @@
 <tr>
        <td align="center" class="bottom right" width="50%">
                <label for="">{--ADMIN_CONFIG_NETWORK_API_REMAINING_REQUESTS--}</label>
-               <strong>{%pipe,translateComma=$content[network_query_amount]%}</strong>
+               {%pipe,translateComma=$content[network_query_amount]%}
                <input type="hidden" name="network_api_remaining_requests" value="$content[network_query_amount]" />
        </td>
 
index a045ed2d3b461a2812af5c3d67dc3d141e8ce6eb..b9d2e665afd36b56bc2b103776feb12f97ce7e2b 100644 (file)
@@ -3,14 +3,16 @@
 <tr>
        <td colspan="2" align="center" class="table_header bottom">
                <div>
-                       <strong>{--ADMIN_CONFIG_NETWORK_HANDLER_TYPES_TITLE--}</strong>
+                       {--ADMIN_CONFIG_NETWORK_HANDLER_TYPES_TITLE--}
                </div>
                <div class="tiny">
                        ({%network,generateMetworkReferralLinkById=%network_id%%})
                </div>
        </td>
 </tr>
+
 $content[rows]
+
 <tr>
        <td colspan="2" align="center" class="table_footer">
                <div class="notice">
index 0b44fe1c18fb422949ae7e96cfee1e6b968314f1..2998352eedca60bc314998b92816836af6bb39da 100644 (file)
@@ -1,13 +1,14 @@
 <tr>
        <td class="{%template,ColorSwitch%} bottom right" align="center" width="7%">
                {--ID_SELECT--}<br />
-               <strong>$content[network_type_id]</strong>
+               $content[network_type_id]
        </td>
        <td class="{%template,ColorSwitch%} bottom" align="center" width="93%">
                {--ADMIN_NETWORK_TYPE_HANDLER--}<br />
-               <strong>{%pipe,translateNetworkTypeHandler=$content[network_type_handler]%}</strong>
+               {%pipe,translateNetworkTypeHandler=$content[network_type_handler]%}
        </td>
 </tr>
+
 <tr>
        <td colspan="2" class="{%template,ColorSwitch%} bottom" align="center">
                $content[network_type_config_content]
index d68ba03d3a79c2c4f7fb451d00d0a3b0cccea49e..e0f951ac8a060625a5ba9e6b7e87a6e73e473d13 100644 (file)
@@ -1,17 +1,18 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=config_newsletter%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td class="table_header bottom" colspan="2" align="center">
-                       <strong>{--ADMIN_CONFIG_NEWSLETTER_TITLE--}</strong>
-               </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="save_config" value="{--SAVE_SETTINGS--}" />
-               </td>
-       </tr>
+<tr>
+       <td class="table_header bottom" colspan="2" align="center">
+               {--ADMIN_CONFIG_NEWSLETTER_TITLE--}
+       </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="save_config" value="{--SAVE_SETTINGS--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index 8cd51f2cc29fe836f0a0c246a207061794dafe96..5624e163a2380a43a79571c0e77d5f7d9f4e6384 100644 (file)
@@ -3,23 +3,23 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
        <tr>
                <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_NICKNAME_TITLE--}</strong>
+                       {--ADMIN_CONFIG_NICKNAME_TITLE--}
                </td>
        </tr>
        <tr>
-               <td align="right">{--ADMIN_CONFIG_NICKNAME_MIN_LENGTH--}:</td>
+               <td align="right">{--ADMIN_CONFIG_NICKNAME_MIN_LENGTH--}</td>
                <td>
                        <input type="text" class="form_field" name="nickname_len" value="{?nickname_len?}" size="2" maxlength="4" />
                </td>
        </tr>
        <tr>
-               <td align="right">{--ADMIN_CONFIG_NICKNAME_PATTERN--}:</td>
+               <td align="right">{--ADMIN_CONFIG_NICKNAME_PATTERN--}</td>
                <td>
                        <input type="text" class="form_field" name="nickname_pattern" value="{?nickname_pattern?}" size="10" maxlength="255" />
                </td>
        </tr>
        <tr>
-               <td class="bottom" align="right">{--ADMIN_CONFIG_NICKNAME_CHARACTERS--}:</td>
+               <td class="bottom" align="right">{--ADMIN_CONFIG_NICKNAME_CHARACTERS--}</td>
                <td class="bottom">
                        <input type="text" class="form_field" name="nickname_chars" value="{?nickname_chars?}" size="15" maxlength="255" />
                </td>
index 1bfd8b76b7824dc3fd45ece0fab43ce442a0881c..9249cf03908b928dfd42bbbe41f4929bf9035206 100644 (file)
@@ -2,7 +2,7 @@
 {%form,formMethodPost=modules.php?module=admin&amp;what=config_order%}
 <div class="table dashed">
        <div class="table_header bottom">
-               <strong>{--ADMIN_CONFIG_ORDER_TITLE--}</strong>
+               {--ADMIN_CONFIG_ORDER_TITLE--}
        </div>
 
        <fieldset id="config_order_select_max_fields">
@@ -15,6 +15,8 @@
                        </div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="order_max_full">{--ADMIN_CONFIG_ORDER_OPTION_ORDER--}</label>
                        <div align="center">
@@ -33,6 +35,8 @@
                        </div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="max_text_length">{--ADMIN_CONFIG_MAX_TEXT_LENGTH--}</label>
                        <div align="center">
@@ -40,6 +44,8 @@
                        </div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="allow_url_in_text"> {--ADMIN_CONFIG_CHECK_EMAIL_TEXT--}</label>
                        <div align="center">
@@ -47,6 +53,8 @@
                        </div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="allow_url_in_subject">{--ADMIN_CONFIG_CHECK_EMAIL_SUBJECT--}</label>
                        <div align="center">
@@ -54,6 +62,8 @@
                        </div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="repay_deleted_mails">{--ADMIN_REPAY_ON_DELETE_MODE--}</label>
                        <div align="center">
@@ -65,6 +75,8 @@
                        </div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="order_multi_page">{--ADMIN_CONFIG_ORDER_MULTI_PAGE--}</label>
                        <div align="center">
@@ -85,6 +97,8 @@
                        </div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="order_mode">{--ADMIN_CONFIG_ORDER_SELECTION_MODE--}</label>
                        <div align="center">
                        </div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="autosend_member_mails">{--ADMIN_CONFIG_AUTOSEND_MEMBER_MAILS--}</label>
                        <div align="center">
index 8c9188327068c786ff9a001b2040590a1050901b..1b5b038ffc14eae44aa9bc4a3932b239f386a9bf 100644 (file)
@@ -3,13 +3,13 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
        <tr>
                <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_OTHER_TITLE--}</strong>
+                       {--ADMIN_CONFIG_OTHER_TITLE--}
                </td>
        </tr>
 
        <tr>
                <td align="right" width="300">
-                       {--ADMIN_CONFIG_CODE_LENGTH--}:
+                       {--ADMIN_CONFIG_CODE_LENGTH--}
                </td>
                <td>
                        <input type="text" class="form_field" name="code_length" size="3" maxlength="5" value="{?code_length?}" />
@@ -19,7 +19,7 @@
 
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_ACTIVATE_EXCHANGE--}:
+                       {--ADMIN_CONFIG_ACTIVATE_EXCHANGE--}
                </td>
                <td>
                        <input type="text" class="form_field" name="activate_xchange" size="10" maxlength="10" value="{?activate_xchange?}" />
@@ -28,7 +28,7 @@
 
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_MINIMUM_AGE--}:
+                       {--ADMIN_CONFIG_MINIMUM_AGE--}
                </td>
                <td>
                        <input type="text" class="form_field" name="min_age" size="3" maxlength="3" value="{?min_age?}" />
@@ -37,7 +37,7 @@
 
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_POINTS_WORD--}:
+                       {--ADMIN_CONFIG_POINTS_WORD--}
                </td>
                <td>
                        <input type="text" class="form_field" name="points_word" size="7" maxlength="255" value="{?POINTS?}" />
@@ -46,7 +46,7 @@
 
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_MT_WORD--}:
+                       {--ADMIN_CONFIG_MT_WORD--}
                </td>
                <td>
                        <input type="text" class="form_field" name="mt_word" size="15" maxlength="255" value="{?mt_word?}" />
@@ -55,7 +55,7 @@
 
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_MT_WORD2--}:
+                       {--ADMIN_CONFIG_MT_WORD2--}
                </td>
                <td>
                        <input type="text" class="form_field" name="mt_word2" size="15" maxlength="255" value="{?mt_word2?}" />
@@ -64,7 +64,7 @@
 
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_MT_WORD3--}:
+                       {--ADMIN_CONFIG_MT_WORD3--}
                </td>
                <td>
                        <input type="text" class="form_field" name="mt_word3" size="15" maxlength="255" value="{?mt_word3?}" />
@@ -73,7 +73,7 @@
 
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_MAX_COMMA--}:
+                       {--ADMIN_CONFIG_MAX_COMMA--}
                </td>
                <td>
                        <!-- @TODO Rewrite this selection to one of our functions //-->
@@ -90,7 +90,7 @@
 
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_REJECT_URL--}:
+                       {--ADMIN_CONFIG_REJECT_URL--}
                </td>
                <td>
                        <input type="text" class="form_field" name="reject_url" size="15" maxlength="255" value="{?reject_url?}" />
 
        <tr>
                <td class="bottom" align="right">
-                       {--ADMIN_CONFIG_WORD_WRAP--}:
+                       {--ADMIN_CONFIG_WORD_WRAP--}
                </td>
                <td class="bottom">
                        <input type="text" class="form_field" name="word_wrap" size="3" maxlength="3" value="{?word_wrap?}" />
 
        <tr>
                <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_SENDING_TITLE--}</strong>
+                       {--ADMIN_CONFIG_SENDING_TITLE--}
                </td>
        </tr>
 
        <tr>
                <td class="bottom" align="right">
-                       {--ADMIN_CONFIG_POOL_MAX_SEND--}:
+                       {--ADMIN_CONFIG_POOL_MAX_SEND--}
                </td>
                <td class="bottom" align="center">
                        <input type="text" class="form_field" name="max_send" size="10" maxlength="100" value="{?max_send?}" />
 
        <tr>
                <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_NOTIFY_TITLE--}</strong>
+                       {--ADMIN_CONFIG_NOTIFY_TITLE--}
                </td>
        </tr>
 
 
        <tr>
                <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_TIMEOUT_TITLE--}</strong>
+                       {--ADMIN_CONFIG_TIMEOUT_TITLE--}
                </td>
        </tr>
 
        <tr>
-               <td align="right">{--ADMIN_CONFIG_MAX_ONLINETIME--}:</td>
+               <td align="right">{--ADMIN_CONFIG_MAX_ONLINETIME--}</td>
                <td>$content[online_timeout]</td>
        </tr>
 
        <tr>
-               <td class="bottom" align="right">{--ADMIN_CONFIG_URL_TIME_LOCK--}:</td>
+               <td class="bottom" align="right">{--ADMIN_CONFIG_URL_TIME_LOCK--}</td>
                <td class="bottom">$content[url_tlock]</td>
        </tr>
 
        <tr>
                <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_SQL_TITLE--}</strong>
+                       {--ADMIN_CONFIG_SQL_TITLE--}
                </td>
        </tr>
 
 
        <tr>
                <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_INTERNAL_STATS_TITLE--}</strong>
+                       {--ADMIN_CONFIG_INTERNAL_STATS_TITLE--}
                </td>
        </tr>
 
index 0dc3cbbe4251976275dbaeb8bd97b84020ac9bbf..83751395663d424d3a0a48d2eba2aea78dbccc29 100644 (file)
@@ -3,15 +3,16 @@
 <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>
+               {--ADMIN_PAYOUT_EDIT_DELETE_TITLE--}
+       </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>
+       <td width="30" class="header_column bottom right" align="center">{--ID_SELECT--}</td>
+       <td width="100" class="header_column bottom right" align="center">{--ADMIN_PAYOUT_FROM--}</td>
+       <td width="150" class="header_column bottom right" align="center">{--ADMIN_PAYOUT_TITLE--}</td>
+       <td width="150" class="header_column bottom right" align="center">{--ADMIN_PAYOUT_RATE2--}</td>
+       <td width="150" class="header_column bottom" align="center">{--ADMIN_PAYOUT_MIN_POINTS2--}</td>
 </tr>
 
 $content
index 40fba448f98627f30b80027c0a6616abc6bf701e..8eafb1120d2f46a46e290a8c6136c070b3c35be4 100644 (file)
@@ -1,35 +1,38 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=config_points&amp;sub=settings%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_POINT_SETTINGS_TITLE--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td class="bottom" align="right">
-                       {--ADMIN_CONFIG_DIRECT_PAY--}
-               </td>
-               <td class="bottom" align="right">
-                       {--ADMIN_CONFIG_POINTS_DIRECT--}
-                       <input type="radio" class="form_field" name="allow_direct_pay" value="Y"$content[allow_direct_pay_y] /><br />
-                       <hr noshade width="220">
-                       {--ADMIN_CONFIG_POINTS_MAILS--}
-                       <input type="radio" class="form_field" name="allow_direct_pay" value="N"$content[allow_direct_pay_n] />
-               </td>
-       </tr>
-       <tr>
-               <td class="bottom" align="right">{--ADMIN_CONFIG_REFERRAL_PAYOUT--}</td>
-               <td class="bottom" align="center">
-                       <input type="text" class="form_field" name="ref_payout" size="3" maxlength="3" value="{?ref_payout?}" />
-               </td>
-       </tr>
-       <tr>
-               <td colspan="2" class="table_footer">
-                       <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
-                       <input type="submit" class="form_submit" name="save_config" value="{--SAVE_SETTINGS--}" />
-               </td>
-       </tr>
+<tr>
+       <td colspan="2" align="center" class="table_header bottom">
+               {--ADMIN_CONFIG_POINT_SETTINGS_TITLE--}
+       </td>
+</tr>
+
+<tr>
+       <td class="bottom" align="right">
+               {--ADMIN_CONFIG_DIRECT_PAY--}
+       </td>
+       <td class="bottom" align="right">
+               {--ADMIN_CONFIG_POINTS_DIRECT--}
+               <input type="radio" class="form_field" name="allow_direct_pay" value="Y"$content[allow_direct_pay_y] /><br />
+               <hr noshade width="220">
+               {--ADMIN_CONFIG_POINTS_MAILS--}
+               <input type="radio" class="form_field" name="allow_direct_pay" value="N"$content[allow_direct_pay_n] />
+       </td>
+</tr>
+
+<tr>
+       <td class="bottom" align="right">{--ADMIN_CONFIG_REFERRAL_PAYOUT--}</td>
+       <td class="bottom" align="center">
+               <input type="text" class="form_field" name="ref_payout" size="3" maxlength="3" value="{?ref_payout?}" />
+       </td>
+</tr>
+
+<tr>
+       <td colspan="2" class="table_footer">
+               <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+               <input type="submit" class="form_submit" name="save_config" value="{--SAVE_SETTINGS--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index 90654df357055db593ff618487e6bf254dc6952c..17b6696452ffdf051b3130a54d40566b69ad5049 100644 (file)
@@ -2,15 +2,14 @@
 <div class="table dashed">
 
 <div class="header_column bottom">
-       <strong>{--ADMIN_CONFIG_POINTS_TITLE--}</strong>
+       {--ADMIN_CONFIG_POINTS_TITLE--}
 </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=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=settings%}">{--ADMIN_EDIT_POINT_SETTINGS--}</a>
+<div>
+       <ul>
+               <li><a href="{%url=modules.php?module=admin&amp;what=config_points&amp;sub=points%}">{--ADMIN_EDIT_POINTS--}</a></li>
+               <li><a href="{%url=modules.php?module=admin&amp;what=config_points&amp;sub=settings%}">{--ADMIN_EDIT_POINT_SETTINGS--}</a></li>
+       </ul>
 </div>
 
 </div>
index 4fa78661938387532289f8a251fa4fc0eaed46c7..c6e8ec8b6518ac64655020206bc982e9d57fd4c3 100644 (file)
@@ -1,48 +1,48 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=config_other%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_PROFILE_TITLE--}</strong>
-               </td>
-       </tr>
+<tr>
+       <td colspan="2" align="center" class="table_header bottom">
+               {--ADMIN_CONFIG_PROFILE_TITLE--}
+       </td>
+</tr>
 
-       <tr>
-               <td class="bottom" align="right">
-                       {--ADMIN_CONFIG_SEND_PROFILE_UPDATE--}
-               </td>
-               <td class="bottom" align="center">
-                       {%template,ConfigurationYesNoSelectionBox=send_profile_update%}
-               </td>
-       </tr>
+<tr>
+       <td class="bottom" align="right">
+               {--ADMIN_CONFIG_SEND_PROFILE_UPDATE--}
+       </td>
+       <td class="bottom" align="center">
+               {%template,ConfigurationYesNoSelectionBox=send_profile_update%}
+       </td>
+</tr>
 
-       <tr>
-               <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_PROFILE_TIME_TITLE--}</strong>
-               </td>
-       </tr>
+<tr>
+       <td colspan="2" align="center" class="table_header bottom">
+               {--ADMIN_CONFIG_PROFILE_TIME_TITLE--}
+       </td>
+</tr>
 
-       <tr>
-               <td align="right">{--ADMIN_CONFIG_LOCK_PROFILE_TIME--}:</td>
-               <td>$content[profile_lock]</td>
-       </tr>
+<tr>
+       <td align="right">{--ADMIN_CONFIG_LOCK_PROFILE_TIME--}</td>
+       <td>$content[profile_lock]</td>
+</tr>
 
-       <tr>
-               <td align="right">{--ADMIN_CONFIG_PROFILE_UPDATE--}:</td>
-               <td>$content[profile_update]</td>
-       </tr>
+<tr>
+       <td align="right">{--ADMIN_CONFIG_PROFILE_UPDATE--}</td>
+       <td>$content[profile_update]</td>
+</tr>
 
-       <tr>
-               <td class="bottom" align="right">{--ADMIN_CONFIG_PROFILE_REUPDATE--}:</td>
-               <td class="bottom">$content[profile_reupdate]</td>
-       </tr>
+<tr>
+       <td class="bottom" align="right">{--ADMIN_CONFIG_PROFILE_REUPDATE--}</td>
+       <td class="bottom">$content[profile_reupdate]</td>
+</tr>
 
-       <tr>
-               <td colspan="2" align="center" class="table_footer">
-                       <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
-                       <input type="submit" class="form_submit" name="save_config" value="{--SAVE_SETTINGS--}" />
-               </td>
-       </tr>
+<tr>
+       <td colspan="2" align="center" class="table_footer">
+               <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+               <input type="submit" class="form_submit" name="save_config" value="{--SAVE_SETTINGS--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index ac86210744d1afb5a2938e7dbe9308721c0e5824..c0f2773870ef3d54a3b95634eb41d88878cdc6b0 100644 (file)
@@ -3,7 +3,7 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
        <tr>
                <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_EDIT_PROXY_SETTINGS--}</strong>
+                       {--ADMIN_EDIT_PROXY_SETTINGS--}
                </td>
        </tr>
        <tr>
index 4d958526ba4f3edc231f88abc25218e86262df35..3565642968581ea2a4a7503617da2e346e769cf7 100644 (file)
@@ -3,7 +3,7 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
        <tr>
                <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_REFBACK_TITLE--}</strong>
+                       {--ADMIN_CONFIG_REFBACK_TITLE--}
                </td>
        </tr>
        <tr>
index 26f27a745d6a46fa2b5394f41fe139cef3b40051..a63e02c1ae474cb7a1bd06fb30e8e6a78c81289f 100644 (file)
@@ -2,7 +2,7 @@
 {%form,formMethodPost=modules.php?module=admin&amp;what=config_refid%}
 <div class="table dashed">
        <div class="table_header bottom">
-               <strong>{--ADMIN_CONFIG_REFID_TITLE--}</strong>
+               {--ADMIN_CONFIG_REFID_TITLE--}
        </div>
 
        <fieldset id="config_refid_general_fields">
                        </div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
-               <label for="refid_target">{--ADMIN_CONFIG_SELECT_REFID_TARGRT--}:</label>
+                       <label for="refid_target">{--ADMIN_CONFIG_SELECT_REFID_TARGRT--}</label>
                        <div align="center">
                                <select name="refid_target" size="1" class="form_select">
                                        <option value="register"$content[refid_target_register]>{--ADMIN_CONFIG_REFERRAL_TARGET_REGISTER--}</option>
@@ -39,6 +41,8 @@
                        </div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="user_min_confirmed">{--ADMIN_CONFIG_RANDOM_MIN_CONFIRMED--}</label>
                        <div align="center">
diff --git a/templates/de/html/admin/admin_config_reg_pro.tpl b/templates/de/html/admin/admin_config_reg_pro.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
index 4acfd10b98389469642ece0dc722200feedb30b5..f71b88e3600d71f158f0cbfe7f437b49b8bd4077 100644 (file)
@@ -3,12 +3,12 @@
 <table border="0" cellpadding="0" cellspacing="0" class="table dashed">
        <tr>
                <td colspan="3" align="center" class="table_header">
-                       <strong>{--ADMIN_CONFIG_REGISTER_MUST_TITLE--}:</strong>
+                       {--ADMIN_CONFIG_REGISTER_MUST_TITLE--}
                </td>
        </tr>
        <tr>
                <td width="20" class="header_column bottom right" align="center">{--ID_SELECT--}</td>
-               <td width="325" class="header_column bottom right" align="center">{--ADMIN_CONFIG_REGISTER_FIELD_NAME--}:</td>
+               <td width="325" class="header_column bottom right" align="center">{--ADMIN_CONFIG_REGISTER_FIELD_NAME--}</td>
                <td width="105" class="header_column bottom" align="center">{--ADMIN_CONFIG_REGISTER_FIELD_REQUIRED--}</td>
        </tr>
        $content
index 1f0e32c9e90b9736d9667ceac54fe83159d6cfb1..0bb3f52809dfa32263c64ec318f1e768f84b94f1 100644 (file)
@@ -3,29 +3,29 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
        <tr>
                <td class="table_header bottom" colspan="2" align="center">
-                       <strong>{--ADMIN_CONFIG_REGISTER_TITLE--}</strong>
+                       {--ADMIN_CONFIG_REGISTER_TITLE--}
                </td>
        </tr>
 
        <tr>
-               <td align="right" width="250">{--ADMIN_CONFIG_LEAST_CATEGORIES--}:</td>
+               <td align="right" width="250">{--ADMIN_CONFIG_LEAST_CATEGORIES--}</td>
                <td align="center" width="150">
                        <input type="text" class="form_field" name="least_cats" size="6" maxlength="6" value="{?least_cats?}" />
                </td>
        </tr>
 
        <tr>
-               <td align="right" width="250">{--ADMIN_CONFIG_REGISTER_DEFAULT--}:</td>
+               <td align="right" width="250">{--ADMIN_CONFIG_REGISTER_DEFAULT--}</td>
                <td align="center" width="150">{%template,ConfigurationYesNoSelectionBox=register_default%}</td>
        </tr>
 
        <tr>
-               <td align="right">{--ADMIN_CONFIG_REGISTER_DISPLAY_REFID--}:</td>
+               <td align="right">{--ADMIN_CONFIG_REGISTER_DISPLAY_REFID--}</td>
                <td align="center">{%template,ConfigurationYesNoSelectionBox=display_refid%}</td>
        </tr>
 
        <tr>
-               <td align="right">{--ADMIN_CONFIG_REGISTER_IP_TIMEOUT--}:</td>
+               <td align="right">{--ADMIN_CONFIG_REGISTER_IP_TIMEOUT--}</td>
                <td align="center">$content[ip_timeout]</td>
        </tr>
 
index 785394f61c84d59c2578c385a80152f67f5bca39..d3d970c47bbe92d2a991f2bfd46949cab30232a1 100644 (file)
@@ -3,7 +3,7 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
 <tr>
        <td colspan="2" align="center" class="table_header bottom">
-               <strong>{--ADMIN_CONFIG_REMOVEIP_TITLE--}</strong>
+               {--ADMIN_CONFIG_REMOVEIP_TITLE--}
        </td>
 </tr>
 <tr>
index 0956307d81eb2d728edd1bf44c4cee942e86ccc8..2ee6355c699a3fb9070b6d8e74456490ee09bbdb 100644 (file)
@@ -4,13 +4,13 @@
        <!-- @TODO No title here? //-->
        <tr>
                <td class="table_header bottom right" align="center">
-                       <strong>{--ADMIN_MODULE_NAME--}</strong>
+                       {--ADMIN_MODULE_NAME--}
                </td>
                <td class="table_header bottom right" align="center">
-                       <strong>{--ADMIN_MODULE_TITLE--}</strong>
+                       {--ADMIN_MODULE_TITLE--}
                </td>
                <td class="table_header bottom" align="center">
-                       <strong>{--ADMIN_MODULE_SKIPPED--}</strong>
+                       {--ADMIN_MODULE_SKIPPED--}
                </td>
        </tr>
        $content
index 1235f21da773d67ccbb9ecdf80bd2001556c680b..6953c71e4024651ab2cff18d91a6b5f70643c45e 100644 (file)
@@ -1,40 +1,54 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=config_secure%}
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td class="table_header bottom" colspan="3" align="center">
-                       <strong>{--ADMIN_CONFIG_SECURITY_TITLE--}</strong>
-               </td>
-       </tr>
-
-       <tr>
-               <td align="right" width="380">
-                       {--ADMIN_CONFIG_MINIMUM_PASSWORD_LENGTH--}:
-               </td>
-               <td>
-                       <input type="text" class="form_field" name="pass_len" size="3" maxlength="3" value="{?pass_len?}" />
-               </td>
-       </tr>
-
-       <tr>
-               <td class="bottom" align="right" width="380">
-                       {--ADMIN_CONFIG_SALT_LENGTH--}:
-               </td>
-               <td class="bottom">
-                       <input type="text" class="form_field" name="salt_length" size="3" maxlength="3" value="{?salt_length?}" />
-               </td>
-       </tr>
-
-       <tr>
-               <td class="table_footer" colspan="3" align="center">
-                       <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
-                       <input type="submit" class="form_submit" name="save_config" value="{--SAVE_SETTINGS--}" />
-               </td>
-       </tr>
-</table>
+<div class="table dashed">
+       <div class="table_header bottom">
+               {--ADMIN_CONFIG_SECURE_TITLE--}
+       </div>
+
+       <fieldset id="config_min_password_length">
+               <legend>{--ADMIN_CONFIG_MINIMUM_PASSWORD_LENGTH_LEGEND--}</legend>
+
+               <div class="admin_input">
+                       <label for="min_password_length">{--ADMIN_CONFIG_MINIMUM_PASSWORD_LENGTH--}</label>
+                       <div align="center">
+                               <input type="text" class="form_field" name="min_password_length" value="{?min_password_length?}" size="3" maxlengt="20" />
+                       </div>
+               </div>
+
+               <div class="clear"></div>
+
+               <div class="admin_input">
+                       <label for="min_password_score">{--ADMIN_CONFIG_MINIMUM_PASSWORD_SCORE--}</label>
+                       <div align="center">
+                               <select name="min_password_score" size="1" class="form_select">
+                                       <option value="0"$content[min_password_score_0]>{--PASSWORD_SCORE_0--}</option>
+                                       <option value="1"$content[min_password_score_1]>{--PASSWORD_SCORE_1--}</option>
+                                       <option value="2"$content[min_password_score_2]>{--PASSWORD_SCORE_2--}</option>
+                                       <option value="3"$content[min_password_score_3]>{--PASSWORD_SCORE_3--}</option>
+                                       <option value="4"$content[min_password_score_4]>{--PASSWORD_SCORE_4--}</option>
+                                       <option value="5"$content[min_password_score_5]>{--PASSWORD_SCORE_5--}</option>
+                               </select>
+                       </div>
+               </div>
+
+               <div class="clear"></div>
+
+               <div class="admin_input">
+                       <label for="salt_length">{--ADMIN_CONFIG_SALT_LENGTH--}</label>
+                       <div align="center">
+                               <input type="text" class="form_field" name="salt_length" value="{?salt_length?}" size="3" maxlengt="20" />
+                       </div>
+               </div>
+       </fieldset>
+
+       <div class="table_footer top">
+               <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+               <input type="submit" class="form_submit" name="save_config" value="{--SAVE_SETTINGS--}" />
+       </div>
+</div>
 {%form_close%}
 </div>
 
 <div class="notice">
-       {--ADMIN_CONFIG_SALT_LENGTH_NOTICE--}
+       {--ADMIN_CONFIG_SECURE_NOTICE--}
 </div>
index cce8f21d4b34f21e77e3dec696c4ef9d47cdb551..5987f472f3739435c7b8a729fdf272990503638d 100644 (file)
@@ -1,34 +1,37 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=config_session%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_SESSION_TITLE--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td align="right" style="padding-right:10px">
-                       {--ADMIN_CONFIG_SESSION_SAVE_PATH--}:<br />
-               </td>
-               <td>
-                       <input type="text" class="form_field" name="session_save_path" value="{?session_save_path?}" size="30" maxlength="255" />
-               </td>
-       </tr>
-       <tr>
-               <td class="bottom" colspan="2" align="center">
-                       <span class="notice">
-                               {--ADMIN_BASE_PATH--}:<br />
-                               <em>{?PATH?}</em><br />
-                               {--ADMIN_SESSION_SAVE_PATH_NOTICE--}
-                       </span>
-               </td>
-       </tr>
-       <tr>
-               <td colspan="2" class="table_footer">
-                       <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
-                       <input type="submit" class="form_submit" name="save_config" value="{--SAVE_SETTINGS--}" />
-               </td>
-       </tr>
+<tr>
+       <td colspan="2" align="center" class="table_header bottom">
+               {--ADMIN_CONFIG_SESSION_TITLE--}
+       </td>
+</tr>
+
+<tr>
+       <td align="right" style="padding-right:10px">
+               {--ADMIN_CONFIG_SESSION_SAVE_PATH--}<br />
+       </td>
+       <td>
+               <input type="text" class="form_field" name="session_save_path" value="{?session_save_path?}" size="30" maxlength="255" />
+       </td>
+</tr>
+
+<tr>
+       <td class="bottom" colspan="2" align="center">
+               <span class="notice">
+                       {--ADMIN_BASE_PATH--}<br />
+                       <em>{?PATH?}</em><br />
+                       {--ADMIN_SESSION_SAVE_PATH_NOTICE--}
+               </span>
+       </td>
+</tr>
+
+<tr>
+       <td colspan="2" class="table_footer">
+               <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+               <input type="submit" class="form_submit" name="save_config" value="{--SAVE_SETTINGS--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
diff --git a/templates/de/html/admin/admin_config_shop.tpl b/templates/de/html/admin/admin_config_shop.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
index b6092c16deda6de0da4cc90583fc3b018f9216a7..7f9a1a5808bfa33d790edaddc6038c2dea88dfb1 100644 (file)
@@ -3,25 +3,28 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
 <tr>
        <td colspan="2" align="center" class="table_header bottom">
-               <strong>{--ADMIN_CONFIG_SPONSOR_TITLE--}</strong>
+               {--ADMIN_CONFIG_SPONSOR_TITLE--}
        </td>
 </tr>
+
 <tr>
        <td align="right" width="350">
-               {--ADMIN_CONFIG_SPONSOR_MIN_POINTS--}:
+               {--ADMIN_CONFIG_SPONSOR_MIN_POINTS--}
        </td>
        <td width="150" align="center">
                <input type="text" class="form_field" name="sponsor_min_points" size="12" maxlength="20" value="{?sponsor_min_points?}" />
        </td>
 </tr>
+
 <tr>
        <td class="bottom" align="right" width="350">
-               {--ADMIN_CONFIG_SPONSOR_REFERRAL_POINTS--}:
+               {--ADMIN_CONFIG_SPONSOR_REFERRAL_POINTS--}
        </td>
        <td class="bottom" width="150" align="center">
                <input type="text" class="form_field" name="sponsor_ref_points" size="12" maxlength="20" value="{?sponsor_ref_points?}" />
        </td>
 </tr>
+
 <tr>
        <td colspan="2" class="table_footer">
                <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
index 925a9d8b2c7df1ec8fe8b9bd747d393a2cb6905d..78db0b9b8871f8e0b8e5876ecd085a4264b69588 100644 (file)
@@ -3,11 +3,11 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
        <tr>
                <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_GUEST_STATS_TITLE--}</strong>
+                       {--ADMIN_CONFIG_GUEST_STATS_TITLE--}
                </td>
        </tr>
        <tr>
-               <td align="right"><strong>{--ADMIN_CONFIG_GUEST_STATS_MEMBERS--}:</strong><br />
+               <td align="right">{--ADMIN_CONFIG_GUEST_STATS_MEMBERS--}<br />
                        <div class="tiny">({--ADMIN_CONFIG_GUEST_STATS_MEMBERS_NOTICE--})</div>
                </td>
                <td>
@@ -15,7 +15,7 @@
                </td>
        </tr>
        <tr>
-               <td align="right"><strong>{--ADMIN_CONFIG_GUEST_STATS_MODULES--}:</strong><br />
+               <td align="right">{--ADMIN_CONFIG_GUEST_STATS_MODULES--}<br />
                        <div class="tiny">({--ADMIN_CONFIG_GUEST_STATS_MODULES_NOTICE--})</div>
                </td>
                <td>
@@ -23,7 +23,7 @@
                </td>
        </tr>
        <tr>
-               <td class="bottom" align="right"><strong>{--ADMIN_CONFIG_GUEST_STATS_INACTIVE--}:</strong><br />
+               <td class="bottom" align="right">{--ADMIN_CONFIG_GUEST_STATS_INACTIVE--}<br />
                        <div class="tiny">({--ADMIN_CONFIG_GUEST_STATS_INACTIVE_NOTICE--})</div>
                </td>
                <td class="bottom">
        </tr>
        <tr>
                <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_MEMBER_STATS_TITLE--}</strong>
+                       {--ADMIN_MEMBER_STATS_TITLE--}
                </td>
        </tr>
        <tr>
-               <td class="bottom" align="right">{--ADMIN_MEMBER_STATS_LIMIT--}:</td>
+               <td class="bottom" align="right">{--ADMIN_MEMBER_STATS_LIMIT--}</td>
                <td class="bottom">
                        <input type="text" class="form_field" name="stats_limit" value="{?stats_limit?}" size="4" maxlength="20" />
                </td>
index d902f606326aaa471ebd237564028f10fc3a385e..020859026b2453b16438eb7c384e1f15ffafddb9 100644 (file)
@@ -3,17 +3,17 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
        <tr>
                <td class="table_header bottom" colspan="2" align="center">
-                       <strong>{--ADMIN_CONFIG_POINTS_SETTINGS_TITLE--}</strong>
+                       {--ADMIN_CONFIG_POINTS_SETTINGS_TITLE--}
                </td>
        </tr>
        <tr>
-               <td align="right" width="200">{--ADMIN_ENTER_POINTS_REGISTER--}:</td>
+               <td align="right" width="200">{--ADMIN_ENTER_POINTS_REGISTER--}</td>
                <td>
                        <input type="text" class="form_field" name="points_register" size="6" maxlength="6" value="{?points_register?}" />
                </td>
        </tr>
        <tr>
-               <td class="bottom" align="right" width="200">{--ADMIN_ENTER_POINTS_REFERRAL--}:</td>
+               <td class="bottom" align="right" width="200">{--ADMIN_ENTER_POINTS_REFERRAL--}</td>
                <td class="bottom">
                        <input type="text" class="form_field" name="points_ref" size="6" maxlength="6" value="{?points_ref?}" />
                </td>
index ef66d64ebae16fcf3e5ffd793636c5140b49603d..a7e28fb36ccbc468703da4c058d476c4aa2b7337 100644 (file)
@@ -3,7 +3,7 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed" align="center">
        <tr>
                <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_SURFBAR_TITLE--}</strong>
+                       {--ADMIN_CONFIG_SURFBAR_TITLE--}
                </td>
        </tr>
        <tr>
@@ -90,7 +90,7 @@
        </tr>
        <tr>
                <td align="center" colspan="2" class="table_footer bottom">
-                       <strong>{--ADMIN_CONFIG_SURFBAR_PAYMENT_MODEL--}</strong>
+                       {--ADMIN_CONFIG_SURFBAR_PAYMENT_MODEL--}
                </td>
        </tr>
        <tr>
index 37eccf719524a8a02a73c344ecf00e7ad723ea84..534d76b0bc7db20b639d20224c25fea71964b0e0 100644 (file)
@@ -1,25 +1,27 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=config_timezone%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_TIMEZONE_TITLE--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td class="bottom" align="right" style="padding-right:10px">
-                       {--ADMIN_CONFIG_ENTER_TIMEZONE--}
-               </td>
-               <td class="bottom">
-                       <input type="text" class="form_field" name="timezone" value="{?timezone?}" />
-               </td>
-       </tr>
-       <tr>
-               <td colspan="2" class="table_footer">
-                       <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
-                       <input type="submit" class="form_submit" name="save_config" value="{--SAVE_SETTINGS--}" />
-               </td>
-       </tr>
+<tr>
+       <td colspan="2" align="center" class="table_header bottom">
+               {--ADMIN_CONFIG_TIMEZONE_TITLE--}
+       </td>
+</tr>
+
+<tr>
+       <td class="bottom" align="right" style="padding-right:10px">
+               {--ADMIN_CONFIG_ENTER_TIMEZONE--}
+       </td>
+       <td class="bottom">
+               <input type="text" class="form_field" name="timezone" value="{?timezone?}" />
+       </td>
+</tr>
+
+<tr>
+       <td colspan="2" class="table_footer">
+               <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+               <input type="submit" class="form_submit" name="save_config" value="{--SAVE_SETTINGS--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index 7f0176f583e4cd98ca763d7869be748dbbf989a3..14e2a8c2145003ee5ad9af6a7f9cb7cfbea6793c 100644 (file)
@@ -2,23 +2,27 @@
 {%form,formMethodPost=modules.php?module=admin&amp;what=config_title%}
 <div class="table dashed">
        <div class="table_header bottom">
-               <strong>{--ADMIN_CONFIG_TITLE_SETTINGS--}</strong>
+               {--ADMIN_CONFIG_TITLE_SETTINGS--}
        </div>
 
        <fieldset id="config_title_general_fields">
                <legend>{--ADMIN_CONFIG_TITLE_LEGEND--}</legend>
                <div class="admin_input">
-                       <label for="enable_title_deco">{--ADMIN_CONFIG_TITLE_ENABLE_DECORATIONS--}:</label>
+                       <label for="enable_title_deco">{--ADMIN_CONFIG_TITLE_ENABLE_DECORATIONS--}</label>
                        <div align="center">{%template,ConfigurationYesNoSelectionBox=enable_title_deco%}</div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
-                       <label for="enable_mod_title">{--ADMIN_CONFIG_TITLE_ENABLE_MODULE_TITLE--}:</label>
+                       <label for="enable_mod_title">{--ADMIN_CONFIG_TITLE_ENABLE_MODULE_TITLE--}</label>
                        <div align="center">{%template,ConfigurationYesNoSelectionBox=enable_mod_title%}</div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
-                       <label for="enable_what_title">{--ADMIN_CONFIG_TITLE_ENABLE_WHAT_TITLE--}:</label>
+                       <label for="enable_what_title">{--ADMIN_CONFIG_TITLE_ENABLE_WHAT_TITLE--}</label>
                        <div align="center">{%template,ConfigurationYesNoSelectionBox=enable_what_title%}</div>
                </div>
        </fieldset>
                <legend>{--ADMIN_CONFIG_TITLE_DECORATIONS--}</legend>
 
                <div class="admin_input">
-                       <label for="title_left">{--ADMIN_CONFIG_TITLE_LEFT--}:</label>
+                       <label for="title_left">{--ADMIN_CONFIG_TITLE_LEFT--}</label>
                        <div align="center"><input type="text" class="form_field" name="title_left" value="{?title_left?}" size="4" maxlength="10" /></div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
-                       <label for="title_middle">{--ADMIN_CONFIG_TITLE_MIDDLE--}:</label>
+                       <label for="title_middle">{--ADMIN_CONFIG_TITLE_MIDDLE--}</label>
                        <div align="center"><input type="text" class="form_field" name="title_middle" value="{?title_middle?}" size="4" maxlength="10" /></div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
-                       <label for="title_right">{--ADMIN_CONFIG_TITLE_RIGHT--}:</label>
+                       <label for="title_right">{--ADMIN_CONFIG_TITLE_RIGHT--}</label>
                        <div align="center"><input type="text" class="form_field" name="title_right" value="{?title_right?}" size="4" maxlength="10" /></div>
                </div>
        </fieldset>
index 84857b98e6b9b1cf74aa2250bac9c5d304529a5a..a36bc66a61cf0cdcebdd95b5604e307031ae012c 100644 (file)
@@ -1,23 +1,25 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=config_top10%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_TOP10_TITLE--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td class="bottom" align="right">{--ADMIN_CONFIG_TOP10_MAX_TOP10--}:</td>
-               <td class="bottom">
-                       <input type="text" class="form_field" name="top10_max" value="{?top10_max?}" size="4" maxlength="6" />
-               </td>
-       </tr>
-       <tr>
-               <td colspan="2" class="table_footer">
-                       <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
-                       <input type="submit" class="form_submit" name="save_config" value="{--SAVE_SETTINGS--}" />
-               </td>
-       </tr>
+<tr>
+       <td colspan="2" align="center" class="table_header bottom">
+               {--ADMIN_CONFIG_TOP10_TITLE--}
+       </td>
+</tr>
+
+<tr>
+       <td class="bottom" align="right">{--ADMIN_CONFIG_TOP10_MAX_TOP10--}</td>
+       <td class="bottom">
+               <input type="text" class="form_field" name="top10_max" value="{?top10_max?}" size="4" maxlength="6" />
+       </td>
+</tr>
+
+<tr>
+       <td colspan="2" class="table_footer">
+               <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+               <input type="submit" class="form_submit" name="save_config" value="{--SAVE_SETTINGS--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index cc6cd8bfa7ae8460d50079f73259c4de3bc6e507..4f093aa580a481a145f360308d2380d83498999c 100644 (file)
@@ -3,25 +3,25 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
        <tr>
                <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_TRANSFER_TITLE--}</strong>
+                       {--ADMIN_CONFIG_TRANSFER_TITLE--}
                </td>
        </tr>
        <tr>
-               <td align="right">{--ADMIN_CONFIG_TRANSFER_MAX--}:</td>
+               <td align="right">{--ADMIN_CONFIG_TRANSFER_MAX--}</td>
                <td>
                        <input type="text" class="form_field" name="transfer_max" value="{?transfer_max?}" size="4" maxlength="6" />
                </td>
        </tr>
        <tr>
-               <td align="right">{--ADMIN_CONFIG_TRANSFER_AGE--}:</td>
+               <td align="right">{--ADMIN_CONFIG_TRANSFER_AGE--}</td>
                <td>$content[age_selection]</td>
        </tr>
        <tr>
-               <td align="right">{--ADMIN_CONFIG_TRANSFER_TIMEOUT--}:</td>
+               <td align="right">{--ADMIN_CONFIG_TRANSFER_TIMEOUT--}</td>
                <td>$content[timeout_selection]</td>
        </tr>
        <tr>
-               <td align="right">{--ADMIN_CONFIG_TRANSFER_BALANCE--}:</td>
+               <td align="right">{--ADMIN_CONFIG_TRANSFER_BALANCE--}</td>
                <td>
                        <input type="text" class="form_field" name="transfer_balance" value="{?transfer_balance?}" size="4" maxlength="6" />
                        <span class="tiny">({?POINTS?})</span>
@@ -29,7 +29,7 @@
        </tr>
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_TRANSFER_CODE--}:<br />
+                       {--ADMIN_CONFIG_TRANSFER_CODE--}<br />
                        <div class="notice">({--ADMIN_CONFIG_TRANSFER_CODE_NOTICE--})</div>
                </td>
                <td>
diff --git a/templates/de/html/admin/admin_config_transfer_pro.tpl b/templates/de/html/admin/admin_config_transfer_pro.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
index 801aadeb00571216046fc52e51b4e25be3b852d4..edd600ea20f67955d4eee771d30e2a2aba1404ea 100644 (file)
@@ -2,7 +2,7 @@
 {%form,formMethodPost=modules.php?module=admin&amp;what=config_user%}
 <div class="table dashed">
        <div class="table_header bottom">
-               <strong>{--ADMIN_CONFIG_USER_TITLE--}</strong>
+               {--ADMIN_CONFIG_USER_TITLE--}
        </div>
 
        <fieldset id="config_user_fields">
@@ -12,6 +12,8 @@
                        <div align="center"><input type="text" class="form_field" name="user_limit" value="{?user_limit?}" size="4" maxlength="6" /></div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="user_alpha">{--ADMIN_CONFIG_USER_ALPHA--}</label>
                        <div align="center"><input type="text" class="form_field" name="user_alpha" value="{?user_alpha?}" size="4" maxlength="6" /></div>
                        <div align="left"><input type="text" class="form_field" name="tester_user_maximum" value="{?tester_user_maximum?}" size="5" maxlength="5" /></div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="tester_user_family">{--ADMIN_CONFIG_TESTER_USER_GENDER--}</label>
                        <div align="left">$content[tester_user_gender_selection]</div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="tester_user_surname_prefix">{--ADMIN_CONFIG_TESTER_USER_SURNAME_PREFIX--}</label>
                        <div align="left"><input type="text" class="form_field" name="tester_user_surname_prefix" value="{?tester_user_surname_prefix?}" size="10" maxlength="100" /></div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="tester_user_family">{--ADMIN_CONFIG_TESTER_USER_FAMILY--}</label>
                        <div align="left"><input type="text" class="form_field" name="tester_user_family" value="{?tester_user_family?}" size="10" maxlength="255" /></div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="tester_user_street_nr">{--ADMIN_CONFIG_TESTER_USER_STREET_NR--}</label>
                        <div align="left"><input type="text" class="form_field" name="tester_user_street_nr" value="{?tester_user_street_nr?}" size="15" maxlength="255" /></div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="tester_user_zip">{--ADMIN_CONFIG_TESTER_USER_ZIP--}</label>
                        <div align="left"><input type="text" class="form_field" name="tester_user_zip" value="{?tester_user_zip?}" size="6" maxlength="6" /></div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="tester_user_city">{--ADMIN_CONFIG_TESTER_USER_CITY--}</label>
                        <div align="left"><input type="text" class="form_field" name="tester_user_city" value="{?tester_user_city?}" size="10" maxlength="255" /></div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="tester_user_email">{--ADMIN_CONFIG_TESTER_USER_EMAIL--}</label>
                        <div align="left"><input type="text" class="form_field" name="tester_user_email" value="{?tester_user_email?}" size="20" maxlength="255" /></div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="tester_user_password">{--ADMIN_CONFIG_TESTER_USER_PASSWORD--}</label>
                        <div align="left"><input type="password" class="form_field" name="tester_user_password" value="{?tester_user_password?}" size="20" maxlength="255" /></div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="tester_user_check_cat">{--ADMIN_CONFIG_TESTER_USER_CHECK_CAT--}</label>
                        <div align="left">{%template,ConfigurationYesNoSelectionBox=tester_user_check_cat%}</div>
@@ -74,6 +94,8 @@
                        </div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="tester_user_default_refid">{--ADMIN_CONFIG_TESTER_USER_DEFAULT_REFID--}</label>
                        <div align="left">{%pipe,addTesterUserDefaultRefidSelectionBox%}</div>
index 8096db408d6a5e0c610c077e8c895c4bb226b71d..88c7adb31f37ba7d618d27f2bebc89e052822797 100644 (file)
@@ -2,7 +2,7 @@
 {%form,formMethodPost=modules.php?module=admin&amp;what=config_user_subid%}
 <div class="table dashed">
        <div class="table_header bottom">
-               <strong>{--ADMIN_CONFIG_USER_SUBID_TITLE--}</strong>
+               {--ADMIN_CONFIG_USER_SUBID_TITLE--}
        </div>
 
        <fieldset id="config_ap_subids_since">
@@ -15,6 +15,8 @@
                        </div>
                </div>
 
+               <div class="clear"></div>
+
                <div class="admin_input">
                        <label for="ap_subids_since">{--ADMIN_CONFIG_USER_SUBID_STUFF_AUTOPURGE_SINCE--}</label>
                        <div align="center">
index b87ce8f9c42e205fab7beb00d90ed8894faf200f..538c99fe66962ee6cb7074c83df7831725a17baf 100644 (file)
@@ -3,7 +3,7 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
        <tr>
                <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_VALIDATOR_TITLE--}</strong>
+                       {--ADMIN_CONFIG_VALIDATOR_TITLE--}
                </td>
        </tr>
        <tr>
index 00dbb5982543f11447add87f46f633cfa724f4a3..35b1b102285e838b6be83ab7085468afcd5e5ef2 100644 (file)
@@ -3,12 +3,12 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
        <tr>
                <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_WERNIS_TITLE--}</strong>
+                       {--ADMIN_CONFIG_WERNIS_TITLE--}
                </td>
        </tr>
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_WERNIS_API_ID--}:
+                       {--ADMIN_CONFIG_WERNIS_API_ID--}
                </td>
                <td>
                        <input type="text" class="form_field" name="wernis_api_id" value="{?wernis_api_id?}" size="2" maxlength="20" />
@@ -16,7 +16,7 @@
        </tr>
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_WERNIS_API_MD5--}:
+                       {--ADMIN_CONFIG_WERNIS_API_MD5--}
                </td>
                <td>
                        <input type="text" class="form_field" name="wernis_api_md5" value="{?wernis_api_md5?}" size="32" maxlength="32" />
@@ -24,7 +24,7 @@
        </tr>
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_WERNIS_API_URL--}:
+                       {--ADMIN_CONFIG_WERNIS_API_URL--}
                </td>
                <td>
                        <input type="text" class="form_field" name="wernis_api_url" value="{?wernis_api_url?}" size="25" maxlength="255" />
@@ -32,7 +32,7 @@
        </tr>
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_WERNIS_REFID--}:
+                       {--ADMIN_CONFIG_WERNIS_REFID--}
                </td>
                <td>
                        <input type="text" class="form_field" name="wernis_refid" value="{?wernis_refid?}" size="5" maxlength="20" />
@@ -40,7 +40,7 @@
        </tr>
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_WERNIS_WPASS--}:
+                       {--ADMIN_CONFIG_WERNIS_WPASS--}
                </td>
                <td>
                        <input type="password" class="form_field" name="wernis_pass" size="5" maxlength="20" />
@@ -48,7 +48,7 @@
        </tr>
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_WERNIS_MIN_PAYOUT--}:
+                       {--ADMIN_CONFIG_WERNIS_MIN_PAYOUT--}
                </td>
                <td>
                        <input type="text" class="form_field" name="wernis_min_payout" value="{?wernis_min_payout?}" size="5" maxlength="20" />
@@ -57,7 +57,7 @@
        </tr>
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_WERNIS_MIN_WITHDRAW--}:
+                       {--ADMIN_CONFIG_WERNIS_MIN_WITHDRAW--}
                </td>
                <td>
                        <input type="text" class="form_field" name="wernis_min_withdraw" value="{?wernis_min_withdraw?}" size="5" maxlength="20" />
@@ -66,7 +66,7 @@
        </tr>
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_WERNIS_PAYOUT_FACTOR--}:
+                       {--ADMIN_CONFIG_WERNIS_PAYOUT_FACTOR--}
                </td>
                <td>
                        <input type="text" class="form_field" name="wernis_payout_factor" value="{?wernis_payout_factor?}" size="5" maxlength="20" />
@@ -74,7 +74,7 @@
        </tr>
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_WERNIS_WITHDRAW_FACTOR--}:
+                       {--ADMIN_CONFIG_WERNIS_WITHDRAW_FACTOR--}
                </td>
                <td>
                        <input type="text" class="form_field" name="wernis_withdraw_factor" value="{?wernis_withdraw_factor?}" size="5" maxlength="20" />
@@ -82,7 +82,7 @@
        </tr>
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_WERNIS_PAYOUT_FEE_PERCENT--}:
+                       {--ADMIN_CONFIG_WERNIS_PAYOUT_FEE_PERCENT--}
                </td>
                <td>
                        <input type="text" class="form_field" name="wernis_payout_fee_percent" value="{?wernis_payout_fee_percent?}" size="5" maxlength="20" />&#37;
@@ -90,7 +90,7 @@
        </tr>
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_WERNIS_WITHDRAW_FEE_PERCENT--}:
+                       {--ADMIN_CONFIG_WERNIS_WITHDRAW_FEE_PERCENT--}
                </td>
                <td>
                        <input type="text" class="form_field" name="wernis_withdraw_fee_percent" value="{?wernis_withdraw_fee_percent?}" size="5" maxlength="20" />&#37;
@@ -98,7 +98,7 @@
        </tr>
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_WERNIS_PAYOUT_FEE_FIX--}:
+                       {--ADMIN_CONFIG_WERNIS_PAYOUT_FEE_FIX--}
                </td>
                <td>
                        <input type="text" class="form_field" name="wernis_payout_fee_fix" value="{?wernis_payout_fee_fix?}" size="5" maxlength="20" />
        </tr>
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_WERNIS_WITHDRAW_FEE_FIX--}:
+                       {--ADMIN_CONFIG_WERNIS_WITHDRAW_FEE_FIX--}
                </td>
                <td>
                        <input type="text" class="form_field" name="wernis_withdraw_fee_fix" value="{?wernis_withdraw_fee_fix?}" size="5" maxlength="20" />
        </tr>
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_WERNIS_PAYOUT_ACTIVE--}:
+                       {--ADMIN_CONFIG_WERNIS_PAYOUT_ACTIVE--}
                </td>
                <td>
                        {%template,ConfigurationYesNoSelectionBox=wernis_payout_active%}
        </tr>
        <tr>
                <td class="bottom" align="right">
-                       {--ADMIN_CONFIG_WERNIS_WITHDRAW_ACTIVE--}:
+                       {--ADMIN_CONFIG_WERNIS_WITHDRAW_ACTIVE--}
                </td>
                <td class="bottom">
                        {%template,ConfigurationYesNoSelectionBox=wernis_withdraw_active%}
index 200b0eb830f5b4aa19ab78f7aea03409483997af..90e11effc9bf631e776c4faa14bac3bc6489f897 100644 (file)
@@ -3,7 +3,7 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
 <tr>
        <td colspan="2" align="center" class="table_header bottom">
-               <strong>{--ADMIN_CONFIG_YOOMEDIA_TITLE--}</strong>
+               {--ADMIN_CONFIG_YOOMEDIA_TITLE--}
        </td>
 </tr>
 <tr>
index 6555fa184cc9c9afc7e381b06a7fb213dc2fa8c5..0d58328a7f0365952c8ecd679257185267bd05fa 100644 (file)
@@ -1,23 +1,26 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_bank_package%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed" align="center">
-       <tr>
-               <td colspan="5" align="center" class="table_header">
-                       <strong>{--ADMIN_DELETE_BANK_PACKAGES--}:</strong>
-               </td>
-       </tr>
-       <tr>
-               <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="115" align="center" class="header_column bottom"><strong>{--ADMIN_LIST_BANK_PACKAGES_ACCOUNT_FEE--}</strong></td>
-       </tr>
-       $content
-       <tr>
-               <td colspan="5" class="table_footer">
-                       <input type="submit" name="do_delete" class="form_delete" value="{--DEL_ENTRIES--}" />
-               </td>
-       </tr>
+<tr>
+       <td colspan="5" align="center" class="table_header">
+               {--ADMIN_DELETE_BANK_PACKAGES_TITLE--}
+       </td>
+</tr>
+
+<tr>
+       <td colspan="2" align="center" class="header_column bottom right">{--ID_SELECT--}</td>
+       <td align="center" class="header_column bottom right">{--BANK_PACKAGES_TITLE--}</td>
+       <td align="center" class="header_column bottom right">{--BANK_PACKAGES_DESCR--}</td>
+       <td align="center" class="header_column bottom">{--BANK_PACKAGES_ACCOUNT_FEE--}</td>
+</tr>
+
+$content
+
+<tr>
+       <td colspan="5" class="table_footer">
+               <input type="submit" name="do_delete" class="form_delete" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index 3998f9f30d053961b6949274f6eeb1e3116fb22f..5142210d16b8f8d04208dbf480b010ea77849972 100644 (file)
@@ -1,24 +1,27 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=adminedit&amp;sub=$content[sub]%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td align="center" colspan="2" class="table_header" height="40">
-                       <strong>{--DEL_ADMIN_MENU--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td align="center" colspan="2" class="table_header bottom">
-                       {--DEL_MENU_1--}$content[chk]{--DEL_MENU_2--}
-               </td>
-       </tr>
-       $content[rows]
-       <tr>
-               <td colspan="2" class="table_footer">
-                       <input type="hidden" name="ok" value="delete" />
-                       <input type="hidden" name="chk" value="$content[chk]_$content[count]" />
-                       <input type="submit" class="form_delete submit" name="submit" value="{--DEL_ENTRIES--}" />
-               </td>
-       </tr>
+<tr>
+       <td align="center" colspan="2" class="table_header">
+               {--DEL_ADMIN_MENU--}
+       </td>
+</tr>
+
+<tr>
+       <td align="center" colspan="2" class="table_header bottom">
+               {--DEL_MENU_1--}$content[chk]{--DEL_MENU_2--}
+       </td>
+</tr>
+
+$content[rows]
+
+<tr>
+       <td colspan="2" class="table_footer">
+               <input type="hidden" name="ok" value="delete" />
+               <input type="hidden" name="chk" value="$content[chk]_$content[count]" />
+               <input type="submit" class="form_delete submit" name="submit" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index 9dc905af50e3b4b261e02b42a9357b842452a26a..583bbfbe5186eee359db552e68f89ef39009e28b 100644 (file)
@@ -1,24 +1,26 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=admins_edit%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed" align="center">
-       <tr>
-               <td colspan="5" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_ADMINS_DELETE_ACCOUNTS_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="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>
-       $content
-       <tr>
-               <td colspan="5" class="table_footer">
-                       <input type="submit" name="do_delete" class="form_delete" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
-               </td>
-       </tr>
+<tr>
+       <td colspan="5" align="center" class="table_header bottom">
+               {--ADMIN_ADMINS_DELETE_ACCOUNTS_TITLE--}
+       </td>
+</tr>
+
+<tr>
+       <td align="center" class="header_column bottom right" width="30">{--ID_SELECT--}</td>
+       <td align="center" class="header_column bottom right" width="155">{--ADMIN_ADMINS_CONTACT--}</td>
+       <td align="center" class="header_column bottom right" width="155">{--ADMIN_ADMINS_EMAIL--}</td>
+       <td align="center" class="header_column bottom right" width="160">{--ADMIN_ADMINS_ACCESS_MODE--}</td>
+       <td align="center" class="header_column bottom" width="160">{--ADMIN_LA_MODE--}:</td>
+</tr>
+$content
+
+<tr>
+       <td colspan="5" class="table_footer">
+               <input type="submit" name="do_delete" class="form_delete" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index b0a8a5a1d6c381b83c977561490d9fd82a729cfd..cb3d61ecd3c6a91b1dab9099ea5f1f71999f34de 100644 (file)
@@ -1,24 +1,27 @@
 <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_DELETE_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="submit" name="do_delete" class="form_delete" value="{--ADMIN_ADMINS_REMOVE_ACLS_SUBMIT--}" />
-               </td>
-       </tr>
+<tr>
+       <td colspan="5" align="center" class="table_header bottom">
+               {--ADMIN_ADMINS_DELETE_ACLS--}:
+       </td>
+</tr>
+
+<tr>
+       <td align="center" class="header_column bottom right">{--ID_SELECT--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_ADMINS_LOGIN_ID--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_MENU_ACTION--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_MENU_WHAT--}</td>
+       <td align="center" class="header_column bottom">{--ADMIN_ADMINS_ACCESS_MODE--}</td>
+</tr>
+
+$content
+
+<tr>
+       <td colspan="5" class="table_footer">
+               <input type="submit" name="do_delete" class="form_delete" value="{--ADMIN_ADMINS_REMOVE_ACLS_SUBMIT--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index 676e0dbfc2f8514664c5a58ebf7e78748c116acf..600b9be5268801072f39c6790eb43cb60ba0bcd7 100644 (file)
@@ -1,18 +1,20 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_forced_ads&amp;do=delete_forced_ads%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td align="center" class="table_header bottom" height="25" colspan="4">
-                       <strong>{--ADMIN_DELETE_FORCED_ADS_TITLE--}</strong>
-               </td>
-       </tr>
-       $content
-       <tr>
-               <td colspan="4" class="table_footer">
-                       <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
-                       <input type="submit" class="form_delete" name="do_delete" value="{--ADMIN_FORCED_ADS_REMOVE_SUBMIT--}" />
-               </td>
-       </tr>
+<tr>
+       <td align="center" class="table_header bottom" colspan="4">
+               {--ADMIN_DELETE_FORCED_ADS_TITLE--}
+       </td>
+</tr>
+
+$content
+
+<tr>
+       <td colspan="4" class="table_footer">
+               <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+               <input type="submit" class="form_delete" name="do_delete" value="{--ADMIN_FORCED_ADS_REMOVE_SUBMIT--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index f3b4d7daa2d3920e2ad54f3decd42251908fcb53..9a059cc2492c66c2ebd0c80f169b02af499bb804 100644 (file)
@@ -1,18 +1,20 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_forced_costs&amp;do=delete_forced_costs%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td align="center" class="table_header bottom" height="25" colspan="4">
-                       <strong>{--ADMIN_DELETE_FORCED_COSTS_TITLE--}</strong>
-               </td>
-       </tr>
-       $content
-       <tr>
-               <td colspan="4" class="table_footer">
-                       <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
-                       <input type="submit" class="form_delete" name="do_delete" value="{--ADMIN_FORCED_COSTS_REMOVE_SUBMIT--}" />
-               </td>
-       </tr>
+<tr>
+       <td align="center" class="table_header bottom" colspan="4">
+               {--ADMIN_DELETE_FORCED_COSTS_TITLE--}
+       </td>
+</tr>
+
+$content
+
+<tr>
+       <td colspan="4" class="table_footer">
+               <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+               <input type="submit" class="form_delete" name="do_delete" value="{--ADMIN_FORCED_COSTS_REMOVE_SUBMIT--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index ff4ca3a7e323858d398152942febf3a740485797..715e46eb7f96deb27d1ce4ce9db459d4fb29c833 100644 (file)
@@ -1,24 +1,27 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=guestedit&amp;sub=$content[sub]%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td align="center" colspan="2" class="table_header" height="40">
-                       <strong>{--DEL_GUEST_MENU--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td align="center" colspan="2" class="table_header bottom">
-                       {--DEL_MENU_1--}$content[chk]{--DEL_MENU_2--}
-               </td>
-       </tr>
-       $content[rows]
-       <tr>
-               <td colspan="2" class="table_footer">
-                       <input type="hidden" name="ok" value="delete" />
-                       <input type="hidden" name="chk" value="$content[chk]_$content[count]" />
-                       <input type="submit" class="form_delete" name="submit" value="{--DEL_ENTRIES--}" />
-               </td>
-       </tr>
+<tr>
+       <td align="center" colspan="2" class="table_header">
+               {--DEL_GUEST_MENU--}
+       </td>
+</tr>
+
+<tr>
+       <td align="center" colspan="2" class="table_header bottom">
+               {--DEL_MENU_1--}$content[chk]{--DEL_MENU_2--}
+       </td>
+</tr>
+
+$content[rows]
+
+<tr>
+       <td colspan="2" class="table_footer">
+               <input type="hidden" name="ok" value="delete" />
+               <input type="hidden" name="chk" value="$content[chk]_$content[count]" />
+               <input type="submit" class="form_delete" name="submit" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index 5133b09491fb0cd89a79536a657b20d3c191d4d7..e4e530be37a4ca5ca9d86997b43f27aaaec2912f 100644 (file)
@@ -16,7 +16,7 @@
                <td colspan="2" class="table_footer">
                        <input type="hidden" name="ok" value="delete" />
                        <input type="hidden" name="chk" value="$content[chk]_$content[count]" />
-                       <input type="submit" class="form_delete" name="submit" value="{--DEL_ENTRIES--}" />
+                       <input type="submit" class="form_delete" name="submit" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
                </td>
        </tr>
 </table>
index afc59dafa0c2ea05d378211553609f51890583e2..082e20109672ad938ea62f303f8be286666ddb01 100644 (file)
@@ -1,22 +1,23 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_network_array_translation&amp;do=remove_network_array_translation&amp;network_id=$content[network_id]%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td align="center" class="table_header bottom" height="25" colspan="2">
-                       <div>
-                               <strong>{--ADMIN_DELETE_NETWORK_ARRAY_TRANSLATION_TITLE--}</strong>
-                       </div>
-                       <div class="tiny">
-                               ({%network,generateMetworkReferralLinkById=%network_id%%})
-                       </div>
-               </td>
-       </tr>
-       $content[rows]
-       <tr>
-               <td colspan="2" class="table_footer">
-                       <input type="submit" name="do_delete" class="form_delete" value="{--ADMIN_REMOVE_NETWORK_ARRAY_TRANSLATION_SUBMIT--}" />
-               </td>
-       </tr>
+<tr>
+       <td align="center" class="table_header bottom" colspan="2">
+               <div>
+                       {--ADMIN_DELETE_NETWORK_ARRAY_TRANSLATION_TITLE--}
+               </div>
+               <div class="tiny">
+                       ({%network,generateMetworkReferralLinkById=%network_id%%})
+               </div>
+       </td>
+</tr>
+
+$content[rows]
+<tr>
+       <td colspan="2" class="table_footer">
+               <input type="submit" name="do_delete" class="form_delete" value="{--ADMIN_REMOVE_NETWORK_ARRAY_TRANSLATION_SUBMIT--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index 8bd2b53b55355476830d9ba93af43c394ec73b39..a7fc5161a2db5e05f9913a3a1c57fe73135971c4 100644 (file)
@@ -1,22 +1,24 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_network_request_params&amp;do=remove_network_request_params&amp;network_id=$content[network_id]%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td align="center" class="table_header bottom" height="25" colspan="2">
-                       <div>
-                               <strong>{--ADMIN_DELETE_NETWORK_REQUEST_PARAMETER_TITLE--}</strong>
-                       </div>
-                       <div class="tiny">
-                               ({%network,generateMetworkReferralLinkById=%network_id%%})
-                       </div>
-               </td>
-       </tr>
-       $content[rows]
-       <tr>
-               <td colspan="2" class="table_footer">
-                       <input type="submit" name="do_delete" class="form_delete" value="{--ADMIN_REMOVE_NETWORK_REQUEST_PARAMETER_SUBMIT--}" />
-               </td>
-       </tr>
+<tr>
+       <td align="center" class="table_header bottom" colspan="2">
+               <div>
+                       {--ADMIN_DELETE_NETWORK_REQUEST_PARAMETER_TITLE--}
+               </div>
+               <div class="tiny">
+                       ({%network,generateMetworkReferralLinkById=%network_id%%})
+               </div>
+       </td>
+</tr>
+
+$content[rows]
+
+<tr>
+       <td colspan="2" class="table_footer">
+               <input type="submit" name="do_delete" class="form_delete" value="{--ADMIN_REMOVE_NETWORK_REQUEST_PARAMETER_SUBMIT--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index a738cc2a628d7d15410a51071258cf7a02aff141..d00f74db5bd7d9f35f385b869265562c61ab0364 100644 (file)
@@ -2,9 +2,9 @@
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_network_types&amp;do=remove_network_types&amp;network_id=$content[network_id]%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
        <tr>
-               <td align="center" class="table_header bottom" height="25" colspan="2">
+               <td align="center" class="table_header bottom" colspan="2">
                        <div>
-                               <strong>{--ADMIN_DELETE_NETWORK_TYPE_HANDLER_TITLE--}</strong>
+                               {--ADMIN_DELETE_NETWORK_TYPE_HANDLER_TITLE--}
                        </div>
                        <div class="tiny">
                                ({%network,generateMetworkReferralLinkById=%network_id%%})
index 90d7c3f6486da18034f7d54d9799c5936fb800d5..fe4860f3f231920c2b005425fcee8b3a4b6f5b10 100644 (file)
@@ -1,17 +1,19 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_network_data&amp;do=remove_networks%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td align="center" class="table_header bottom" height="25" colspan="4">
-                       <strong>{--ADMIN_DELETE_NETWORK_DATA_TITLE--}</strong>
-               </td>
-       </tr>
-       $content[rows]
-       <tr>
-               <td colspan="4" class="table_footer">
-                       <input type="submit" name="do_delete" class="form_delete" value="{--ADMIN_REMOVE_NETWORK_SUBMIT--}" />
-               </td>
-       </tr>
+<tr>
+       <td align="center" class="table_header bottom" colspan="4">
+               {--ADMIN_DELETE_NETWORK_DATA_TITLE--}
+       </td>
+</tr>
+
+$content[rows]
+
+<tr>
+       <td colspan="4" class="table_footer">
+               <input type="submit" name="do_delete" class="form_delete" value="{--ADMIN_REMOVE_NETWORK_SUBMIT--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index e4d72ce4dbfb52adcde3293f49e42d481673c690..4551cc7334851cfc7afd29499096d8e8046b48f3 100644 (file)
@@ -1,5 +1,5 @@
 <tr>
-       <td align="center" class="{%template,ColorSwitch%} bottom right" height="25">
+       <td align="center" class="{%template,ColorSwitch%} bottom right">
                $content[id]
                <input type="hidden" name="sel[$content[id]]" value="1" />
        </td>
index 2be329b7d67aa0abaa4822a67ff7e14b04e79310..4f2d25a3c8758727e745061233fbe14148faa2d9 100644 (file)
@@ -2,7 +2,7 @@
 {%form,formMethodPost=modules.php?module=admin&amp;what=adminedit&amp;sub=$content[sub]%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
        <tr>
-               <td align="center" colspan="2" class="table_header" height="40">
+               <td align="center" colspan="2" class="table_header">
                        <strong>{--ADMIN_EDIT_ADMIN_MENU_TITLE--}</strong>
                </td>
        </tr>
index 396c9e87365dd8fc1cdba5759b91922c73783425..23c9035e99e7a03cefb8db0413b840c088d33d01 100644 (file)
@@ -1,26 +1,29 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=admins_edit%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed" align="center">
-       <tr>
-               <td colspan="6" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_ADMINS_EDIT_ACCOUNTS_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="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>
-       </tr>
-       $content
-       <tr>
-               <td colspan="6" 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="6" align="center" class="table_header bottom">
+               {--ADMIN_ADMINS_EDIT_ACCOUNTS_TITLE--}
+       </td>
+</tr>
+
+<tr>
+       <td align="center" class="header_column bottom right" width="30">{--ID_SELECT--}</td>
+       <td align="center" class="header_column bottom right" width="155">{--ADMIN_ADMINS_CONTACT--}</td>
+       <td align="center" class="header_column bottom right" width="155">{--ADMIN_ADMINS_EMAIL--}</td>
+       <td align="center" class="header_column bottom right" width="240">{--ADMIN_ADMINS_PASSWORD--}</td>
+       <td align="center" class="header_column bottom right" width="100">{--ADMIN_ADMINS_ACCESS_MODE--}</td>
+       <td align="center" class="header_column bottom" width="100">{--ADMIN_LA_MODE--}:</td>
+</tr>
+
+$content
+
+<tr>
+       <td colspan="6" 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>
index 142f84abc1b1a9be7ee59d02359c53d3184a4246..7159babc21c2b7e35ffb003d7d4bfaea4e5318d9 100644 (file)
@@ -3,16 +3,16 @@
 <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>
+               {--ADMIN_ADMINS_EDIT_ACLS_TITLE--}:
        </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>
+       <td align="center" class="header_column bottom right" width="30">{--ID_SELECT--}</td>
+       <td align="center" class="header_column bottom right" width="120">{--ADMIN_ADMINS_LOGIN_ID--}</td>
+       <td align="center" class="header_column bottom right" width="204">{--ADMIN_MENU_ACTION--}</td>
+       <td align="center" class="header_column bottom right" width="204">{--ADMIN_MENU_WHAT--}</td>
+       <td align="center" class="header_column bottom" width="120">{--ADMIN_ADMINS_ACCESS_MODE--}</td>
 </tr>
 
 $content
index 0e351a03d09d9a4c9ddafe3a2fccacf899c10fd0..f813ecd6908339aa499068bb3f36a61b70bf3e08 100644 (file)
@@ -1,5 +1,5 @@
 <tr>
-       <td colspan="2" align="left" class="table_header bottom" height="25">
+       <td colspan="2" align="left" class="table_header bottom">
                <strong>{--ADMIN_CATEGORY_ID--} $content[id]:</strong>
        </td>
 </tr>
index a20e6a7c40851d3a09c7d62c9acaf9217077ab96..5f90c65966f88ae763e25225d53bef0a2c798f5c 100644 (file)
@@ -3,7 +3,7 @@
 <div class="table dashed">
        <div class="table_header bottom">
                <div>
-                       <strong>{%message,ADMIN_EDIT_CONFIG_NETWORK_HANDLER_TYPE_TITLE=$content[network_type_handler]%}</strong>
+                       {%message,ADMIN_EDIT_CONFIG_NETWORK_HANDLER_TYPE_TITLE=$content[network_type_handler]%}
                </div>
                <div class="tiny">
                        ({%network,generateMetworkReferralLinkById=%network_id%%})
index fb7c0f0e2b36a86634f655fc5058d987e5152c9f..a87017f2a49a22f2ed1f1ff785986e6bc6b26a78 100644 (file)
@@ -1,18 +1,20 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_forced_ads&amp;do=edit_forced_ads%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td align="center" class="table_header bottom" height="25" colspan="4">
-                       <strong>{--ADMIN_EDIT_FORCED_ADS_TITLE--}</strong>
-               </td>
-       </tr>
-       $content
-       <tr>
-               <td colspan="4" class="table_footer">
-                       <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
-                       <input type="submit" class="form_submit" name="do_edit" value="{--ADMIN_FORCED_ADS_CHANGE_SUBMIT--}" />
-               </td>
-       </tr>
+<tr>
+       <td align="center" class="table_header bottom" colspan="4">
+               {--ADMIN_EDIT_FORCED_ADS_TITLE--}
+       </td>
+</tr>
+
+$content
+
+<tr>
+       <td colspan="4" class="table_footer">
+               <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+               <input type="submit" class="form_submit" name="do_edit" value="{--ADMIN_FORCED_ADS_CHANGE_SUBMIT--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index 2f981b7896897569661de1911d4ec769718458bf..020880228fd36aab4701e10d9c9b8d36ce14bffd 100644 (file)
@@ -2,8 +2,8 @@
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_forced_campaigns&amp;do=edit_forced_campaigns%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
        <tr>
-               <td align="center" class="table_header bottom" height="25" colspan="4">
-                       <strong>{--ADMIN_EDIT_FORCED_CAMPAIGN_TITLE--}</strong>
+               <td align="center" class="table_header bottom" colspan="4">
+                       {--ADMIN_EDIT_FORCED_CAMPAIGN_TITLE--}
                </td>
        </tr>
        $content
index 185f956d32d9aac08a8f33a4c0a3ad9169246fea..ec0ebfa25555a488e1abe984513de3c70310148b 100644 (file)
@@ -1,18 +1,20 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_forced_costs&amp;do=edit_forced_costs%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td align="center" class="table_header bottom" height="25" colspan="4">
-                       <strong>{--ADMIN_EDIT_FORCED_COSTS_TITLE--}</strong>
-               </td>
-       </tr>
-       $content
-       <tr>
-               <td colspan="4" class="table_footer">
-                       <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
-                       <input type="submit" class="form_submit" name="do_edit" value="{--ADMIN_FORCED_COSTS_CHANGE_SUBMIT--}" />
-               </td>
-       </tr>
+<tr>
+       <td align="center" class="table_header bottom" colspan="4">
+               {--ADMIN_EDIT_FORCED_COSTS_TITLE--}
+       </td>
+</tr>
+
+$content
+
+<tr>
+       <td colspan="4" class="table_footer">
+               <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+               <input type="submit" class="form_submit" name="do_edit" value="{--ADMIN_FORCED_COSTS_CHANGE_SUBMIT--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index 73baab163452038eebb7ef1539c95d103c432a86..9d8828558ee53f6c4c45df39f0f073afa8e33203 100644 (file)
@@ -1,25 +1,28 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=guestedit&amp;sub=$content[sub]%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td align="center" colspan="2" class="table_header" height="40">
-                       <strong>{--ADMIN_EDIT_GUEST_MENU_TITLE--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td align="center" colspan="2" class="table_header bottom">
-                       {%message,ADMIN_EDIT_MENU=$content[chk]%}
-               </td>
-       </tr>
-       $content[rows]
-       <tr>
-               <td class="table_footer" colspan="2">
-                       <input type="hidden" name="ok" value="edit" />
-                       <input type="hidden" name="chk" value="$content[chk]_$content[count]" />
-                       <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
-                       <input type="submit" class="form_submit" name="submit" value="{--SUBMIT_CHANGES--}" />
-               </td>
-       </tr>
+<tr>
+       <td align="center" colspan="2" class="table_header">
+               {--ADMIN_EDIT_GUEST_MENU_TITLE--}
+       </td>
+</tr>
+
+<tr>
+       <td align="center" colspan="2" class="table_header bottom">
+               {%message,ADMIN_EDIT_MENU=$content[chk]%}
+       </td>
+</tr>
+
+$content[rows]
+
+<tr>
+       <td class="table_footer" colspan="2">
+               <input type="hidden" name="ok" value="edit" />
+               <input type="hidden" name="chk" value="$content[chk]_$content[count]" />
+               <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+               <input type="submit" class="form_submit" name="submit" value="{--SUBMIT_CHANGES--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index 891a4c01a93c1d7dc22ff15d5e31d491c4cb30c9..d38af60b79cc2830b97204f8ce9dfe8c55a7fce2 100644 (file)
@@ -1,25 +1,28 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=memedit&amp;sub=$content[sub]%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td align="center" colspan="2" class="table_header" height="40">
-                       <strong>{--ADMIN_EDIT_MEMBER_MENU_TITLE--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td align="center" colspan="2" class="table_header bottom">
-                       {%message,ADMIN_EDIT_MENU=$content[chk]%}
-               </td>
-       </tr>
-       $content[rows]
-       <tr>
-               <td align="center" colspan="2" class="table_footer">
-                       <input type="hidden" name="ok" value="edit" />
-                       <input type="hidden" name="chk" value="$content[chk]_$content[count]" />
-                       <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
-                       <input type="submit" class="form_submit" name="submit" value="{--SUBMIT_CHANGES--}" />
-               </td>
-       </tr>
+<tr>
+       <td align="center" colspan="2" class="table_header">
+               {--ADMIN_EDIT_MEMBER_MENU_TITLE--}
+       </td>
+</tr>
+
+<tr>
+       <td align="center" colspan="2" class="table_header bottom">
+               {%message,ADMIN_EDIT_MENU=$content[chk]%}
+       </td>
+</tr>
+
+$content[rows]
+
+<tr>
+       <td align="center" colspan="2" class="table_footer">
+               <input type="hidden" name="ok" value="edit" />
+               <input type="hidden" name="chk" value="$content[chk]_$content[count]" />
+               <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+               <input type="submit" class="form_submit" name="submit" value="{--SUBMIT_CHANGES--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index 8aff7ac05d95d657a2c5651a1347b540b1905e52..490a1a4be73e435812f11035387a27cba6730ad0 100644 (file)
@@ -2,18 +2,18 @@
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_mods%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
 <tr>
-       <td align="center" colspan="6" class="table_header bottom" height="40">
-               <strong>{--ADMIN_MODS_EDIT_TITLE--}</strong>
+       <td align="center" colspan="6" class="table_header bottom">
+               {--ADMIN_MODS_EDIT_TITLE--}
        </td>
 </tr>
 
 <tr>
-       <td align="center" class="header_column bottom right" height="25"><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>
-       <td align="center" class="header_column bottom right"><strong>{--ADMIN_MODS_IS_HIDDEN--}</strong></td>
-       <td align="center" class="header_column bottom right"><strong>{--ADMIN_MODS_IS_ADMIN--}</strong></td>
-       <td align="center" class="header_column bottom right"><strong>{--ADMIN_MODS_IS_MEMBER--}</strong></td>
+       <td align="center" class="header_column bottom right">{--ADMIN_MODS_NAME--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_MODS_TITLE--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_MODS_IS_LOCKED--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_MODS_IS_HIDDEN--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_MODS_IS_ADMIN--}</td>
+       <td align="center" class="header_column bottom">{--ADMIN_MODS_IS_MEMBER--}</td>
 </tr>
 
 $content
index 16c29fd43453584b0dcef49155b9085ebc09c9c9..406cbdc08584e5b32b540049dccf5b4c882f5f45 100644 (file)
@@ -1,23 +1,25 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_network_array_translation&amp;do=change_array_translation&amp;network_id=$content[network_id]%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td align="center" class="table_header bottom" height="25" colspan="2">
-                       <div>
-                               <strong>{--ADMIN_EDIT_NETWORK_ARRAY_TRANSLATION_TITLE--}</strong>
-                       </div>
-                       <div class="tiny">
-                               ({%network,generateMetworkReferralLinkById=%network_id%%})
-                       </div>
-               </td>
-       </tr>
-       $content[rows]
-       <tr>
-               <td 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_NETWORK_ARRAY_TRANSLATION_SUBMIT--}" />
-               </td>
-       </tr>
+<tr>
+       <td align="center" class="table_header bottom" colspan="2">
+               <div>
+                       {--ADMIN_EDIT_NETWORK_ARRAY_TRANSLATION_TITLE--}
+               </div>
+               <div class="tiny">
+                       ({%network,generateMetworkReferralLinkById=%network_id%%})
+               </div>
+       </td>
+</tr>
+
+$content[rows]
+
+<tr>
+       <td 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_NETWORK_ARRAY_TRANSLATION_SUBMIT--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index 38c79c93844d3c025d41408ca9b8aaa60c012815..f3372a83cccb6ac739d90969e28e5bf4731b7650 100644 (file)
@@ -1,23 +1,25 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_network_request_params&amp;do=change_request_params&amp;network_id=$content[network_id]%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td align="center" class="table_header bottom" height="25" colspan="2">
-                       <div>
-                               <strong>{--ADMIN_EDIT_NETWORK_REQUEST_PARAMETER_TITLE--}</strong>
-                       </div>
-                       <div class="tiny">
-                               ({%network,generateMetworkReferralLinkById=%network_id%%})
-                       </div>
-               </td>
-       </tr>
-       $content[rows]
-       <tr>
-               <td 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_NETWORK_REQUEST_PARAMETER_SUBMIT--}" />
-               </td>
-       </tr>
+<tr>
+       <td align="center" class="table_header bottom" colspan="2">
+               <div>
+                       {--ADMIN_EDIT_NETWORK_REQUEST_PARAMETER_TITLE--}
+               </div>
+               <div class="tiny">
+                       ({%network,generateMetworkReferralLinkById=%network_id%%})
+               </div>
+       </td>
+</tr>
+
+$content[rows]
+
+<tr>
+       <td 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_NETWORK_REQUEST_PARAMETER_SUBMIT--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index af1f21a357e94bc2e2b36fee93ad89903d8b75c5..b05d6b47f67558e7b32b4b9979accf3b140ff33d 100644 (file)
@@ -1,23 +1,25 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_network_types&amp;do=change_handler_types&amp;network_id=$content[network_id]%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td align="center" class="table_header bottom" height="25" colspan="2">
-                       <div>
-                               <strong>{--ADMIN_EDIT_NETWORK_HANDLER_TYPES_TITLE--}</strong>
-                       </div>
-                       <div class="tiny">
-                               ({%network,generateMetworkReferralLinkById=%network_id%%})
-                       </div>
-               </td>
-       </tr>
-       $content[rows]
-       <tr>
-               <td 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_NETWORK_HANDLER_TYPE_SUBMIT--}" />
-               </td>
-       </tr>
+<tr>
+       <td align="center" class="table_header bottom" colspan="2">
+               <div>
+                       {--ADMIN_EDIT_NETWORK_HANDLER_TYPES_TITLE--}
+               </div>
+               <div class="tiny">
+                       ({%network,generateMetworkReferralLinkById=%network_id%%})
+               </div>
+       </td>
+</tr>
+
+$content[rows]
+
+<tr>
+       <td 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_NETWORK_HANDLER_TYPE_SUBMIT--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index 944143ab0a12844c7e008ea1c40615f1ccf47bac..f5ff5695bc06bea4b127f2f53747b26f0f7b74a9 100644 (file)
@@ -6,8 +6,8 @@
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_network_data&amp;do=change_networks%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
        <tr>
-               <td align="center" class="table_header bottom" height="25" colspan="4">
-                       <strong>{--ADMIN_EDIT_NETWORK_DATA_TITLE--}</strong>
+               <td align="center" class="table_header bottom" colspan="4">
+                       {--ADMIN_EDIT_NETWORK_DATA_TITLE--}
                </td>
        </tr>
        $content[rows]
index c620699579ef619c38b77afa85e73f78e78c1cf0..83667d9fa394767195c556675ac0513721784d52 100644 (file)
@@ -1,5 +1,5 @@
 <tr>
-       <td align="center" class="{%template,ColorSwitch%} bottom right" height="25">
+       <td align="center" class="{%template,ColorSwitch%} bottom right">
                $content[id]
                <input type="hidden" name="sel[$content[id]]" value="1" />
        </td>
index a725ec3c32e71a1936fa4c3436fcc1d75fff19a0..3268bfe3f5525adb8163979b6826e0da7e6b4d8d 100644 (file)
@@ -1,18 +1,20 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_point_accounts&amp;do=edit_points_data%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td align="center" class="table_header bottom" height="25" colspan="4">
-                       <strong>{--ADMIN_EDIT_POINTS_DATA_TITLE--}</strong>
-               </td>
-       </tr>
-       $content
-       <tr>
-               <td colspan="4" class="table_footer">
-                       <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
-                       <input type="submit" class="form_submit" name="do_edit" value="{--ADMIN_POINTS_DATA_CHANGE_SUBMIT--}" />
-               </td>
-       </tr>
+<tr>
+       <td align="center" class="table_header bottom" colspan="4">
+               {--ADMIN_EDIT_POINTS_DATA_TITLE--}
+       </td>
+</tr>
+
+$content
+
+<tr>
+       <td colspan="4" class="table_footer">
+               <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+               <input type="submit" class="form_submit" name="do_edit" value="{--ADMIN_POINTS_DATA_CHANGE_SUBMIT--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
diff --git a/templates/de/html/admin/admin_edit_reflevel.tpl b/templates/de/html/admin/admin_edit_reflevel.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/admin/admin_edit_reflevel_row.tpl b/templates/de/html/admin/admin_edit_reflevel_row.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
index 00fb3d589ceeb5dcfcb0eac343c8487bc02e16da..b600df488f31bde1158d43fbe337dfbad835ebd5 100644 (file)
@@ -1,12 +1,15 @@
 <div align="center">
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="99%">
-       <tr>
-               <td colspan="3" align="center" height="25" class="table_header bottom">
-                       {--ADMIN_POOL_CONTENT--}
-               </td>
-       </tr>
-       $content[top_email_nav]
-       $content[rows]
-       $content[bottom_email_nav]
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
+<tr>
+       <td colspan="3" align="center" class="table_header bottom">
+               {--ADMIN_POOL_CONTENT--}
+       </td>
+</tr>
+
+$content[top_email_nav]
+
+$content[rows]
+
+$content[bottom_email_nav]
 </table>
 </div>
diff --git a/templates/de/html/admin/admin_export_network_vcheck_params.tpl b/templates/de/html/admin/admin_export_network_vcheck_params.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
index 14b00f67eed6380d4600d416c35f5db074d22f8f..bbf2882c53f47080d4e88cb25e1da55ed7da5527 100644 (file)
@@ -1,4 +1,4 @@
 <a name="ext_$content[ext_name]"></a>
 {%form,formMethodPost=modules.php?module=admin&amp;what=extensions&amp;register_ext=$content[ext_name]%}
-       <input type="submit" class="form_submit" name="ok" value="{--ADMIN_REGISTER_EXTENSION--}" />
+       <input type="submit" class="form_submit" name="ok" value="{--ADMIN_TASK_REGISTER_EXTENSION--}" />
 {%form_close%}
diff --git a/templates/de/html/admin/admin_extensions_installed.tpl b/templates/de/html/admin/admin_extensions_installed.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/admin/admin_extensions_list.tpl b/templates/de/html/admin/admin_extensions_list.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/admin/admin_extensions_search.tpl b/templates/de/html/admin/admin_extensions_search.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/admin/admin_forum_add.tpl b/templates/de/html/admin/admin_forum_add.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/admin/admin_forum_descr.tpl b/templates/de/html/admin/admin_forum_descr.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/admin/admin_forum_display_cat.tpl b/templates/de/html/admin/admin_forum_display_cat.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/admin/admin_forum_edit_del.tpl b/templates/de/html/admin/admin_forum_edit_del.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/admin/admin_forum_edit_forum.tpl b/templates/de/html/admin/admin_forum_edit_forum.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/admin/admin_holiday_task.tpl b/templates/de/html/admin/admin_holiday_task.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
index 7ced30e55e8e44df7f56bde8ec7fc6a368d7be6d..d2015b5f1a390e70daddce30b2a1fb69cd25a8cf 100644 (file)
@@ -1,18 +1,26 @@
 <div align="center">
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td class="header_column bottom right" align="center">{--THEME_UNIX--}</td>
-               <td class="header_column bottom right" align="center">{--THEME_NAME--}</td>
-               <td class="header_column bottom right" align="center">{--THEME_AUTHOR--}</td>
-               <td class="header_column bottom right" align="center">{--THEME_URL--}</td>
-               <td class="header_column bottom right" align="center">{--THEME_VERSION--}</td>
-               <td class="header_column bottom" align="center">{--THEME_INSTALL--}</td>
-       </tr>
-       $content
-       <tr>
-               <td colspan="6" class="table_footer">
-                       <div class="notice">{--ADMIN_THEME_LIST_NOTICE--}</div>
-               </td>
-       </tr>
+<tr>
+       <td class="table_header bottom" colspan="6">
+               {--ADMIN_IMPORT_THEMES_TITLE--}
+       </td>
+</tr>
+
+<tr>
+       <td class="header_column bottom right" align="center">{--THEME_UNIX--}</td>
+       <td class="header_column bottom right" align="center">{--THEME_NAME--}</td>
+       <td class="header_column bottom right" align="center">{--THEME_AUTHOR--}</td>
+       <td class="header_column bottom right" align="center">{--THEME_URL--}</td>
+       <td class="header_column bottom right" align="center">{--THEME_VERSION--}</td>
+       <td class="header_column bottom" align="center">{--THEME_INSTALL--}</td>
+</tr>
+
+$content
+
+<tr>
+       <td colspan="6" class="table_footer">
+               <div class="notice">{--ADMIN_THEME_LIST_NOTICE--}</div>
+       </td>
+</tr>
 </table>
 </div>
index 87fa8b51b275baeb21d615cdd27ce89af115e7be..29904432f434da3a4438300e4c19781bf8586793 100644 (file)
@@ -1,26 +1,29 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=admins_edit%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td colspan="5" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_ADMINS_EDIT_DELETE_ACCOUNTS_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="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="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
-       <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>
+<tr>
+       <td colspan="5" align="center" class="table_header bottom">
+               {--ADMIN_ADMINS_EDIT_DELETE_ACCOUNTS_TITLE--}
+       </td>
+</tr>
+
+<tr>
+       <td align="center" class="header_column bottom right" width="30">{--ID_SELECT--}</td>
+       <td align="center" class="header_column bottom right" width="155">{--ADMIN_ADMINS_CONTACT--}</td>
+       <td align="center" class="header_column bottom right" width="300">{--ADMIN_ADMINS_EMAIL--}</td>
+       <td align="center" class="header_column bottom right" width="155">{--ADMIN_ADMINS_ACCESS_MODE--}</td>
+       <td align="center" class="header_column bottom" width="160">{--ADMIN_LA_MODE--}:</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 a0e179dbc59a954f38f0e87c15bd2194b47a460f..33e00329944f682d1e8c644bd7efb9896d807e7f 100644 (file)
@@ -3,16 +3,16 @@
 <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>
+               {--ADMIN_ADMINS_LIST_ACLS--}:
        </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>
+       <td align="center" class="header_column bottom right" width="30">{--ID_SELECT--}</td>
+       <td align="center" class="header_column bottom right" width="120">{--ADMIN_ADMINS_LOGIN_ID--}</td>
+       <td align="center" class="header_column bottom right" width="204">{--ADMIN_MENU_ACTION--}</td>
+       <td align="center" class="header_column bottom right" width="204">{--ADMIN_MENU_WHAT--}</td>
+       <td align="center" class="header_column bottom" width="120">{--ADMIN_ADMINS_ACCESS_MODE--}</td>
 </tr>
 
 $content
index 147cfb78c8a2463acf7482f0005dbb53e54fc223..bfda51758cfe3b4803fc8495a8c8f8bbf6518946 100644 (file)
@@ -1,29 +1,32 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_bank_package%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed" align="center">
-       <tr>
-               <td colspan="8" align="center" class="table_header">
-                       <strong>{--ADMIN_LIST_BANK_PACKAGES--}:</strong>
-               </td>
-       </tr>
-       <tr>
-               <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="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>
-       </tr>
-       $content
-       <tr>
-               <td colspan="8" 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="8" align="center" class="table_header">
+               {--ADMIN_LIST_BANK_PACKAGES_TITLE--}
+       </td>
+</tr>
+
+<tr>
+       <td colspan="2" align="center" class="header_column bottom right">{--ID_SELECT--}</td>
+       <td align="center" class="header_column bottom right">{--BANK_PACKAGES_TITLE--}</td>
+       <td align="center" class="header_column bottom right">{--BANK_PACKAGES_DESCR--}</td>
+       <td align="center" class="header_column bottom right">{--BANK_PACKAGES_ACCOUNT_FEE--}</td>
+       <td align="center" class="header_column bottom right">{--BANK_PACKAGES_ACCOUNT_INTEREST_PLUS--}</td>
+       <td align="center" class="header_column bottom right">{--BANK_PACKAGES_ACCOUNT_INTEREST_MINUS--}</td>
+       <td align="center" class="header_column bottom">{--BANK_PACKAGES_STATUS--}</td>
+</tr>
+
+$content
+
+<tr>
+       <td colspan="8" 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 ca24a37343be8660b8ec44163ecb4e17b769eaaf..256376bb2e2a604fa985abda69d2ce0ae294b223 100644 (file)
@@ -1,12 +1,16 @@
 <div align="center">
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="99%">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
 <tr>
-       <td colspan="3" align="center" height="25" class="table_header bottom">
+       <td colspan="3" align="center" class="table_header bottom">
                <strong>{--ADMIN_LIST_BONUS_TITLE--}</strong>
        </td>
 </tr>
+
 $content[nav]
+
 $content[rows]
+
 $content[nav]
+
 </table>
 </div>
index 05f0fce922fdd7812c44ef19a4744a7c6e1f19cc..48b187a3afaa3754f12e6c7d0f5cac56e8054a67 100644 (file)
@@ -3,41 +3,45 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
 <tr>
        <td colspan="7" class="table_header bottom" align="center">
-               <strong>{--ADMIN_LIST_BOOKING_RECORDS_TITLE--}</strong>
+               {--ADMIN_LIST_BOOKING_RECORDS_TITLE--}
        </td>
 </tr>
+
 <tr>
        <td align="center" class="header_column bottom right" width="30">
-               <strong>{--ID_SELECT--}</strong>
+               {--ID_SELECT--}
        </td>
        <td align="center" class="header_column bottom right">
-               <strong>{--POINTS_SUBJECT--}</strong>
+               {--POINTS_SUBJECT--}
        </td>
        <td align="center" class="header_column bottom right">
-               <strong>{--POINTS_MODE--}</strong>
+               {--POINTS_MODE--}
        </td>
        <td align="center" class="header_column bottom right">
-               <strong>{--POINTS_ACCOUNT_TYPE--}</strong>
+               {--POINTS_ACCOUNT_TYPE--}
        </td>
        <td align="center" class="header_column bottom right">
-               <strong>{?POINTS?}</strong>
+               {?POINTS?}
        </td>
        <td align="center" class="header_column bottom right">
-               <strong>{--BOOKING_RECORDED--}</strong>
+               {--BOOKING_RECORDED--}
        </td>
        <td align="center" class="header_column bottom">
-               <strong>{--BOOKING_COMMENTS--}</strong>
+               {--BOOKING_COMMENTS--}
        </td>
 </tr>
+
 $content[rows]
+
 <tr>
        <td colspan="7" class="table_footer" align="center">
                <input type="hidden" name="booking_id[0]" value="1" />
-               <input type="hidden" name="userid" value="{%get,bigintval=userid%}" />
+               <input type="hidden" name="userid" value="$content[userid]" />
                <input type="submit" class="form_delete" name="do_delete" value="{--ADMIN_ACTION_DELETE_BOOKING_SUBMIT--}" />
        </td>
 </tr>
 </table>
+{%form_close%}
 </div>
 
 <div class="notice">
index ef7324b623143d6daaa51d7fc258d092420f0f11..6ffe488f5c637c924568456f971b6a03a0a32f50 100644 (file)
@@ -1,29 +1,32 @@
 <div align="center">
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td class="table_header" align="center" colspan="4">
-                       <div class="big">$content[list_already]</div>
-               </td>
-       </tr>
-       <tr>
-               <td class="header_column bottom right" align="center" height="25" width="25%">
-                       <div class="medium">{--_USERID--}:</div>
-               </td>
-               <td class="header_column bottom right" align="center" width="25%">
-                       <div class="medium">{?POINTS?}:</div>
-               </td>
-               <td class="header_column bottom right" align="center" width="25%">
-                       <div class="medium">{--ADMIN_DOUBLER_PAYMENT_TIMEMARK--}:</div>
-               </td>
-               <td class="header_column bottom" align="center" width="25%">
-                       <div class="medium">{--REMOTE_IP--}:</div>
-               </td>
-       </tr>
-       $content[rows]
-       <tr>
-               <td colspan="4" class="table_footer">
-                       {--ADMIN_DOUBLER_NOTICE--}
-               </td>
-       </tr>
+<tr>
+       <td class="table_header" align="center" colspan="4">
+               <div class="big">$content[list_already]</div>
+       </td>
+</tr>
+
+<tr>
+       <td class="header_column bottom right" align="center">
+               <div class="medium">{--_USERID--}:</div>
+       </td>
+       <td class="header_column bottom right" align="center">
+               <div class="medium">{?POINTS?}:</div>
+       </td>
+       <td class="header_column bottom right" align="center">
+               <div class="medium">{--ADMIN_DOUBLER_PAYMENT_TIMEMARK--}:</div>
+       </td>
+       <td class="header_column bottom" align="center">
+               <div class="medium">{--REMOTE_IP--}:</div>
+       </td>
+</tr>
+
+$content[rows]
+
+<tr>
+       <td colspan="4" class="table_footer">
+               {--ADMIN_DOUBLER_NOTICE--}
+       </td>
+</tr>
 </table>
 </div>
index a2594c58f1c09e7e00d52bb81faef326c02d0cc1..50ee174e34efe656fc5649af37b050c0acbc4509 100644 (file)
@@ -6,10 +6,10 @@
                </td>
        </tr>
        <tr>
-               <td class="header_column bottom right" align="center" height="25" width="260">
+               <td class="header_column bottom right" align="center">
                        <div class="medium">{--ADMIN_DOUBLER_LIST_ALREADY--}</div>
                </td>
-               <td class="header_column bottom" align="center" height="25" width="260">
+               <td class="header_column bottom" align="center">
                        <div class="medium">{--ADMIN_DOUBLER_LIST_WAITING--}</div>
                </td>
        </tr>
index e05bb2282be9248d74d2118747ce37e7dba614a4..28931b4f337d5b55d216e5af5363a3a0127332f8 100644 (file)
@@ -1,21 +1,24 @@
 <div align="center">
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td class="table_header" align="center" colspan="4">
-                       <strong class="big">$content[list_waiting]</strong>
-               </td>
-       </tr>
-       <tr>
-               <td class="header_column bottom right" align="center" height="25" width="25%"><strong>{--_USERID--}:</strong></td>
-               <td class="header_column bottom right" align="center" width="25%"><strong>{?POINTS?}:</strong></td>
-               <td class="header_column bottom right" align="center" width="25%"><strong>{--ADMIN_DOUBLER_PAYMENT_TIMEMARK--}:</strong></td>
-               <td class="header_column bottom" align="center" width="25%"><strong class="medium">{--REMOTE_IP--}:</strong></td>
-       </tr>
-       $content[rows]
-       <tr>
-               <td colspan="4" class="table_footer">
-                       {--ADMIN_DOUBLER_NOTICE--}
-               </td>
-       </tr>
+<tr>
+       <td class="table_header" align="center" colspan="4">
+               $content[list_waiting]
+       </td>
+</tr>
+
+<tr>
+       <td class="header_column bottom right" align="center">{--_USERID--}:</td>
+       <td class="header_column bottom right" align="center">{?POINTS?}:</td>
+       <td class="header_column bottom right" align="center">{--ADMIN_DOUBLER_PAYMENT_TIMEMARK--}:</td>
+       <td class="header_column bottom" align="center">{--REMOTE_IP--}:</td>
+</tr>
+
+$content[rows]
+
+<tr>
+       <td colspan="4" class="table_footer">
+               {--ADMIN_DOUBLER_NOTICE--}
+       </td>
+</tr>
 </table>
 </div>
index 71e282b648246c3f0015e3a339bdc8b846c051b0..4386784e15b49e021ec78092566105cb18168979 100644 (file)
@@ -1,12 +1,16 @@
 <div align="center">
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="99%">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
 <tr>
-       <td colspan="3" align="center" height="25" class="table_header bottom">
-               <div class="table">{--ADMIN_POOL_CONTENT--} ($content[who])</div>
+       <td colspan="3" align="center" class="table_header bottom">
+               <div>{--ADMIN_POOL_CONTENT--} ($content[who])</div>
        </td>
 </tr>
+
 $content[nav]
+
 $content[rows]
+
 $content[nav]
+
 </table>
 </div>
index 31dfe3d04a1b56430c99a0fdf63f669fe2eaa88b..066bfd9f4e8a27c9a5e9dc647a8e0b44c9f9f288 100644 (file)
@@ -1,19 +1,21 @@
 <div align="center">
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td colspan="4" align="center" class="table_header bottom" height="40">
-                       {%user,gender,translateGender=$content[userid]%}
-                       {%user,surname=$content[userid]%}
-                       {%user,family=$content[userid]%}
-                       {%pipe,generateUserProfileLink=$content[userid]%}:
-               </td>
-       </tr>
-       $content[rows]
-       <tr>
-               <td colspan="4" height="40" class="table_footer" align="center">
-                       {%message,ADMIN_TOTAL_LINKS_LEFT=$content[nums]%}<br />
-                       <a href="{%url=modules.php?module=admin&amp;what=list_links&amp;userid=$content[userid]&amp;del=all%}" onclick="return confirm('{--ADMIN_REALLY_DELETE_ALL_MAILS--}')">{--ADMIN_DELETE_UNCONFIRMED_LINKS--}</a>
-               </td>
-       </tr>
+<tr>
+       <td colspan="4" align="center" class="table_header bottom">
+               {%user,gender,translateGender=$content[userid]%}
+               {%user,surname=$content[userid]%}
+               {%user,family=$content[userid]%}
+               {%pipe,generateUserProfileLink=$content[userid]%}:
+       </td>
+</tr>
+
+$content[rows]
+
+<tr>
+       <td colspan="4" class="table_footer" align="center">
+               {%message,ADMIN_TOTAL_LINKS_LEFT=$content[nums]%}<br />
+               <a href="{%url=modules.php?module=admin&amp;what=list_links&amp;userid=$content[userid]&amp;del=all%}" onclick="return confirm('{--ADMIN_REALLY_DELETE_ALL_MAILS--}')">{--ADMIN_DELETE_UNCONFIRMED_LINKS--}</a>
+       </td>
+</tr>
 </table>
 </div>
index fb76fa0e3c3bbab8a45f413bca52484fa1cd8cab..524c6bc1a26bd8a0dd11b80111294813c91f2cec 100644 (file)
@@ -3,18 +3,18 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
 <tr>
        <td colspan="7" class="table_header bottom" align="center">
-               <strong>{--ADMIN_LIST_MODS_TITLE--}</strong>
+               {--ADMIN_LIST_MODS_TITLE--}
        </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_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>
-       <td align="center" class="header_column bottom right"><strong>{--ADMIN_MODS_IS_HIDDEN--}</strong></td>
-       <td align="center" class="header_column bottom right"><strong>{--ADMIN_MODS_IS_ADMIN--}</strong></td>
-       <td align="center" class="header_column bottom"><strong>{--ADMIN_MODS_IS_MEMBER--}</strong></td>
+       <td align="center" class="header_column bottom right">{--ID_SELECT--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_MODS_NAME--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_MODS_TITLE--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_MODS_IS_LOCKED--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_MODS_IS_HIDDEN--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_MODS_IS_ADMIN--}</td>
+       <td align="center" class="header_column bottom">{--ADMIN_MODS_IS_MEMBER--}</td>
 </tr>
 
 $content
index 1dab843c0a12734c5397d14796b4c04afecae65b..2a4afd6e3425718eeb258e66938088aa720b0bb8 100644 (file)
@@ -4,7 +4,7 @@
 <tr>
        <td colspan="5" align="center" class="table_header bottom">
                <div>
-                       <strong>{--ADMIN_LIST_NETWORK_ARRAY_TRANSLATION_TITLE--}</strong>
+                       {--ADMIN_LIST_NETWORK_ARRAY_TRANSLATION_TITLE--}
                </div>
                <div class="tiny">
                        ({%network,generateMetworkReferralLinkById=%network_id%%})
 </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>
+       <td align="center" class="header_column bottom right">{--ID_SELECT--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_NETWORK_TYPE_HANDLER--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_NETWORK_ARRAY_INDEX_TRANSLATION--}</td>
+       <td align="center" class="header_column bottom">{--ADMIN_NETWORK_ARRAY_INDEX_SORTING--}</td>
 </tr>
 
 $content[rows]
index 41dc7fb519815e0761fa018ebc2cda2c4ecd3145..657478f407322026b86310a0b9d1e576e5e85f27 100644 (file)
@@ -3,27 +3,27 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
 <tr>
        <td colspan="8" class="table_header">
-               <strong>{--ADMIN_LIST_NEWORK_DATA_TITLE--}</strong>
+               {--ADMIN_LIST_NEWORK_DATA_TITLE--}
        </td>
 </tr>
 
 <tr>
-       <td height="25" colspan="3" class="header_column bottom right separator">&nbsp;</td>
+       <td colspan="3" class="header_column bottom right separator">&nbsp;</td>
        <td colspan="2" class="header_column bottom right" align="center">
-               <strong>{--ADMIN_NETWORK_SEPARATOR--}</strong>
+               {--ADMIN_NETWORK_SEPARATOR--}
        </td>
        <td colspan="3" class="header_column bottom separator">&nbsp;</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_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>
-       <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_ROW_SEPARATOR2--}</strong></td>
-       <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_REQUEST_TYPE--}</strong></td>
-       <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_CHARSET--}</strong></td>
-       <td align="center" class="header_column bottom"><strong>{--ADMIN_NETWORK_REQUIRE_ID_CARD_SHORT--}</strong></td>
+       <td align="center" class="header_column bottom right">{--ID_SELECT--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_NETWORK_SHORT_NAME--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_NETWORK_REFERRAL_LINK--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_NETWORK_DATA_SEPARATOR2--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_NETWORK_ROW_SEPARATOR2--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_NETWORK_REQUEST_TYPE--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_NETWORK_CHARSET--}</td>
+       <td align="center" class="header_column bottom">{--ADMIN_NETWORK_REQUIRE_ID_CARD_SHORT--}</td>
 </tr>
 
 $content
index fa3688a8b6f35c8bd4f9769968c58fc1cb66e046..afeab8cf971f8e912dee0a5019e13d3fee519197 100644 (file)
@@ -3,14 +3,14 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
 <tr>
        <td colspan="3" class="table_header">
-               <strong>{%message,ADMIN_QUERY_NETWORK_APIS_TITLE=$content[network_id]%}</strong>
+               {%message,ADMIN_QUERY_NETWORK_APIS_TITLE=$content[network_id]%}
        </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"><strong>{--ADMIN_QUERY_NETWORK_TYPE--}</strong></td>
+       <td align="center" class="header_column bottom right">{--ID_SELECT--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_NETWORK_TYPE_HANDLER--}</td>
+       <td align="center" class="header_column bottom">{--ADMIN_QUERY_NETWORK_TYPE--}</td>
 </tr>
 
 $content[rows]
index b6e672ccba54efd1dac119fd98bc8d95e5d66250..b0a62d4bd92026206234b95a092181c625a9fe27 100644 (file)
@@ -1,34 +1,34 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_network_request_params&amp;do=handle_request_params&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_REQUEST_PARAMETER_TITLE--}</strong>
-                       </div>
-                       <div class="tiny">
-                               ({%network,generateMetworkReferralLinkById=%network_id%%})
-                       </div>
-               </td>
-       </tr>
+<tr>
+       <td colspan="5" align="center" class="table_header bottom">
+               <div>
+                       {--ADMIN_LIST_NETWORK_REQUEST_PARAMETER_TITLE--}
+               </div>
+               <div class="tiny">
+                       ({%network,generateMetworkReferralLinkById=%network_id%%})
+               </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_REQUEST_PARAMETER_KEY_SHORT--}</strong></td>
-               <td align="center" class="header_column bottom right"><strong>{--ADMIN_NETWORK_REQUEST_PARAMETER_VALUE--}</strong></td>
-               <td align="center" class="header_column bottom"><strong>{--ADMIN_NETWORK_REQUEST_PARAMETER_DEFAULT--}</strong></td>
-       </tr>
+<tr>
+       <td align="center" class="header_column bottom right">{--ID_SELECT--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_NETWORK_TYPE_HANDLER--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_NETWORK_REQUEST_PARAMETER_KEY_SHORT--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_NETWORK_REQUEST_PARAMETER_VALUE--}</td>
+       <td align="center" class="header_column bottom">{--ADMIN_NETWORK_REQUEST_PARAMETER_DEFAULT--}</td>
+</tr>
 
-       $content[rows]
+$content[rows]
 
-       <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" 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 437ca58b227541662f2e753dfa21fec2b6c43314..1dc28b237512ee9d3277da51989f0e7cf7f9a897 100644 (file)
@@ -4,7 +4,7 @@
 <tr>
        <td colspan="7" align="center" class="table_header bottom">
                <div>
-                       <strong>{--ADMIN_LIST_NETWORK_TYPE_HANDLER_TITLE--}</strong>
+                       {--ADMIN_LIST_NETWORK_TYPE_HANDLER_TITLE--}
                </div>
                <div class="tiny">
                        ({%network,generateMetworkReferralLinkById=%network_id%%})
 </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>
+       <td align="center" class="header_column bottom right">{--ID_SELECT--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_NETWORK_TYPE_HANDLER--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_NETWORK_TYPE_HANDLER_API_URL--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_NETWORK_TYPE_HANDLER_CLICK_URL--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_NETWORK_TYPE_HANDLER_BANNER_URL--}</td>
+       <td align="center" class="header_column bottom right">{--TIME_UNIT--}</td>
+       <td align="center" class="header_column bottom">{--ADMIN_NETWORK_TYPE_HANDLER_TEXT_ENCODING--}</td>
 </tr>
 
 $content[rows]
diff --git a/templates/de/html/admin/admin_list_network_vcheck_params.tpl b/templates/de/html/admin/admin_list_network_vcheck_params.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/admin/admin_list_network_vcheck_params_row.tpl b/templates/de/html/admin/admin_list_network_vcheck_params_row.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
index 021e74c7149ee2b94bb6e3829190dec15b56b7a8..fccd7f55b91bd2326ba3e59108f0352a840e9d3c 100644 (file)
@@ -1,12 +1,16 @@
 <div align="center">
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="99%">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
 <tr>
-       <td colspan="3" align="center" height="25" class="table_header">
+       <td colspan="3" align="center" class="table_header">
                <strong>{--ADMIN_NOTIFCATION_TITLE--}</strong>
        </td>
 </tr>
+
 $content[nav]
+
 $content[rows]
+
 $content[nav]
+
 </table>
 </div>
index 876cfc713219f51e04c8764738bfcc965512a60c..8c6a24d80ad7826fe17762366b76cf8addcb7358 100644 (file)
@@ -2,19 +2,19 @@
 <table border="0" cellspacing="0" cellpadding="0" align="center" class="table dashed">
 <tr>
        <td colspan="8" class="table_header bottom">
-               <strong>{--ADMIN_ONLINE_DETAILS--}</strong>
+               {--ADMIN_ONLINE_DETAILS--}
        </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>
-       <td align="center" width="10%" class="header_column bottom right"><strong>{--REMOTE_IP--}:</strong></td>
-       <td align="center" width="5%" class="header_column bottom right"><strong>{--_REFID--}:</strong></td>
-       <td align="center" width="10%" class="header_column bottom right"><strong>{--_MODULE--}:</strong></td>
-       <td align="center" width="10%" class="header_column bottom right"><strong>{--ADMIN_MENU_ACTION--}:</strong></td>
-       <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>
+       <td align="center" width="5%" class="header_column bottom right">{--ID_SELECT--}</td>
+       <td align="center" width="10%" class="header_column bottom right">{--_USERID--}:</td>
+       <td align="center" width="10%" class="header_column bottom right">{--REMOTE_IP--}:</td>
+       <td align="center" width="5%" class="header_column bottom right">{--_REFID--}:</td>
+       <td align="center" width="10%" class="header_column bottom right">{--_MODULE--}:</td>
+       <td align="center" width="10%" class="header_column bottom right">{--ADMIN_MENU_ACTION--}</td>
+       <td align="center" width="5%" class="header_column bottom right">{--ADMIN_MENU_WHAT--}</td>
+       <td align="center" width="10%" class="header_column bottom">{--LAST_SEEN--}:</td>
 </tr>
 
 $content[rows]
index 894e76ed2b5f32aea83911fe8e9f3937195a6de5..46a2eab7bfda3007eb59c59777d8e55f47a61afe 100644 (file)
@@ -2,14 +2,14 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
 <tr>
        <td colspan="4" align="center" class="table_header bottom">
-               <strong>{%message,ADMIN_LIST_RALLYE_USERS_TITLE2=$content[rallye_id]%}:</strong>
+               {%message,ADMIN_LIST_RALLYE_USERS_TITLE2=$content[rallye_id]%}:
        </td>
 </tr>
 <tr>
-       <td align="center" class="header_column bottom right"><strong>{--_USERID--}:</strong></td>
-       <td align="center" class="header_column bottom right"><strong>{--RALLYE_OLD_REFS--}:</strong></td>
-       <td align="center" class="header_column bottom right"><strong>{--RALLYE_NEW_REFS--}:</strong></td>
-       <td align="center" class="header_column bottom"><strong>{--RALLYE_REFERRAL_POINTS--}:</strong></td>
+       <td align="center" class="header_column bottom right">{--_USERID--}:</td>
+       <td align="center" class="header_column bottom right">{--RALLYE_OLD_REFS--}:</td>
+       <td align="center" class="header_column bottom right">{--RALLYE_NEW_REFS--}:</td>
+       <td align="center" class="header_column bottom">{--RALLYE_REFERRAL_POINTS--}:</td>
 </tr>
 $content[rows]
 <tr>
index dd4f4076e4d98467d91d956925d11145b90950c6..6fcceaeeb55f2f8dbc5b78a307ad10858ba7aadd 100644 (file)
@@ -21,6 +21,7 @@
                $content[end_date]
        </td>
 </tr>
+
 <tr>
        <td align="center" class="{%template,ColorSwitch%} bottom right">
                <strong>{--ADMIN_RALLYE_TEMPLATE--}:</strong><br />
@@ -43,6 +44,7 @@
                {%pipe,translateYesNo=$content[notified]%}
        </td>
 </tr>
+
 <tr>
        <td align="center" class="{%template,ColorSwitch%} bottom right" colspan="3">
                <strong>{--RALLYE_ASSIGNED_PRICES--}:</strong><br />
                $content[users_content]
        </td>
 </tr>
+
 <tr>
        <td align="center" class="table_header bottom" colspan="5" height="35">
                <strong>{--RALLYE_LIMITATIONS--}:</strong>
        </td>
 </tr>
+
 <tr>
        <td align="center" class="{%template,ColorSwitch%} bottom right" colspan="3">
                <strong>{--ADMIN_RALLYE_MIN_USERS_MINI--}:</strong><br />
diff --git a/templates/de/html/admin/admin_list_reflevel.tpl b/templates/de/html/admin/admin_list_reflevel.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/admin/admin_list_reflevel_row.tpl b/templates/de/html/admin/admin_list_reflevel_row.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
index bff4efec285fd1b68980b5d177f951be00a76d8a..f26fe613c8aa5e6566df0e189a2e681bdac0e0e3 100644 (file)
                <div class="big">{--ADMIN_SPONSOR_DETAILS--}:</div>
        </td>
 </tr>
+
 <tr>
-       <td align="right" class="bottom right" height="25">{--SPONSOR_ID--}:&nbsp;</td>
+       <td align="right" class="bottom right">{--SPONSOR_ID--}:&nbsp;</td>
        <td class="bottom">$content[id] [<strong><a href="{%url=modules.php?module=admin&amp;what=lock_sponsor&amp;id=$content[id]%}">{%pipe,translateSponsorStatus=$content[status]%}</a></strong>]</td>
 </tr>
+
 <tr>
        <td colspan="2" align="center" class="table_header bottom">
                <strong>{--ADMIN_SPONSOR_COMPANY_DATA--}:</strong>
        </td>
 </tr>
+
 <tr>
        <td align="right" class="bottom right">{--SPONSOR_ENTER_COMPANY_TITLE--}:</td>
        <td class="bottom">$content[company]</td>
 </tr>
+
 <tr>
        <td align="right" class="bottom right">{--SPONSOR_ENTER_COMPANY_POSITION--}:</td>
        <td class="bottom">$content[position]</td>
 </tr>
+
 <tr>
        <td align="right" class="bottom right">{--SPONSOR_ENTER_TAX_IDENT--}:</td>
        <td class="bottom">$content[tax_ident]</td>
 </tr>
+
 <tr>
        <td colspan="2" align="center" class="table_header bottom">
                <strong>{--ADMIN_SPONSOR_PERSONA_DATA--}:</strong>
        </td>
 </tr>
+
 <tr>
        <td align="right" class="bottom right">{--SURNAME_FAMILY--}:</td>
        <td class="bottom">{%pipe,translateGender=$content[gender]%} $content[surname] $content[family]</td>
 </tr>
+
 <tr>
        <td align="right" class="bottom right">{--SPONSOR_ENTER_STREET_NR1--}:</td>
        <td class="bottom">$content[street_nr1]</td>
 </tr>
+
 <tr>
        <td align="right" class="bottom right">{--SPONSOR_ENTER_STREET_NR2--}:</td>
        <td class="bottom">$content[street_nr2]</td>
 </tr>
+
 <tr>
        <td align="right" class="bottom right">{--SPONSOR_ENTER_CNTRY_ZIP_CITY--}:</td>
        <td class="bottom">$content[country]-$content[zip]$content[city]</td>
 </tr>
+
 <tr>
        <td align="right" class="bottom right">{--SPONSOR_ENTER_PHONE--}:</td>
        <td class="bottom">$content[phone]</td>
 </tr>
+
 <tr>
        <td align="right" class="bottom right">{--SPONSOR_ENTER_FAX--}:</td>
        <td class="bottom">$content[fax]</td>
 </tr>
+
 <tr>
        <td align="right" class="bottom right">{--SPONSOR_ENTER_CELL--}:</td>
        <td class="bottom">$content[cell]</td>
 </tr>
+
 <tr>
        <td align="right" class="bottom right">{--SPONSOR_ENTER_EMAIL--}:</td>
        <td class="bottom"><a href="$content[email_link]">$content[email]</a></td>
 </tr>
+
 <tr>
        <td align="right" class="bottom right">{--SPONSOR_ENTER_URL--}:</td>
        <td class="bottom">[{%template,DereferrerUrl=$content[url]%}]</td>
 </tr>
+
 <tr>
        <td colspan="2" align="center" class="table_header bottom">
                <strong>{--ADMIN_SPONSOR_WARNINGS_POINTS--}:</strong>
        </td>
 </tr>
+
 <tr>
        <td align="right" class="bottom right">{--SPONSOR_RECEIVE_WARNINGS_SHORT--}:</td>
        <td align="center" class="bottom">{%pipe,translateYesNo=$content[receive_warnings]%}</td>
 <tr>
+
 <tr>
        <td align="right" class="bottom right">{--SPONSOR_WARNING_INTERVAL_SHORT--}:</td>
        <td align="center" class="bottom">{%pipe,createFancyTime=$content[warning_interval]%}</td>
 <tr>
+
 <tr>
        <td align="right" class="bottom right">{--SPONSOR_POINTS_AMOUNT--}:</td>
        <td align="center" class="bottom">[<a href="{%url=modules.php?module=admin&amp;what=edit_sponsor&amp;id=$content[id]&amp;do=add_points%}" title="{--ADMIN_SPONSOR_ADD_POINTS_LINK_TITLE--}"><strong>{%pipe,translateComma=$content[points_amount]%}</strong></a>]</td>
 </tr>
+
 <tr>
        <td align="right" class="bottom right">{--SPONSOR_POINTS_USED--}:</td>
        <td align="center" class="bottom">[<a href="{%url=modules.php?module=admin&amp;what=edit_sponsor&amp;id=$content[id]&amp;do=sub_points%}" title="{--ADMIN_SPONSOR_SUB_POINTS_LINK_TITLE--}"><strong>{%pipe,translateComma=$content[points_used]%}</strong></a>]</td>
 </tr>
+
 <tr>
        <td colspan="2" align="center" class="table_header bottom">
                <strong>{--ADMIN_SPONSOR_OTHER_DETAILS--}:</strong>
        </td>
 </tr>
+
 <tr>
        <td align="right" class="bottom right">{--SPONSOR_CREATED--}:</td>
        <td align="center" class="bottom">$content[sponsor_created]</td>
 </tr>
+
 <tr>
        <td align="right" class="bottom right">{--LAST_ONLINE_SHORT--}:</td>
        <td align="center" class="bottom">$content[last_online]</td>
 </tr>
+
 <tr>
        <td align="right" class="bottom right">{--ADMIN_LAST_CHANGE--}:</td>
        <td align="center" class="bottom">$content[last_change]</td>
 </tr>
+
 <tr>
        <td align="right" class="bottom right">{--REMOTE_IP--}:</td>
        <td align="center" class="bottom">$content[remote_addr]</td>
 </tr>
+
 <tr>
        <td align="right" class="bottom right">{--SPONSOR_REFID--}:</td>
        <td align="center" class="bottom">$content[refid]</td>
 </tr>
+
 <tr>
        <td align="right" class="bottom right">{--SPONSOR_REFERRALS--}:</td>
        <td align="center" class="bottom">[<a href="{%url=modules.php?module=admin&amp;what=list_sponsor&amp;rid=$content[id]%}"><strong>$content[ref_count]</strong></a>]</td>
 </tr>
+
 <tr>
        <td colspan="2" class="table_footer">
                <div align="center"><strong>{--ADMIN_SPONSOR_ACTIONS--}:</strong></div>
index 6349408e6cc61bd1f3fbbf0dd9b79a0af1aef5b2..322927d37535089105eeca5bddca38a022dbc9a9 100644 (file)
@@ -1,18 +1,18 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_sponsor_pay%}
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="640">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
 <tr>
-       <td align="center" colspan="5" class="table_header bottom" height="40">
-               <strong>{--SPONSOR_DELETE_PAY_ENTRIES--}</strong>
+       <td align="center" colspan="5" class="table_header bottom">
+               {--SPONSOR_DELETE_PAY_ENTRIES--}
        </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="160"><strong>{--SPONSOR_PAYTYPE_NAME--}:</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>
+       <td align="center" class="header_column bottom right">{--ID_SELECT--}</td>
+       <td align="center" class="header_column bottom right">{--SPONSOR_PAYTYPE_NAME--}:</td>
+       <td align="center" class="header_column bottom right">{--SPONSOR_PAYTYPE_RATE--}:</td>
+       <td align="center" class="header_column bottom right">{--SPONSOR_PAYTYPE_MIN_COUNT2--}:</td>
+       <td align="center" class="header_column bottom">{--SPONSOR_PAYTYPE_CURRENCY--}:</td>
 </tr>
 
 $content
@@ -20,7 +20,7 @@ $content
 <tr>
        <td align="center" colspan="5" class="table_footer">
                <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
-               <input type="submit" class="form_delete" name="do_delete" value="{--DEL_ENTRIES--}" />
+               <input type="submit" class="form_delete" name="do_delete" value="{--ADMIN_ACTION_DELETE_SUBMIT--}" />
        </td>
 </tr>
 </table>
index 4123cf41818294b1d3af0354dced19644fff356e..8e6d26d3d743dd383ddff5f1ce180a758a951ce8 100644 (file)
@@ -2,17 +2,17 @@
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_sponsor_pay%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="640">
 <tr>
-       <td align="center" colspan="5" class="table_header bottom" height="40">
-               <strong>{--SPONSOR_EDIT_PAY_ENTRIES--}</strong>
+       <td align="center" colspan="5" class="table_header bottom">
+               {--SPONSOR_EDIT_PAY_ENTRIES--}
        </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="160"><strong>{--SPONSOR_PAYTYPE_NAME--}:</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>
+       <td align="center" class="header_column bottom right" width="30">{--ID_SELECT--}</td>
+       <td align="center" class="header_column bottom right" width="160">{--SPONSOR_PAYTYPE_NAME--}:</td>
+       <td align="center" class="header_column bottom right" width="145">{--SPONSOR_PAYTYPE_RATE--}:</td>
+       <td align="center" class="header_column bottom right" width="145">{--SPONSOR_PAYTYPE_MIN_COUNT2--}:</td>
+       <td align="center" class="header_column bottom" width="160">{--SPONSOR_PAYTYPE_CURRENCY--}:</td>
 </tr>
 
 $content
index d07a075aa31fd86a59ee80b77033825a7a0688c4..205328b407c3cf01cb2d9b95f44c3ff1808fafa2 100644 (file)
@@ -2,20 +2,23 @@
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_task&amp;type=$content[type]%}
 <table border="0" cellspacing="0" cellpadding="0" class="admin_tasktable dashed">
 <tr>
-       <td colspan="7" align="center" class="admin_task_header bottom">
-               <strong>$content[message]</strong>
+       <td colspan="7" align="center" class="table_header bottom">
+               $content[message]
        </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_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>
-       <td align="center" class="header_column bottom right"><strong>{--ADMIN_MEMBER_USERID--}</strong></td>
-       <td align="center" class="header_column bottom right"><strong>{--ADMIN_TASK_TYPE--}</strong></td>
-       <td align="center" class="header_column bottom"><strong>{--ADMIN_TASK_CREATED--}</strong></td>
+       <td align="center" class="header_column bottom right" width="30">{--ID_SELECT--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_TASK_ASSIGNED_ADMIN--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_TASK_REGISTER_EXTENSION--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_TASK_INFOS--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_ASSIGNED_USERID--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_TASK_TYPE--}</td>
+       <td align="center" class="header_column bottom">{--ADMIN_TASK_CREATED--}</td>
 </tr>
+
 $content[rows]
+
 <tr>
        <td colspan="7" align="center" class="table_footer">
                <input type="reset" value="{--ADMIN_UNSELECT_ALL--}" class="form_reset" />
index bc31e699f8875af41e891d2d251774aef16c340f..5762ab9ae988fab2acffb975b2cdaf95b39aa0f3 100644 (file)
@@ -2,20 +2,23 @@
 {%form,formMethodPost=modules.php?module=admin&amp;what=list_task&amp;type=$content[type]%}
 <table border="0" cellspacing="0" cellpadding="0" class="admin_tasktable dashed">
 <tr>
-       <td colspan="7" align="center" class="admin_task_header bottom">
-               <strong>$content[message]</strong>
+       <td colspan="7" align="center" class="table_header bottom">
+               $content[message]
        </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_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>
-       <td align="center" class="header_column bottom right"><strong>{--ADMIN_MEMBER_USERID--}</strong></td>
-       <td align="center" class="header_column bottom right"><strong>{--ADMIN_TASK_TYPE--}</strong></td>
-       <td align="center" class="header_column bottom"><strong>{--ADMIN_TASK_CREATED--}</strong></td>
+       <td align="center" class="header_column bottom right" width="30">{--ID_SELECT--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_TASK_ASSIGNED_ADMIN--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_TASK_REGISTER_EXTENSION--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_TASK_INFOS--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_ASSIGNED_USERID--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_TASK_TYPE--}</td>
+       <td align="center" class="header_column bottom">{--ADMIN_TASK_CREATED--}</td>
 </tr>
+
 $content[rows]
+
 <tr>
        <td colspan="7" align="center" class="table_footer">
                <input type="reset" value="{--ADMIN_UNSELECT_ALL--}" class="form_reset" />
@@ -30,5 +33,5 @@ $content[rows]
 </div>
 
 <div class="notice">
-       <strong>{--ADMIN_TASK_DELETE_MODE_NOTICE--}</strong>
+       {--ADMIN_TASK_DELETE_MODE_NOTICE--}
 </div>
diff --git a/templates/de/html/admin/admin_list_unconfirmed_header.tpl b/templates/de/html/admin/admin_list_unconfirmed_header.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
index d78282b2d440b2d373ec8c97a0268bd2ee189fe9..f7db14973b39c77e12149c45364d43f4234a2286 100644 (file)
@@ -7,22 +7,25 @@
 </tr>
 
 <tr>
-       <td align="center" class="header_column bottom right"><strong>{--ADMIN_MEMBER_USERID--}</strong></td>
-       <td align="center" class="header_column bottom right"><strong>{--ADMIN_TOTAL_POINTS--}</strong></td>
-       <td align="center" class="header_column bottom"><strong>{--ADMIN_USER_AMOUNT_PERCENTS--}</strong></td>
+       <td align="center" class="header_column bottom right">{--ADMIN_ASSIGNED_USERID--}</td>
+       <td align="center" class="header_column bottom right">{--ADMIN_TOTAL_POINTS--}</td>
+       <td align="center" class="header_column bottom">{--ADMIN_USER_AMOUNT_PERCENTS--}</td>
 </tr>
+
 $content[rows]
+
 <tr>
        <td align="right" class="footer_column bottom right">
-               <strong>{--ADMIN_TOTAL_POINTS_AMOUNT--}</strong>
+               {--ADMIN_TOTAL_POINTS_AMOUNT--}
        </td>
        <td align="left" class="footer_column bottom right">
-               <strong>{%pipe,translateComma=$content[total]%} {?POINTS?}</strong>
+               {%pipe,translateComma=$content[total]%} {?POINTS?}
        </td>
        <td align="center" class="footer_column bottom">
-               <strong>---</strong>
+               ---
        </td>
 </tr>
+
 <tr>
        <td colspan="3" align="center" class="table_footer">
                <div class="notice">
index ec071fbe0d05454addf51cb08e47ec72c2307d3a..fae86d2bceac70173579015cb0c4a145ba1f9ad7 100644 (file)
@@ -5,6 +5,7 @@
        <td width="20%" align="center" class="right top {%template,ColorSwitch%}"><strong>{--FAMILY--}:</strong></td>
        <td width="20%" align="center" class="{%template,ColorSwitch%} top"><strong>{--USER_NICKNAME--}:</strong></td>
 </tr>
+
 <tr>
        <td align="center" class="bottom right {%template,ColorSwitch%}">{%pipe,generateUserProfileLink=$content[userid]%}</td>
        <td align="center" class="bottom right {%template,ColorSwitch%}">{%user,gender,translateGender=$content[userid]%}</td>
@@ -12,6 +13,7 @@
        <td align="center" class="bottom right {%template,ColorSwitch%}">{%user,family=$content[userid]%}</td>
        <td align="center" class="bottom {%template,ColorSwitch%}">{%user,nickname,fixEmptyContentToDashes=$content[userid]%}</td>
 </tr>
+
 <tr>
        <td align="center" class="right {%template,ColorSwitch%}"><strong>{--EMAIL--}:</strong></td>
        <td align="center" class="right {%template,ColorSwitch%}"><strong>{--REMOTE_IP--}:</strong></td>
@@ -19,6 +21,7 @@
        <td align="center" class="right {%template,ColorSwitch%}"><strong>{--ACCOUNT_STATUS--}:</strong></td>
        <td align="center" class="{%template,ColorSwitch%}"><strong>{--UNCONFIRMED_LINKS--}:</strong></td>
 </tr>
+
 <tr>
        <td align="center" class="right {%template,ColorSwitch%} bottom">$content[email]</td>
        <td align="center" class="right {%template,ColorSwitch%} bottom">{%user,REMOTE_ADDR=$content[userid]%}</td>
@@ -26,6 +29,7 @@
        <td align="center" class="right {%template,ColorSwitch%} bottom">{%user,status,translateUserStatus=$content[userid]%}</td>
        <td align="center" class="{%template,ColorSwitch%} bottom">$content[links]</td>
 </tr>
+
 <tr>
        <td align="center" class="right {%template,ColorSwitch%}"><strong>{--TOTAL_POINTS--}:</strong></td>
        <td align="center" class="right {%template,ColorSwitch%}"><strong>{--MAILS_SENT--}:</strong></td>
@@ -33,6 +37,7 @@
        <td align="center" class="right {%template,ColorSwitch%}"><strong>{--LOCKED_POINTS--}:</strong></td>
        <td align="center" class="{%template,ColorSwitch%}"><strong>{--TOTAL_REFERRALS--}:</strong></td>
 </tr>
+
 <tr>
        <td align="center" class="right {%template,ColorSwitch%} bottom">{%pipe,getTotalPoints,translateComma=$content[userid]%}</td>
        <td align="center" class="right {%template,ColorSwitch%} bottom">$content[emails_sent]</td>
@@ -40,6 +45,7 @@
        <td align="center" class="right {%template,ColorSwitch%} bottom">{%pipe,translateComma=$content[locked_points]%}</td>
        <td align="center" class="{%template,ColorSwitch%} bottom">$content[refs]</td>
 </tr>
+
 <tr>
        <td align="center" class="right {%template,ColorSwitch%}"><strong>{--LOCK_REASON--}:</strong></td>
        <td align="center" class="right {%template,ColorSwitch%}"><strong>{--LOCK_TIMESTAMP--}:</strong></td>
@@ -47,6 +53,7 @@
        <td align="center" class="right {%template,ColorSwitch%}"><strong>{--RAND_CONFIRMED--}:</strong></td>
        <td align="center" class="{%template,ColorSwitch%}"><strong>{--_UNUSED--}:</strong></td>
 </tr>
+
 <tr>
        <td align="center" class="right {%template,ColorSwitch%} bottom">{%user,lock_reason,fixEmptyContentToDashes=$content[userid]%}</td>
        <td align="center" class="right {%template,ColorSwitch%} bottom">$content[lock_timestamp]</td>
@@ -54,6 +61,7 @@
        <td align="center" class="right {%template,ColorSwitch%} bottom">{%user,rand_confirmed,translateComma=$content[userid]%}/{%config,translateComma=user_min_confirmed%}</td>
        <td align="center" class="{%template,ColorSwitch%} bottom">---</td>
 </tr>
+
 <tr>
        <td height="22" colspan="5" class="table_header {%template,ColorSwitch%}">
                {%pipe,generateMemberAdminActionLinks=$content[userid]%}
diff --git a/templates/de/html/admin/admin_logout_sql_patches.tpl b/templates/de/html/admin/admin_logout_sql_patches.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
index dec253da05f8e70514fede8f53a0f27dc6e7cd47..b47238a062fe402208a60633d6a1fc3151ffa7ce 100644 (file)
@@ -10,7 +10,7 @@
        </tr>
        $content[rows]
        <tr>
-               <td colspan="4" align="center" height="40" class="table_footer">
+               <td colspan="4" align="center" class="table_footer">
                        <input type="hidden" name="ok" value="status" />
                        <input type="hidden" name="chk" value="$content[chk]_$content[count]" />
                        <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
diff --git a/templates/de/html/admin/admin_mods_footer_list.tpl b/templates/de/html/admin/admin_mods_footer_list.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/admin/admin_mods_footer_stats.tpl b/templates/de/html/admin/admin_mods_footer_stats.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/admin/admin_mods_footer_stats2.tpl b/templates/de/html/admin/admin_mods_footer_stats2.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/admin/admin_mods_header_list.tpl b/templates/de/html/admin/admin_mods_header_list.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/admin/admin_mods_header_stats.tpl b/templates/de/html/admin/admin_mods_header_stats.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/admin/admin_mods_header_stats2.tpl b/templates/de/html/admin/admin_mods_header_stats2.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/admin/admin_mods_list.tpl b/templates/de/html/admin/admin_mods_list.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/admin/admin_mods_list_row.tpl b/templates/de/html/admin/admin_mods_list_row.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/admin/admin_network_vcheck_param_added.tpl b/templates/de/html/admin/admin_network_vcheck_param_added.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/admin/admin_new_ext.tpl b/templates/de/html/admin/admin_new_ext.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/admin/admin_newsletter_tsk.tpl b/templates/de/html/admin/admin_newsletter_tsk.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/admin/admin_online_footer.tpl b/templates/de/html/admin/admin_online_footer.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/admin/admin_online_header.tpl b/templates/de/html/admin/admin_online_header.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
index b05fdc7bd833168f94d1d876ee389405118d8e77..2a75d2e1444dc7e726442e998d72f3219299e286 100644 (file)
@@ -1,24 +1,31 @@
 <div align="center">
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <!-- @TODO Shouldn't we add a title here? //-->
-       <tr>
-               <td width="120" class="header_column bottom right" align="center"><strong>{--ADMIN_OPTIMIZE_DBNAME--}:</strong></td>
-               <td width="110" class="header_column bottom right" align="center"><strong>{--ADMIN_OPTIMIZE_REPAIRED--}:</strong></td>
-               <td width="110" class="header_column bottom right" align="center"><strong>{--ADMIN_OPTIMIZE_OPTIMIZED--}:</strong></td>
-               <td width="120" class="header_column bottom right" align="center"><strong>{--ADMIN_OPTIMIZE_TOTAL_SIZE--}:</strong></td>
-               <td width="120" class="header_column bottom" align="center"><strong>{--ADMIN_OPTIMIZE_GAIN_SIZE--}:</strong></td>
-       </tr>
-       $content[rows]
-       <tr>
-               <td colspan="5" class="table_footer" style="padding-top: 15px; padding-bottom: 15px;">
-                       {--ADMIN_OPTIMIZE_DB_TOTAL_TABLES--}: <strong>$content[total_tabs]</strong><br />
-                       {--ADMIN_OPTIMIZE_DB_TOTAL_SIZE--}: <strong>{%pipe,translateComma=$content[total_size]%} {--KBYTES--}</strong><br />
-                       {--ADMIN_OPTIMIZE_DB_TOTAL_OPTIMIZE--}: <strong>$content[total_rows]</strong><br />
-                       {--ADMIN_OPTIMIZE_DB_TOTAL_OPTI--}: <strong>{%pipe,translateComma=$content[total_optimized]%} {--KBYTES--}</strong><br />
-                       {--ADMIN_OPTIMIZE_DB_TOTAL_GAIN_TABLES--}: <strong>$content[now_optimized]</strong><br />
-                       {--ADMIN_OPTIMIZE_DB_TOTAL_GAIN_SIZE--}: <strong>{%pipe,translateComma=$content[total_gain]%} {--KBYTES--}</strong>
-               </td>
-       </tr>
+<tr>
+       <td class="table_header bottom" colspan="5">
+               {--ADMIN_OPTIMIZE_DATABASE_TITLE--}
+       </td>
+</tr>
+
+<tr>
+       <td class="header_column bottom right" align="center">{--ADMIN_OPTIMIZE_DBNAME--}</td>
+       <td class="header_column bottom right" align="center">{--ADMIN_OPTIMIZE_REPAIRED--}</td>
+       <td class="header_column bottom right" align="center">{--ADMIN_OPTIMIZE_OPTIMIZED--}</td>
+       <td class="header_column bottom right" align="center">{--ADMIN_OPTIMIZE_TOTAL_SIZE--}</td>
+       <td class="header_column bottom" align="center">{--ADMIN_OPTIMIZE_GAIN_SIZE--}</td>
+</tr>
+
+$content[rows]
+
+<tr>
+       <td colspan="5" class="table_footer" style="padding-top: 15px; padding-bottom: 15px;">
+               {--ADMIN_OPTIMIZE_DB_TOTAL_TABLES--}: $content[total_tabs]<br />
+               {--ADMIN_OPTIMIZE_DB_TOTAL_SIZE--}: {%pipe,translateComma=$content[total_size]%} {--KBYTES--}<br />
+               {--ADMIN_OPTIMIZE_DB_TOTAL_OPTIMIZE--}: $content[total_rows]<br />
+               {--ADMIN_OPTIMIZE_DB_TOTAL_OPTI--}: {%pipe,translateComma=$content[total_optimized]%} {--KBYTES--}<br />
+               {--ADMIN_OPTIMIZE_DB_TOTAL_GAIN_TABLES--}: $content[now_optimized]<br />
+               {--ADMIN_OPTIMIZE_DB_TOTAL_GAIN_SIZE--}: {%pipe,translateComma=$content[total_gain]%} {--KBYTES--}
+       </td>
+</tr>
 </table>
 </div>
 
diff --git a/templates/de/html/admin/admin_overview_header.tpl b/templates/de/html/admin/admin_overview_header.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
index 3b981579dfe34e20dabd1159a204c21979d21342..73e054b0208ae4c0d94614cff591cc10af8dfe7b 100644 (file)
@@ -1,13 +1,17 @@
+<div align="center">
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
 <tr>
-       <td colspan="2" align="center" class="admin_task_header bottom">
-               <strong>{--ADMIN_SELECTED_TASKS_ASSIGN--}:</strong>
+       <td colspan="2" align="center" class="table_header bottom">
+               {--ADMIN_SELECTED_TASKS_ASSIGN--}
        </td>
 </tr>
+
 $content
+
 <tr>
        <td colspan="2" align="center" class="table_footer">
                &nbsp;
        </td>
 </tr>
 </table>
+</div>
index 482241479480cbc960111587559596a174e6fbc9..1290819df51676263bfb5ea113ccb8d9964d2056 100644 (file)
@@ -2,19 +2,19 @@
 {%form,formMethodPost=modules.php?module=admin%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
 <tr>
-       <td colspan="7" align="center" class="admin_task_header bottom">
-               <strong>{--ADMIN_TASK_SYSTEM_WELCOME--}</strong>
+       <td colspan="7" align="center" class="table_header bottom">
+               {--ADMIN_TASK_SYSTEM_WELCOME--}
        </td>
 </tr>
 
 <tr>
-       <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>
-       <td align="center" class="bottom right header_column"><strong>{--ADMIN_MEMBER_USERID--}</strong></td>
-       <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>
+       <td align="center" class="bottom right left header_column" width="30">{--ID_SELECT--}</td>
+       <td align="center" class="bottom right header_column">{--ADMIN_TASK_ASSIGNED_ADMIN--}</td>
+       <td align="center" class="bottom right header_column">{--ADMIN_TASK_REGISTER_EXTENSION--}</td>
+       <td align="center" class="bottom right header_column">{--ADMIN_TASK_INFOS--}</td>
+       <td align="center" class="bottom right header_column">{--ADMIN_ASSIGNED_USERID--}</td>
+       <td align="center" class="bottom right header_column">{--ADMIN_TASK_TYPE--}</td>
+       <td align="center" class="bottom right header_column">{--ADMIN_TASK_CREATED--}</td>
 </tr>
 
 $content
diff --git a/templates/de/html/admin/admin_patches.tpl b/templates/de/html/admin/admin_patches.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/admin/admin_patches_row.tpl b/templates/de/html/admin/admin_patches_row.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
index 1d57cd3c752f87a80a1702e2989ea8c099cab1c2..3e763f1924ea949fb8a35fdeaf254a24df7de06a 100644 (file)
@@ -1,10 +1,15 @@
+<div align="center">
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td align="center" class="table_header bottom" height="40">
-                       <strong>{--ADMIN_PAYOUT_TRANSFER_FAILED--}:</strong>
-               </td>
-       </tr>
-       <tr>
-               <td align="center" height="40"><strong>$content</strong></td>
-       </tr>
+<tr>
+       <td align="center" class="table_header bottom">
+               {--ADMIN_PAYOUT_TRANSFER_FAILED--}:
+       </td>
+</tr>
+
+<tr>
+       <td align="center">
+               $content
+       </td>
+</tr>
 </table>
+</div>
diff --git a/templates/de/html/admin/admin_reg.tpl b/templates/de/html/admin/admin_reg.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/admin/admin_reg_row.tpl b/templates/de/html/admin/admin_reg_row.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
index d6266c25bde27bd1b3ae0833ba4a2edf8f28a902..04cfe6b8880d04fc7520619e08f9b552c6fd751b 100644 (file)
@@ -2,52 +2,52 @@
 {%form,formMethodGet=modules.php%}
 <div class="dashed">
        <div class="table_header bottom">
-               <strong>{%message,ADMIN_SHOW_CONFIG_NETWORK_HANDLER_TYPE_TITLE=$content[network_type_handler]%}</strong>
+               {%message,ADMIN_SHOW_CONFIG_NETWORK_HANDLER_TYPE_TITLE=$content[network_type_handler]%}
        </div>
 
        <div>
                {%message,ADMIN_CONFIG_NETWORK_HANDLER_TYPE_MAX_RELOAD_TIME=$content[network_type_reload_time_unit]%}<br />
-               <strong>{%pipe,createFancyTime=$content[network_max_reload_time]%}</strong>
+               {%pipe,createFancyTime=$content[network_max_reload_time]%}
        </div>
 
        <div>
                {--ADMIN_CONFIG_NETWORK_HANDLER_TYPE_MIN_WAITING_TIME--}<br />
-               <strong>{%pipe,fixEmptyContentToDashes=$content[network_min_waiting_time]%}</strong>
+               {%pipe,fixEmptyContentToDashes=$content[network_min_waiting_time]%}
        </div>
 
        <div>
                {--ADMIN_CONFIG_NETWORK_HANDLER_TYPE_MAX_WAITING_TIME--}<br />
-               <strong>{%pipe,fixEmptyContentToDashes=$content[network_max_waiting_time]%}</strong>
+               {%pipe,fixEmptyContentToDashes=$content[network_max_waiting_time]%}
        </div>
 
        <div>
                {--ADMIN_CONFIG_NETWORK_HANDLER_TYPE_MIN_REMAIN_BUDGET--}<br />
-               <strong>{%pipe,translateFullComma=$content[network_min_remain_budget]%}</strong>
+               {%pipe,translateFullComma=$content[network_min_remain_budget]%}
        </div>
 
        <div>
                {--ADMIN_CONFIG_NETWORK_HANDLER_TYPE_MIN_REMAIN_CLICKS--}<br />
-               <strong>{%pipe,translateComma=$content[network_min_remain_clicks]%}</strong>
+               {%pipe,translateComma=$content[network_min_remain_clicks]%}
        </div>
 
        <div>
                {--ADMIN_CONFIG_NETWORK_HANDLER_TYPE_MIN_PAYMENT--}<br />
-               <strong>{%pipe,translateFullComma=$content[network_min_payment]%}</strong>
+               {%pipe,translateFullComma=$content[network_min_payment]%}
        </div>
 
        <div>
                {--ADMIN_CONFIG_NETWORK_HANDLER_TYPE_ALLOW_EROTIC--}<br />
-               <strong>{%pipe,fixEmptyContentToDashes=$content[network_allow_erotic]%}</strong>
+               {%pipe,fixEmptyContentToDashes=$content[network_allow_erotic]%}
        </div>
 
        <div>
                {--ADMIN_CONFIG_NETWORK_HANDLER_TYPE_MEDIA_SIZE--}<br />
-               <strong>{%pipe,fixEmptyContentToDashes=$content[network_media_size]%}</strong>
+               {%pipe,fixEmptyContentToDashes=$content[network_media_size]%}
        </div>
 
        <div class="bottom">
                {--ADMIN_CONFIG_NETWORK_HANDLER_TYPE_MEDIA_OUTPUT--}<br />
-               <strong>{%pipe,translateNetworkMediaOutputType=$content[network_media_output]%}</strong>
+               {%pipe,translateNetworkMediaOutputType=$content[network_media_output]%}
        </div>
 
        <div class="table_footer">
diff --git a/templates/de/html/admin/admin_theme_list.tpl b/templates/de/html/admin/admin_theme_list.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
index 2076cf368ef228033275efb0de5afbb5200b62e0..c36d40ccd7d8c7426fd3012d35d26695532b3d40 100644 (file)
@@ -25,7 +25,7 @@
                                </td>
                        </tr>
                        <tr>
-                               <td align="right" height="25">
+                               <td align="right">
                                        {--DOUBLER_ENTER_LOGIN_DATA--}:
                                </td>
                                <td>
@@ -33,7 +33,7 @@
                                </td>
                        </tr>
                        <tr>
-                               <td align="right" height="25">
+                               <td align="right">
                                        {--GUEST_ENTER_PASSWORD--}:
                                </td>
                                <td>
@@ -41,7 +41,7 @@
                                </td>
                        </tr>
                        <tr>
-                               <td class="bottom" align="right" height="25">
+                               <td class="bottom" align="right">
                                        {--DOUBLER_ENTER_POINTS--}:
                                </td>
                                <td class="bottom">
                <br />
                $content[payout_time]<br />
                <br />
-               {--DOUBLER_POINTS_1--} <strong>{%config,translateComma=doubler_charge%}&#37;</strong>
-               {--DOUBLER_POINTS_2--}<br />
+               {--DOUBLER_POINTS--}<br />
                <br />
-               {--DOUBLER_EXAMPLE_1--} <strong>500 {?POINTS?}</strong> &raquo;&raquo;
-               {--DOUBLER_EXAMPLE_2--} <strong>1000 {?POINTS?}</strong>{--DOUBLER_EXAMPLE_3--}<br />
+               {--DOUBLER_EXAMPLE--}<br />
                <br />
                <div class="big">{--DOUBLER_FULL_PAYOUT--}</div><br />
                <br />
-               {--DOUBLER_REFERRAL_1--}
-               {--DOUBLER_REFERRAL_2--}
+               {--DOUBLER_REFERRAL--}
                {--DOUBLER_REFERRAL_LINK--}<br />
                $content[message]<br />
                {--DOUBLER_NOT_YET_REGISTERED--} <a
index 6fc5b9f81a4097aaa502443d951e93c536b2bfc7..791e2f458753dd2b87bf0357dc389b47da4ddd5f 100644 (file)
@@ -1,16 +1,16 @@
 <div class="para">
-Stufen Sie Ihre Mitglieder z.B. in Bronze, Silber, Gold und Platin f&uuml;r das
-Erreichen von einstellbaren Punktest&auml;nden und/oder best&auml;tigter Mails
-ein und vergeben Sie Erm&auml;&szlig;igungen oder Sonderboni f&uuml;r das
-Erreichen der Stufen. Wenn die Erm&auml;&szlig;igung eingel&ouml;st bzw. der
-Sonderbonus ausgew&auml;hlt wurde, verf&auml;llt die erreichte Stufe und das
-Mitglied kann diese erneut erreichen. Anderfalls kann das Mitglied sich zur
-n&auml;chsten Stufe hocharbeiten.
+       Stufen Sie Ihre Mitglieder z.B. in Bronze, Silber, Gold und Platin f&uuml;r
+       das Erreichen von einstellbaren {?POINTS?}-St&auml;nden und/oder
+       best&auml;tigter Mails ein und vergeben Sie Erm&auml;&szlig;igungen oder
+       Sonderboni f&uuml;r das Erreichen der Stufen. Wenn die Erm&auml;&szlig;igung
+       eingel&ouml;st bzw. der Sonderbonus ausgew&auml;hlt wurde, verf&auml;llt die
+       erreichte Stufe und das Mitglied kann diese erneut erreichen. Anderfalls
+       kann das Mitglied sich zur n&auml;chsten Stufe hocharbeiten.
 </div>
 
 <div class="para">
-Sie sollten beispielweise Bronze als niedrigste und Platin als h&ouml;chste
-Stufe nehmen. Dann k&ouml;nnen Ihre Mitglieder es sich aussuchen, ob sie weiter
-verdienen wollen um an eine h&ouml;here Stufe zu gelangen, oder ob sie sich mit
-der niedrigeren Stufe zufrieden geben.
+       Sie sollten beispielweise Bronze als niedrigste und Platin als h&ouml;chste
+       Stufe nehmen. Dann k&ouml;nnen Ihre Mitglieder es sich aussuchen, ob sie
+       weiter verdienen wollen um an eine h&ouml;here Stufe zu gelangen, oder ob
+       sie sich mit der niedrigeren Stufe zufrieden geben.
 </div>
diff --git a/templates/de/html/ext/ext_primera.tpl b/templates/de/html/ext/ext_primera.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/ext/ext_ranking.tpl b/templates/de/html/ext/ext_ranking.tpl
new file mode 100644 (file)
index 0000000..972c288
--- /dev/null
@@ -0,0 +1,7 @@
+<div class="para">
+       Diese Erweiterung ersetzt <strong>ext-top10</strong> (welche nur die ersten
+       10 Eintr&auml;ge zeigt) gegen eine vollst&auml;ndige Ranking-Tabelle mit
+       allen Seiten. Da diese Erweiterung den Datenbankserver sehr stark belasten
+       kann, k&ouml;nnen die Daten pro Mitglied und pro &quot;Rankingseite&quot;
+       in einen speziell einstellbaren MemCache gespeichert.
+</div>
index c79f8a508f7bc057d9de2f6d2d57448f809b6325..caa4195efdc5c253c06427035167b8290c82cc04 100644 (file)
@@ -15,7 +15,7 @@
        mehr URLs gebucht, erh&auml;lt es f&uuml;r den Besuch anderer gebuchter
        Webseiten ebenfalls mehr {OPEN_CONFIG}POINTS{CLOSE_CONFIG} gutgeschrieben.
        Dabei richtig sich der Basispreis nach der gebuchten Verg&uuml;tung pro
-       Klick aus der Mailbestellung. Die dynamischen Gutschriften werden
+       Klick aus der Mailbuchung. Die dynamischen Gutschriften werden
        prozentual errechnet und gemeinsam mit der Basisverg&uuml;tung
        gutgeschrieben. Die prozentuale Ref-Verg&uuml;tung wird jedoch nur von der
        Basisverg&uuml;tung berechnet.
diff --git a/templates/de/html/ext/ext_transaction.tpl b/templates/de/html/ext/ext_transaction.tpl
new file mode 100644 (file)
index 0000000..586912c
--- /dev/null
@@ -0,0 +1,3 @@
+<div class="para">
+       @TODO Transaktionen ...
+</div>
diff --git a/templates/de/html/fatal_footer.tpl b/templates/de/html/fatal_footer.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/fatal_header.tpl b/templates/de/html/fatal_header.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
index ceeb3c4f744f0f4cb1a44a67aff4303446a8c214..6fe1b71b7171f53a2691aae7f24edf67f0522d22 100644 (file)
@@ -1,8 +1,9 @@
 <tr>
        <td colspan="3" align="center" class="bottom">
-               <table border="0" cellspacing="0" cellpadding="0" width="400" class="table dashed">
+               <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
                <tr>
-                       <td align="center" height="40"><strong>{--GUEST_ACTIVE_NO_MEMER_ONLINE_TODAY--}</strong>
+                       <td align="center">
+                               {--GUEST_ACTIVE_NO_MEMER_ONLINE_TODAY--}
                        </td>
                </tr>
                </table>
diff --git a/templates/de/html/guest/guest_confirm_table.tpl b/templates/de/html/guest/guest_confirm_table.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
index 3538ec591ff956f663ec486fc68ffb06e7560b62..290c48191749783694fb79cfffbfecc482ce20cf 100644 (file)
                        <li>{--DOUBLER_USAGE_COUNTER--}</li>
                        <li>$content[payout_time]</li>
                        <li><strong>{--DOUBLER_FULL_PAYOUT--}</strong></li>
-                       <li>{--DOUBLER_POINTS_1--} <strong>{%config,translateComma=doubler_charge%}&#37;</strong> {--DOUBLER_POINTS_2--}</li>
-                       <li>{--DOUBLER_EXAMPLE_1--} <strong>500 {?POINTS?}</strong> &raquo;&raquo; {--DOUBLER_EXAMPLE_2--} <strong>1000 {?POINTS?}</strong>{--DOUBLER_EXAMPLE_3--}</li>
-                       <li>{--DOUBLER_REFERRAL_1--}
-                       <li>{--DOUBLER_REFERRAL_2--}</li>
+                       <li>{--DOUBLER_POINTS--}</li>
+                       <li>{--DOUBLER_EXAMPLE--}</li>
+                       <li>{--DOUBLER_REFERRAL--}
                        <li>{--DOUBLER_REFERRAL_LINK--}</li>
                        <li>{--DOUBLER_TIMEOUT--}</li>
                        <li>{--DOUBLER_HAVE_FUN--}</li>
index ceeb3c4f744f0f4cb1a44a67aff4303446a8c214..6fe1b71b7171f53a2691aae7f24edf67f0522d22 100644 (file)
@@ -1,8 +1,9 @@
 <tr>
        <td colspan="3" align="center" class="bottom">
-               <table border="0" cellspacing="0" cellpadding="0" width="400" class="table dashed">
+               <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
                <tr>
-                       <td align="center" height="40"><strong>{--GUEST_ACTIVE_NO_MEMER_ONLINE_TODAY--}</strong>
+                       <td align="center">
+                               {--GUEST_ACTIVE_NO_MEMER_ONLINE_TODAY--}
                        </td>
                </tr>
                </table>
index 49618dc9b89adcbe33d00946c2d759865b25712c..254aad03d7c3d8c027fc8808a0f0a669f7d7d640 100644 (file)
@@ -1,11 +1,13 @@
 <div align="center">
-<table border="0" cellspacing="0" cellpadding="0" width="430" class="table dashed">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
 <tr>
-       <td align="center" class="header_column bottom" width="80" height="25"><strong>{--_RALLYE_PRICE--}</strong></td>
-       <td align="center" class="header_column bottom" width="50"><strong>{--_USERID--}</strong></td>
-       <td align="center" class="header_column bottom" width="300"><strong>{--RALLYE_REFS--}</strong></td>
+       <td align="center" class="header_column bottom">{--_RALLYE_PRICE--}</td>
+       <td align="center" class="header_column bottom">{--_USERID--}</td>
+       <td align="center" class="header_column bottom">{--RALLYE_REFS--}</td>
 </tr>
+
 $content[rows]
+
 <tr>
        <td colspan="3" class="table_footer" align="left">
                <div align="left"><ul>
diff --git a/templates/de/html/guest/guest_paidlinks_register.tpl b/templates/de/html/guest/guest_paidlinks_register.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/guest/guest_paidlinks_register_header.tpl b/templates/de/html/guest/guest_paidlinks_register_header.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
index d68cd9f7a19bc512fe3a06677c1d4da09f02fbca..8e0f7d71cc76a82900c0190038675f8b056d3c3e 100644 (file)
@@ -1,7 +1,7 @@
 <div align="center">
-<table border="0" cellspacing="0" cellpadding="0" width="440" class="table dashed">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
        <tr>
-               <td width="60%" align="right" height="40" class="register_left">
+               <td width="60%" align="right" class="register_left">
                        {--MAX_MAILS_PER_DAY--}:
                </td>
                <td width="40%" class="register_right">
index 0eb2cb30f98348733dbcc524496493a0beb8360b..4c4601f223f48a0e59f6245bc85ce76965cc98b5 100644 (file)
@@ -1,61 +1,69 @@
 <div align="center">
 <table border="0" cellspacing="0" cellpadding="0" width="90%" class="table dashed">
-       <tr>
-               <td class="table_header bottom" height="25">
-                       <strong>{--GUEST_RALLYE_HAS_STARTED_TITLE--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td class="bottom" align="left" style="margin-left: 5px; margin-right: 5px; margin-top: 10px; margin-bottom: 10px">
-               <ul>
-                       <li>Titel: <strong>$content[title]</strong></li>
-                       <li>Start: <strong>$content[start_time]</strong></li>
-                       <li>Ende : <strong>$content[end_time]</strong></li>
-               </ul>
-               </td>
-       </tr>
-       <tr>
-               <td class="table_header bottom" height="25">
-                       <strong>...::&nbsp;$content[title]&nbsp;::...</strong>
-               </td>
-       </tr>
-       <tr>
-               <td class="bottom">
-               <div style="margin-left: 5px; margin-right: 5px; margin-top: 3px; margin-bottom: 3px">
-                       $content[descr]
-               </div>
-               </td>
-       </tr>
-       <tr>
-               <td class="table_header bottom" height="25">
-                       <strong>$content[can_win_this]:</strong>
-               </td>
-       </tr>
-       <tr>
-               <td class="bottom">
-               <div style="margin-left: 5px; margin-right: 5px; margin-top: 10px; margin-bottom: 10px">
-                       $content[prices]
-               </div>
-               </td>
-       </tr>
-       <tr>
-               <td class="table_header bottom" height="25">
-                       <strong>Aktueller Stand der Rallye:</strong>
-               </td>
-       </tr>
-       <tr>
-               <td class="bottom" align="center">
-               <div style="margin-left: 5px; margin-right: 5px; margin-top: 10px; margin-bottom: 10px" align="center">
-                       $content[top_users]
-               </div>
-               </td>
-       </tr>
-       <tr>
-               <td class="table_footer" height="25">
-               <div align="center" style="margin-left: 5px; margin-right: 5px; margin-top: 3px; margin-bottom: 3px">
-                       <strong>...::&nbsp;$content[extras]&nbsp;::...</strong>
-               </div>
-               </td>
-       </tr>
+<tr>
+       <td class="table_header bottom">
+               {--GUEST_RALLYE_HAS_STARTED_TITLE--}
+       </td>
+</tr>
+
+<tr>
+       <td class="bottom" align="left" style="margin-left: 5px; margin-right: 5px; margin-top: 10px; margin-bottom: 10px">
+       <ul>
+               <li>Titel: <strong>$content[title]</strong></li>
+               <li>Start: <strong>$content[start_time]</strong></li>
+               <li>Ende : <strong>$content[end_time]</strong></li>
+       </ul>
+       </td>
+</tr>
+
+<tr>
+       <td class="table_header bottom">
+               <strong>...::&nbsp;$content[title]&nbsp;::...</strong>
+       </td>
+</tr>
+
+<tr>
+       <td class="bottom">
+       <div style="margin-left: 5px; margin-right: 5px; margin-top: 3px; margin-bottom: 3px">
+               $content[descr]
+       </div>
+       </td>
+</tr>
+
+<tr>
+       <td class="table_header bottom">
+               <strong>$content[can_win_this]:</strong>
+       </td>
+</tr>
+
+<tr>
+       <td class="bottom">
+       <div style="margin-left: 5px; margin-right: 5px; margin-top: 10px; margin-bottom: 10px">
+               $content[prices]
+       </div>
+       </td>
+</tr>
+
+<tr>
+       <td class="table_header bottom">
+               <strong>Aktueller Stand der Rallye:</strong>
+       </td>
+</tr>
+
+<tr>
+       <td class="bottom" align="center">
+       <div style="margin-left: 5px; margin-right: 5px; margin-top: 10px; margin-bottom: 10px" align="center">
+               $content[top_users]
+       </div>
+       </td>
+</tr>
+
+<tr>
+       <td class="table_footer">
+       <div align="center" style="margin-left: 5px; margin-right: 5px; margin-top: 3px; margin-bottom: 3px">
+               <strong>...::&nbsp;$content[extras]&nbsp;::...</strong>
+       </div>
+       </td>
+</tr>
 </table>
 </div>
index 44bb6e343bf08495b8ee3375dfc9d385d73aff21..17b7022baafcf3682198cc61370ed91b9307c6bc 100644 (file)
@@ -1,24 +1,27 @@
 <div align="center">
 <table border="0" cellspacing="0" cellpadding="0">
-       <tr>
-               <td colspan="3" class="impressum_header"><strong><u>Impressum</u></strong></td>
-       </tr>
-       <tr>
-               <td class="impressum_body">
-                       <div class="para">
-                               Ihr Name hier!<br />
-                               Ihre Strasse<br />
-                               XX-12345 Demo-Dorf
-                       </div>
+<tr>
+       <td colspan="3" class="table_header">
+               <u>Impressum</u>
+       </td>
+</tr>
 
-                       <div class="para">
-                               Tel.: +49(0)-123-456789
-                       </div>
+<tr>
+       <td class="impressum_body">
+               <div class="para">
+                       Ihr Name hier!<br />
+                       Ihre Strasse<br />
+                       XX-12345 Demo-Dorf
+               </div>
 
-                       <div class="para">
-                               Email: <a href="mailto:{?WEBMASTER?}">{?WEBMASTER?}</a>
-                       </div>
-               </td>
-       </tr>
+               <div class="para">
+                       Tel.: +49(0)-123-456789
+               </div>
+
+               <div class="para">
+                       Email: <a href="mailto:{?WEBMASTER?}">{?WEBMASTER?}</a>
+               </div>
+       </td>
+</tr>
 </table>
 </div>
diff --git a/templates/de/html/install/install_header.tpl b/templates/de/html/install/install_header.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
index 871e650acfc732c5f19c18396b1d065663f8942a..eb1c371e8a4e085c08f9dd8669f1537779c2d967 100644 (file)
@@ -37,7 +37,7 @@
 
 <div id="install_progress" class="ajax_progress" style="display: none;">
        <div class="ajax_progress_title">
-               <strong>{--INSTALLER_AJAX_FINISH_TITLE--}</strong>
+               <strong>{--INSTALLER_AJAX_PROGRESS_TITLE--}</strong>
        </div>
        <div class="ajax_progress_close">
                <strong id="install_progress_close" style="padding-left:1.5px;cursor:wait">X</strong>
        </div>
 </div>
 
+<div id="install_success" class="ajax_success" style="display: none;">
+       <div class="ajax_success_title">
+               <strong>{--INSTALLER_AJAX_SUCCESS_TITLE--}</strong>
+       </div>
+       <div class="ajax_success_close">
+               <strong id="install_success_close" style="padding-left:1.5px;cursor:wait">X</strong>
+       </div>
+       <div style="clear:both"></div>
+       <div class="ajax_success_content" id="install_success_content">
+               <!-- Content will be inserted here by AJAX //-->
+       </div>
+</div>
+
 <div style="clear:both"></div>
 
 <div class="install_content_container">
index d18f7b46e501144d65c965f78a59b198e7dafc56..a1d05ffe8d12a4c4f9eb6a6399a96b88ef40b087 100644 (file)
@@ -5,5 +5,6 @@
        <li id="install_smtp_config" class="tab_enabled"><a href="#" title="{--INSTALLER_TAB_NAVIGATION_SMTP_CONFIG_TITLE--}">{--INSTALLER_TAB_NAVIGATION_SMTP_CONFIG_LINK--}</a></li>
        <li id="install_other_config" class="tab_enabled"><a href="#" title="{--INSTALLER_TAB_NAVIGATION_OTHER_CONFIG_TITLE--}">{--INSTALLER_TAB_NAVIGATION_OTHER_CONFIG_LINK--}</a></li>
        <li id="install_extensions" class="tab_enabled"><a id="install_extensions_link" class="tabnav_enabled" href="#" title="{--INSTALLER_TAB_NAVIGATION_EXTENSIONS_TITLE--}">{--INSTALLER_TAB_NAVIGATION_EXTENSIONS_LINK--}</a></li>
+       <li id="install_first_admin" class="tab_enabled"><a id="install_first_admin_link" class="tabnav_enabled" href="#" title="{--INSTALLER_TAB_NAVIGATION_FIRST_ADMIN_TITLE--}">{--INSTALLER_TAB_NAVIGATION_FIRST_ADMIN_LINK--}</a></li>
        <li id="install_overview" class="tab_enabled"><a id="install_overview_link" class="tabnav_enabled" href="#" title="{--INSTALLER_TAB_NAVIGATION_OVERVIEW_TITLE--}">{--INSTALLER_TAB_NAVIGATION_OVERVIEW_LINK--}</a></li>
 </ul>
index 81d4e551914db0c911a7f5cacd2ad541f55c1f0d..b56e3d9b14892a369dc0d0ebdbead1605cf8dd59 100644 (file)
@@ -20,6 +20,8 @@
                </div>
        </div>
 
+       <div class="clear"></div>
+
        <div class="table_row">
                <label class="install_label" for="base_url">{--INSTALLER_LABEL_BASE_URL--}</label>
                <input type="text" class="form_field" id="base_url" name="base_url" size="50" value="{%session=base_url%}" onchange="return allowSaveChanges('base_url')" />
                <input type="text" class="form_field" id="main_title" name="main_title" size="50" maxlength="255" value="{%session=main_title%}" onchange="return allowSaveChanges('main_title')" />
        </div>
 
+       <div class="clear"></div>
+
        <div class="table_row">
                <label class="install_label" for="slogan">{--INSTALLER_LABEL_SLOGAN--}</label>
                <input type="text" class="form_field" id="slogan" name="slogan" size="50" maxlength="255" value="{%session=slogan%}" onchange="return allowSaveChanges('slogan')" />
        </div>
 
+       <div class="clear"></div>
+
        <div class="table_row">
                <label class="install_label" for="webmaster">{--INSTALLER_LABEL_WEBMASTER--}</label>
                <input type="text" class="form_field" id="webmaster" name="webmaster" size="30" maxlength="255" value="{%session=webmaster%}" onchange="return allowSaveChanges('webmaster')" />
index 4645204edfd711ace4a45bc29a255021bb0f163a..9bdf4cb83dd196381c8f86b94cc08cdae07443d3 100644 (file)
                <input type="text" class="form_field" id="mysql_host" name="mysql_host" size="25" value="{%session=mysql_host%}" onchange="return allowSaveChanges('mysql_host')" />
        </div>
 
+       <div class="clear"></div>
+
        <div class="table_row">
                <label class="install_label" for="mysql_dbase">{--INSTALLER_MYSQL_DBASE--}</label>
                <input type="text" class="form_field" id="mysql_dbase" name="mysql_dbase" size="25" value="{%session=mysql_dbase%}" onchange="return allowSaveChanges('mysql_dbase')" />
        </div>
 
+       <div class="clear"></div>
+
        <div class="table_row">
                <label class="install_label" for="mysql_prefix">{--INSTALLER_MYSQL_PREFIX--}</label>
                <input type="text" class="form_field" id="mysql_prefix" name="mysql_prefix" size="25" value="{%session=mysql_prefix%}" onchange="return allowSaveChanges('mysql_prefix')" />
        </div>
 
+       <div class="clear"></div>
+
        <div class="table_row">
                <label class="install_label" for="mysql_engine">{--INSTALLER_MYSQL_ENGINE--}</label>
                <select id="mysql_engine" name="mysql_engine" size="1" class="form_select" onchange="return allowSaveChanges('mysql_engine')">
                <input type="text" class="form_field" id="mysql_login" name="mysql_login" size="25" value="{%session=mysql_login%}" onchange="return allowSaveChanges('mysql_login')" />
        </div>
 
+       <div class="clear"></div>
+
        <div class="table_row">
                <label class="install_label" for="mysql_password1">{--INSTALLER_MYSQL_PASSWORD1--}</label>
                <input type="password" class="form_field" id="mysql_password1" name="mysql_password1" size="25" value="{%session=mysql_password1%}" onchange="return allowSaveChanges('mysql_password1')" />
        </div>
 
+       <div class="clear"></div>
+
        <div class="table_row">
                <label class="install_label" for="mysql_password2">{--INSTALLER_MYSQL_PASSWORD2--}</label>
                <input type="password" class="form_field" id="mysql_password2" name="mysql_password2" size="25" value="{%session=mysql_password2%}" onchange="return allowSaveChanges('mysql_password2')" />
index 326c79c6f16eb3782d5ea7d38e311c9af9c6ba39..c8e2a567290f906a1abbadfb51dce6e52b2dff69 100644 (file)
@@ -3,6 +3,10 @@
        {--INSTALLER_PAGE_EXTENSIONS_TITLE--}
 </div>
 
+<div class="para">
+       {--INSTALLER_EXTENSION_DESCRIPTION--}
+</div>
+
 <div class="para dashed" style="overflow: scroll; height: 400px;">
        <form>
                {%pipe,generateInstallerExtensionTable%}
diff --git a/templates/de/html/install/install_page_first_admin.tpl b/templates/de/html/install/install_page_first_admin.tpl
new file mode 100644 (file)
index 0000000..ee2562e
--- /dev/null
@@ -0,0 +1,45 @@
+<div align="center">
+<div class="install_title">
+       {--INSTALLER_PAGE_FIRST_ADMIN_TITLE--}
+</div>
+
+<div class="para">
+       {--INSTALLER_FIRST_ADMIN_DESCRIPTION--}
+</div>
+
+<form>
+<fieldset id="host_dbase_prefix_type">
+       <legend>{--INSTALLER_FIRST_ADMIN_LEGEND--}</legend>
+       <div class="table_row">
+               <label class="install_label" for="admin_login">{--INSTALLER_FIRST_ADMIN_LOGIN--}</label>
+               <input type="text" class="form_field" id="admin_login" name="admin_login" size="25" value="{%session=admin_login%}" onchange="return allowSaveChanges('admin_login')" />
+       </div>
+
+       <div class="clear"></div>
+
+       <div class="table_row">
+               <label class="install_label" for="admin_email">{--INSTALLER_FIRST_ADMIN_EMAIL--}</label>
+               <input type="text" class="form_field" id="admin_email" name="admin_email" size="25" value="{%session=admin_email%}" onchange="return allowSaveChanges('admin_email')" />
+       </div>
+
+       <div class="clear"></div>
+
+       <div class="table_row">
+               <label class="install_label" for="admin_password1">{--INSTALLER_FIRST_ADMIN_PASSWORD1--}</label>
+               <input type="password" class="form_field" id="admin_password1" name="admin_password1" size="25" value="{%session=admin_password1%}" onchange="return allowSaveChanges('admin_password1')" />
+
+               <div class="field_note">
+                       {--INSTALLER_ADMIN_PASSWORD_NOTICE--}
+               </div>
+       </div>
+
+       <div class="clear"></div>
+
+       <div class="table_row">
+               <label class="install_label" for="admin_password2">{--INSTALLER_FIRST_ADMIN_PASSWORD2--}</label>
+               <input type="password" class="form_field" id="admin_password2" name="admin_password2" size="25" value="{%session=admin_password2%}" onchange="return allowSaveChanges('admin_password2')" />
+       </div>
+</fieldset>
+</form>
+
+</div>
index 93502e365ffc499df5c42e6258d946e85cd3257b..4c6c87e6e21ce010464b4569eb9e880c985c4e88 100644 (file)
@@ -17,6 +17,8 @@
                </select>
        </div>
 
+       <div class="clear"></div>
+
        <div class="table_row">
                <label class="install_label" for="warn_no_pass">{--INSTALLER_WARN_NO_PASSWORD--}</label>
                <select id="warn_no_pass" name="warn_no_pass" size="1" class="form_select" onchange="return allowSaveChanges('warn_no_pass')">
@@ -24,6 +26,8 @@
                </select>
        </div>
 
+       <div class="clear"></div>
+
        <div class="table_row">
                <label class="install_label" for="write_footer">{--INSTALLER_CONFIG_WRITE_FOOTER--}</label>
                <select id="write_footer" name="write_footer" size="1" class="form_select" onchange="return allowSaveChanges('write_footer')">
                </select>
        </div>
 
+       <div class="clear"></div>
+
        <div class="table_row">
                <label class="install_label" for="enable_backlink">{--INSTALLER_ENABLE_BACKLINK--}</label>
                <select id="enable_backlink" name="enable_backlink" size="1" class="form_select" onchange="return allowSaveChanges('enable_backlink')">
                {%session-pipe,generateYesNoOptions=enable_backlink%}
                </select>
+       </div>
+
+       <div class="clear"></div>
 
+       <div class="table_row">
                <div class="field_note">
                        {--INSTALLER_ENABLE_BACKLINK_NOTICE--}
                </div>
index b9204b87ab02475b1281d18fa6e86782fc6a0227..a50bfdfcc7cd63cbd84c91acd41061066a7aaf13 100644 (file)
                </div>
        </div>
 
+       <div class="clear"></div>
+
        <div class="table_row">
                <label class="install_label" for="smtp_user">{--INSTALLER_SMTP_USER--}</label>
                <input type="text" class="form_field" id="smtp_user" name="smtp_user" size="20" value="{%session=smtp_user%}" onchange="return allowSaveChanges('smtp_user')" />
        </div>
 
+       <div class="clear"></div>
+
        <div class="table_row">
                <label class="install_label" for="smtp_password1">{--INSTALLER_SMTP_PASSWORD1--}</label>
                <input type="password" class="form_field" id="smtp_password1" name="smtp_password1" size="15" value="{%session=smtp_password1%}" onchange="return allowSaveChanges('smtp_password1')" />
        </div>
 
+       <div class="clear"></div>
+
        <div class="table_row">
                <label class="install_label" for="smtp_password2">{--INSTALLER_SMTP_PASSWORD2--}</label>
                <input type="password" class="form_field" id="smtp_password2" name="smtp_password2" size="15" value="{%session=smtp_password2%}" onchange="return allowSaveChanges('smtp_password2')" />
index b2dea6d73ec0fdff085eecab938da935c19a1983..ef0b8d2c19cc42bfd46c758a55550afd755d8ea9 100644 (file)
@@ -1,7 +1,7 @@
 <div align="center">
 <table border="0" cellspacing="0" cellpadding="0" width="430" class="mediadata dashed">
        <tr>
-               <td class="media_header bottom" colspan="2" align="center">
+               <td class="table_header bottom" colspan="2" align="center">
                        {--MEDIA_DATA_GENERAL--}
                </td>
        </tr>
@@ -15,7 +15,7 @@
                </td>
        </tr>
        <tr>
-               <td class="media_header bottom" colspan="2" align="center">{--MEDIA_DATA_MEMBERS--}</td>
+               <td class="table_header bottom" colspan="2" align="center">{--MEDIA_DATA_MEMBERS--}</td>
        </tr>
        <tr>
                <td class="bottom media_left" align="right">{--USERS_TOTAL--}:</td>
@@ -43,7 +43,7 @@
        </tr>
        $content[out_user]
        <tr>
-               <td class="media_header bottom" colspan="2" align="center">
+               <td class="table_header bottom" colspan="2" align="center">
                        {--MEDIA_DATA_MAIL--}
                </td>
        </tr>
@@ -72,7 +72,7 @@
                <td class="bottom media_right">{%pipe,translateComma=$content[click_rate]%}&#37;</td>
        </tr>
        <tr>
-               <td class="media_header bottom" colspan="2" align="center">{--MEDIA_DATA_POINTS--}</td>
+               <td class="table_header bottom" colspan="2" align="center">{--MEDIA_DATA_POINTS--}</td>
        </tr>
        <tr>
                <td class="bottom media_left" align="right">{--JACKPOT_POINTS--}:</td>
@@ -84,7 +84,7 @@
        </tr>
        $content[out_points]
        <tr>
-               <td class="media_header bottom" colspan="2" align="center">{--MEDIA_DATA_REFBANNER--}</td>
+               <td class="table_header bottom" colspan="2" align="center">{--MEDIA_DATA_REFBANNER--}</td>
        </tr>
        <tr>
                <td class="bottom media_left" align="right">{--TOTAL_REFERRAL_BANNER--}:</td>
@@ -99,7 +99,7 @@
                <td class="bottom media_right">{%pipe,translateComma=$content[ref_clicks]%}</td>
        </tr>
        <tr>
-               <td class="media_header bottom" colspan="2" align="center">{--MEDIA_DATA_MISC--}</td>
+               <td class="table_header bottom" colspan="2" align="center">{--MEDIA_DATA_MISC--}</td>
        </tr>
        <tr>
                <td class="bottom media_left" align="right">{--TOTAL_REFCLICKS--}:</td>
        $content[out_extra]
        $content[out_special]
        <tr>
-               <td class="media_header bottom" colspan="2" align="center">{--MEDIA_DATA_SCRIPT--}</td>
+               <td class="table_header bottom" colspan="2" align="center">{--MEDIA_DATA_SCRIPT--}</td>
        </tr>
        <tr>
                <td class="bottom medium" align="center" colspan="2">
                <td class="bottom media_right">{%pipe,getDateTimeFromRepository%}</td>
        </tr>
        <tr>
-               <td class="media_header" colspan="2">
+               <td class="table_header" colspan="2">
                        <div class="tiny">
                                [<strong><a href="{%url=modules.php?module=index&amp;what=stats%}">{--CONTINUE_MEMBER_STATS--}</a></strong>]
                        </div>
index 4bb0ec7cc65c79879150caf50fd2fd1a85d4db18..834fd8c3cae64c6c0d9a6d66f842e59146932586 100644 (file)
@@ -1,3 +1,5 @@
 <tr>
-       <td class="media_header bottom" colspan="3" align="center">$content</td>
+       <td class="table_header bottom" colspan="3" align="center">
+               $content
+       </td>
 </tr>
index 172c8c7c28f87d5bd3fe366967d89143f5f372df..95fd0596d3a50f8e030db3a1f8d3e65f82eb7c2a 100644 (file)
 
                <div class="table_row">
                        <label class="member_label" for="subid">{--MEMBER_ENTER_SUBID--}</label>
-                       <input type="text" class="form_field" name="subid" size="30" />
+                       <input type="text" class="form_field" name="subid" size="30" maxlength="255" />
                </div>
        </fieldset>
 
-       <div class="table_footer top" style="margin-top:5px" colspan="2" align="center">
+       <div class="table_footer top" colspan="2" align="center">
                <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
                <input type="submit" class="form_submit" name="add_subid" value="{--MEMBER_USER_SUBIDS_ADD_SUBMIT--}" />
        </div>
index e6d09fdbe87e4fd3ade5b2cb111baa6f40118975..56ef8dc0c9b332b38afec0bb67e9345d63bcde56 100644 (file)
@@ -3,20 +3,25 @@
        <div class="table_header bottom">
                <strong>{--MEMBER_BEG_LINK_TITLE--}</strong>
        </div>
+
        <div class="table_row para">
                {--MEMBER_BEG_YOUR_LINK--}<br />
                <strong><a href="{?URL?}/beg.php?userid=$content[userid]">{?URL?}/beg.php?userid=$content[userid]</a></strong>
        </div>
+
        <div class="table_row para">
                {--MEMBER_BEG_CLICKS_TOTAL--}
                <strong>{%user,beg_clicks,translateComma%}</strong>
        </div>
+
        <div class="table_row para">
                {--MEMBER_BEG_POINTS--}
        </div>
+
        <div class="table_row para bottom">
                {%message,MEMBER_BEG_TIMEOUT%}
        </div>
+
        <div class="table_footer">
                <strong>{--MEMBER_BEG_HAVE_FUN--}</strong>
        </div>
index 634780068191e8a15c948836b885eb1ef157352e..32d31dae95660667bc2df87751d10794c2667283 100644 (file)
@@ -1,4 +1,5 @@
 <tr>
-       <td colspan="4" align="center" class="member_data bottom" height="40">
-       {--BEG_RALLYE_NO_ONE_JOINED--}</td>
+       <td colspan="4" align="center" class="member_data bottom">
+               {--BEG_RALLYE_NO_ONE_JOINED--}
+       </td>
 </tr>
index 11e435eec841a48afebcde7d3dfa72e61b4a2e9d..b612b9df5bbbe4cda729bb98279b3042bf2a10b6 100644 (file)
@@ -1,36 +1,37 @@
 <div align="center">
 <div class="table dashed">
 <div class="table_header">
-       <strong>{--MEMBER_BONUS_HERE_IS_THE_LIST--}</strong>
+       {--MEMBER_BONUS_HERE_IS_THE_LIST--}
 </div>
 </div>
 
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td width="80" align="center" class="header_column bottom"><strong>{--BONUS_RANK--}:</strong></td>
-               <td width="120" align="center" class="header_column bottom"><strong>{--_USERID--}:</strong></td>
+<tr>
+       <td align="center" class="header_column bottom">{--BONUS_RANK--}:</td>
+       <td align="center" class="header_column bottom">{--_USERID--}:</td>
+       <td align="center" class="header_column bottom">{?POINTS?}:</td>
+       <td align="center" class="header_column bottom">{--LAST_ONLINE_SHORT--}:</td>
+</tr>
 
-               <td width="100" align="center" class="header_column bottom"><strong>{?POINTS?}:</strong></td>
-               <td width="220" align="center" class="header_column bottom"><strong>{--LAST_ONLINE_SHORT--}:</strong></td>
-       </tr>
-       $content[rows]
-       <tr>
-               <td colspan="4" class="table_footer" align="center">
-                       <div class="tiny notice">{--MEMBER_BONUS_RALLYE_NOTICE--}</div>
-               </td>
-       </tr>
+$content[rows]
+
+<tr>
+       <td colspan="4" class="table_footer" align="center">
+               <div class="tiny notice">{--MEMBER_BONUS_RALLYE_NOTICE--}</div>
+       </td>
+</tr>
 </table>
 
 <table border="0" cellspacing="0" cellpadding="0" width="90%" class="table dashed">
        <tr>
                <td class="header_column bottom" align="center">
-                       <strong>{--MEMBER_BONUS_RALLYE_CONDITIONS--}:</strong>
+                       {--MEMBER_BONUS_RALLYE_CONDITIONS--}:
                </td>
        </tr>
        <tr>
                <td class="notice bottom">
                        <ol align="left">
-                               <li class="tiny">Es werden nur aktive und freigeschaltete Mitglieder ber&uuml;cksichtig.</li>
+                               <li class="tiny">Es werden nur aktive und freigeschaltete Mitglieder ber&uuml;cksichtigt.</li>
                                <li class="tiny">Der Login-Bonus wird bei der Auswertung nicht beachtet, aber dem Mitglied gutgeschrieben.</li>
                                <li class="tiny">Es kann jeder dran teilnehmen, der Mitglied bei diesem {?mt_word?} (<strong>{?MAIN_TITLE?}</strong>) und freigegeben ist.</li>
                                <li class="tiny">Zur Erstellung des Rallye-Ergebnisses wird nur die Aktiv-Verg&uuml;tung ber&uuml;cksichtig, welche Sie beim Best&auml;tigen von Mails erhalten k&ouml;nnen.</li>
index 487abb2a789bca0b971da3f41cf8933a6a31d2fe..4088591e024b357f713ee25a9e3643a5cd1fa4f0 100644 (file)
@@ -1,5 +1,5 @@
 <tr>
-       <td colspan="4" align="center" class="member_data bottom" height="40">
+       <td colspan="4" align="center" class="member_data bottom">
                {--MEMBER_BONUS_RALLYE_NO_ONE_JOINED--}
        </td>
 </tr>
index 8c917b4e7d85022f396efc2ff64fb5010d318cd4..9840ef300291ae4f137cb7a1f6d863d34048674f 100644 (file)
@@ -1,18 +1,20 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=login&amp;what=subids&amp;do=delete_subids%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td align="center" class="table_header bottom" height="25" colspan="4">
-                       <strong>{--MEMBER_DELETE_USER_SUBIDS_TITLE--}</strong>
-               </td>
-       </tr>
-       $content
-       <tr>
-               <td colspan="4" class="table_footer">
-                       <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
-                       <input type="submit" class="form_delete" name="do_delete" value="{--MEMBER_USER_SUBIDS_REMOVE_SUBMIT--}" />
-               </td>
-       </tr>
+<tr>
+       <td align="center" class="table_header bottom" colspan="4">
+               {--MEMBER_DELETE_USER_SUBIDS_TITLE--}
+       </td>
+</tr>
+
+$content
+
+<tr>
+       <td colspan="4" class="table_footer">
+               <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+               <input type="submit" class="form_delete" name="do_delete" value="{--MEMBER_USER_SUBIDS_REMOVE_SUBMIT--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index c57985655bd512abe1d67417c6b6740b3ae56a51..dceec320fe67287654ca6ac915f5a90bfe5b7fa1 100644 (file)
                <strong>Tipp:</strong> Nutzen Sie diesen zum Werben unseres {?mt_word2?}, um die <strong>{%config,translateComma=doubler_ref%}&#37;</strong> Referral-Verg&uuml;tung zu erhalten!
        </div>
 
-       <div class="big">{--MEMBER_DOUBLER_ALREADY_PAYOUT--}:</div>
+       <div>{--MEMBER_DOUBLER_ALREADY_PAYOUT--}:</div>
        $content[payout_history]
 
-       <div class="big">{--MEMBER_DOUBLER_NEXT_PAYOUT--}:</div>
+       <div>{--MEMBER_DOUBLER_NEXT_PAYOUT--}:</div>
        {%pipe,getMemberId,generateDoublerTable%}
 
-       <div class="big">{--MEMBER_DOUBLER_REFERRAL_PAYOUT--}:</div>
+       <div>{--MEMBER_DOUBLER_REFERRAL_PAYOUT--}:</div>
        $content[payout_ref]
 </div>
 
 <div align="center" class="table dashed">
        <div align="center" class="table_header bottom">
-               <strong class="big">{--DOUBLER_GENERAL_INFOS--}:</strong>
+               {--DOUBLER_GENERAL_INFOS--}:
        </div>
-       <div class="bottom" style="padding-left: 0px; padding-right: 10px; padding-top: 10px; padding-bottom: 10px">
+       <div class="bottom">
+               <div class="para" align="left">
                <ul>
                        <li>{--DOUBLER_MINIMUM_IS--} <strong>{%config,translateComma=doubler_min%} {?POINTS?}</strong> {--DOUBLER_MAXIMUM_IS--} <strong>{%config,translateComma=doubler_max%} {?POINTS?}</strong></li>
                        <li>Es wurden bereits <strong>{%config,translateComma=doubler_points%} {?POINTS?}</strong> ausgezahlt.</li>
                        <li>{--DOUBLER_USAGE_COUNTER--}</li>
                        <li>$content[payout_time]</li>
                        <li><strong>{--DOUBLER_FULL_PAYOUT--}</strong></li>
-                       <li>{--DOUBLER_POINTS_1--} <strong>{%config,translateComma=doubler_charge%}&#37;</strong> {--DOUBLER_POINTS_2--}</li>
-                       <li>{--DOUBLER_EXAMPLE_1--} <strong>500 {?POINTS?}</strong> &raquo;&raquo; {--DOUBLER_EXAMPLE_2--} <strong>1000 {?POINTS?}</strong>{--DOUBLER_EXAMPLE_3--}</li>
-                       <li>{--DOUBLER_REFERRAL_1--}</li>
-                       <li>{--DOUBLER_REFERRAL_2--}</li>
+                       <li>{--DOUBLER_POINTS--}</li>
+                       <li>{--DOUBLER_EXAMPLE--}</li>
+                       <li>{--DOUBLER_REFERRAL--}</li>
                        <li>{--DOUBLER_REFERRAL_LINK--}</li>
                        <li>{--DOUBLER_TIMEOUT--}</li>
                        <li>{--DOUBLER_HAVE_FUN--}</li>
                </ul>
+               </div>
        </div>
        <div align="center" class="table_header bottom">
-               <strong class="big">{--DOUBLER_REGISTER_ADVERT--}:</strong>
+               {--DOUBLER_REGISTER_ADVERT--}:
        </div>
        <div style="padding-left: 10px; padding-right: 10px; padding-top: 10px; padding-bottom: 10px">
                {--DOUBLER_YOUR_ADVERTISING_HERE--}
index 857db6f5521b34cca751a7fad4aff7788ac9259e..cb90830b66712224010c3b4aa011a9e401701124 100644 (file)
@@ -1,18 +1,20 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=login&amp;what=subids&amp;do=edit_subids%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td align="center" class="table_header bottom" height="25" colspan="4">
-                       <strong>{--MEMBER_EDIT_USER_SUBIDS_TITLE--}</strong>
-               </td>
-       </tr>
-       $content
-       <tr>
-               <td colspan="4" class="table_footer">
-                       <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
-                       <input type="submit" class="form_submit" name="do_edit" value="{--MEMBER_USER_SUBIDS_CHANGE_SUBMIT--}" />
-               </td>
-       </tr>
+<tr>
+       <td align="center" class="table_header bottom" colspan="4">
+               {--MEMBER_EDIT_USER_SUBIDS_TITLE--}
+       </td>
+</tr>
+
+$content
+
+<tr>
+       <td colspan="4" class="table_footer">
+               <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+               <input type="submit" class="form_submit" name="do_edit" value="{--MEMBER_USER_SUBIDS_CHANGE_SUBMIT--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index 344b962897158c3842e7192712cccead94140ab8..514317aacd48b917caa6aa3f5cf1151d11ba5f08 100644 (file)
@@ -1,27 +1,30 @@
 <div align="center">
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td colspan="4" class="table_header">
-                       <strong>{--MEMBER_LIST_BEG_RALLYE_TITLE--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td width="80" align="center" class="header_column bottom right"><strong>{--BEG_RANK--}:</strong></td>
-               <td width="120" align="center" class="header_column bottom right"><strong>{--_USERID--}:</strong></td>
-               <td width="100" align="center" class="header_column bottom right"><strong>{--BEG_POINTS--}:</strong></td>
-               <td width="220" align="center" class="header_column bottom"><strong>{--LAST_ONLINE_SHORT--}:</strong></td>
-       </tr>
-       $content[rows]
-       <tr>
-               <td colspan="4" class="table_footer">
-                       {--BEG_RALLYE_NOTICE--}
-               </td>
-       </tr>
+<tr>
+       <td colspan="4" class="table_header">
+               {--MEMBER_LIST_BEG_RALLYE_TITLE--}
+       </td>
+</tr>
+
+<tr>
+       <td align="center" class="header_column bottom right">{--BEG_RANK--}:</td>
+       <td align="center" class="header_column bottom right">{--_USERID--}:</td>
+       <td align="center" class="header_column bottom right">{--BEG_POINTS--}:</td>
+       <td align="center" class="header_column bottom">{--LAST_ONLINE_SHORT--}:</td>
+</tr>
+
+$content[rows]
+
+<tr>
+       <td colspan="4" class="table_footer">
+               {--BEG_RALLYE_NOTICE--}
+       </td>
+</tr>
 </table>
 
 <div class="table dashed">
        <div class="table_header bottom">
-               <strong>{--BEG_RALLYE_CONDITIONS--}:</strong>
+               {--BEG_RALLYE_CONDITIONS--}:
        </div>
        <div class="bottom">
                <ol class="listing">
index 373c355a846c8778e446801c4369ccba4f04861b..c5e54b40a7c46a4e63916da250509c910e36878d 100644 (file)
@@ -1,11 +1,13 @@
 <div align="center">
-<table border="0" cellspacing="0" cellpadding="0" width="430" class="table dashed">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
 <tr>
-       <td align="center" class="header_column bottom" width="80" height="25"><strong>{--_RALLYE_PRICE--}</strong></td>
-       <td align="center" class="header_column bottom" width="50"><strong>{--_USERID--}</strong></td>
-       <td align="center" class="header_column bottom" width="300"><strong>{--RALLYE_REFS--}</strong></td>
+       <td align="center" class="header_column bottom">{--_RALLYE_PRICE--}</td>
+       <td align="center" class="header_column bottom">{--_USERID--}</td>
+       <td align="center" class="header_column bottom">{--RALLYE_REFS--}</td>
 </tr>
+
 $content[rows]
+
 <tr>
        <td colspan="3" class="table_footer">
                <div align="left"><ul>
index 4245c1d755a81b13432f55c216bdfc196cc211f1..02d442c63454cfe80a6fb6dedd5cdb7f5a8cf124 100644 (file)
@@ -12,7 +12,7 @@
                {%pipe,translateComma=$content[refback_points]%} {?POINTS?}
        </td>
        <td align="center" class="{%template,ColorSwitch%} bottom right">
-               $content[click_rate]&#37;
+               {%pipe,translateComma=$content[click_rate]%}&#37;
        </td>
        <td align="center" class="{%template,ColorSwitch%} bottom right">
                $content[joined]
index 9c779d0b22f2c814666f42df307700fb792ddfa9..a55cc92c023d19766aabc6d2911d60ab7b7d3fbb 100644 (file)
@@ -12,7 +12,7 @@
                {%pipe,translateComma=$content[refback_points]%} {?POINTS?}
        </td>
        <td align="center" class="{%template,ColorSwitch%} bottom right">
-               $content[click_rate]&#37;
+               {%pipe,translateComma=$content[click_rate]%}&#37;
        </td>
        <td align="center" class="{%template,ColorSwitch%} bottom right">
                $content[joined]
index 4458928f365f10cb7f2ff19937e23b948067d2e1..7e09f27ed71e0f414a453cf5d757b767f0107e05 100644 (file)
@@ -12,7 +12,7 @@
                {%pipe,getTotalUnconfirmedMails,translateComma=$content[refid]%}
        </td>
        <td align="center" class="{%template,ColorSwitch%} bottom right">
-               $content[click_rate]&#37;
+               {%pipe,translateComma=$content[click_rate]%}&#37;
        </td>
        <td align="center" class="{%template,ColorSwitch%} bottom right">
                $content[activity]
index f42860088f6730141d87e9abfd18df8bfc5dd1cd..133c3b7b706520d0faa3994851e7e0e312b80106 100644 (file)
@@ -1,19 +1,27 @@
 <div align="center">
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="650">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
 <tr>
-       <td width="100" class="header_column bottom right" align="center"><strong>{--CONFIRM_LINK2--}:</strong></td>
-       <td width="110" class="header_column bottom right" align="center"><strong>{--EMAIL_SENDER--}:</strong></td>
-       <td width="170" class="header_column bottom right" align="center"><strong>{--EMAIL_DETAILS--}:</strong></td>
-       <td width="150" class="header_column bottom right" align="center"><strong>{--EMAIL_TIMESTAMP--}:</strong></td>
-       <td width="120" class="header_column bottom" align="center"><strong>{--EMAIL_POINTS--}:</strong></td>
+       <td class="table_header bottom" colspan="5">
+               {--MEMBER_LIST_UNCONFIRMED_MAILS_TITLE--}
+       </td>
+</tr>
+
+<tr>
+       <td class="header_column bottom right" align="center">{--CONFIRM_LINK2--}:</td>
+       <td class="header_column bottom right" align="center">{--EMAIL_SENDER--}:</td>
+       <td class="header_column bottom right" align="center">{--EMAIL_DETAILS--}:</td>
+       <td class="header_column bottom right" align="center">{--EMAIL_TIMESTAMP--}:</td>
+       <td class="header_column bottom" align="center">{--EMAIL_POINTS--}:</td>
 </tr>
+
 $content[rows]
+
 <tr>
        <td align="right" class="table_footer right" colspan="4" style="padding-right:5px">
-               <strong>{--MEMBER_TOTAL_POINTS--}:</strong>
+               {--MEMBER_TOTAL_POINTS--}:
        </td>
        <td align="right" class="table_footer" style="padding-right:5px">
-               <strong>{%pipe,translateComma=$content[total_points]%} {?POINTS?}</strong>
+               {%pipe,translateComma=$content[total_points]%} {?POINTS?}
        </td>
 </tr>
 </table>
index 99d3641819084cd210358932136c4c0ecb384af6..d49893fbfa9f3c9fa21ed02e72df9a84cdc45d73 100644 (file)
@@ -1,12 +1,20 @@
 <div align="center">
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="550">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
 <tr>
-       <td width="100" class="header_column bottom right" align="center"><strong>{--CONFIRM_LINK2--}:</strong></td>
-       <td width="120" class="header_column bottom right" align="center"><strong>{--EMAIL_SENDER--}:</strong></td>
-       <td width="180" class="header_column bottom right" align="center"><strong>{--EMAIL_DETAILS--}:</strong></td>
-       <td width="160" class="header_column bottom right" align="center"><strong>{--EMAIL_TIMESTAMP--}:</strong></td>
+       <td class="table_header bottom" colspan="4">
+               {--MEMBER_LIST_UNCONFIRMED_MAILS_TITLE--}
+       </td>
+</tr>
+
+<tr>
+       <td class="header_column bottom right" align="center">{--CONFIRM_LINK2--}:</td>
+       <td class="header_column bottom right" align="center">{--EMAIL_SENDER--}:</td>
+       <td class="header_column bottom right" align="center">{--EMAIL_DETAILS--}:</td>
+       <td class="header_column bottom right" align="center">{--EMAIL_TIMESTAMP--}:</td>
 </tr>
+
 $content[rows]
+
 <tr>
        <td class="table_footer" colspan="4">
                <!-- @TODO Nothing to say here? //-->
index 04668c3abea899005f2faf176c50c40bfe3ef92e..fcc1d4c3464af02b4213e7554cc7244f317895e2 100644 (file)
@@ -1,36 +1,40 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=login&amp;what=nickname%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td colspan="5" align="center" class="table_header bottom" height="30">
-                       <strong>{--MEMBER_NICKNAME_CHANGE_NICKNAME_TITLE--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td colspan="2">
-                       {--MEMBER_NICKNAME_CHANGE_NICKNAME_INTRO--}
-               </td>
-       </tr>
-       <tr>
-               <td align="right">
-                       {--MEMBER_NICKNAME_ENTER_NICKNAME--}:
-               </td>
-               <td>
-                       <input type="text" class="form_field" name="nickname" size="30" maxlength="30" value="{%pipe,getMemberId,getNickname%}" />
-               </td>
-       </tr>
-       <tr>
-               <td class="bottom" colspan="2" align="center">
-                       {--MEMBER_NICKNAME_ALLOWED_CHARS--}
-                       ({?nickname_chars?})
-               </td>
-       </tr>
-       <tr>
-               <td colspan="2" class="table_footer" align="center">
-                       <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
-                       <input type="submit" class="form_submit" name="ok" value="{--MEMBER_NICKNAME_CHANGE_SUBMIT--}" />
-               </td>
-       </tr>
+<tr>
+       <td colspan="5" align="center" class="table_header bottom">
+               {--MEMBER_NICKNAME_CHANGE_NICKNAME_TITLE--}
+       </td>
+</tr>
+
+<tr>
+       <td colspan="2">
+               {--MEMBER_NICKNAME_CHANGE_NICKNAME_INTRO--}
+       </td>
+</tr>
+
+<tr>
+       <td align="right">
+               {--MEMBER_NICKNAME_ENTER_NICKNAME--}:
+       </td>
+       <td>
+               <input type="text" class="form_field" name="nickname" size="30" maxlength="30" value="{%pipe,getMemberId,getNickname%}" />
+       </td>
+</tr>
+
+<tr>
+       <td class="bottom" colspan="2" align="center">
+               {--MEMBER_NICKNAME_ALLOWED_CHARS--}
+               ({?nickname_chars?})
+       </td>
+</tr>
+
+<tr>
+       <td colspan="2" class="table_footer" align="center">
+               <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+               <input type="submit" class="form_submit" name="ok" value="{--MEMBER_NICKNAME_CHANGE_SUBMIT--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index 4b2ac89c2ef836156b8e87c6fafc4037647f0304..9be597ae371ebf7a869c24f0b641c45b6d042e1c 100644 (file)
@@ -1,22 +1,25 @@
 <div align="center">
 <table border="0" cellspacing="0" cellpadding="0" width="680" class="table dashed" align="center">
-       <tr>
-               <td colspan="5" align="center" class="table_header bottom">
-                       <strong>{--MEMBER_PAYOUT_LIST_TITLE--}:</strong>
-               </td>
-       </tr>
-       <tr>
-               <td width="180" align="center" class="header_column bottom right"><strong>{--PAYOUT_TOTAL_PAYOUT--}</strong></td>
-               <td width="130" align="center" class="header_column bottom right"><strong>{--MEMBER_PAYOUT_TARGET_ACCOUNT2--}</strong></td>
-               <td width="100" align="center" class="header_column bottom right"><strong>{--MEMBER_PAYOUT_TARGET_BANK2--}</strong></td>
-               <td width="150" align="center" class="header_column bottom right"><strong>{--PAYOUT_TIMESTAMP--}</strong></td>
-               <td width="120" align="center" class="header_column bottom"><strong>{--MEMBER_PAYOUT_STATUS--}</strong></td>
-       </tr>
-       $content
-       <tr>
-               <td colspan="5" align="center" class="table_footer">
-                       {--MEMBER_PAYOUT_LIST_FOOTER--}
-               </td>
-       </tr>
+<tr>
+       <td colspan="5" align="center" class="table_header bottom">
+               {--MEMBER_PAYOUT_LIST_TITLE--}:
+       </td>
+</tr>
+
+<tr>
+       <td align="center" class="header_column bottom right">{--PAYOUT_TOTAL_PAYOUT--}</td>
+       <td align="center" class="header_column bottom right">{--MEMBER_PAYOUT_TARGET_ACCOUNT2--}</td>
+       <td align="center" class="header_column bottom right">{--MEMBER_PAYOUT_TARGET_BANK2--}</td>
+       <td align="center" class="header_column bottom right">{--PAYOUT_TIMESTAMP--}</td>
+       <td align="center" class="header_column bottom">{--MEMBER_PAYOUT_STATUS--}</td>
+</tr>
+
+$content
+
+<tr>
+       <td colspan="5" align="center" class="table_footer">
+               {--MEMBER_PAYOUT_LIST_FOOTER--}
+       </td>
+</tr>
 </table>
 </div>
index a31541f3e5cb482f02a9c3ba731cf16e07cb9800..9d5ef34c8d21bd9131eb9d60aa75647dd98374f2 100644 (file)
@@ -1,49 +1,56 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=login&amp;what=payout&amp;payout=$content[payout]%}
 <table border="0" cellspacing="0" cellpadding="0" width="440" class="table dashed">
-       <tr>
-               <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--MEMBER_PAYOUT_NOW_TITLE--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td width="215" height="20" align="right">{--MEMBER_PAYOUT_SELECTED_TYPE--}:</td>
-               <td width="215"><strong>$content[type]</strong></td>
-       </tr>
-       <tr>
-               <td height="25" align="right">{--MEMBER_PAYOUT_MAXIMUM_POSSIBLE--}:</td>
-               <td><strong>$content[max]</strong></td>
-       </tr>
-       <tr>
-               <td height="25" align="right">{--MEMBER_PAYOUT_REQUESTED_AMOUNT--}:</td>
-               <td>
-                       <input type="text" class="form_field" name="payout" size="10" maxlength="255" value="$content[max]" />
-               </td>
-       </tr>
-       <tr>
-               <td height="25" align="right">{--MEMBER_PAYOUT_TARGET_ACCOUNT--}:</td>
-               <td>
-                       <input type="text" class="form_field" name="account" size="20" maxlength="255" />
-               </td>
-       </tr>
-       <tr>
-               <td height="25" align="right">{--MEMBER_PAYOUT_TARGET_BANK--}:</td>
-               <td>
-                       <input type="text" class="form_field" name="bank" ize="20" maxlength="255" />
-               </td>
-       </tr>
-       <tr>
-               <td height="25" align="right">{--MEMBER_PAYOUT_OPTIONAL_PASSWORD--}:</td>
-               <td>
-                       <input type="password" class="form_field" name="password" ize="10" maxlength="255" />
-               </td>
-       </tr>
-       <tr>
-               <td colspan="2" align="center" class="table_footer">
-                       <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
-                       <input type="submit" class="form_submit" name="ok" value="{--MEMBER_PAYOUT_SEND_SUBMIT--}" />
-               </td>
-       </tr>
+<tr>
+       <td colspan="2" align="center" class="table_header bottom">
+               {--MEMBER_PAYOUT_NOW_TITLE--}
+       </td>
+</tr>
+
+<tr>
+       <td width="215" height="20" align="right">{--MEMBER_PAYOUT_SELECTED_TYPE--}:</td>
+       <td width="215"><strong>$content[type]</strong></td>
+</tr>
+
+<tr>
+       <td align="right">{--MEMBER_PAYOUT_MAXIMUM_POSSIBLE--}:</td>
+       <td><strong>$content[max]</strong></td>
+</tr>
+
+<tr>
+       <td align="right">{--MEMBER_PAYOUT_REQUESTED_AMOUNT--}:</td>
+       <td>
+               <input type="text" class="form_field" name="payout" size="10" maxlength="255" value="$content[max]" />
+       </td>
+</tr>
+
+<tr>
+       <td align="right">{--MEMBER_PAYOUT_TARGET_ACCOUNT--}:</td>
+       <td>
+               <input type="text" class="form_field" name="account" size="20" maxlength="255" />
+       </td>
+</tr>
+
+<tr>
+       <td align="right">{--MEMBER_PAYOUT_TARGET_BANK--}:</td>
+       <td>
+               <input type="text" class="form_field" name="bank" ize="20" maxlength="255" />
+       </td>
+</tr>
+
+<tr>
+       <td align="right">{--MEMBER_PAYOUT_OPTIONAL_PASSWORD--}:</td>
+       <td>
+               <input type="password" class="form_field" name="password" ize="10" maxlength="255" />
+       </td>
+</tr>
+
+<tr>
+       <td colspan="2" align="center" class="table_footer">
+               <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+               <input type="submit" class="form_submit" name="ok" value="{--MEMBER_PAYOUT_SEND_SUBMIT--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index b7315f75fda60bca71f79bd8cd589a242b2d6bec..b7ee13bbc7be4538830b8b686c101a34d2669509 100644 (file)
@@ -1,49 +1,56 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=login&amp;what=payout&amp;payout=$content[payout]%}
 <table border="0" cellspacing="0" cellpadding="0" width="440" class="table dashed">
-       <tr>
-               <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--MEMBER_PAYOUT_NOW_TITLE--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td width="215" height="20" align="right">{--MEMBER_PAYOUT_SELECTED_TYPE--}:</td>
-               <td width="215"><strong>$content[type]</strong></td>
-       </tr>
-       <tr>
-               <td height="25" align="right">{--PAYOUT_MAXIMUM_PAYOUT--}:</td>
-               <td><strong>$content[max]</strong></td>
-       </tr>
-       <tr>
-               <td height="25" align="right">{--MEMBER_PAYOUT_REQUESTED_AMOUNT--}:</td>
-               <td>
-                       <input type="text" class="form_field" name="payout" size="10" maxlength="255" value="$content[max]" />
-               </td>
-       </tr>
-       <tr>
-               <td height="25" align="right">{--PAYOUT_TARGET_URL--}:</td>
-               <td>
-                       <input type="text" class="form_field" name="turl" size="20" maxlength="500" value="http://" />
-               </td>
-       </tr>
-       <tr>
-               <td height="25" align="right">{--PAYOUT_LINK_TEXT--}:</td>
-               <td>
-                       <input type="text" class="form_field" name="link_text" size="10" maxlength="30" />
-               </td>
-       </tr>
-       <tr>
-               <td class="bottom" height="25" align="right">{--PAYOUT_OPTIONAL_BANNER--}:</td>
-               <td class="bottom">
-                       <input type="text" class="form_field" name="banner" size="20" maxlength="500" />(*)
-               </td>
-       </tr>
-       <tr>
-               <td colspan="2" align="center" class="table_footer">
-                       <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
-                       <input type="submit" class="form_submit" name="ok" value="{--MEMBER_PAYOUT_SEND_SUBMIT--}" />
-               </td>
-       </tr>
+<tr>
+       <td colspan="2" align="center" class="table_header bottom">
+               <strong>{--MEMBER_PAYOUT_NOW_TITLE--}</strong>
+       </td>
+</tr>
+
+<tr>
+       <td align="right">{--MEMBER_PAYOUT_SELECTED_TYPE--}:</td>
+       <td><strong>$content[type]</strong></td>
+</tr>
+
+<tr>
+       <td align="right">{--PAYOUT_MAXIMUM_PAYOUT--}:</td>
+       <td><strong>$content[max]</strong></td>
+</tr>
+
+<tr>
+       <td align="right">{--MEMBER_PAYOUT_REQUESTED_AMOUNT--}:</td>
+       <td>
+               <input type="text" class="form_field" name="payout" size="10" maxlength="255" value="$content[max]" />
+       </td>
+</tr>
+
+<tr>
+       <td align="right">{--PAYOUT_TARGET_URL--}:</td>
+       <td>
+               <input type="text" class="form_field" name="turl" size="20" maxlength="500" value="http://" />
+       </td>
+</tr>
+
+<tr>
+       <td align="right">{--PAYOUT_LINK_TEXT--}:</td>
+       <td>
+               <input type="text" class="form_field" name="link_text" size="10" maxlength="30" />
+       </td>
+</tr>
+
+<tr>
+       <td class="bottom" align="right">{--PAYOUT_OPTIONAL_BANNER--}:</td>
+       <td class="bottom">
+               <input type="text" class="form_field" name="banner" size="20" maxlength="500" />(*)
+       </td>
+</tr>
+
+<tr>
+       <td colspan="2" align="center" class="table_footer">
+               <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+               <input type="submit" class="form_submit" name="ok" value="{--MEMBER_PAYOUT_SEND_SUBMIT--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 
index 731dd2926316c0b16d7f67a5a7a0245c3fa91592..8fb63f90c26b1b15d8473fa596af087f5a4e82fb 100644 (file)
@@ -1,10 +1,10 @@
 <div align="center">
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
        <tr>
-               <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>
+               <td align="center" class="header_column bottom">{--MEMBER_REFERRAL_LEVEL_PERCENTS--}</td>
+               <td align="center" class="header_column bottom">{--POINTS_OWN--}</td>
+               <td align="center" class="header_column bottom">{--POINTS_ORDER--}</td>
+               <td align="center" class="header_column bottom">{--REFERRAL_COUNT--}</td>
        </tr>
        $content[rows]
        <tr>
index 6042dd2f520b06dc7f864e7f358f02baefabb78b..fdf5b910822ef35168ebdacfc3ef42813c76d8b9 100644 (file)
@@ -1,7 +1,7 @@
 <div align="center">
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
 <tr>
-       <td colspan="3" align="center" height="25" class="header_column">
+       <td colspan="3" align="center" class="header_column">
                <div class="table">{--MEMBER_POOL_CONTENT--}</div>
        </td>
 </tr>
index a0c040d3c0c2dea7c552bba1ba2f7d7de15a05b8..9032e1c6e93a57a18a39d745557fe1d2b441b48c 100644 (file)
@@ -1,7 +1,7 @@
 <div align="center">
 <table border="0" cellspacing="0" cellpadding="0" width="400" class="table dashed">
        <tr>
-               <td align="right" height="40" class="register_left" style="margin-right:3px">
+               <td align="right" class="register_left" style="margin-right:3px">
                        {--MAX_MAILS_PER_DAY--}:
                </td>
                <td class="register_right">
index 864b67b2609dd00305da03e712246c44f798b3e8..6c88a368a9e91f3b3ea7dd9d417dca521f4eaca1 100644 (file)
@@ -1,8 +1,10 @@
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
 <tr>
-       <td colspan="3" align="center" height="25" class="header_column">
+       <td colspan="3" align="center" class="header_column">
                <div class="table">{--MEMBER_STATS_CONTENT--}</div>
        </td>
 </tr>
+
 $content
+
 </table>
index 7e59f67e739cf266dc3272ce4df519f82d9cdf2f..bb410b7b8162029a74175e063e05ae098036545c 100644 (file)
@@ -1,13 +1,17 @@
 <tr>
-       <td class="{%template,ColorSwitch%} bottom right" align="center" height="30">
+       <td class="{%template,ColorSwitch%} bottom right" align="center">
                <input type="radio" class="form_field" name="member_theme" value="$content[unix]"$content[default] />
        </td>
-       <td class="{%template,ColorSwitch%} bottom right" align="center">$content[theme_name]</td>
        <td class="{%template,ColorSwitch%} bottom right" align="center">
-       <a href="mailto:$content[theme_email]?Subject=[Theme:] $content[theme_name] ($content[unix])">$content[theme_author]</a>
+               $content[theme_name]
+       </td>
+       <td class="{%template,ColorSwitch%} bottom right" align="center">
+               <a href="mailto:$content[theme_email]?Subject=[Theme:] $content[theme_name] ($content[unix])">$content[theme_author]</a>
        </td>
        <td class="{%template,ColorSwitch%} bottom right" align="center">
                <a href="{%pipe,generateDereferrerUrl=$content[theme_url]%}" target="_blank">$content[theme_url]</a>
        </td>
-       <td class="{%template,ColorSwitch%} bottom" align="center">v$content[theme_version]</td>
+       <td class="{%template,ColorSwitch%} bottom" align="center">
+               v$content[theme_version]
+       </td>
 </tr>
diff --git a/templates/de/html/member/member_transaction_fees.tpl b/templates/de/html/member/member_transaction_fees.tpl
new file mode 100644 (file)
index 0000000..6659682
--- /dev/null
@@ -0,0 +1,125 @@
+<div class="para" align="center">
+<div class="table wide_border">
+       <div class="table_title bottom">
+               Geb&uuml;hren&uuml;bersicht und Jahresaussch&uuml;ttung:
+       </div>
+
+       <div class="table_header bottom">
+               Als Empf&auml;nger von {?einheit?}-Transaktionen:
+       </div>
+
+       <fieldset class="table_fieldset bottom" id="receiver_fees">
+               <legend>Diesen Monat zu zahlen:</legend>
+               <div class="table_header table_left50 slim_border">
+                       Anzahl Transaktionen:
+               </div>
+
+               <div class="table_header table_right50 slim_border">
+                       Geb&uuml;hren:
+               </div>
+
+               <div class="table_left50 bottom left right" style="margin-top: -1px">
+                       <div class="table_data">$content[transaction_receiver_count]</div>
+               </div>
+
+               <div class="table_right50 bottom left right" style="margin-top: -1px">
+                       <div class="table_data">$content[transaction_receiver_fee] {?einheit?}</div>
+               </div>
+       </fieldset>
+
+       <fieldset class="table_fieldset bottom" id="receiver_saved_fees">
+               <legend>Von anderen Mitgliedern <a href="{?URL?}/modules.php?module=transactions">eingel&ouml;st</a>:</legend>
+               <div class="table_header table_left50 slim_border">
+                       Anzahl Transaktionen:
+               </div>
+
+               <div class="table_header table_right50 slim_border">
+                       Geb&uuml;hren:
+               </div>
+
+               <div class="table_left50 bottom left right" style="margin-top: -1px">
+                       <div class="table_data">$content[transaction_receiver_saved_count]</div>
+               </div>
+
+               <div class="table_right50 bottom left right" style="margin-top: -1px">
+                       <div class="table_data">$content[transaction_receiver_saved_fee] {?einheit?}</div>
+               </div>
+       </fieldset>
+
+       <div class="table_header top bottom">
+               Als Versender von {?einheit?}-Transaktionen:
+       </div>
+
+       <fieldset class="table_fieldset bottom" id="sender_fees">
+               <legend>Diesen Monat zu zahlen:</legend>
+               <div class="table_header table_left50 slim_border">
+                       Anzahl Transaktionen:
+               </div>
+
+               <div class="table_header table_right50 slim_border">
+                       Geb&uuml;hren:
+               </div>
+
+               <div class="table_left50 bottom left right" style="margin-top: -1px">
+                       <div class="table_data">$content[transaction_sender_count]</div>
+               </div>
+
+               <div class="table_right50 bottom left right" style="margin-top: -1px">
+                       <div class="table_data">$content[transaction_sender_fee] {?einheit?}</div>
+               </div>
+       </fieldset>
+
+       <fieldset class="table_fieldset bottom" id="sender_saved_fees">
+               <legend>Von anderen Mitgliedern <a href="{?URL?}/modules.php?module=transactions">eingel&ouml;st</a>:</legend>
+               <div class="table_header table_left50 slim_border">
+                       Anzahl Transaktionen:
+               </div>
+
+               <div class="table_header table_right50 slim_border">
+                       Geb&uuml;hren:
+               </div>
+
+               <div class="table_left50 bottom left right" style="margin-top: -1px">
+                       <div class="table_data">$content[transaction_sender_saved_count]</div>
+               </div>
+
+               <div class="table_right50 bottom left right" style="margin-top: -1px">
+                       <div class="table_data">$content[transaction_sender_saved_fee] {?einheit?}</div>
+               </div>
+       </fieldset>
+
+       <div class="table_header top bottom">
+               Z&auml;hler f&uuml;r Anteil an Jahresaussch&uuml;ttung:
+       </div>
+
+       <fieldset class="table_fieldset" id="config_fees">
+               <legend>Z&auml;hler, die Sie pro Aktion/Gutschrift erhalten:</legend>
+
+               $content[config_rows]
+       </fieldset>
+</div>
+</div>
+
+<div class="para" align="center">
+       <div class="table wide_border">
+               <div class="table_title bottom">
+                       Berechnung Ihres Anteils an der j&auml;hrlichen Aussch&uuml;ttung:
+               </div>
+
+               <div class="para bottom" align="left">
+                       Ihr Anteil an der Jahresaussch&uuml;ttung der Transaktionsgeb&uuml;hren errechnet sich wie folgt:
+                       <ul>
+                               <li>Heute ist der <strong>$content[current_day]</strong>, w&auml;re heute der <strong>$content[next_year]</strong>, w&uuml;rde die Aussch&uuml;ttung stattfinden.</li>
+                               <li>Der Stand des Geb&uuml;hrentopfes betr&auml;gt <strong>$content[total_fee] {?einheit?}</strong>.</li>
+                               <li>Sie haben <strong>$content[transaction_count_sum] Z&auml;hler</strong> gesammelt.</li>
+                               <li>Alle Mitglieder haben <strong>$content[total_transaction_sum] Z&auml;hler</strong> gesammelt.</li>
+                               <li>Die Formel zur Berechnung Ihres Anteils: <strong>$content[total_fee]</strong> / <strong>$content[total_transaction_sum]</strong> * <strong>$content[transaction_count_sum]</strong> = <em>Ihr Anteil</em></li>
+                               <li>Dies ergibt einen Anteil von <strong>$content[transaction_holding_fee] {?einheit?}</strong>.</li>
+                       </ul>
+               </div>
+
+               <div class="table_footer">
+                       Am <strong>$content[next_year]</strong> ab 00:00 Uhr werden alle Z&auml;hlerst&auml;nde auf Null gesetzt.
+               </div>
+       </div>
+</div>
diff --git a/templates/de/html/member/member_transaction_fees_config_row.tpl b/templates/de/html/member/member_transaction_fees_config_row.tpl
new file mode 100644 (file)
index 0000000..2fdb2ae
--- /dev/null
@@ -0,0 +1,11 @@
+<div class="table_row">
+       <div class="table_left75 switch_sw$content[sw] slim_border">
+               <div class="table_data">$content[field]</div>
+       </div>
+
+       <div class="table_right25 switch_sw$content[sw] slim_border">
+               <div class="table_data">$content[value] Z&auml;hler</div>
+       </div>
+
+       <div class="clear"></div>
+</div>
diff --git a/templates/de/html/member/member_transactions.tpl b/templates/de/html/member/member_transactions.tpl
new file mode 100644 (file)
index 0000000..23e494d
--- /dev/null
@@ -0,0 +1,67 @@
+<div class="para" align="center">
+       $content[captcha_content]
+</div>
+
+<div class="para" align="center">
+       <div class="table wide_border">
+       <div class="table_title bottom">
+               Aktuelle St&auml;nde:
+       </div>
+
+       <div align="left">
+               <ul>
+               <li>Im j&auml;hrlich ausgesch&uuml;tteten Topf befinden sich derzeit <strong>{%config,translateComma=transaction_pot%} {?POINTS?}</strong>.</li>
+               <li>Durch die &quot;Geb&uuml;hrenbefreiung&quot; sind <strong>{%config,translateComma=transaction_pot_loss%} {?POINTS?}</strong> an Geb&uuml;hren verloren gegangen.</li>
+               <li>Sie haben derzeit <strong>{%user,transaction_fees,translateComma%} {?POINTS?}</strong> in diesem Monat durch Best&auml;tigen von <strong>$content[transaction_confirmed]</strong> Transaktionen angesammelt.</li>
+               <li>Im letzten Monat waren dies <strong>{%user,last_transaction_fees,translateComma%} {?POINTS?}</strong>.</li>
+               <li>Gesamt haben Sie <strong>{%user,points_confirmed_transactions,translateComma%} {?POINTS?}</strong> durch Best&auml;tigen von Transaktionen erhalten.</li>
+               <li>Ihr gesamt erhaltenen {?POINTS?} von den j&auml;hrlichen Aussch&uuml;ttungen betr&auml;gt <strong>{%user,points_transactions_yearly,translateComma%} {?POINTS?}</strong>.</li>
+               <li>Beide Gesamtst&auml;nde finden Sie auch <a href="{%url=modules.php?module=login&amp;what=points%}">in der Guthaben-&Uuml;bersicht</a>.</li>
+               <li>Aktuell nicht eingezogen: <strong>{%pipe,translateComma=$content[total_sender_uncollected]%} {?POINTS?}</strong> von Versendern und <strong>{%pipe,translateComma=$content[total_receiver_uncollected]%} {?POINTS?}</strong> von Empf&auml;ngern.</li>
+               <li>Aktuell bereits eingezogen: <strong>$content[total_sender_collected] {?POINTS?}</strong> von Versendern und <strong>{%pipe,translateComma=$content[total_receiver_collected]%} {?POINTS?}</strong> von Empf&auml;ngern.</li>
+               <li>Aktuell best&auml;tigte Transaktionen: <strong>$content[total_confirmed_count]</strong>, Geb&uuml;hren umverteilt: <strong>{%pipe,translateComma=$content[total_confirmed]%} {?POINTS?}</strong></li>
+               <li>Seit dem 04.04.2013 bereits eingezogen: <strong>{%config,translateComma=transaction_fee_sender_total%} {?POINTS?}</strong> von Versendern und <strong>{%config,translateComma=transaction_fee_receiver_total%} {?POINTS?}</strong> von Empf&auml;ngern.</li>
+               </ul>
+       </div>
+       </div>
+</div>
+
+<div class="para" align="center">
+       <div class="table wide_border">
+       <div class="table_title bottom">
+               Etwas Hintergrundwissen:
+       </div>
+
+       <div align="left">
+               <ul>
+               <li>Es werden Ihnen maximal <strong>{?transaction_max_captcha?}</strong> so genannte <span class="info" title="Completely Automated Public Turing test to tell Computers and Humans Apart">CAPTCHA</span>s angezeigt.</li>
+               <li><span class="info" title="Completely Automated Public Turing test to tell Computers and Humans Apart">CAPTCHA</span> ist Englisch und steht f&uuml;r <em><strong>C</strong>ompletely <strong>A</strong>utomated <strong>P</strong>ublic <strong>T</strong>uring test to tell <strong>C</strong>omputers and <strong>H</strong>umans <strong>A</strong>part</em>.</li>
+               <li>Dies bedeutet soviel, dass per &quot;Automatik&quot; (heutzutage per Software) herausbekommen werden soll, ob der Bediener der Software ein Mensch oder eine Maschiene (Software) ist.</li>
+               <li><span class="info" title="Completely Automated Public Turing test to tell Computers and Humans Apart">CAPTCHA</span>s sind generierte Grafiken, die hier eine Zahl enthalten, die Sie im darunterbefindlichen Textfeld jeweils abtippen m&uuml;ssen.</li>
+               <li>Die bunten Linien, andere Position der Zahl, sowie andere Schriftenart und -gr&ouml;&szlig;e dient dazu, um Sie als Mensch zu erkennen, da Programme diese Zahl nicht auslesen k&ouml;nnen (so die Idee).</li>
+               <li>&quot;Erfunden&quot; wurde dieses Verfahren von Herrn Turing, es waren auch Buchstaben vorgesehen, die hier zur Einfachheit nicht mit abgefragt werden.</li>
+               </ul>
+       </div>
+       </div>
+</div>
+
+<div class="para" align="center">
+       <div class="table wide_border">
+       <div class="table_title bottom">
+               Was hier geschieht:
+       </div>
+
+       <div align="left">
+               <ul>
+               <li>Seit dem 04.04.2013 werden Transaktionen mit einer kleinen prozentualen Geb&uuml;hr belastet, kurz: Transaktionsgeb&uuml;hr. Dies geschieht sowohl f&uuml;r das versendene Mitglied, als auch f&uuml;r das empfangene Mitglied.</li>
+               <li>Mitgliedaccounts mit einem Gesamtguthaben unterhalb <strong>{%config,translateComma=transaction_fee_exempt_amount%} {?POINTS?}</strong> werden dabei von der Geb&uuml;hr komplett freigestellt (so etwas wie eine <em>Geb&uuml;hrenbefreiung</em>).</li>
+               <li>W&auml;hrend der Transaktion m&uuml;ssen beide Mitglieder daf&uuml;r nichts zahlen, erst am Anfang des Folgemonats (<strong>Monatsreset</strong>) wird die gesamte Geb&uuml;hr des abgelaufenen Monats f&auml;llig.</li>
+               <li>Der Prozentsatz f&uuml;r den Versender liegt aktuell bei <strong>{%config,translateComma=transaction_fee_sender%}&#37;</strong>, f&uuml;r den Empf&auml;nger bei <strong>{%config,translateComma=transaction_fee_receiver%}&#37;</strong>.</li>
+               <li>Sie k&ouml;nnen hier durch Ausf&uuml;llen der <span class="info" title="Completely Automated Public Turing test to tell Computers and Humans Apart">CAPTCHA</span>s Transaktionen zwischen zwei anderen Mitgliedern best&auml;tigen. Stimmen die eingegebenen Zahlen mit den gespeicherten &uuml;berein, wird Ihnen die Geb&uuml;hr beider Mitglieder der Transaktion auf ein separates Konto gutgeschrieben.</li>
+               <li>Sie k&ouml;nnen niemals Ihre eigenen Transaktionen best&auml;tigen.</li>
+               <li>Bleiben am Jahresende (beziehungsweise am 01.01. des Folgejahres) noch unbest&auml;tigte Transaktionen &uuml;brig, werden diese an alle freigegebenen Mitglieder gleichm&auml;&szlig;ig aufgeteilt.</li>
+               <li>Werden mal weniger als {?transaction_max_captcha?} oder gar keine <span class="info" title="Completely Automated Public Turing test to tell Computers and Humans Apart">CAPTCHA</span>s angezeigt, ist dies kein Grund zur Sorge, es sind dann alle best&auml;tigt worden.</li>
+               </ul>
+       </div>
+       </div>
+</div>
diff --git a/templates/de/html/member/member_transactions_form.tpl b/templates/de/html/member/member_transactions_form.tpl
new file mode 100644 (file)
index 0000000..ad87b34
--- /dev/null
@@ -0,0 +1,28 @@
+<div align="center">
+{%form,formMethodPost=modules.php?module=login&amp;what=transactions%}
+<div class="table wide_border">
+       <div class="table_title bottom">
+               Transaktionen mit <span class="info" title="Completely Automated Public Turing test to tell Computers and Humans Apart">CAPTCHA</span>s best&auml;tigen:
+       </div>
+
+       <div>
+       <fieldset class="member_fieldset" id="captchas">
+               <legend>Bitte wiederholen Sie diese Zahlen:</legend>
+               $content
+               <div class="tiny"><a href="{%url=modules.php?module=login&amp;what=transactions%}" title="Durch Klick auf diesen Link wird die Seite neu geladen.">Nicht alle Zahlen sind sichtbar?</a></div>
+       </fieldset>
+       </div>
+
+       <div class="clear"></div>
+
+       <div class="bottom tiny">
+               Bitte wiederholen Sie <strong>nicht</strong> die Zahl aus dem grauen Text <em>www.wds66.com</em>.
+       </div>
+
+       <div class="table_footer">
+               <input class="reset" type="reset" value="{--CLEAR_FORM--}" />
+               <input class="submit" type="submit" name="ok" value="Transaktionen best&auml;tigen" />
+       </div>
+</div>
+{%form_close%
+</div>
diff --git a/templates/de/html/member/member_transactions_row.tpl b/templates/de/html/member/member_transactions_row.tpl
new file mode 100644 (file)
index 0000000..f87d016
--- /dev/null
@@ -0,0 +1,7 @@
+<div class="member_block" align="center">
+       <div class="bottom">
+               <img src="{%url=img.php?img=transaction_captcha&amp;id=$content%}" border="0"
+                width="150" height="75" title="CAPTCHA f&uuml;r Transaktion $content" /><br />
+       </div>
+       <input class="captcha" type="text" name="transaction_id[$content]" size="5" maxlength="5">
+</div>
index d2b637157800a238c28c1c6642ddc3e629538eb2..330f630a4f7c5d68be2046399acffbf37f1c13df 100644 (file)
@@ -1,35 +1,38 @@
 <div align="center">
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td colspan="5" align="center" class="table_header bottom">
-                       <strong>$content[title]</strong>
-               </td>
-       </tr>
-       <tr>
-               <td width="80" align="center" class="header_column bottom right">
-                       <strong>{--TRANSFER_ID--}</strong>
-               </td>
-               <td width="120" align="center" class="header_column bottom right">
-                       <strong>{--TRANSFER_STAMP--}</strong>
-               </td>
-               <td width="120" align="center" class="header_column bottom right">
-                       <strong>{--TRANSFER_PARTY--}</strong>
-               </td>
-               <td width="230" align="center" class="header_column bottom right">
-                       <strong>{--TRANSFER_POINTS_REASON--}</strong>
-               </td>
-               <td width="80" align="center" class="header_column bottom">
-                       <strong>{?POINTS?}</strong>
-               </td>
-       </tr>
-       $content[rows]
-       <tr>
-               <td colspan="4" align="right" class="table_footer right">
-                       $content[balance] ({?POINTS?}):&nbsp;
-               </td>
-               <td width="80" align="center" class="table_footer">
-                       <strong>{%pipe,translateComma=$content[total_points]%}</strong>
-               </td>
-       </tr>
+<tr>
+       <td colspan="5" align="center" class="table_header bottom">
+               $content[title]
+       </td>
+</tr>
+
+<tr>
+       <td align="center" class="header_column bottom right">
+               {--TRANSFER_ID--}
+       </td>
+       <td align="center" class="header_column bottom right">
+               {--TRANSFER_STAMP--}
+       </td>
+       <td align="center" class="header_column bottom right">
+               {--TRANSFER_PARTY--}
+       </td>
+       <td align="center" class="header_column bottom right">
+               {--TRANSFER_POINTS_REASON--}
+       </td>
+       <td align="center" class="header_column bottom">
+               {?POINTS?}
+       </td>
+</tr>
+
+$content[rows]
+
+<tr>
+       <td colspan="4" align="right" class="table_footer right">
+               $content[balance] ({?POINTS?}):&nbsp;
+       </td>
+       <td width="80" align="center" class="table_footer">
+               {%pipe,translateComma=$content[total_points]%}
+       </td>
+</tr>
 </table>
 </div>
index 139ccd8fb51b01c32ec5419f03532b15a71a4a63..e3d0fa898b9de4282f4bd506ba6956680c03e5f2 100644 (file)
@@ -1,60 +1,66 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=login&amp;what=transfer&amp;do=new%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td align="right" class="bottom" height="40"><strong>
-                       {--MEMBER_SELECT_TRANSFER_TARGET_USERID--}:</strong>
-               </td>
-               <td align="center" class="bottom">
-                       $content[userid_selection]
-               </td>
-       </tr>
-       <tr>
-               <td align="right" class="bottom" height="40">
-                       <strong>{--MEMBER_TRANSFER_POINTS_MAXIMUM--}:</strong>
-               </td>
-               <td class="bottom">
-                       {%pipe,translateComma=$content[max_transferable]%} {?POINTS?}
-               </td>
-       </tr>
-       <tr>
-               <td align="right" class="bottom" height="40">
-                       <strong>{--MEMBER_TRANSFER_POINTS_AMOUNT--}:</strong>
-               </td>
-               <td class="bottom">
-                       <input type="text" class="form_field" name="points" size="5" maxlength="10" value="{%pipe,bigintval=$content[points]%}"$content[to_disabled] /> {?POINTS?}
-               </td>
-       </tr>
-       <tr>
-               <td align="right" class="bottom" height="40">
-                       <strong>{--MEMBER_ENTER_TRANSFER_POINTS_REASON--}:</strong>
-               </td>
-               <td class="bottom">
-                       <input type="text" class="form_field" name="reason" size="30" maxlength="255" value="{%pipe,secureString=$content[reason]%}"$content[to_disabled] />
-               </td>
-       </tr>
-       <tr>
-               <td align="right" class="bottom" height="40">
-                       <strong>{--MEMBER_TRANSFER_POINTS_SECURITY_CODE--}:</strong>
-               </td>
-               <td class="bottom">
-                       $content[captcha_code]
-               </td>
-       </tr>
-       <tr>
-               <td align="right" class="bottom" height="40">
-                       <strong>{--MEMBER_ENTER_TRANSFER_PASSWORD--}:</strong>
-               </td>
-               <td class="bottom">
-                       <input type="password" class="form_field" name="password" size="10" maxlength="255"$content[to_disabled] />
-               </td>
-       </tr>
-       <tr>
-               <td colspan="2" align="center" class="table_footer">
-                       <input type="reset" class="form_reset" value="{--CLEAR_FORM--}"$content[to_disabled] />
-                       <input type="submit" class="form_submit" name="ok" value="{--MEMBER_TRANSFER_ADD_NEW_SUBMIT--}"$content[to_disabled] />
-               </td>
-       </tr>
+<tr>
+       <td align="right" class="bottom"><strong>
+               {--MEMBER_SELECT_TRANSFER_TARGET_USERID--}:</strong>
+       </td>
+       <td align="center" class="bottom">
+               $content[userid_selection]
+       </td>
+</tr>
+
+<tr>
+       <td align="right" class="bottom">
+               <strong>{--MEMBER_TRANSFER_POINTS_MAXIMUM--}:</strong>
+       </td>
+       <td class="bottom">
+               {%pipe,translateComma=$content[max_transferable]%} {?POINTS?}
+       </td>
+</tr>
+
+<tr>
+       <td align="right" class="bottom">
+               <strong>{--MEMBER_TRANSFER_POINTS_AMOUNT--}:</strong>
+       </td>
+       <td class="bottom">
+               <input type="text" class="form_field" name="points" size="5" maxlength="10" value="{%pipe,bigintval=$content[points]%}"$content[to_disabled] /> {?POINTS?}
+       </td>
+</tr>
+
+<tr>
+       <td align="right" class="bottom">
+               <strong>{--MEMBER_ENTER_TRANSFER_POINTS_REASON--}:</strong>
+       </td>
+       <td class="bottom">
+               <input type="text" class="form_field" name="reason" size="30" maxlength="255" value="{%pipe,secureString=$content[reason]%}"$content[to_disabled] />
+       </td>
+</tr>
+
+<tr>
+       <td align="right" class="bottom">
+               <strong>{--MEMBER_TRANSFER_POINTS_SECURITY_CODE--}:</strong>
+       </td>
+       <td class="bottom">
+               $content[captcha_code]
+       </td>
+</tr>
+
+<tr>
+       <td align="right" class="bottom">
+               <strong>{--MEMBER_ENTER_TRANSFER_PASSWORD--}:</strong>
+       </td>
+       <td class="bottom">
+               <input type="password" class="form_field" name="password" size="10" maxlength="255"$content[to_disabled] />
+       </td>
+</tr>
+
+<tr>
+       <td colspan="2" align="center" class="table_footer">
+               <input type="reset" class="form_reset" value="{--CLEAR_FORM--}"$content[to_disabled] />
+               <input type="submit" class="form_submit" name="ok" value="{--MEMBER_TRANSFER_ADD_NEW_SUBMIT--}"$content[to_disabled] />
+       </td>
+</tr>
 </table>
 {%form_close%}
 </div>
index ef6cc07471a9a1189d1e09374a350a4944ef9298..a301dea836bd0aa4de648b7a6be78c9065c4c1bc 100644 (file)
@@ -1,31 +1,34 @@
 <div align="center">
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td align="center" width="260" class="bottom right" height="40">
-                       {--MEMBER_LIST_INCOMING_TRANSFER_TITLE--}:<br />
-                       <strong>$content[in_link]</strong>
-               </td>
-               <td align="center" width="260" class="bottom">
-                       {--MEMBER_LIST_OUTGOING_TRANSFER_TITLE--}:<br />
-                       <strong>$content[out_link]</strong>
-               </td>
-       </tr>
-       <tr>
-               <td align="center" colspan="2" height="40" class="bottom">
-                       {--TRANSFER_LIST_ALL--}:<br />
-                       <strong>$content[all_link]</strong>
-               </td>
-       </tr>
-       <tr>
-               <td align="center" colspan="2" height="40" class="bottom">
-                       <strong>{--MEMBER_START_NEW_TRANSFER--}:</strong><br />
-                       $content[new_link]
-               </td>
-       </tr>
-       <tr>
-               <td align="center" colspan="2">
-                       $content[settings]
-               </td>
-       </tr>
+<tr>
+       <td align="center" width="260" class="bottom right">
+               {--MEMBER_LIST_INCOMING_TRANSFER_TITLE--}:<br />
+               <strong>$content[in_link]</strong>
+       </td>
+       <td align="center" width="260" class="bottom">
+               {--MEMBER_LIST_OUTGOING_TRANSFER_TITLE--}:<br />
+               <strong>$content[out_link]</strong>
+       </td>
+</tr>
+
+<tr>
+       <td align="center" colspan="2" class="bottom">
+               {--TRANSFER_LIST_ALL--}:<br />
+               <strong>$content[all_link]</strong>
+       </td>
+</tr>
+
+<tr>
+       <td align="center" colspan="2" class="bottom">
+               <strong>{--MEMBER_START_NEW_TRANSFER--}:</strong><br />
+               $content[new_link]
+       </td>
+</tr>
+
+<tr>
+       <td align="center" colspan="2">
+               $content[settings]
+       </td>
+</tr>
 </table>
 </div>
diff --git a/templates/de/html/member/member_unconfirmed_404.tpl b/templates/de/html/member/member_unconfirmed_404.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/member/member_unconfirmed_404_nopoints.tpl b/templates/de/html/member/member_unconfirmed_404_nopoints.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/member/member_unconfirmed_row.tpl b/templates/de/html/member/member_unconfirmed_row.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/member/member_unconfirmed_row_nopoints.tpl b/templates/de/html/member/member_unconfirmed_row_nopoints.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/member/member_unconfirmed_table.tpl b/templates/de/html/member/member_unconfirmed_table.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/member/member_unconfirmed_table_nopoints.tpl b/templates/de/html/member/member_unconfirmed_table_nopoints.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
index fb08a87c99eef154ee2d05d540df7b0c60276831..22834ec0487d7898f575c9182d9a72bb498b4fd9 100644 (file)
@@ -6,7 +6,7 @@
                </td>
        </tr>
        <tr>
-               <td align="center" class="right" height="40">
+               <td align="center" class="right">
                        $content[withdraw_link]
                </td>
                <td align="center">
index 220fddf662a5c78dd7c13e3a463411cce17ce295..065e3cadc0234b3fed44ef65aeb18b03e6679811 100644 (file)
@@ -1,21 +1,24 @@
 <div align="center">
 <table border="0" cellspacing="0" cellpadding="0" width="680" class="table dashed" align="center">
-       <tr>
-               <td colspan="4" align="center" class="table_header bottom">
-                       <strong>{--MEMBER_WERNIS_LIST_WERNIS--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td width="180" align="center" class="header_column bottom right"><strong>{--WERNIS_TOTAL_WERNIS--}</strong></td>
-               <td width="130" align="center" class="header_column bottom right"><strong>{--WERNIS_ACCOUNT--}</strong></td>
-               <td width="150" align="center" class="header_column bottom right"><strong>{--WERNIS_TIMESTAMP--}</strong></td>
-               <td width="120" align="center" class="header_column bottom"><strong>{--MEMBER_WERNIS_STATUS--}</strong></td>
-       </tr>
-       $content[rows]
-       <tr>
-               <td colspan="4" class="table_footer" align="center">
-                       <a href="{%url=modules.php?module=login&amp;what=wernis&amp;do=choose%}">{--MEMBER_WERNIS_MODE_CHOOSE2--}</a>
-               </td>
-       </tr>
+<tr>
+       <td colspan="4" align="center" class="table_header bottom">
+               {--MEMBER_WERNIS_LIST_WERNIS--}
+       </td>
+</tr>
+
+<tr>
+       <td align="center" class="header_column bottom right">{--WERNIS_TOTAL_WERNIS--}</td>
+       <td align="center" class="header_column bottom right">{--WERNIS_ACCOUNT--}</td>
+       <td align="center" class="header_column bottom right">{--WERNIS_TIMESTAMP--}</td>
+       <td align="center" class="header_column bottom">{--MEMBER_WERNIS_STATUS--}</td>
+</tr>
+
+$content[rows]
+
+<tr>
+       <td colspan="4" class="table_footer" align="center">
+               <a href="{%url=modules.php?module=login&amp;what=wernis&amp;do=choose%}">{--MEMBER_WERNIS_MODE_CHOOSE2--}</a>
+       </td>
+</tr>
 </table>
 </div>
index 2ea7dd954f387e1e5d40236fd66883898f46c734..1ec2d0722c218bcfeec3920c21cbc3e9eb3a7580 100644 (file)
@@ -1,42 +1,48 @@
 <div align="center">
 {%form,formMethodPost=modules.php?module=login&amp;what=wernis&amp;do=payout%}
-<table border="0" cellspacing="0" cellpadding="0" width="440" class="table dashed">
-       <tr>
-               <td colspan="2" align="center" class="table_header bottom" height="30">
-                       <strong>{--MEMBER_WERNIS_PAYOUT_TITLE--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td height="25" align="right">{--MEMBER_WERNIS_PAYOUT_POINTS--}</td>
-               <td><strong>{%pipe,translateComma=$content[points]%}</strong> Wernis</td>
-       </tr>
-       <tr>
-               <td height="25" align="right">{--MEMBER_WERNIS_PAYOUT_MIN_POINTS--}</td>
-               <td><strong>{%config,translateComma=wernis_min_payout%}</strong> Wernis</td>
-       </tr>
-       <tr>
-               <td height="35" align="right">{--MEMBER_WERNIS_WDS66_ID--}</td>
-               <td><input type="text" class="form_field" name="wernis_userid" size="6" maxlength="5" value="{%user,wernis_userid%}" /></td>
-       </tr>
-       <tr>
-               <td height="35" align="right">{--MEMBER_WERNIS_WDS66_PASSWORD--}</td>
-               <td><input type="password" class="form_field" name="wds66_password" size="10" maxlength="255" /></td>
-       </tr>
-       <tr>
-               <td class="bottom" height="35" align="right">{--MEMBER_WERNIS_WDS66_AMOUNT--}</td>
-               <td class="bottom"><input type="text" class="form_field" name="amount" size="10" maxlength="255" /></td>
-       </tr>
-       <tr>
-               <td colspan="2" align="center" class="table_footer">
-                       <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
-                       <input type="submit" class="form_submit" name="ok" value="{--MEMBER_WERNIS_PAYOUT_SUBMIT--}" />
-               </td>
-       </tr>
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
+<tr>
+       <td colspan="2" align="center" class="table_header bottom">
+               {--MEMBER_WERNIS_PAYOUT_TITLE--}
+       </td>
+</tr>
+
+<tr>
+       <td align="right">{--MEMBER_WERNIS_PAYOUT_POINTS--}</td>
+       <td>{%pipe,translateComma=$content[points]%} Wernis</td>
+</tr>
+
+<tr>
+       <td align="right">{--MEMBER_WERNIS_PAYOUT_MIN_POINTS--}</td>
+       <td>{%config,translateComma=wernis_min_payout%} Wernis</td>
+</tr>
+
+<tr>
+       <td height="35" align="right">{--MEMBER_WERNIS_WDS66_ID--}</td>
+       <td><input type="text" class="form_field" name="wernis_userid" size="6" maxlength="5" value="{%user,wernis_userid%}" /></td>
+</tr>
+
+<tr>
+       <td height="35" align="right">{--MEMBER_WERNIS_WDS66_PASSWORD--}</td>
+       <td><input type="password" class="form_field" name="wds66_password" size="10" maxlength="255" /></td>
+</tr>
+
+<tr>
+       <td class="bottom" height="35" align="right">{--MEMBER_WERNIS_WDS66_AMOUNT--}</td>
+       <td class="bottom"><input type="text" class="form_field" name="amount" size="10" maxlength="255" /></td>
+</tr>
+
+<tr>
+       <td colspan="2" align="center" class="table_footer">
+               <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+               <input type="submit" class="form_submit" name="ok" value="{--MEMBER_WERNIS_PAYOUT_SUBMIT--}" />
+       </td>
+</tr>
 </table>
 {%form_close%}
 
-<div class="para">
-       <strong class="notice">{--MEMBER_WERNIS_PAYOUT_NOTICE--}</strong>
+<div class="para notice">
+       {--MEMBER_WERNIS_PAYOUT_NOTICE--}
 </div>
 
 <div class="notice">
index ffba548d33dc76d4db55d9fbdb18875426e27303..8b1edec8fb48964e248f057f343f866df4db3817 100644 (file)
@@ -7,11 +7,11 @@
                </td>
        </tr>
        <tr>
-               <td class="bottom" height="25" align="right">{--MEMBER_WERNIS_WITHDRAW_POINTS_ACCOUNT--}</td>
+               <td class="bottom" align="right">{--MEMBER_WERNIS_WITHDRAW_POINTS_ACCOUNT--}</td>
                <td class="bottom"><strong>{%pipe,translateComma=$content[points]%}</strong> Wernis</td>
        </tr>
        <tr>
-               <td class="bottom" height="25" align="right">{--MEMBER_WERNIS_WITHDRAW_MIN_POINTS--}</td>
+               <td class="bottom" align="right">{--MEMBER_WERNIS_WITHDRAW_MIN_POINTS--}</td>
                <td class="bottom"><strong>{%config,translateComma=wernis_min_withdraw%}</strong> Wernis</td>
        </tr>
        <tr>
index a72f269ac700d3064c357f0a8d492cdbd0c31efd..d9ba51aa2671b82e59b56c9e65f6904d21dd450a 100644 (file)
@@ -1,13 +1,11 @@
 <tr>
-       <td colspan="3" align="center" valign="middle" class="guest" height="30">
-               <div align="center" style="margin-top:10px;margin-bottom:10px">
-                       <div class="table dashed">
-                               <div class="table_header bottom">
-                                       {--MESSAGE_HEADER--}
-                               </div>
-                               <div class="message">
-                                       $content
-                               </div>
+       <td colspan="3" align="center">
+               <div class="table dashed">
+                       <div class="table_header bottom">
+                               {--MESSAGE_HEADER--}
+                       </div>
+                       <div class="message">
+                               $content
                        </div>
                </div>
        </td>
diff --git a/templates/de/html/metadata.tpl b/templates/de/html/metadata.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/select/select_forced_ads_id_banner_box.tpl b/templates/de/html/select/select_forced_ads_id_banner_box.tpl
new file mode 100644 (file)
index 0000000..1abcfa7
--- /dev/null
@@ -0,0 +1,3 @@
+<div>
+       $content[selection_box]
+</div>
diff --git a/templates/de/html/select/select_forced_ads_id_banner_option.tpl b/templates/de/html/select/select_forced_ads_id_banner_option.tpl
new file mode 100644 (file)
index 0000000..6f1183b
--- /dev/null
@@ -0,0 +1,3 @@
+<option value="$content[forced_ads_id]"$content[default]>
+       $content[forced_ads_click_url] ($content[forced_ads_width]x$content[forced_ads_height]; {%pipe,translateForcedAdsType=$content[forced_ads_type]%})
+</option>
index 0eaff2a1b1d8b9499b9d600243896827b0dc54d1..28a9798649ce215517c0f7b0b391817dd5f3bac2 100644 (file)
@@ -4,7 +4,7 @@
 <input type="hidden" name="what" value="{%pipe,getWhat%}" />
 <div class="table dashed">
        <div class="table_header bottom">
-               <strong>{--ADMIN_SELECT_CONFIGURED_NETWORK_TITLE--}</strong>
+               {--ADMIN_SELECT_CONFIGURED_NETWORK_TITLE--}
        </div>
 
        <div class="bottom">
index 0379fb50e25530085f49803caec553e2e311201b..77b15870abfbfab45da0b008ecc155a8488d6a85 100644 (file)
@@ -4,7 +4,7 @@
 <input type="hidden" name="what" value="{%pipe,getWhat%}" />
 <div class="table dashed">
        <div class="table_header bottom">
-               <strong>{--ADMIN_SELECT_UNCONFIGURED_NETWORK_TITLE--}</strong>
+               {--ADMIN_SELECT_UNCONFIGURED_NETWORK_TITLE--}
        </div>
 
        <div class="bottom">
index 8311e016f1bbc87c96a3e0a82cbd42988a8a9f76..4885608fbcde993ee01be0a8fce85b751d4e0db7 100644 (file)
@@ -8,24 +8,26 @@
        {%message,MEMBER_BONUS_SHOW_TITLE=$content[mailid]%}:
 </div>
 
-<table border="0" cellspacing="0" cellpadding="0" width="300" class="table dashed">
-       <tr>
-               <td width="80" align="center" class="header_column bottom">
-                       <strong>{--BONUS_RANK--}:</strong>
-               </td>
-               <td width="120" align="center" class="header_column bottom">
-                       <strong>{--_USERID--}:</strong>
-               </td>
-               <td width="100" align="center" class="header_column bottom">
-                       <strong>{?POINTS?}:</strong>
-               </td>
-       </tr>
-       $content[rows]
-       <tr>
-               <td colspan="3" class="table_footer" align="center">
-                       $content[own]
-               </td>
-       </tr>
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
+<tr>
+       <td align="center" class="header_column bottom">
+               {--BONUS_RANK--}:
+       </td>
+       <td align="center" class="header_column bottom">
+               {--_USERID--}:
+       </td>
+       <td align="center" class="header_column bottom">
+               {?POINTS?}:
+       </td>
+</tr>
+
+$content[rows]
+
+<tr>
+       <td colspan="3" class="table_footer" align="center">
+               $content[own]
+       </td>
+</tr>
 </table>
 
 <div>
diff --git a/templates/de/html/theme_one.tpl b/templates/de/html/theme_one.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/theme_select_box.tpl b/templates/de/html/theme_select_box.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
diff --git a/templates/de/html/theme_select_form.tpl b/templates/de/html/theme_select_form.tpl
deleted file mode 100644 (file)
index 11f5d85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- @DEPRECATED //-->
index b4736e4bbd3f46b814e8e6ad1ff048f3fa867274..5f8d212721c4515dce947607f4edcb1d2697cdfd 100644 (file)
@@ -51,13 +51,6 @@ MA  02110-1301  USA
        through (can be left empty, no call-back function will be called)
        //-->
        <callback-function-list>
-               <callback-function-list-entry name="" type="string" value="" />
-               <callback-function-list-entry name="" type="string" value="" />
-               <callback-function-list-entry name="" type="string" value="" />
-               <callback-function-list-entry name="" type="string" value="" />
-               <callback-function-list-entry name="" type="string" value="bigintval" />
-               <callback-function-list-entry name="" type="string" value="bigintval" />
-               <callback-function-list-entry name="" type="string" value="" />
        </callback-function-list>
        <!--
        Extra parameters (2nd, 3rd, ...) for above call-back functions. If an array
diff --git a/templates/xml/admin/admin_list_blacklist.xml b/templates/xml/admin/admin_list_blacklist.xml
new file mode 100644 (file)
index 0000000..02ca16b
--- /dev/null
@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+This template provides meta data for listing member's blacklist
+
+@author                Roland Haeder <webmaster@mxchange.org>
+@version       0.2.1-FINAL
+@copyright     (c) 2003 - 2009 by Roland Haeder
+@copyright     (c) 2009 - 2013 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_blacklist" />
+       <!--
+       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_blacklist_row" />
+       <!--
+       Message id to display if no entry could be found
+       //-->
+       <no-entry-found-message type="string" value="ADMIN_BLACKLIST_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="blacklist" />
+               <!--
+               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="data" alias="" function="" />
+                       <select-data-from-list-entry type="string" table="" value="pool_id" alias="" function="" />
+                       <select-data-from-list-entry type="string" table="" value="provider" alias="" function="" />
+                       <select-data-from-list-entry type="string" table="" value="type" alias="" function="" />
+                       <select-data-from-list-entry type="string" table="" value="added" alias="added" function="UNIX_TIMESTAMP" />
+               </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="added" value="DESC" />
+               </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>
+               <!--
+               Another column, now we need a second parameter here because
+               generateDateTime() expects two parameters (first is always the data
+               from column).
+               //-->
+               <column-callback-list-entry>
+                       <!--
+                       The actual data, again.
+                       //-->
+                       <column-callback-data type="string" value="added" callback="generateDateTime" />
+                       <!--
+                       More parameters, remember that the first parameter is always given
+                       and that it is the data from column.
+                       //-->
+                       <callback-extra-parameter-list>
+                               <!--
+                               A single parameter, 'type' can be one of 'float', 'int',
+                               'bool', 'string'. 'array' is not yet supported.
+                               //-->
+                               <callback-extra-parameter-list-entry type="int" column="added" value="2" />
+                       </callback-extra-parameter-list>
+               </column-callback-list-entry>
+       </column-callback-list>
+       <!--
+       How the named column shall be logical linked to the above.
+       //-->
+       <where-condition type="string" name="" condition="" />
+</member-list-data>
index 558b0de02adef4004c81f0cd77ae201db62247a7..9718eaa2f526e985bea0bca55cdd7a8d1411e90b 100644 (file)
@@ -122,13 +122,6 @@ MA  02110-1301  USA
                </column-callback-list-entry>
        </column-callback-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>
-       <!--
        How the named column shall be logical linked to the above.
        //-->
        <where-condition type="string" name="" condition="" />
index 3f50128c8c57370ee522b6f0c4cff69688960ddf..01b8bc781751747d858c081368a6741e77e492a3 100644 (file)
@@ -117,13 +117,6 @@ MA  02110-1301  USA
                </column-callback-list-entry>
        </column-callback-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>
-       <!--
        How the named column shall be logical linked to the above.
        //-->
        <where-condition type="string" name="" condition="" />
index 90aa8a78f3dc12efc30048803df2ad8ee9a6eef2..96e9f81e378b7b009b4dc812b3d740d08e015c9c 100644 (file)
@@ -135,13 +135,6 @@ MA  02110-1301  USA
                </column-callback-list-entry>
        </column-callback-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>
-       <!--
        How the named column shall be logical linked to the above.
        //-->
        <where-condition type="string" name="" condition="" />
index 70e7bfc3e6c0f105582701a3910a0a0cf03869fb..f14221eee388b92a6bdb58e7d781680002ab7f95 100644 (file)
@@ -114,13 +114,6 @@ MA  02110-1301  USA
                </column-callback-list-entry>
        </column-callback-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>
-       <!--
        How the named column shall be logical linked to the above.
        //-->
        <where-condition type="string" name="" condition="" />
index a5e0e1d972effc7a1690b45b7d471335210b4fb5..8b1072007833929d1255ea3afec15254be1f2924 100644 (file)
@@ -153,13 +153,6 @@ MA  02110-1301  USA
                </column-callback-list-entry>
        </column-callback-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>
-       <!--
        How the named column shall be logical linked to the above.
        //-->
        <where-condition type="string" name="history_userid" condition="AND" />
index 9ac48c65f3968f0c43b48523022322fb8a2652d2..cf2c16d74f50e6d69d75b0f5a68d269f8fed3e10 100644 (file)
@@ -116,13 +116,6 @@ MA  02110-1301  USA
                </column-callback-list-entry>
        </column-callback-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>
-       <!--
        How the named column shall be logical linked to the above.
        //-->
        <where-condition type="string" name="" condition="" />
index 9401ab9575a804a119ed2191f0e2ae55ab5a73c7..7e8742ef1f53b25df2cf52314cb4ed8693a17348 100644 (file)
@@ -131,13 +131,6 @@ MA  02110-1301  USA
                </column-callback-list-entry>
        </column-callback-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>
-       <!--
        How the named column shall be logical linked to the above.
        //-->
        <where-condition type="string" name="" condition="" />
index ce1e2e7a2b9aafa44e10a41a6e84a4d8d33d8975..a2d9cd43fa109417ea426362dc1c9c3865f951df 100644 (file)
@@ -118,13 +118,6 @@ MA  02110-1301  USA
                </column-callback-list-entry>
        </column-callback-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>
-       <!--
        How the named column shall be logical linked to the above.
        //-->
        <where-condition type="string" name="" condition="" />
index a2034d3564f6c81c18291f5cbedb7843fdb14cd7..9a33c68020d2ec5ec2f76fc765e963cc9d4eb319 100644 (file)
@@ -121,13 +121,6 @@ MA  02110-1301  USA
                </column-callback-list-entry>
        </column-callback-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>
-       <!--
        How the named column shall be logical linked to the above.
        //-->
        <where-condition type="string" name="refid" condition="AND" />
index c7fe9f1f841d4f4d6269149ee89cd87906442b9c..8305c5b37acf069a9aa922b4328a7d21e501ca78 100644 (file)
@@ -175,13 +175,6 @@ MA 02110-1301 USA
                </column-callback-list-entry>
        </column-callback-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>
-       <!--
        How the named column shall be logical linked to the above.
        //-->
        <where-condition type="string" name="status" condition="AND" />
index 9bf882c88b1a3d4ea802527bcece449db93baced..2e26acf3bf3cf07179c7e9edfeae81f719c2c83c 100644 (file)
@@ -54,7 +54,7 @@ MA  02110-1301  USA
                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="" name="user_booking" />
+               <data-table type="string" alias="" value="user_booking" />
                <!--
                Columns to perform the SELECT statement on, with alias and name plus which table.
                //-->
index caeb758a6f7311d4b62fda00f69e8b6737a80745..fc8a6d0a122fbee25eb9fbba6f33d869046f45a1 100644 (file)
@@ -54,7 +54,7 @@ MA  02110-1301  USA
                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="" name="user_subids" />
+               <data-table type="string" alias="" value="user_subids" />
                <!--
                Columns to perform the SELECT statement on, with alias and name plus which table.
                //-->
@@ -116,4 +116,8 @@ MA  02110-1301  USA
                        </callback-extra-parameter-list>
                </column-callback-list-entry>
        </column-callback-list>
+       <!--
+       How the named column shall be logical linked to the above.
+       //-->
+       <where-condition type="string" name="" condition="" />
 </member-list-data>
index ba0493324e9258486fee485c207265a4a7936ace..875875ee73ec40fec3414259da27ddaceba93d74 100644 (file)
@@ -54,7 +54,7 @@ MA  02110-1301  USA
                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="" name="subid_log" />
+               <data-table type="string" alias="" value="subid_log" />
                <!--
                Columns to perform the SELECT statement on, with alias and name plus which table.
                //-->
index c62779312052b60c876a193e1f105a989b2f6e3b..43e46d2656b85c63aa773e771d946207792f47f3 100644 (file)
@@ -100,6 +100,7 @@ pre {
 .form_submit {
        color: #000000;
        border-color: #000000;
+       background-color: #ffffff;
        cursor: pointer;
 }
 
@@ -126,10 +127,6 @@ pre {
        font-size: 12px;
 }
 
-.form_submit {
-       background-color: #ffffff;
-}
-
 .banner {
        background-color: #ffffff;
        width: 488px;
@@ -380,15 +377,6 @@ ul.copyright_box {
        background-color: #ffffff;
 }
 
-.media_header, .impressum_header {
-       background-color: #eeeeff;
-       text-align: center;
-       color: #000000;
-       height: 26px;
-       font-weight: bold;
-       font-size: 20px;
-}
-
 .media_left {
        font-size: 14px;
        width: 200px;
@@ -421,14 +409,6 @@ ul.copyright_box {
        padding: 5px;
 }
 
-.admin_task_header {
-       background-color: #eeeeff;
-       color: #000000;
-       vertical-align: middle;
-       font-size: 18px;
-       height: 35px;
-}
-
 .separator {
        font-size: 1px
 }
@@ -710,23 +690,17 @@ li.listing {
 
 .table_row {
        text-align: left;
-       clear: both;
        margin: 0px;
        padding: 0px;
        padding-top: 5px;
        padding-bottom: 5px;
        height: 28px;
-}
-
-.table_row {
-       width: 45%;
        float: left;
        display: block;
-       clear: both;
 }
 
 label {
-       width: 50%;
+       width: 50%
        float: left;
        display: block;
 }
@@ -753,3 +727,7 @@ label {
        margin: -1px;
        height:100%;
 }
+
+.clear {
+       clear: both;
+}
index bff5f2d236186bd5eb204282a1d801a4c5708ff5..62a02754a4fff33635621414406ab01db377654b 100644 (file)
@@ -71,6 +71,5 @@
 }
 
 .table_row label.install_label {
-       float: left;
        width: 30%;
 }
index 2b4a8dff65b29740db6cb8702ebb6499002649f3..69ab79b782b2189d6420752e0e7cc18dcc887e1a 100644 (file)
@@ -8,4 +8,5 @@
 }
 
 .register_right {
+       text-align: left;
 }
index 139011e7f1f0d9f349c167ecb996ed9c6c874c51..0464d1e3c1b512b1ba10cd6e16d65aff8c034a32 100644 (file)
@@ -133,7 +133,7 @@ ul#tabnav li.tab_active {
        float: right;
        width: 10px;
        z-index: 200;
-       min-height: 10x;
+       min-height: 10px;
        margin-left: 5px;
        padding: 3px;
        text-align: center;
index 4d85ea1d4cf7b42bee1fc2ccd83904bef0693ecd..900066091919421480a9dc47bd5ba7924b48b6c6 100644 (file)
@@ -398,15 +398,6 @@ ul.copyright_box {
        background-color: #eeffee;
 }
 
-.media_header, .impressum_header {
-       background-color: #b8fccb;
-       text-align: center;
-       color: #009900;
-       height: 26px;
-       font-weight: bold;
-       font-size: 20px;
-}
-
 .media_left {
        font-size: 14px;
        width: 200px;
@@ -439,14 +430,6 @@ ul.copyright_box {
        padding: 5px;
 }
 
-.admin_task_header {
-       background-color: #ddeedd;
-       color: #009900;
-       vertical-align: middle;
-       font-size: 18px;
-       height: 35px;
-}
-
 .separator {
        font-size: 1px
 }
@@ -751,25 +734,22 @@ li.listing {
 }
 
 .table_row {
+       width: 100%;
        text-align: left;
-       clear: both;
        margin: 0px;
        padding: 0px;
        padding-top: 5px;
        padding-bottom: 5px;
        height: 28px;
-}
-
-.table_row {
-       width: 45%;
        float: left;
+       display: block;
 }
 
 label {
+       text-align: left;
        width: 50%;
        float: left;
        display: block;
-       clear: both;
 }
 
 .form_field {
@@ -792,3 +772,7 @@ label {
        margin: -1px;
        height:100%;
 }
+
+.clear {
+       clear: both;
+}
index ef9c6c81c076e2656f3de23535b4bf2add357c19..787188a20e63f43e2dcbbdd67e697de887839496 100644 (file)
@@ -7,4 +7,5 @@
 }
 
 .register_right {
+       text-align: left;
 }
index 91b08c394d6ed28673ba5266d0b47e37da337f8e..0ccd44a8c4fbf53aa176f1eed88edba7b874733b 100644 (file)
@@ -340,15 +340,6 @@ ul.copyright_box {
        background-color: #ffffcc;
 }
 
-.media_header {
-       background-color: #cccc99;
-       text-align: center;
-       color: #880000;
-       height: 26px;
-       font-weight: bold;
-       font-size: 20px;
-}
-
 .media_left {
        font-size: 14px;
        width: 200px;
@@ -381,14 +372,6 @@ ul.copyright_box {
        padding: 5px;
 }
 
-.admin_task_header {
-       background-color: #cccc99;
-       color: #880000;
-       vertical-align: middle;
-       font-size: 18px;
-       height: 35px;
-}
-
 .separator {
        font-size: 1px
 }
@@ -676,24 +659,20 @@ li.listing {
 
 .table_row {
        text-align: left;
-       clear: both;
        margin: 0px;
        padding: 0px;
        padding-top: 5px;
        padding-bottom: 5px;
        height: 28px;
-}
-
-.table_row {
-       width: 45%;
        float: left;
+       display: block;
 }
 
 label {
+       text-align: left;
        width: 50%;
        float: left;
        display: block;
-       clear: both;
 }
 
 .form_field {
@@ -717,3 +696,7 @@ label {
        margin: -1px;
        height:100%;
 }
+
+.clear {
+       clear: both;
+}
index 24317348d432736486b9e4f5d40b47b3f29c9639..39a3ef7f4a41f9753b48f252b4fb0042221f8020 100644 (file)
@@ -7,5 +7,6 @@
 }
 
 .register_right {
+       text-align: left;
        padding-right: 5px;
 }
index 75e20d6e5cb6f7881a80b28e345ae3297dc5a5fb..f96d974c8ca0488fb4c8a1a28b6ab030459ea6ce 100644 (file)
@@ -103,7 +103,6 @@ pre {
 .runtime {
        color                   : #118811;
        background-color        : #DDEEDD;
-       font-family             : Verdana, Arial, Geneva, Helvetica, sans-serif;
 }
 
 .runtime.fatal {
@@ -117,7 +116,6 @@ pre {
 .admin {
        color                           : #118811;
        background-color        : #DDEEDD;
-       font-family                     : Verdana, Arial, Geneva, Helvetica, sans-serif;
 }
 
 .notice {
@@ -359,15 +357,6 @@ pre {
        background-color        : #ddeedd;
 }
 
-.media_header, .impressum_header {
-       background-color        : #b8fccb;
-       text-align              : center;
-       color                   : #000000;
-       height                  : 26px;
-       font-weight             : bold;
-       font-size                       : 20px;
-}
-
 .media_left {
        font-size                       : 12px;
        width                   : 200px;
@@ -400,14 +389,6 @@ pre {
        background-color: #DDEEDD;
 }
 
-.admin_task_header {
-       background-color        : #DDEEDD;
-       color                           : #000000;
-       vertical-align          : middle;
-       font-size                       : 18px;
-       height                          : 35px;
-}
-
 .separator {
        font-size                       : 1px
 }
@@ -568,22 +549,17 @@ li.listing {
 
 .table_row {
        text-align: left;
-       clear: both;
        margin: 0px;
        padding: 0px;
        padding-top: 5px;
        padding-bottom: 5px;
        height: 28px;
-}
-
-.table_row {
-       width: 45%;
        float: left;
        display: block;
-       clear: both;
 }
 
 label {
+       text-align: left;
        width: 50%;
        float: left;
        display: block;
@@ -609,3 +585,7 @@ label {
        margin: -1px;
        height:100%;
 }
+
+.clear {
+       clear: both;
+}
index d9a903786584071fa12ca661c07878f5291166f8..16b46f19d78e1a5b4eff9d540c6509cfbf6d4f7b 100644 (file)
@@ -7,4 +7,5 @@
 }
 
 .register_right {
+       text-align: left;
 }
index ec296110bb75d4a336132981a36e87ac3beccd0b..4689579bcfb21d27221eb7d434de3c24ecc45e79 100644 (file)
@@ -20,7 +20,6 @@ table {
 
 A {
        font-style              : normal;
-       font-family             : Verdana, Arial, Geneva, Helvetica, sans-serif;
        text-decoration : none;
 }
 
@@ -74,10 +73,10 @@ pre {
 }
 
 label {
+       text-align: left;
        width: 50%;
        float: left;
        display: block;
-       clear: both;
 }
 
 .form_reset {
@@ -100,7 +99,6 @@ label {
 .runtime {
        color                   : #ffffff;
        background-color        : #0571cc;
-       font-family             : Verdana, Arial, Geneva, Helvetica, sans-serif;
 }
 
 .runtime.fatal {
@@ -114,7 +112,6 @@ label {
 .admin {
        color                   : #ffffff;
        background-color        : #0571cc;
-       font-family             : Verdana, Arial, Geneva, Helvetica, sans-serif;
 }
 
 .notice {
@@ -386,16 +383,6 @@ label {
        background-color        : #0571cc;
 }
 
-.media_header, .impressum_header {
-       background-color        : #69b2ff;
-       align                   : center;
-       text-align              : center;
-       color                   : #ffffff;
-       height                  : 26px;
-       font-weight             : bold;
-       font-size                       : 20px;
-}
-
 .media_left {
        font-size                       : 14px;
        width                   : 200px;
@@ -428,14 +415,6 @@ label {
        background-color        : #69b2ff;
 }
 
-.admin_task_header {
-       background-color        : #69b2ff;
-       color                   : #ffffff;
-       vertical-align          : middle;
-       font-size                       : 18px;
-       height                  : 35px;
-}
-
 .separator {
        font-size                       : 1px
 }
@@ -613,3 +592,7 @@ li.listing {
        margin: -1px;
        height:100%;
 }
+
+.clear {
+       clear: both;
+}
index 39151d1e5c11e8c4fcadc58a70b5b6f92630cd40..7cf921ef0e2a5a33f8bad25aa0db565f3e970d5a 100644 (file)
@@ -69,6 +69,7 @@
 }
 
 .register_right {
+       text-align: left;
 }
 
 .register_header {
index 9b524b477073f016415fbdb256c25179df853186..3d43c847e18ee7f94c57cb56f62fbcb9d12aad28 100644 (file)
@@ -1,14 +1,14 @@
 body {
        background-color        : #FFFFFF;
-       color                   : #000000;
-       font-family             : Verdana, Arial, Geneva, Helvetica, sans-serif;
+       color                           : #000000;
+       font-family                     : Verdana, Arial, Geneva, Helvetica, sans-serif;
        font-size                       : 12px;
        letter-spacing      : 1px;
 
-       margin                  : 0px;
-       margin-left             : 0px;
+       margin                          : 0px;
+       margin-left                     : 0px;
        margin-right            : 0px;
-       margin-top              : 0px;
+       margin-top                      : 0px;
        margin-bottom           : 0px;
 }
 
@@ -18,26 +18,25 @@ table {
        overflow                        : auto;
 }
 
-A {
-       font-style              : normal;
-       font-family             : Verdana, Arial, Geneva, Helvetica, sans-serif;
-       text-decoration : none;
+a {
+       font-style                      : normal;
+       text-decoration         : none;
 }
 
-A:link {
-       color                   : #000000;
+a:link {
+       color                           : #000000;
 }
 
-A:visited {
-       color                   : #000000;
+a:visited {
+       color                           : #000000;
 }
 
-A:active {
-       color                   : #000088;
+a:active {
+       color                           : #000088;
        background-color        : transparent;
 }
 
-A:hover {
+a:hover {
        background-color        : transparent;
 }
 
@@ -73,10 +72,10 @@ pre {
 }
 
 label {
+       text-align: left;
        width: 50%;
        float: left;
        display: block;
-       clear: both;
 }
 
 .form_reset {
@@ -86,20 +85,20 @@ label {
 }
 
 .form_submit {
-       color                   : #000000;
+       color                           : #000000;
        border-color            : #000000;
+       background-color        : #ffffff;
 }
 
 .form_delete {
        border-style            : groove;
-       color                   : #000000;
+       color                           : #000000;
        border-color            : #000000;
 }
 
 .runtime {
-       color                   : #000000;
+       color                           : #000000;
        background-color        : #FFFFFF;
-       font-family             : Verdana, Arial, Geneva, Helvetica, sans-serif;
 }
 
 .runtime.fatal {
@@ -107,13 +106,12 @@ label {
 }
 
 .runtime.fatalcontent {
-       font-size                       : 20px;
+       font-size               : 20px;
 }
 
 .admin {
        color                   : #000000;
        background-color        : #FFFFFF;
-       font-family             : Verdana, Arial, Geneva, Helvetica, sans-serif;
 }
 
 .notice {
@@ -121,10 +119,6 @@ label {
        font-size                       : 12px;
 }
 
-.form_submit {
-       background-color        : #FFFFFF;
-}
-
 .banner {
        background-color        : #FFFFFF;
        width                   : 488px;
@@ -315,16 +309,6 @@ label {
        background-color        : #FFFFFF;
 }
 
-.media_header, .impressum_header {
-       background-color        : #EEEEFF;
-       align                   : center;
-       text-align              : center;
-       color                   : #000000;
-       height                  : 26px;
-       font-weight             : bold;
-       font-size                       : 20px;
-}
-
 .media_left {
        font-size                       : 14px;
        width                   : 200px;
@@ -357,14 +341,6 @@ label {
        background-color: #EEEEFF;
 }
 
-.admin_task_header {
-       background-color        : #EEEEFF;
-       color                   : #000000;
-       vertical-align          : middle;
-       font-size                       : 18px;
-       height                  : 35px;
-}
-
 .separator {
        font-size                       : 1px
 }
@@ -538,3 +514,7 @@ li.listing {
        margin: -1px;
        height:100%;
 }
+
+.clear {
+       clear: both;
+}
diff --git a/theme/ship-simu/css/install.css b/theme/ship-simu/css/install.css
new file mode 100644 (file)
index 0000000..62a0275
--- /dev/null
@@ -0,0 +1,75 @@
+.install_content {
+       background-color: #ffffff;
+       text-decoration: none;
+       border: 1px solid #000000;
+       padding: 5px;
+       width: 670px;
+       z-index: 20;
+}
+
+.install_main_ajax {
+       padding-bottom: 6px;
+}
+
+.install_header {
+       color: #000000;
+       background-color: #eeeeff;
+       font-size: 20px;
+       text-decoration: underline;
+       height: 30px;
+       padding-top: 5px;
+       padding-bottom: 5px;
+       margin-bottom: 5px;
+}
+
+.install_fatalcontent {
+       text-align: left;
+       background-color: #ffffff;
+}
+
+.install_title {
+       padding-top: 5px;
+       padding-bottom: 10px;
+       font-size: 16px;
+       font-weight: bold;
+       color: #000000;
+}
+
+.install_error, .install_finished {
+       font-size: 20px;
+       color: #000000;
+}
+
+.install_welcome {
+       color: #000000;
+       padding-top: 5px;
+       padding-bottom: 10px;
+}
+
+.install_footer {
+       padding-bottom: 10px;
+}
+
+.install_right {
+       text-align: right;
+       padding-right: 5px;
+}
+
+.install_menu_ajax {
+       width: 720px;
+}
+
+.install_content_container {
+       height: 460px;
+       width: 720px;
+       z-index: 10;
+       overflow: hidden;
+       padding-bottom: 10px;
+}
+
+.install_tab {
+}
+
+.table_row label.install_label {
+       width: 30%;
+}
index b38a34f0746b8cacf32d85339a37a110611e8382..e153f338db4c5aa8284de06c9750dbdd6ff21838 100644 (file)
@@ -69,6 +69,7 @@
 }
 
 .register_right {
+       text-align: left;
 }
 
 .register_header {