- // @TODO Can this be rewritten???
- $OUT .= "<select name=\"admin_id[".$content['id']."]\" size=\"1\" class=\"admin_select\">
-<option value=\"0\"";
- if ($content['admin_id'] == "0") $OUT .= " selected=\"selected\"";
- $OUT .=">{--ADMINS_ALL_ADMINS--}</option>\n";
- if (EXT_IS_ACTIVE("events")) {
- $OUT .= "<option value=\"-1\"";
- if ($content['admin_id'] == "-1") $OUT .= " selected=\"selected\"";
- $OUT .= ">{--ADMINS_TO_USER_EVENTS--}</option>\n";
+ // @TODO Can this be rewritten to an API function?
+ $OUT .= '<select name="admin_id[' . $content['id'] . ']" size="1" class="admin_select">
+<option value="0"';
+ if ($content['admin_id'] == '0') $OUT .= ' selected="selected"';
+ $OUT .= '>{--ADMINS_ALL_ADMINS--}</option>';
+ if (isExtensionActive('events')) {
+ $OUT .= '<option value="-1"';
+ if ($content['admin_id'] == '-1') $OUT .= ' selected="selected"';
+ $OUT .= '>{--ADMINS_TO_USER_EVENTS--}</option>';