| @@ 124-126 (lines=3) @@ | ||
| 121 | $dbm->insert('configoption', " (confop_name,confop_value,conf_id) VALUES ('" . $dir . "', '" . $dir . "', $main_id)"); |
|
| 122 | } |
|
| 123 | $icons = XoopsLists::getDirListAsArray('../modules/system/images/icons'); |
|
| 124 | foreach ($icons as $dir) { |
|
| 125 | $dbm->insert('configoption', " (confop_name,confop_value,conf_id) VALUES ('" . $dir . "', '" . $dir . "', $icon_id)"); |
|
| 126 | } |
|
| 127 | $breadcrumb = XoopsLists::getDirListAsArray('../modules/system/images/breadcrumb'); |
|
| 128 | foreach ($breadcrumb as $dir) { |
|
| 129 | $dbm->insert('configoption', " (confop_name,confop_value,conf_id) VALUES ('" . $dir . "', '" . $dir . "', $bc_id)"); |
|
| @@ 329-332 (lines=4) @@ | ||
| 326 | ++$conf; |
|
| 327 | } |
|
| 328 | $icons = XoopsLists::getDirListAsArray('../modules/system/images/icons'); |
|
| 329 | foreach ($icons as $dir) { |
|
| 330 | $dbm->insert('configoption', ' VALUES (' . $conf . ", '" . $dir . "', '" . $dir . "', 98)"); |
|
| 331 | ++$conf; |
|
| 332 | } |
|
| 333 | $breadcrumb = XoopsLists::getDirListAsArray('../modules/system/images/breadcrumb'); |
|
| 334 | foreach ($breadcrumb as $dir) { |
|
| 335 | $dbm->insert('configoption', ' VALUES (' . $conf . ", '" . $dir . "', '" . $dir . "', 99)"); |
|