Forum - GuppY 6 - Modifier un texte
Sujet n° 131856
le 18/01/2024 @ 10:28
par 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.
Réponse n° 1
--------
le 18/01/2024 @ 10:58
par linuxmr
Administrateur
Réponse n° 2
--------
le 19/01/2024 @ 11:22
par 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
Réponse n° 3
--------
le 19/01/2024 @ 15:04
par linuxmr
Administrateur
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
Réponse n° 4
--------
le 23/01/2024 @ 11:37
par TpF
sujet actif
sujet clos
Important!
Nouveau
Rectifier message
Clôturer sujet
Remonter sujet