| @@ 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 | ||
| @@ 1461-1468 (lines=8) @@ | ||
| 1458 | ); |
|
| 1459 | ||
| 1460 | $js_files = array(); |
|
| 1461 | while ($row = $smcFunc['db_fetch_assoc']($request)) |
|
| 1462 | { |
|
| 1463 | $js_files[$row['id_file']] = array( |
|
| 1464 | 'filename' => $row['filename'], |
|
| 1465 | 'path' => $row['path'], |
|
| 1466 | 'parameters' => sprintf($row['parameters'], $language, urlencode($modSettings['time_format']), urlencode($forum_version)), |
|
| 1467 | ); |
|
| 1468 | } |
|
| 1469 | $smcFunc['db_free_result']($request); |
|
| 1470 | ||
| 1471 | // We're gonna need fetch_web_data() to pull this off. |
|