@@ 203-211 (lines=9) @@ | ||
200 | ustr2csv($item['state_name'], '\''), |
|
201 | ustr2csv($item['field_name'], '\'')); |
|
202 | ||
203 | if (!in_array($value, $custom)) |
|
204 | { |
|
205 | $xml .= '<listitem value="' . ustr2html($value) . '">' |
|
206 | . ustr2html(sprintf('%s: %s (%s)', |
|
207 | $item['state_name'], |
|
208 | $item['field_name'], |
|
209 | get_html_resource($column_type_res[COLUMN_TYPE_LIST_NUMBER]))) |
|
210 | . '</listitem>'; |
|
211 | } |
|
212 | ||
213 | // add string variant of the "list" field |
|
214 | $value = sprintf('%u:%s:%s', |
|
@@ 219-227 (lines=9) @@ | ||
216 | ustr2csv($item['state_name'], '\''), |
|
217 | ustr2csv($item['field_name'], '\'')); |
|
218 | ||
219 | if (!in_array($value, $custom)) |
|
220 | { |
|
221 | $xml .= '<listitem value="' . ustr2html($value) . '">' |
|
222 | . ustr2html(sprintf('%s: %s (%s)', |
|
223 | $item['state_name'], |
|
224 | $item['field_name'], |
|
225 | get_html_resource($column_type_res[COLUMN_TYPE_LIST_STRING]))) |
|
226 | . '</listitem>'; |
|
227 | } |
|
228 | } |
|
229 | else |
|
230 | { |