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: displayimage.php - $album_name . '/' . $picture_title  (Read 3653 times)

0 Members and 1 Guest are viewing this topic.

Makc666

  • Translator
  • Coppermine addict
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 1614
  • Русский (ISO-8859-1) - Russian - Русский (Windows)
    • Makc's home page
displayimage.php - $album_name . '/' . $picture_title
« on: August 12, 2004, 08:02:29 pm »

In file:
displayimage.php

There is code:
pageheader($album_name . '/' . $picture_title, $meta_keywords, false);

It genereates part of {TITLE}. So after generation the title will look like:
GALLERY_NAME - ALBUM_NAME/PICTURE_TITLE

I Suggest to change that code to:
pageheader($album_name . ' / ' . $picture_title, $meta_keywords, false);
Changes:
 '/' to  ' / '

So after this change title will look like:
GALLERY_NAME - ALBUM_NAME / PICTURE_TITLE

It is much pritty.

Once again compare:
GALLERY_NAME - ALBUM_NAME/PICTURE_TITLE <---WAS
GALLERY_NAME - ALBUM_NAME / PICTURE_TITLE <--- AFTER
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.