Lines Matching refs:in
54 $in = isset($rawin["in"]) ? filter_var_array($rawin["in"], $indesc, false) : []; variable
103 if ($in) {
109 if ($error = invalid_input($in)) {
113 if (!empty($in['rawpasswd'])) {
115 $in['svnpasswd'] = gen_svn_pass($userinfo["username"], $in['rawpasswd']);
118 $cvsaccess = empty($in['cvsaccess']) ? 0 : 1;
119 $enable = empty($in['enable']) ? 0 : 1;
120 $spamprotect = empty($in['spamprotect']) ? 0 : 1;
121 $use_sa = empty($in['use_sa']) ? 0 : (int)$in['use_sa'];
122 $greylist = empty($in['greylist']) ? 0 : 1;
126 if (!empty($in['email']) && !empty($in['name'])) {
127 $query = new Query("UPDATE users SET name=?,email=?", [$in['name'], $in['email']]);
128 if (!empty($in['svnpasswd'])) {
129 $query->add(',svnpasswd=?', [$in['svnpasswd']]);
131 if (!empty($in['sshkey'])) {
132 $query->add(',ssh_keys=?', [html_entity_decode($in['sshkey'],ENT_QUOTES)]);
134 if (is_admin($_SESSION["username"]) && !empty($in['username'])) {
135 $query->add(',username=?', [$in['username']]);
143 if (!empty($in['rawpasswd'])) {
147 if (!empty($in['passwd'])) {
153 if(!empty($in['purpose'])) {
154 $purpose = hsc($in['purpose']);
159 if(!empty($in['profile_markdown'])) {
160 $profile_markdown = $in['profile_markdown'];