ImpressCMS/impresscms

View on GitHub
htdocs/modules/system/admin/mailusers/mailform.php

Summary

Maintainability
A
0 mins
Test Coverage

Call to method addElement from undeclared class \icms_form_elements_Tray
Open

    $criteria_tray->addElement($regd_min);

Call to method __construct from undeclared class \icms_form_elements_Text
Open

$subject_text = new icms_form_elements_Text($subject_caption, "mail_subject", 50, 255);

Call to method __construct from undeclared class \icms_form_elements_Checkbox
Open

$to_checkbox = new icms_form_elements_Checkbox(_AM_SENDTO, "mail_send_to", "mail");

Call to method checkVarArray from undeclared class \icms_core_DataFilter
Open

    $clean_POST = icms_core_DataFilter::checkVarArray($_POST, $filter_post, false);

Variable $memberslist_uname is undeclared
Open

            . $memberslist_uname[$memberslist_id][$i] . "</a>, ";

Call to method addElement from undeclared class \icms_form_Theme
Open

$form->addElement($femail_text);

Call to method addElement from undeclared class \icms_form_elements_Tray
Open

    $criteria_tray->addElement($group_select);

Call to method addElement from undeclared class \icms_form_Theme
Open

$form->addElement($to_checkbox);

Call to method __construct from undeclared class \icms_form_elements_Checkbox
Open

    $mailok_cbox = new icms_form_elements_Checkbox('', 'mail_mailok');

Call to method addElement from undeclared class \icms_form_elements_Tray
Open

    $criteria_tray->addElement($lastlog_min);

Call to method addElement from undeclared class \icms_form_Theme
Open

$form->addElement($submit_button);

Call to method addElement from undeclared class \icms_form_Theme
Open

        $form->addElement($uid_hidden);

Call to method __construct from undeclared class \icms_form_elements_Text
Open

    $regd_min = new icms_form_elements_Text(_AM_REGDMIN . "<br />" . _AM_TIMEFORMAT . "<br />", "mail_regd_min", 20, 10);

Call to method __construct from undeclared class \icms_form_elements_Text
Open

    $idle_more = new icms_form_elements_Text(_AM_IDLEMORE . "<br />", "mail_idle_more", 10, 5);

Call to method addElement from undeclared class \icms_form_elements_Tray
Open

    $criteria_tray->addElement($idle_more);

Call to method addElement from undeclared class \icms_form_Theme
Open

$form->addElement($fname_text);

Call to method setRequired from undeclared class \icms_form_Theme
Open

$form->setRequired($subject_text);

Call to method __construct from undeclared class \icms_form_elements_Text
Open

    $idle_less = new icms_form_elements_Text(_AM_IDLELESS . "<br />", "mail_idle_less", 10, 5);

Call to method addElement from undeclared class \icms_form_elements_Tray
Open

    $criteria_tray->addElement($lastlog_max);

Call to method __construct from undeclared class \icms_form_elements_Hidden
Open

$start_hidden = new icms_form_elements_Hidden("mail_start", 0);

Call to method __construct from undeclared class \icms_form_elements_Hidden
Open

        $uid_hidden = new icms_form_elements_Hidden("mail_to_user[]", $memberslist_id[$i]);

Call to method addElement from undeclared class \icms_form_elements_Tray
Open

    $criteria_tray->addElement($mailok_cbox);

Reference to undeclared constant \_SEND
Open

$submit_button = new icms_form_elements_Button("", "mail_submit", _SEND, "submit");

Call to method addElement from undeclared class \icms_form_Theme
Open

$form->addElement($op_hidden);

Call to method __construct from undeclared class \icms_form_elements_Text
Open

    $regd_max = new icms_form_elements_Text(_AM_REGDMAX . "<br />" . _AM_TIMEFORMAT . "<br />", "mail_regd_max", 20, 10);

Call to method addElement from undeclared class \icms_form_Theme
Open

$form->addElement($subject_text);

Call to method checkVarArray from undeclared class \icms_core_DataFilter
Open

    $clean_GET = icms_core_DataFilter::checkVarArray($_GET, $filter_get, false);

Call to method __construct from undeclared class \icms_form_elements_Text
Open

$fname_text = new icms_form_elements_Text(_AM_MAILFNAME, "mail_fromname", 30, 255, htmlspecialchars($icmsConfig['sitename'], ENT_QUOTES));

Call to method setRequired from undeclared class \icms_form_Theme
Open

$form->setRequired($body_text);

Call to method __construct from undeclared class \icms_form_Theme
Open

$form = new icms_form_Theme(_AM_SENDMTOUSERS, "mailusers", "admin.php?fct=mailusers", 'post', TRUE);

