Go to the source code of this file.
Variables | |
| const | dbxSystem 'dbxWebApp' |
| const | dbxRunAsAdmin 1 |
| $class = new ReflectionClass('dbx\\dbxAdmin\\dbxUser') | |
| $user = $class->newInstanceWithoutConstructor() | |
| $validate = $class->getMethod('validate_password_change') | |
| $texts | |
| $cases | |
| foreach($cases as $index=> $case) | $settingsAfterChange = $class->getMethod('settings_after_password_change') |
| $changedSettings | |
| if(!is_array($changedSettings)||isset($changedSettings['password_reset_required'])||($changedSettings['dashboard_layout'] ?? '') !=='compact'||empty($changedSettings['password_changed_at'])) | $template = file_get_contents(dirname(__DIR__) . '/tpl/htm/form-admin-user.htm') |
| $profilePos = strpos((string)$template, '>Profil<') | |
| $passwordPos = strpos((string)$template, '{obj:password_new}') | |
| $repeatPos = strpos((string)$template, '{obj:password_new2}') | |
| $contactPos = strpos((string)$template, '>Kontakt<') | |
| if( $profilePos===false||$passwordPos===false||$repeatPos===false||$contactPos===false||!( $profilePos< $passwordPos &&$passwordPos< $repeatPos &&$repeatPos< $contactPos)||substr_count((string) $template, '{obj:password_new}') !==1||substr_count((string) $template, '{obj:password_new2}') !==1) if(strpos((string) $template, '{obj:settings_view}')===false||strpos((string) $template, '{obj:settings}') !==false | $settingsView ) = $class->getMethod('user_settings_view') |
| $settingsHtml | |
| if (strpos( $settingsHtml, 'Bestätigungslink abgelaufen')===false||strpos( $settingsHtml, 'Passwortwechsel erforderlich')===false||strpos( $settingsHtml, 'Theme')===false||strpos( $settingsHtml, 'dunkel')===false||strpos( $settingsHtml, 'DARF-NICHT-SICHTBAR-SEIN') !==false||strpos( $settingsHtml, 'DARF-AUCH-NICHT-SICHTBAR-SEIN') !==false) | |
| $cases |
Definition at line 50 of file dbxUser_password_change_test.php.
| $changedSettings |
Definition at line 72 of file dbxUser_password_change_test.php.
| $class = new ReflectionClass('dbx\\dbxAdmin\\dbxUser') |
Definition at line 10 of file dbxUser_password_change_test.php.
| $contactPos = strpos((string)$template, '>Kontakt<') |
Definition at line 94 of file dbxUser_password_change_test.php.
| $passwordPos = strpos((string)$template, '{obj:password_new}') |
Definition at line 92 of file dbxUser_password_change_test.php.
| $profilePos = strpos((string)$template, '>Profil<') |
Definition at line 91 of file dbxUser_password_change_test.php.
| $repeatPos = strpos((string)$template, '{obj:password_new2}') |
Definition at line 93 of file dbxUser_password_change_test.php.
| foreach ( $cases as $index=> $case) $settingsAfterChange = $class->getMethod('settings_after_password_change') |
Definition at line 71 of file dbxUser_password_change_test.php.
| $settingsHtml |
Definition at line 110 of file dbxUser_password_change_test.php.
| if($profilePos===false|| $passwordPos===false|| $repeatPos===false|| $contactPos===false||!($profilePos< $passwordPos && $passwordPos< $repeatPos && $repeatPos< $contactPos)||substr_count((string) $template, '{obj:password_new}') !==1||substr_count((string) $template, '{obj:password_new2}') !==1) if (strpos((string) $template, '{obj:settings_view}')===false||strpos((string) $template, '{obj:settings}') !==false $settingsView) = $class->getMethod('user_settings_view') |
Definition at line 109 of file dbxUser_password_change_test.php.
| if (!is_array( $changedSettings)||isset( $changedSettings[ 'password_reset_required'])||( $changedSettings[ 'dashboard_layout'] ?? '') !=='compact'||empty( $changedSettings[ 'password_changed_at'])) $template = file_get_contents(dirname(__DIR__) . '/tpl/htm/form-admin-user.htm') |
Definition at line 90 of file dbxUser_password_change_test.php.
| $texts |
Definition at line 13 of file dbxUser_password_change_test.php.
Referenced by dbx\dbxAdmin\add_dbtable(), dbx\dbxShop\dbxShopService\cart(), dbx\dbxShop\dbxShopService\catalog(), dbx\dbxShop\dbxShopService\orders(), dbx\dbxShop\dbxShopService\product(), dbx\dbxAdmin\report_modules(), dbx\dbxAdmin\report_server(), dbx\dbxContent_admin\dbxContent_sections\run(), dbx\dbxContent_admin\dbxContent_seo\run(), and dbx\dbxUser\dbxUser_avatar\save_upload().
| $user = $class->newInstanceWithoutConstructor() |
Definition at line 11 of file dbxUser_password_change_test.php.
| $validate = $class->getMethod('validate_password_change') |
Definition at line 12 of file dbxUser_password_change_test.php.
Referenced by dbxReport\get_sys().
| const dbxRunAsAdmin 1 |
Definition at line 4 of file dbxUser_password_change_test.php.
| const dbxSystem 'dbxWebApp' |
Definition at line 3 of file dbxUser_password_change_test.php.
| if(strpos($settingsHtml, 'Bestätigungslink abgelaufen')===false||strpos($settingsHtml, 'Passwortwechsel erforderlich')===false||strpos($settingsHtml, 'Theme')===false||strpos($settingsHtml, 'dunkel')===false||strpos($settingsHtml, 'DARF-NICHT-SICHTBAR-SEIN') !==false||strpos($settingsHtml, 'DARF-AUCH-NICHT-SICHTBAR-SEIN') !==false) | ( | strpos( $settingsHtml, 'Bestätigungslink abgelaufen') | = == false || strpos($settingsHtml, 'Passwortwechsel erforderlich') === false || strpos($settingsHtml, 'Theme') === false || strpos($settingsHtml, 'dunkel') === false || strpos($settingsHtml, 'DARF-NICHT-SICHTBAR-SEIN') !== false || strpos($settingsHtml, 'DARF-AUCH-NICHT-SICHTBAR-SEIN') !== false | ) |
Definition at line 123 of file dbxUser_password_change_test.php.