Author Topic: Download Buttons for Different details page templates  (Read 3505 times)

0 Members and 1 Guest are viewing this topic.

Offline Mec4D

  • Jr. Member
  • **
  • Posts: 75
    • View Profile
    • http://www.mec4d.com
Download Buttons for Different details page templates
« on: December 06, 2002, 10:19:51 PM »
Different cat and details Templates was a great and super idea but

In /includes/functions.php

you have the path to the "download button" gif images.
Code: [Select]

 if (!check_permission("auth_download", $image_row['cat_id'])) {
    $download_button = "<img src=\"".get_gallery_image("download_off.gif")."\" border=\"0\" alt=\"\" />";
    $download_zip_button = (function_exists("gzcompress") && function_exists("crc32")) ? "<img src=\"".get_gallery_image("download_zip_off.gif")."\" border=\"0\" alt=\"\" />" : "";
    $allow_download = 0;


I use 2 different templates for image details and wish to have other buttons in the new details pages.
Where I can change the code that my new details template load my new download buttons and NOT the same as the standard details pages?

Thank you for your help,

Cath
Catharina