templates/de/emails/order-deleted.tpl -text svneol=unset#text/plain
templates/de/emails/order-member.tpl -text svneol=unset#text/plain
templates/de/emails/order-reject.tpl -text svneol=unset#text/plain
-templates/de/emails/profile-updte.tpl -text svneol=unset#text/plain
templates/de/emails/register-admin.tpl -text svneol=unset#text/plain
templates/de/emails/register-member.tpl -text svneol=unset#text/plain
templates/de/emails/sponsor/.htaccess -text svneol=unset#text/plain
templates/de/html/admin/admin_config_wernis.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_config_yoomedia.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_contct_user_form.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_del_admin_menu.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_del_admin_menu_row.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_del_admins.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_del_admins_row.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_del_bank_packages.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_del_bank_packages_row.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_del_cats.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_del_cats_row.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_del_email_bonus.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_del_email_normal.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_del_email_notify.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_del_guest_menu.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_del_guest_menu_row.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_del_member_menu.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_del_member_menu_row.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_del_network_params.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_del_network_params_row.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_del_network_types.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_del_network_types_row.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_del_networks.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_del_networks_row.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_del_payments.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_del_payments_row.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_del_reflevel.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_del_reflevel_row.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_del_sponsor.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_del_surfbar_urls.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_del_surfbar_urls_row.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_del_transfer_row.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_del_user.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_delete_admin_menu.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_delete_admin_menu_row.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_delete_admins.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_maintenance_form.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_member_menu_overview.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_member_menu_status.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_member_selection_box.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_menu_404_row.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_menu_failed.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_menu_hints.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_menu_overview_row.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_menu_status_row.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_mini_online.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_mods_edit.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_mods_edit_row.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_mods_stats.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_mods_stats2.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_mods_stats2_row.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_surfbar_url_stats_row.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_task_holiday.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_task_order.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_theme_edit.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_theme_edit_row.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_theme_import.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_theme_import_form.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_theme_import_none.tpl -text svneol=unset#text/plain
-templates/de/html/admin/admin_theme_import_row.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_theme_installed.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_undelete_surfbar_urls.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_undelete_surfbar_urls_row.tpl -text svneol=unset#text/plain
./inc/modules/member/what-beg.php:54:// @TODO Can't this be moved into EL?
./inc/modules/member/what-beg.php:63:// @TODO No more needed? define('__BEG_UID_TIMEOUT', createFancyTime(getConfig('beg_userid_timeout')));
./inc/modules/member/what-bonus.php:55: // @TODO Rewrite this to a filter
-./inc/modules/member/what-categories.php:128: // @TODO Rewrite this to use $OUT .= ...
+./inc/modules/member/what-categories.php:131: // @TODO Rewrite this to use $OUT .= ...
./inc/modules/member/what-order.php:426: // @TODO Rewrite this to a filter
./inc/modules/member/what-payout.php:194: // @TODO Rewrite this to a filter
./inc/modules/member/what-points.php:55:// @TODO Should we rewrite this to a filter?
./templates/de/html/surfbar/surfbar_frame_textlinks.tpl:5: <!-- @TODO These are static lines and should be replaced by a filter (see ext-sponsor) //-->
### ### DEPRECATION FOLLOWS: ### ###
./inc/modules/admin/admin-inc.php:440:// @DEPRECATED
-./templates/de/emails/profile-updte.tpl:1:@DEPRECATED
-./templates/de/html/admin/admin_del_admin_menu_row.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_del_admin_menu.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_del_admins_row.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_del_admins.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_del_cats_row.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_del_cats.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_del_email_bonus.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_del_email_normal.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_del_email_notify.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_del_guest_menu_row.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_del_guest_menu.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_del_member_menu_row.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_del_member_menu.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_del_network_params_row.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_del_network_params.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_del_networks_row.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_del_networks.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_del_network_types_row.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_del_network_types.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_del_payments_row.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_del_payments.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_del_reflevel_row.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_del_reflevel.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_del_sponsor.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_del_transfer_row.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_del_user.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_member_selection_box.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_mods_edit_row.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_mods_edit.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_theme_edit_row.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_theme_edit.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_theme_import_form.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_theme_import_none.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_theme_import_row.tpl:1:<!-- @DEPRECATED //-->
-./templates/de/html/admin/admin_theme_import.tpl:1:<!-- @DEPRECATED //-->
### ### template-warnings.log follows: ### ###
PHP Warning: DOMDocument::loadHTMLFile(): Attribute class redefined in templates/de/html/sponsor/sponsor_settings_form.tpl, line: 14 in
PHP Warning: DOMDocument::loadHTMLFile(): Attribute class redefined in templates/de/html/sponsor/sponsor_settings_form.tpl, line: 16 in
$querytimeBefore = microtime(true);
// Run SQL command
- //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'F=' . basename($F) . ',L=' . $L . ',sql=' . encodeEntities($GLOBALS['last_sql']));
+ //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'F=' . basename($F) . ',L=' . $L . ',sql=' . $GLOBALS['last_sql']);
$result = mysql_query($GLOBALS['last_sql'], SQL_GET_LINK())
or debug_report_bug($F, $L, 'file='. basename($F) . ',line=' . $L . ':mysql_error()=' . mysql_error() . "\n".
'Query string:' . $GLOBALS['last_sql']);
- //* DEBUG: */ logDebugMessage($F, $L, 'sql=' . $GLOBALS['last_sql'] . ',affected=' . SQL_AFFECTEDROWS());
+ //* DEBUG: */ logDebugMessage($F, $L, 'sql=' . $GLOBALS['last_sql'] . ',affected=' . SQL_AFFECTEDROWS() . ',numRows='.(is_resource($result) ? SQL_NUMROWS($result) : gettype($result)));
// Calculate query time
$queryTime = microtime(true) - $querytimeBefore;
} // END - if
// Version number
-setThisExtensionVersion('0.3.5');
+setThisExtensionVersion('0.3.6');
// Version history array (add more with , '0.1.0' and so on)
-setExtensionVersionHistory(array('0.0', '0.1.0', '0.1.1', '0.1.2', '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'));
+setExtensionVersionHistory(array('0.0', '0.1.0', '0.1.1', '0.1.2', '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'));
// Keep this extension always active!
setExtensionAlwaysActive('Y');
PRIMARY KEY (`id`)
) TYPE={?_TABLE_TYPE?} COMMENT='List of deleted users'");
+ // Update notes (these will be set as task text!)
+ setExtensionUpdateNotes("Der Sperrgrund wird nun mit abgespeichert und beim Löschen des Users mit ausgesendet.");
+ break;
+
+ case '0.3.6': // SQL queries for v0.3.6
+ addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_user_cats` DROP INDEX `userid`");
+ addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_user_cats` ADD UNIQUE `userid_catid` ( `userid` , `cat_id` )");
+
// Update notes (these will be set as task text!)
setExtensionUpdateNotes("Der Sperrgrund wird nun mit abgespeichert und beim Löschen des Users mit ausgesendet.");
break;
$result_user = SQL_QUERY_ESC("SELECT `id` FROM `{?_MYSQL_PREFIX?}_user_cats` WHERE `userid`=%s AND `cat_id`=%s LIMIT 1",
array(getMemberId(), bigintval($cat)), __FILE__, __LINE__);
- if (!SQL_HASZERONUMS($result_user)) {
- $sql = "INSERT INTO `{?_MYSQL_PREFIX?}_user_cats` (userid, cat_id) VALUES ('%s','%s')";
+ // Debug message
+ //* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'cat='.$cat.',joined='.$joined.',getMemberId()='.getMemberId().',SQL_HASZERONUMS()='.intval(SQL_HASZERONUMS($result_user)));
+
+ if (SQL_HASZERONUMS($result_user)) {
+ $sql = "INSERT INTO `{?_MYSQL_PREFIX?}_user_cats` (`userid`, `cat_id`) VALUES (%s,%s)";
} // END - if
// Free memory
$content['jy'] = '';
// When we found an entry don't read it, just change the jx elements
- if (isPostRequestParameterSet('cat')) {
+ if ((isFormSent()) && (isPostRequestParameterSet('cat'))) {
// Form sent?
if (postRequestParameter('cat', $content['id']) =='Y') {
$content['jy'] = ' checked="checked"';
if (countSumTotalData(getMemberId(), 'user_cats', 'id', 'userid', true, sprintf(" AND `cat_id`=%s", bigintval($content['id']))) == 1) {
$content['jn'] = '';
$content['jy'] = ' checked="checked"';
- }
+ } // END - if
}
// Load row template and switch colors
+++ /dev/null
-@DEPRECATED
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->
+++ /dev/null
-<!-- @DEPRECATED //-->