Lines Matching refs:in
172 $auth_user->email = isset($_POST['in']['email']) ? $_POST['in']['email'] : '';
343 * @param string $in the string to be sanitized
349 function clean($in) argument
351 return mb_encode_numericentity($in,
396 function txfield($n, $bug = null, $in = null) argument
398 $one = (isset($in) && isset($in[$n])) ? $in[$n] : false;
706 * @param string|array $in see long description
712 function display_bug_error($in, $class = 'errors', $head = 'ERROR:') argument
714 if (!is_array($in)) {
715 $in = [$in];
716 } elseif (!count($in)) {
721 foreach ($in as $msg) {
731 function bug_diff($bug, $in) argument
735 if (!empty($in['email']) && (trim($in['email']) != trim($bug['email']))) {
737 $changed['reported_by']['to'] = spam_protect(txfield('email', $bug, $in), 'text');
754 if (array_key_exists($name, $in) && array_key_exists($name, $bug)) {
755 $to = trim($in[$name]);
818 function mail_bug_updates($bug, $in, $from, $ncomment, $edit = 1, $id = false) argument
824 $changed = bug_diff($bug, $in);
828 …rom, $bcc, $params) = get_package_mail(oneof(@$in['package_name'], $bug['package_name']), $id, one…
842 $from = spam_protect(txfield('email', $bug, $in), 'text');
872 if ($f = txfield($name, $bug, $in)) {
941 $sdesc = txfield('sdesc', $bug, $in);
944 if (empty($in['status']) || $in['status'] != $bug['status'] || $ncomment != '' ||
945 (isset($in['private']) && $in['private'] != $bug['private']) ||
946 (isset($in['bug_type']) && $in['bug_type'] != $bug['bug_type'] &&
947 ($in['bug_type'] == 'Security' || $bug['bug_type'] == 'Security'))) {
948 if (isset($in['bug_type']) && $in['bug_type'] != $bug['bug_type']) {
949 $subj = $bug_types[$bug['bug_type']] . '->' . $bug_types[$in['bug_type']];
955 …if (isset($in['status']) && $in['status'] != $bug['status'] && $edit != 3) { /* status changed …
956 $new_status = $in['status'];
979 $tmp = $edit != 3 ? $in : $bug;
1006 if ($edit == 1 && $in['assign'] && $in['assign'] != $bug['assign']) {
1008 $email = $in['assign'] . '@php.net';
1017 $bug_types[$bug['bug_type']] . ' #' . $bug['id'] . ' ' . txfield('sdesc', $bug, $in),
1018 "{$in['assign']} you have just been assigned to this bug by {$from}\n\n{$dev_text}",
1167 * @param mixed $in usually $_POST['in']
1173 function incoming_details_are_valid($in, $initial = 0, $logged_in = false) argument
1178 if (!is_array($in)) {
1182 if ($initial || (!empty($in['email']) && $bug['email'] != $in['email'])) {
1183 if (!is_valid_email($in['email'])) {
1188 if (!$logged_in && $initial && (empty($in['passwd']) || !is_string($in['passwd']))) {
1192 if (isset($in['php_version']) && $in['php_version'] == 'earlier') {
1196 …if (empty($in['php_version']) || !is_string($in['php_version']) || ($initial && !in_array($in['php…
1200 …if (empty($in['package_name']) || !is_string($in['package_name']) || $in['package_name'] == 'none'…
1202 } else if (!package_exists($in['package_name'])) {
1206 …if (empty($in['bug_type']) || !is_string($in['bug_type']) || !array_key_exists($in['bug_type'], $b…
1210 if (empty($in['sdesc']) || !is_string($in['sdesc'])) {
1214 if ($initial && (empty($in['ldesc']) || !is_string($in['ldesc']))) {