Ajout d'ETA

MantisBT forum for users who prefer to ask and answer questions in French.

Moderators: Developer, Contributor

Ajout d'ETA

Postby cboury » Jan 20, 2012 5:49 am

Bonjour,
Je cherche a ajouter des ETA dans un mantis 1.2.4. J'avais deja réalisé cette operation, mais cette fois ci j n'y arrive pas.
J'ai modifié dans le core\constant_inc.php:
Code: Select all
define( 'ETA_NONE', 10 );
define( 'ETA_NEGLIGIBLE',11 );
define( 'ETA_UNDER_ONE_HOURS', 12 );
define( 'ETA_UNDER_TWO_HOURS', 13 );
define( 'ETA_UNDER_HALF_DAY', 15 );
define( 'ETA_UNDER_ONE_DAY', 20 );
define( 'ETA_ONE_TO_TWO_DAYS', 25 );
define( 'ETA_TWO_TO_THREE_DAYS', 30 );
define( 'ETA_UNDER_ONE_WEEK', 40 );
define( 'ETA_UNDER_TWO_WEEKS', 45 );
define( 'ETA_UNDER_ONE_MONTH', 50 );
define( 'ETA_OVER_ONE_MONTH', 60 );


et dans le lang\strings_french.txt:
Code: Select all
$s_eta_enum_string = '10:aucun,11:Negligeable,12:< 1 Heure,13:< 2 Heures,15:< 4 Heures,20:< 1 jour,25:1-2 jours,30:2-3 jours,40:< 1 semaine,45:< 15 jours,50:< 1 mois,60:> 1 mois';


et je ne vois que les ETA visibles avant les modifications :cry:

il me semblait qu'il n'y avait que cela a faire pourtant. merci pour votre aide
cboury
 
Posts: 3
Joined: Aug 25, 2011 5:03 am

Re: Ajout d'ETA

Postby Lapinkiller » Jan 23, 2012 2:47 am

Bonjour

tu en as aussi un dans config_inc.php :
Code: Select all
/**
    *
    * @global string $g_eta_enum_string
    */
   $g_eta_enum_string               = '10:none,20:< 1 day,30:2-3 days,40:< 1 week,50:< 1 month,60:> 1 month';
Lapinkiller,
French PHP developer
New look for your mantis : viewtopic.php?f=4&t=20055
Lapinkiller
 
Posts: 272
Joined: Jan 28, 2011 1:47 pm
Location: France

Re: Ajout d'ETA

Postby cboury » Jan 24, 2012 4:57 am

en effet c'est redoutable !!!
merci et désolé pour le dérangement.
:roll:
cboury
 
Posts: 3
Joined: Aug 25, 2011 5:03 am


Return to French

Who is online

Users browsing this forum: No registered users and 1 guest

cron