Go to the source code of this file.
Variables | |
| $root = dirname(__DIR__, 2) | |
| $modules = $root . DIRECTORY_SEPARATOR . 'modules' | |
| $errors = array() | |
| $checked = 0 | |
| $it = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($modules, FilesystemIterator::SKIP_DOTS)) | |
| foreach( $it as $file) if($checked===0) | $formClass = (string)file_get_contents($root . DIRECTORY_SEPARATOR . 'include' . DIRECTORY_SEPARATOR . 'dbxForm.class.php') |
| $reportClass = (string)file_get_contents($root . DIRECTORY_SEPARATOR . 'include' . DIRECTORY_SEPARATOR . 'dbxReport.class.php') | |
| $fallbackTemplate = $modules . DIRECTORY_SEPARATOR . 'dbx' . DIRECTORY_SEPARATOR . 'tpl' . DIRECTORY_SEPARATOR . 'htm' . DIRECTORY_SEPARATOR . 'form-help-bar.htm' | |
| if(strpos( $formClass, 'ensureFormHelpBar( $content)')===false||strpos( $reportClass, 'ensureFormHelpBar( $report_tpl)')===false||strpos( $formClass, 'set_form_help_enabled(bool $enabled=true)')===false||!is_file( $fallbackTemplate)) if($errors) | $helpButtonTemplate = (string)file_get_contents($modules . DIRECTORY_SEPARATOR . 'dbxAdmin' . DIRECTORY_SEPARATOR . 'tpl' . DIRECTORY_SEPARATOR . 'htm' . DIRECTORY_SEPARATOR . 'admin-help-button.htm') |
| $dbxappTheme = (string)file_get_contents($root . DIRECTORY_SEPARATOR . 'design' . DIRECTORY_SEPARATOR . 'dbxapp' . DIRECTORY_SEPARATOR . 'css' . DIRECTORY_SEPARATOR . 'theme.css') | |
| $flowersTheme = (string)file_get_contents($root . DIRECTORY_SEPARATOR . 'design' . DIRECTORY_SEPARATOR . 'flowers' . DIRECTORY_SEPARATOR . 'css' . DIRECTORY_SEPARATOR . 'theme.css') | |
| $flowersForm = (string)file_get_contents($root . DIRECTORY_SEPARATOR . 'design' . DIRECTORY_SEPARATOR . 'flowers' . DIRECTORY_SEPARATOR . 'css' . DIRECTORY_SEPARATOR . 'c-form.css') | |
| $shopChannelTemplate = (string)file_get_contents($modules . DIRECTORY_SEPARATOR . 'dbxShop_admin' . DIRECTORY_SEPARATOR . 'tpl' . DIRECTORY_SEPARATOR . 'htm' . DIRECTORY_SEPARATOR . 'shop-channel-form.htm') | |
| $dashboardClass = (string)file_get_contents($modules . DIRECTORY_SEPARATOR . 'dbxAdmin' . DIRECTORY_SEPARATOR . 'include' . DIRECTORY_SEPARATOR . 'dbxDashboard.class.php') | |
| $dashboardCacheActions = (string)file_get_contents($modules . DIRECTORY_SEPARATOR . 'dbxAdmin' . DIRECTORY_SEPARATOR . 'tpl' . DIRECTORY_SEPARATOR . 'htm' . DIRECTORY_SEPARATOR . 'admin-dashboard-content-cache-actions.htm') | |
| $contextHelpClass = (string)file_get_contents($modules . DIRECTORY_SEPARATOR . 'dbxContent' . DIRECTORY_SEPARATOR . 'include' . DIRECTORY_SEPARATOR . 'dbxContentContextHelp.class.php') | |
| $contentClass = (string)file_get_contents($modules . DIRECTORY_SEPARATOR . 'dbxContent' . DIRECTORY_SEPARATOR . 'include' . DIRECTORY_SEPARATOR . 'dbxContent_content.class.php') | |
| if(strpos( $helpButtonTemplate, 'dbx-help-action')===false||strpos( $dbxappTheme, '.dbx-help-action')===false||strpos( $flowersTheme, '.dbx-help-action')===false||strpos( $flowersForm, '.dbx-auth-panel-actions')===false||strpos( $shopChannelTemplate, '{channel_edit_button}{channel_help_button}')===false||strpos( $dashboardClass, "add_rep('bar_extra', \$this->help_action('cache'))")===false||substr_count( $dashboardClass, 'set_form_help_enabled(false)')< 7||strpos( $dashboardCacheActions, "</form>\n{bar_extra}")===false) | if (strpos( $contextHelpClass, "'template' => 'c-content-help'")===false||strpos( $contextHelpClass, "'wrap' => false")===false||strpos( $contentClass, "\$renderOptions['template'] = \$forcedTemplate")===false) |
| $checked = 0 |
Definition at line 6 of file dbxForm_help_audit_test.php.
| $contentClass = (string)file_get_contents($modules . DIRECTORY_SEPARATOR . 'dbxContent' . DIRECTORY_SEPARATOR . 'include' . DIRECTORY_SEPARATOR . 'dbxContent_content.class.php') |
Definition at line 62 of file dbxForm_help_audit_test.php.
| $contextHelpClass = (string)file_get_contents($modules . DIRECTORY_SEPARATOR . 'dbxContent' . DIRECTORY_SEPARATOR . 'include' . DIRECTORY_SEPARATOR . 'dbxContentContextHelp.class.php') |
Definition at line 61 of file dbxForm_help_audit_test.php.
| $dashboardCacheActions = (string)file_get_contents($modules . DIRECTORY_SEPARATOR . 'dbxAdmin' . DIRECTORY_SEPARATOR . 'tpl' . DIRECTORY_SEPARATOR . 'htm' . DIRECTORY_SEPARATOR . 'admin-dashboard-content-cache-actions.htm') |
Definition at line 60 of file dbxForm_help_audit_test.php.
| $dashboardClass = (string)file_get_contents($modules . DIRECTORY_SEPARATOR . 'dbxAdmin' . DIRECTORY_SEPARATOR . 'include' . DIRECTORY_SEPARATOR . 'dbxDashboard.class.php') |
Definition at line 59 of file dbxForm_help_audit_test.php.
| $dbxappTheme = (string)file_get_contents($root . DIRECTORY_SEPARATOR . 'design' . DIRECTORY_SEPARATOR . 'dbxapp' . DIRECTORY_SEPARATOR . 'css' . DIRECTORY_SEPARATOR . 'theme.css') |
Definition at line 55 of file dbxForm_help_audit_test.php.
| $errors = array() |
Definition at line 5 of file dbxForm_help_audit_test.php.
| $fallbackTemplate = $modules . DIRECTORY_SEPARATOR . 'dbx' . DIRECTORY_SEPARATOR . 'tpl' . DIRECTORY_SEPARATOR . 'htm' . DIRECTORY_SEPARATOR . 'form-help-bar.htm' |
Definition at line 41 of file dbxForm_help_audit_test.php.
| $flowersForm = (string)file_get_contents($root . DIRECTORY_SEPARATOR . 'design' . DIRECTORY_SEPARATOR . 'flowers' . DIRECTORY_SEPARATOR . 'css' . DIRECTORY_SEPARATOR . 'c-form.css') |
Definition at line 57 of file dbxForm_help_audit_test.php.
| $flowersTheme = (string)file_get_contents($root . DIRECTORY_SEPARATOR . 'design' . DIRECTORY_SEPARATOR . 'flowers' . DIRECTORY_SEPARATOR . 'css' . DIRECTORY_SEPARATOR . 'theme.css') |
Definition at line 56 of file dbxForm_help_audit_test.php.
| foreach($it as $file) if ( $checked===0) $formClass = (string)file_get_contents($root . DIRECTORY_SEPARATOR . 'include' . DIRECTORY_SEPARATOR . 'dbxForm.class.php') |
Definition at line 39 of file dbxForm_help_audit_test.php.
Referenced by dbxForm\prepareFormFrameReplaces().
| if(strpos($formClass, 'ensureFormHelpBar($content)')===false||strpos($reportClass, 'ensureFormHelpBar($report_tpl)')===false||strpos($formClass, 'set_form_help_enabled(bool $enabled=true)')===false||!is_file($fallbackTemplate)) if ( $errors) $helpButtonTemplate = (string)file_get_contents($modules . DIRECTORY_SEPARATOR . 'dbxAdmin' . DIRECTORY_SEPARATOR . 'tpl' . DIRECTORY_SEPARATOR . 'htm' . DIRECTORY_SEPARATOR . 'admin-help-button.htm') |
Definition at line 54 of file dbxForm_help_audit_test.php.
| $it = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($modules, FilesystemIterator::SKIP_DOTS)) |
Definition at line 8 of file dbxForm_help_audit_test.php.
Referenced by dbxUpload\process().
| $modules = $root . DIRECTORY_SEPARATOR . 'modules' |
Definition at line 4 of file dbxForm_help_audit_test.php.
Referenced by dbx\dbxSetup\dbxInstallationService\bindAllToServer(), dbx\dbxSetup\dbxInstallationService\discoverDDs(), dbx\dbxHelp\dbxHelp_content\getServerInfoHTML(), dbx\dbxSetup\dbxInstallationService\provisionSchema(), dbxInterpreter\run_selected_modules(), dbx\dbxSetup\dbxInstallationService\transferDeclaredDataToServer(), and dbx\dbxSetup\dbxInstallationService\verifyBundledSchema().
| $reportClass = (string)file_get_contents($root . DIRECTORY_SEPARATOR . 'include' . DIRECTORY_SEPARATOR . 'dbxReport.class.php') |
Definition at line 40 of file dbxForm_help_audit_test.php.
| $root = dirname(__DIR__, 2) |
Definition at line 3 of file dbxForm_help_audit_test.php.
| $shopChannelTemplate = (string)file_get_contents($modules . DIRECTORY_SEPARATOR . 'dbxShop_admin' . DIRECTORY_SEPARATOR . 'tpl' . DIRECTORY_SEPARATOR . 'htm' . DIRECTORY_SEPARATOR . 'shop-channel-form.htm') |
Definition at line 58 of file dbxForm_help_audit_test.php.
| if(strpos($helpButtonTemplate, 'dbx-help-action')===false||strpos($dbxappTheme, '.dbx-help-action')===false||strpos($flowersTheme, '.dbx-help-action')===false||strpos($flowersForm, '.dbx-auth-panel-actions')===false||strpos($shopChannelTemplate, '{channel_edit_button}{channel_help_button}')===false||strpos($dashboardClass, "add_rep('bar_extra', \$this->help_action('cache'))")===false||substr_count($dashboardClass, 'set_form_help_enabled(false)')< 7||strpos($dashboardCacheActions, "</form>\n{bar_extra}")===false) if(strpos($contextHelpClass, "'template' => 'c-content-help'")===false||strpos($contextHelpClass, "'wrap' => false")===false||strpos($contentClass, "\$renderOptions['template'] = \$forcedTemplate")===false) | ( | strpos( $contextHelpClass, "'template' => 'c-content-help'") | = == false || strpos($contextHelpClass, "'wrap' => false") === false || strpos($contentClass, "\$renderOptions['template'] = \$forcedTemplate") === false | ) |
Definition at line 75 of file dbxForm_help_audit_test.php.