Forum - GuppY 6 - Modifier un texte
Topic # 131856
18/01/2024 @ 10:28
by TpF
Bonjour,
Désolé, je ne me souviens plus de la bonne méthode.
C'est un détail cosmétique. Je souhaite remplacer le texte "Poster un billet" par "Poster une annonce".
Il me semble qu'il faut réécrire la variable $web[386] = 'Poster une annonce';
mais je ne sais plus dans quel fichier de ma skin.
Merci de m'éclairer une nouvelle fois.
Answer n° 1
--------
18/01/2024 @ 10:58
by linuxmr
Administrator
Answer n° 2
--------
19/01/2024 @ 11:22
by TpF
Merci, mais cela n'a pas l'air de fonctionner.
La syntaxe de fr-adminplus.inc
Citation : « pF »
/******************************************************************************* * Customize Admin Language Strings ******************************************************************************* * GuppY PHP Script - version 6.0 * CeCILL Copyright (C) 2004-2020 by Laurent Duveau * Initiated by Laurent Duveau and Nicolas Alves * Web site = https://www.freeguppy.org/ * e-mail = guppy@freeguppy.org * V6 developed by Lud Bienaimé * with the participation of the GuppY Team ******************************************************************************* * Latest Changes : * v6.00.00 (December 15, 2020) : initial release ******************************************************************************/ if (stristr($_SERVER['SCRIPT_NAME'], 'fr-admplus.inc')) { header('location:../index.php'); die(); } $web[386] = 'Proposer une annonce';?>
est-elle bonne ?
Rectifié par TpF le 19/01/2024 @ 11:24
Answer n° 3
--------
19/01/2024 @ 15:04
by linuxmr
Administrator
Bonjour,
La réponse est non, pas dans ce fichier si c'est en dehors de la partie c'est le fichier ,pour la langue fr, fr-plus.inc
Voila ce que vous devriez avoir
<?php /******************************************************************************* * Customize Web Language Strings ******************************************************************************* * GuppY PHP Script - version 6.0 * CeCILL Copyright (C) 2004-2020 by Laurent Duveau * Initiated by Laurent Duveau and Nicolas Alves * Web site = https://www.freeguppy.org/ * e-mail = guppy@freeguppy.org * V6 developed by Lud Bienaimé * with the participation of the GuppY Team ******************************************************************************* * Latest Changes : * v6.00.00 (December 15, 2020) : initial release ******************************************************************************/ if (stristr($_SERVER['SCRIPT_NAME'], 'fr-plus.inc')) { header('location:../index.php'); die(); } $web[386] = 'Proposer une annonce'; ?>
A+
Linuxmr
Rectifié par linuxmr le 19/01/2024 @ 15:06
Answer n° 4
--------
23/01/2024 @ 11:37
by TpF
topic active
topic closed
Important!
New
Correct message
Close topic
Make sticky topic