Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Removing file information button @ medium size  (Read 1936 times)

0 Members and 1 Guest are viewing this topic.

SonjaSt

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 47
Removing file information button @ medium size
« on: May 15, 2006, 12:54:07 pm »

I want to remove the button & function "Display/file information" that is shown on top of the medium size images and located between the buttons "show thumbnails and "show slide show".

Found the possibilty to remove some of the information shown in the extended file information field. But where do I remove the button?

I am searching the displayimage.php but can't find it. Am I searching the right file?

Thanks,
Sonja
« Last Edit: May 15, 2006, 02:49:44 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: Removing file information button @ medium size
« Reply #1 on: May 15, 2006, 02:26:45 pm »

Copy the relevant template from themes/sample/theme.php into your own theme.php and comment out the button using html commenting.

Code: [Select]
// HTML template for the image navigation bar
$template_img_navbar = <<<EOT

        <tr>
                <td align="center" valign="middle" class="navmenu" width="48px"><a name="top_display_media"></a>
                        <a href="{THUMB_TGT}" class="navmenu_pic" title="{THUMB_TITLE}"><img src="{LOCATION}images/thumbnails.gif" align="middle" border="0px" alt="{THUMB_TITLE}" /></a>
                </td>
                <!-- <td align="center" valign="middle" class="navmenu" width="48px">
                        <a href="javascript:;" class="navmenu_pic" onclick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="{LOCATION}images/info.gif" border="0px" align="middle" alt="{PIC_INFO_TITLE}" /></a>
                </td> -->
                <td align="center" valign="middle" class="navmenu" width="48px">
                        <a href="{SLIDESHOW_TGT}" class="navmenu_pic" title="{SLIDESHOW_TITLE}"><img src="{LOCATION}images/slideshow.gif" border="0px" align="middle" alt="{SLIDESHOW_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="100%">
                        {PIC_POS}
                </td>
<!-- BEGIN report_file_button -->
                <td align="center" valign="middle" class="navmenu" width="48px">
                        <a href="{REPORT_TGT}" class="navmenu_pic" title="{REPORT_TITLE}"><img src="{LOCATION}images/report.gif" border="0" align="middle" alt="{REPORT_TITLE}" /></a>
                </td>
<!-- END report_file_button -->
<!-- BEGIN ecard_button -->
                <td align="center" valign="middle" class="navmenu" width="48px">
                        <a href="{ECARD_TGT}" class="navmenu_pic" title="{ECARD_TITLE}"><img src="{LOCATION}images/ecard.gif"  border="0px" align="middle" alt="{ECARD_TITLE}" /></a>
                </td>
<!-- END ecard_button -->
                <td align="center" valign="middle" class="navmenu" width="48px">
                        <a href="{PREV_TGT}" class="navmenu_pic" title="{PREV_TITLE}"><img src="{LOCATION}images/prev.gif"  border="0px" align="middle" alt="{PREV_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48px">
                        <a href="{NEXT_TGT}" class="navmenu_pic" title="{NEXT_TITLE}"><img src="{LOCATION}images/next.gif"  border="0px" align="middle" alt="{NEXT_TITLE}" /></a>
                </td>
        </tr>

EOT;
Logged

SonjaSt

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 47
Re: Removing file information button @ medium size
« Reply #2 on: May 15, 2006, 02:49:02 pm »

Thank you very much. Works great!
Sonja
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 20 queries.