equal
deleted
inserted
replaced
111 } |
111 } |
112 echo " <td class=\"u\"><input class=\"wide\" name=\"record[" . $r['id'] . "][name]\" value=\"" . $r['name'] . "\"></td>\n"; |
112 echo " <td class=\"u\"><input class=\"wide\" name=\"record[" . $r['id'] . "][name]\" value=\"" . $r['name'] . "\"></td>\n"; |
113 echo " <td class=\"u\">\n"; |
113 echo " <td class=\"u\">\n"; |
114 echo " <select name=\"record[" . $r['id'] . "][type]\">\n"; |
114 echo " <select name=\"record[" . $r['id'] . "][type]\">\n"; |
115 foreach (get_record_types() as $type_available) { |
115 foreach (get_record_types() as $type_available) { |
116 if ($type_available == $r["type"]) { |
116 if ($type_available == $r['type']) { |
117 $add = " SELECTED"; |
117 $add = " SELECTED"; |
118 } else { |
118 } else { |
119 $add = ""; |
119 $add = ""; |
120 } |
120 } |
121 echo " <option" . $add . " value=\"" . $type_available . "\" >" . $type_available . "</option>\n"; |
121 echo " <option" . $add . " value=\"" . $type_available . "\" >" . $type_available . "</option>\n"; |