Call to method __construct from undeclared class \icms_form_elements_select_Group
Open

    $group_select = new icms_form_elements_select_Group(_AM_GROUPIS . "<br />", "mail_to_group", FALSE, $selected_groups, 5, TRUE);

Call to method __construct from undeclared class \icms_form_elements_Text
Open

    $lastlog_min = new icms_form_elements_Text(_AM_LASTLOGMIN . "<br />" . _AM_TIMEFORMAT . "<br />", "mail_lastlog_min", 20, 10);

Call to method setExtra from undeclared class \icms_form_elements_Checkbox
Open

    $inactive_cbox->setExtra("onclick='javascript:disableElement(\"mail_lastlog_min\");disableElement(\"mail_lastlog_max\");disableElement(\"mail_idle_more\");disableElement(\"mail_idle_less\");disableElement(\"mail_to_group[]\");'");

Call to method __construct from undeclared class \icms_form_elements_Textarea
Open

$body_text = new icms_form_elements_Textarea($body_caption, "mail_body", "", 10);

Call to method addOption from undeclared class \icms_form_elements_Checkbox
Open

$to_checkbox->addOption("mail", _AM_EMAIL);

Call to method __construct from undeclared class \icms_form_elements_Label
Open

    $users_label = new icms_form_elements_Label(_AM_SENDTOUSERS2, substr($display_names, 0, -2));

Call to method __construct from undeclared class \icms_form_elements_Tray
Open

    $criteria_tray = new icms_form_elements_Tray(_AM_SENDTOUSERS, "<br /><br />");

Reference to static property user from undeclared class \icms
Open

$fromemail = !empty($icmsConfig['adminmail']) ? $icmsConfig['adminmail'] : icms::$user->getVar("email", "E");

Call to method __construct from undeclared class \icms_form_elements_Hidden
Open

$op_hidden = new icms_form_elements_Hidden("op", "send");

Call to method addOption from undeclared class \icms_form_elements_Checkbox
Open

    $mailok_cbox->addOption(1, _AM_MAILOK);

Call to method __construct from undeclared class \icms_form_elements_Checkbox
Open

    $inactive_cbox = new icms_form_elements_Checkbox('', 'mail_inactive');

Call to method addElement from undeclared class \icms_form_elements_Tray
Open

    $criteria_tray->addElement($inactive_cbox);

Call to method __construct from undeclared class \icms_form_elements_Text
Open

$femail_text = new icms_form_elements_Text(_AM_MAILFMAIL, "mail_fromemail", 30, 255, $fromemail);

Call to method addOption from undeclared class \icms_form_elements_Checkbox
Open

$to_checkbox->addOption("pm", _AM_PM);

Call to method __construct from undeclared class \icms_form_elements_Button
Open

$submit_button = new icms_form_elements_Button("", "mail_submit", _SEND, "submit");

Call to method addElement from undeclared class \icms_form_Theme
Open

$form->addElement($start_hidden);

Call to method addElement from undeclared class \icms_form_Theme
Open

    $form->addElement($users_label);

Call to method __construct from undeclared class \icms_form_elements_Text
Open

    $lastlog_max = new icms_form_elements_Text(_AM_LASTLOGMAX . "<br />" . _AM_TIMEFORMAT . "<br />", "mail_lastlog_max", 20, 10);

Call to method addElement from undeclared class \icms_form_elements_Tray
Open

    $criteria_tray->addElement($idle_less);

Call to method addElement from undeclared class \icms_form_Theme
Open

    $form->addElement($criteria_tray);

Call to method addOption from undeclared class \icms_form_elements_Checkbox
Open

    $inactive_cbox->addOption(1, _AM_INACTIVE . '. ' . _AMIFCHECKD);

Call to method addElement from undeclared class \icms_form_elements_Tray
Open

    $criteria_tray->addElement($regd_max);

Call to method addElement from undeclared class \icms_form_Theme
Open

$form->addElement($body_text);

TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
Open

$form = new icms_form_Theme(_AM_SENDMTOUSERS, "mailusers", "admin.php?fct=mailusers", 'post', TRUE);

TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
Open

    $group_select = new icms_form_elements_select_Group(_AM_GROUPIS . "<br />", "mail_to_group", FALSE, $selected_groups, 5, TRUE);

Expected 1 blank line at end of file; 2 found
Open

//$form->setRequired($to_checkbox);

TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
Open

    $group_select = new icms_form_elements_select_Group(_AM_GROUPIS . "<br />", "mail_to_group", FALSE, $selected_groups, 5, TRUE);

Inline control structures are not allowed
Open

    if (isset($_GET['filter_post'])) unset($_GET['filter_post']);

There are no issues that match your filters.

Category
Status