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: $cat=??  (Read 3368 times)

0 Members and 1 Guest are viewing this topic.

rgroen

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
$cat=??
« on: January 08, 2004, 10:54:24 pm »

I Have the following code in my language file:

Code: [Select]

$lang_meta_album_names = array(
        'random' => 'Willekeurige foto\'s',
        'lastup' => '<a href="thumbnails.php?album=lastup&cat=">Laatste toevoegingen',
        'lastcom' => '<a href="thumbnails.php?album=lastcom&cat=">Laatste commentaar',
        'topn' => '<a href="thumbnails.php?album=topn&cat=">Meest bekeken',
        'toprated' => '<a href="thumbnails.php?album=toprated&cat=">Best beoordeeld',
        'lasthits' => 'Laatst bekeken',
        'search' => 'Zoek resultaat'
);


But how can I get the categorie number at the end. And can I get nice titles?

Thnx
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: $cat=??
« Reply #1 on: January 09, 2004, 09:17:19 am »

Ramon,

this can't be done inside the language file, but needs code modification inside index.php.

Quote from: "rgroen"
And can I get nice titles?

What are nice titles anyway?

GauGau
Logged

rgroen

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
$cat=??
« Reply #2 on: January 09, 2004, 09:33:47 am »

Wich modification are needed in de index.php?

I really want this on my album.

Thnx
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
$cat=??
« Reply #3 on: January 09, 2004, 09:47:21 am »

as I don't see the benefit I won't code it, you'll have to dig into it yourself, sorry.

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.