Hello;
my staff has made a template for a diving customer, and he permitted us to share our work.
We are in a beta release.
Results can be viewed
hereAs we did this template for multilingual purpose (our customer owns a multilingual website), we added a thew lines to some files ; please follow the next explanations, as we created some new images called "media_info.gif" and "collapse_info.gif":
--first download the template
here--Second: edit
includes/functions.php and find:
if (!check_permission("auth_viewimage", $image_row['cat_id']) || !check_permission("auth_viewcat", $image_row['cat_id'])) {
$show_link = 0;
}
And add after the closing bracket:
else {
$media_info_button = "<img src=\"".get_gallery_image("media_info.gif")."\" border=\"0\" alt=\"\" />";
$collapse_info_button = "<img src=\"".get_gallery_image("collapse_info.gif")."\" border=\"0\" alt=\"\" />";
}
The template includes the images "media_info.gif" and "collapse_info.gif" for english and french languages. Make your own language version of these pictures and save them in
templates/your_template/images_your_language/.
So, for those who use multilingual sites, in
details.html, these pictures will be called by the tags
{media_info_button} and
{collapse_info_button}, corresponding to the choosed language.
Please feel free to post your opinion, whatever it is, to help us getting this template better and share with this community.
Many thanks in advance.