Lines 452-458
sub getitemtypeimagedir {
Link Here
|
452 |
if ($src eq 'intranet') { |
452 |
if ($src eq 'intranet') { |
453 |
return C4::Context->config('intrahtdocs') . '/' .C4::Context->preference('template') . '/img/itemtypeimg'; |
453 |
return C4::Context->config('intrahtdocs') . '/' .C4::Context->preference('template') . '/img/itemtypeimg'; |
454 |
} else { |
454 |
} else { |
455 |
return C4::Context->config('opachtdocs') . '/' . C4::Context->preference('template') . '/itemtypeimg'; |
455 |
return C4::Context->config('opachtdocs') . '/' . C4::Context->preference('opacthemes') . '/itemtypeimg'; |
456 |
} |
456 |
} |
457 |
} |
457 |
} |
458 |
|
458 |
|
Lines 461-467
sub getitemtypeimagesrc {
Link Here
|
461 |
if ($src eq 'intranet') { |
461 |
if ($src eq 'intranet') { |
462 |
return '/intranet-tmpl' . '/' . C4::Context->preference('template') . '/img/itemtypeimg'; |
462 |
return '/intranet-tmpl' . '/' . C4::Context->preference('template') . '/img/itemtypeimg'; |
463 |
} else { |
463 |
} else { |
464 |
return '/opac-tmpl' . '/' . C4::Context->preference('template') . '/itemtypeimg'; |
464 |
return '/opac-tmpl' . '/' . C4::Context->preference('opacthemes') . '/itemtypeimg'; |
465 |
} |
465 |
} |
466 |
} |
466 |
} |
467 |
|
467 |
|
468 |
- |
|
|