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 [2]   Go Down

Author Topic: incorporer une nouvelle page dans toutes les langues  (Read 8578 times)

0 Members and 1 Guest are viewing this topic.

nounours

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 87
Re: incorporer une nouvelle page dans toutes les langues
« Reply #20 on: March 13, 2007, 12:11:56 pm »

oui tout à fait mais ne connaissant pas le php .... :)

pour ceux qui font du copier coller je donne le code exacte

Quote
<?php
define('IN_COPPERMINE', true);
require('include/init.inc.php');
GLOBAL $USER;
pageheader('Your page title goes here');
// your actual page content starts here
include ('lang_bio.php');
$langbio=$USER['lang'];

    starttable("100%", '', 1);

   echo "<tr><td class='tableb'>". $lang_biographie[$langbio].'</td></tr>';

    endtable();
// your actual page content ends here
pagefooter();
ob_end_flush();
?>

Logged
Pages: 1 [2]   Go Up
 

Page created in 0.063 seconds with 19 queries.