Note: this is an old mod which I have not yet brought up to my current standards of flexibility. If you want to use jpegs instead of gifs, you will need to edit a file.
In /includes/templates/your_template/common/tpl_box_default_left.php, find
PHP Code:
//image titles - box header image if file exists 2007-10-04
$title = (file_exists(DIR_WS_TEMPLATE . 'buttons/' . $_SESSION['language'] . '/boxhead-' . $box_id . '.gif') ? zen_image(DIR_WS_TEMPLATE . 'buttons/' . $_SESSION['language'] . '/boxhead-' . $box_id . '.gif') : $title);
if ($title_link) {
if (file_exists(DIR_WS_TEMPLATE . 'buttons/' . $_SESSION['language'] . '/boxhead-' . $box_id . '.gif')) {
$title = '<a href="' . zen_href_link($title_link) . '">' . $title . '</a>';
} else {
$title = '<a href="' . zen_href_link($title_link) . '">' . $title . BOX_HEADING_LINKS . '</a>';
}
}
//
and change all '.gif' to '.jpg' . Do the same with tpl_box_default_right.php.
Bookmarks