View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0011352 | mantisbt | customization | public | 2010-01-06 14:38 | 2010-02-22 14:34 |
Reporter | wgodin | Assigned To | dhx | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | git trunk | ||||
Target Version | 1.2.0 | Fixed in Version | 1.2.0 | ||
Summary | 0011352: Custom icon path ignored | ||||
Description | $g_icon_path configuration parameter seems to be ignored when displaying a bug's attachments. | ||||
Steps To Reproduce | "core/print_api.php" line 1620 of 1853 : echo '<img src="' . config_get( 'path' ) . 'images/fileicons/' . $t_name . '" alt="' . $ext . ' file icon" width="16" height="16" border="0" />'; should probably look like : echo '<img src="' . config_get( 'icon_path' ) . $t_name . '" alt="' . $ext . ' file icon" width="16" height="16" border="0" />'; | ||||
Tags | No tags attached. | ||||
Thanks for reporting. I've fixed it ready for the next 1.2.0 release. Just remember that the icon_path configuration option specifies the web accessible path - not the absolute path on the file system :) |
|
Thanks for the quick fix ! |
|
MantisBT: master-1.2.x 7ea8aa44 2010-01-10 21:39 Details Diff |
Fix 0011352: Use icon_path configuration option to find filetype icons The $g_icon_path configuration option was not being used to find icons used for display next to file attachments. |
Affected Issues 0011352 |
|
mod - core/file_api.php | Diff File | ||
mod - core/print_api.php | Diff File | ||
MantisBT: master ff696f35 2010-01-10 21:39 Details Diff |
Fix 0011352: Use icon_path configuration option to find filetype icons The $g_icon_path configuration option was not being used to find icons used for display next to file attachments. |
Affected Issues 0011352 |
|
mod - core/file_api.php | Diff File | ||
mod - core/print_api.php | Diff File |