- $OUT .= "<option value=\"-1\"";
- if ($content['admin_id'] == '-1') $OUT .= ' selected="selected"';
- $OUT .= ">{--ADMINS_TO_USER_EVENTS--}</option>\n";
- }
- $OUT .= generateOptionList('admins', 'id', 'login', $content['admin_id'], 'email');
- $OUT .= "</select>\n<br />\n";
- $adminId2 = $content['admin_id']; $id2 = $content['id'];
- }
+ $OUT .= '<option value="-1"';
+ if ($content['admin_id'] == '-1') {
+ $OUT .= ' selected="selected"';
+ } // END - if
+ $OUT .= '>{--ADMIN_ADMINS_TO_USER_EVENTS--}</option>';
+ } // END - if
+
+ $OUT .= generateOptions('admins', 'id', 'login', $content['admin_id'], 'email');
+ $OUT .= '</select>';
+
+ // Transfer ids
+ $adminId2 = $content['admin_id'];
+ $id = $content['id'];
+ } // END - while