Changeset 119839 in spip-zone


Ignore:
Timestamp:
Jan 20, 2020, 4:38:49 AM (2 months ago)
Author:
Cerdic
Message:

qu'on soit sur la langue maitre ou non, il faut compter les chaine hors attic (donc les MODIF)

Location:
_plugins_/trad-lang/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/trad-lang/trunk

    • Property subgit:lock:ce2e590cf691b2e42a1f9ce6f14b92e1cff21f44 deleted
    • Property subgit:lock:cee69127422c45f7754e1579e726ede1f7a4bbb1 set to 2020-01-20T09:05:33.566
  • _plugins_/trad-lang/trunk/inc/salvatore_lecteur.php

    r119838 r119839  
    285285
    286286        if (array_key_exists($lang, $GLOBALS['codes_langues'])) {
    287                 $statut_exclus = ($is_master ? 'attic' : 'MODIF');
     287                $statut_exclus = 'attic';
    288288                $res = sql_select("id, str, md5", "spip_tradlangs", "id_tradlang_module=" . intval($id_tradlang_module) . " AND lang=" . sql_quote($lang) . " AND statut!=" . sql_quote($statut_exclus));
    289289                $nb = sql_count($res);
Note: See TracChangeset for help on using the changeset viewer.