| @@ 1215-1222 (lines=8) @@ | ||
| 1212 | ||
| 1213 | $js_files = array(); |
|
| 1214 | ||
| 1215 | while ($row = $smcFunc['db_fetch_assoc']($request)) |
|
| 1216 | { |
|
| 1217 | $js_files[$row['id_file']] = array( |
|
| 1218 | 'filename' => $row['filename'], |
|
| 1219 | 'path' => $row['path'], |
|
| 1220 | 'parameters' => sprintf($row['parameters'], $language, urlencode($modSettings['time_format']), urlencode($forum_version)), |
|
| 1221 | ); |
|
| 1222 | } |
|
| 1223 | ||
| 1224 | $smcFunc['db_free_result']($request); |
|
| 1225 | ||
| @@ 1486-1493 (lines=8) @@ | ||
| 1483 | ); |
|
| 1484 | ||
| 1485 | $js_files = array(); |
|
| 1486 | while ($row = $smcFunc['db_fetch_assoc']($request)) |
|
| 1487 | { |
|
| 1488 | $js_files[$row['id_file']] = array( |
|
| 1489 | 'filename' => $row['filename'], |
|
| 1490 | 'path' => $row['path'], |
|
| 1491 | 'parameters' => sprintf($row['parameters'], $language, urlencode($modSettings['time_format']), urlencode($forum_version)), |
|
| 1492 | ); |
|
| 1493 | } |
|
| 1494 | $smcFunc['db_free_result']($request); |
|
| 1495 | ||
| 1496 | // We're gonna need fetch_web_data() to pull this off. |
|