users.php
changeset 183 aae57715199e
parent 126 cb06e3e29ed8
equal deleted inserted replaced
182:049347a649e0 183:aae57715199e
    75 				($template['id'] == $user['tpl_id']) ? $select = " SELECTED" : $select = "" ;
    75 				($template['id'] == $user['tpl_id']) ? $select = " SELECTED" : $select = "" ;
    76 				echo "          <option value=\"" . $template['id'] . "\"" . $select . ">" . $template['name'] . "</option>\n";
    76 				echo "          <option value=\"" . $template['id'] . "\"" . $select . ">" . $template['name'] . "</option>\n";
    77 			}
    77 			}
    78 			echo "         </select>\n";
    78 			echo "         </select>\n";
    79 		} else {
    79 		} else {
    80 			echo $user['tpl_name'];
    80 			echo "         <input type=\"hidden\" name=\"user[" . $user['uid'] . "][templ_id]\" value=\"" . $user['tpl_id'] . "\">\n";
       
    81 			echo "         " . $user['tpl_name'] . "\n";
    81 		}
    82 		}
    82 		echo "       </td>\n";
    83 		echo "       </td>\n";
    83 		echo "       <td><input type=\"checkbox\" name=\"user[" . $user['uid'] . "][active]\"" . $active . "></td>\n";
    84 		echo "       <td><input type=\"checkbox\" name=\"user[" . $user['uid'] . "][active]\"" . $active . "></td>\n";
    84 		echo "      </tr>\n";
    85 		echo "      </tr>\n";
    85 	} else {
    86 	} else {