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: Dateiinformation anzeigen deaktivieren?  (Read 4621 times)

0 Members and 1 Guest are viewing this topic.

The Stig

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Dateiinformation anzeigen deaktivieren?
« on: June 08, 2010, 11:46:10 am »

Kann man bei 1.5.6 den Button für die Dateiinformation eigentlich deaktivieren respektive so  konfigurieren, dass nur der Admin diese Schaltfläche sehen kann?

bye
TS
Logged

Αndré

  • Administrator
  • Coppermine addict
  • ****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Dateiinformation anzeigen deaktivieren?
« Reply #1 on: June 08, 2010, 01:12:01 pm »

Logged

The Stig

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Dateiinformation anzeigen deaktivieren?
« Reply #2 on: June 08, 2010, 02:21:03 pm »

Würde es Dir was ausmachen mir zu erklären wie das geht?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • ****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Dateiinformation anzeigen deaktivieren?
« Reply #3 on: June 08, 2010, 02:42:40 pm »

Kann ich gern machen. Dafür musst du dich aber zunächst an die Forenregeln halten (mein "Ja" war nicht umsonst mit einem Link hinterlegt).
Logged

The Stig

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Dateiinformation anzeigen deaktivieren?
« Reply #4 on: June 08, 2010, 02:53:41 pm »

Ich konnte nicht erkennen, dass dieses "ja" mit einem Hyperlink versehen ist. Wäre dieser unterstrichen hätte ich dies auch bemerkt.

Der link:
http://douglas72.do.funpic.de/

bye
TS
Logged

Αndré

  • Administrator
  • Coppermine addict
  • ****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Dateiinformation anzeigen deaktivieren?
« Reply #5 on: June 08, 2010, 03:39:13 pm »

Kopiere folgendes in themes/dein_theme/theme.php:
Code: [Select]
$pic_info = GALLERY_ADMIN_MODE ? '<!-- BEGIN pic_info_button --><td id="pic_info_button" align="center" valign="middle" class="navmenu" width="48"></td><!-- END pic_info_button -->' : '';
$template_img_navbar = <<<EOT

        <tr>
                <td align="center" valign="middle" class="navmenu" width="48"><a href="{THUMB_TGT}" class="navmenu_pic" title="{THUMB_TITLE}"><img src="{LOCATION}images/navbar/thumbnails.png" align="middle" border="0" alt="{THUMB_TITLE}" /></a></td>
$pic_info
<!-- BEGIN slideshow_button -->
                <!-- button will be added by displayimage.js -->
                <td id="slideshow_button" align="center" valign="middle" class="navmenu" width="48"></td>
<!-- END slideshow_button -->
                <td align="center" valign="middle" class="navmenu" width="100%">{PIC_POS}</td>
<!-- BEGIN report_file_button -->
                <td align="center" valign="middle" class="navmenu" width="48"><a href="{REPORT_TGT}" class="navmenu_pic" title="{REPORT_TITLE}" rel="nofollow"><img src="{LOCATION}images/navbar/report.png" border="0" align="middle" alt="{REPORT_TITLE}" /></a></td>
<!-- END report_file_button -->
<!-- BEGIN ecard_button -->
                <td align="center" valign="middle" class="navmenu" width="48"><a href="{ECARD_TGT}" class="navmenu_pic" title="{ECARD_TITLE}" rel="nofollow"><img src="{LOCATION}images/navbar/ecard.png"  border="0" align="middle" alt="{ECARD_TITLE}" /></a></td>
<!-- END ecard_button -->
<!-- BEGIN nav_start -->
                <td align="center" valign="middle" class="navmenu" width="48"><a href="{START_TGT}" class="navmenu_pic" title="{START_TITLE}"><img src="{LOCATION}images/navbar/{START_IMAGE}" border="0" align="middle" alt="{START_TITLE}" /></a></td>
<!-- END nav_start -->
<!-- BEGIN nav_prev -->
                <td align="center" valign="middle" class="navmenu" width="48"><a href="{PREV_TGT}" class="navmenu_pic" title="{PREV_TITLE}"><img src="{LOCATION}images/navbar/{PREV_IMAGE}" border="0" align="middle" alt="{PREV_TITLE}" /></a></td>
<!-- END nav_prev -->
<!-- BEGIN nav_next -->
                <td align="center" valign="middle" class="navmenu" width="48"><a href="{NEXT_TGT}" class="navmenu_pic" title="{NEXT_TITLE}"><img src="{LOCATION}images/navbar/{NEXT_IMAGE}" border="0" align="middle" alt="{NEXT_TITLE}" /></a></td>
<!-- END nav_next -->
<!-- BEGIN nav_end -->
                <td align="center" valign="middle" class="navmenu" width="48"><a href="{END_TGT}" class="navmenu_pic" title="{END_TITLE}"><img src="{LOCATION}images/navbar/{END_IMAGE}" border="0" align="middle" alt="{END_TITLE}" /></a></td>
<!-- END nav_end -->

        </tr>

EOT;
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 20 queries.