diff --git a/VERSIONS_HOTLINE/132171 b/VERSIONS_HOTLINE/132171 new file mode 100644 index 0000000000000000000000000000000000000000..a6136fe5681ec621a79ccebb4c9ce1436f62c23f --- /dev/null +++ b/VERSIONS_HOTLINE/132171 @@ -0,0 +1 @@ + - ticket #132171 : Administration : diverses corrections orthographiques \ No newline at end of file diff --git a/cosmogramme/php/_menu.php b/cosmogramme/php/_menu.php index ad736a2cb50142cb4330793d06159ed7d86ebd84..0ab90079efb38ddeefe000c01b75f4e2c71efb55 100644 --- a/cosmogramme/php/_menu.php +++ b/cosmogramme/php/_menu.php @@ -97,7 +97,7 @@ else ligneMenu("Annexes","../cosmozend/cosmo/annexe"); ligneMenu("Profils de données","../cosmozend/cosmo/data-profile"); ligneMenu("Intégrations programmées","config_integrations.php"); - ligneMenu("Plannification des intégrations","integre_plannification.php"); + ligneMenu("Planification des intégrations","integre_plannification.php"); ?> <div class="menu_section">Autorités et codifications</div> <?php diff --git a/cosmogramme/php/integre_controle_integrations.php b/cosmogramme/php/integre_controle_integrations.php index 59dc4d797b92d0050ed048d8c2ca9684b9f82dea..8ead3be27b9952ae9d0850cc29efc8c31531a518 100644 --- a/cosmogramme/php/integre_controle_integrations.php +++ b/cosmogramme/php/integre_controle_integrations.php @@ -32,7 +32,7 @@ $cls_profil = new profil_donnees(); <tr> <th width="3%" align="center" valign="middle"> </th> <th width="20%" align="left" valign="middle">Bibliothèque</th> - <th width="23%" align="left" valign="middle">Plannification</th> + <th width="23%" align="left" valign="middle">Planification</th> <th width="4%" align="center" valign="middle">ok</th> <th width="25%" align="left" valign="middle">Diagnostic</th> <th width="25%" align="center" valign="middle">Dernière intégration</th> @@ -77,7 +77,7 @@ foreach($bibs as $ligne) { } ?> </table> <br><br> -<input type="button" class="bouton" value="Modifier la plannification" onclick="document.location='integre_plannification.php';"> +<input type="button" class="bouton" value="Modifier la planification" onclick="document.location='integre_plannification.php';"> </div> <br><br> </body> diff --git a/cosmogramme/php/integre_plannification.php b/cosmogramme/php/integre_plannification.php index c7f114aa5817d7da0e79d0261ec7de55dcbd51e0..fba04d186d746c7937af54f9dfa56d6d466160f3 100644 --- a/cosmogramme/php/integre_plannification.php +++ b/cosmogramme/php/integre_plannification.php @@ -16,10 +16,10 @@ * * You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE * along with BOKEH; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ ////////////////////////////////////////////////// -//PLANNIFICATION DES INTEGRATIONS +//PLANIFICATION DES INTEGRATIONS ////////////////////////////////////////////////// include("_init_frame.php"); require_once("fonctions/objets_saisie.php"); @@ -34,20 +34,20 @@ function mode_planif(sMode,nIdBib) sCoche="coche"+nIdBib; sIrreg="irreg"+nIdBib; if(sMode == "i") - { + { document.getElementById(sCoche).style.display="none"; document.getElementById(sIrreg).style.display="block"; } else - { + { document.getElementById(sCoche).style.display="block"; document.getElementById(sIrreg).style.display="none"; } } </script> -<h1>Plannification des intégrations</h1> - +<h1>Planification des intégrations</h1> + <?PHP //////////////////////////////////////////////////////////////////////////////////// // Ecriture @@ -59,8 +59,8 @@ if($_REQUEST["action"]=="VALIDER") print('<br><div style="width=400px;margin-left:20px;">'); print('<table class="blank" width="100%">'); $liste=$oBib->getAll(); - foreach($liste as $ligne) - { + foreach($liste as $ligne) + { print('<tr><td class="blank"><b>'.$ligne["nom_court"]."</b></td>"); $id_bib=$ligne["id_bib"]; $cmd="\$mode=\$combo_mode".$id_bib.";"; eval($cmd); @@ -75,16 +75,16 @@ if($_REQUEST["action"]=="VALIDER") $cmd="\$par=\$par".$id_bib.";"; eval($cmd); $cmd="\$ecart_ajouts=\$ecart_ajouts".$id_bib.";"; eval($cmd); $cmd="\$mail=\$mail".$id_bib.";"; eval($cmd); - + if($mode=="i") $jours="0000000"; else { $fois=0; $par=""; } if(is_numeric($ecart_ajouts) === false or !trim($ecart_ajouts)) $ecart_ajouts=0; $mail=addslashes($mail); - + // Ecrire $req="update int_bib set planif_mode='$mode', planif_jours='$jours', planif_fois=$fois, planif_par='$par', ecart_ajouts=$ecart_ajouts, mail='$mail' Where id_bib=$id_bib"; $sql->execute($req); - + print('<td class="blank">'); $bad='<span class="rouge">Programmation incorrecte !</span>'; if($mode=="i" && $fois==0) print($bad); @@ -92,12 +92,12 @@ if($_REQUEST["action"]=="VALIDER") else print('<span class="vert"><b>Ok</b></span>'); print('</td></tr>'); } - print('</table></div><br><h3>La plannification a été enregistrée avec succès</h3>'); + print('</table></div><br><h3>La planification a été enregistrée avec succès</h3>'); exit; } //////////////////////////////////////////////////////////////////////////////////// -// AFFICHAGE DE LA LISTE +// AFFICHAGE DE LA LISTE //////////////////////////////////////////////////////////////////////////////////// if($_REQUEST["action"]=="") { @@ -114,7 +114,7 @@ if($_REQUEST["action"]=="") // Affichage de la liste des Bibliothèques $liste=$oBib->getAll(); foreach($liste as $ligne) - { + { $id_bib=$ligne["id_bib"]; $sql_nom=$ligne["nom_court"]; @@ -134,16 +134,16 @@ function rend_plannif($id_bib) { global $sql; $enreg=$sql->fetchEnreg("Select * from int_bib where id_bib=$id_bib"); - + if($enreg["planif_mode"]=="i") {$aff_irreg="block"; $aff_coche="none"; $si="selected";} - else {$aff_irreg="none"; $aff_coche="block";} + else {$aff_irreg="none"; $aff_coche="block";} for($i=0; $i<7; $i++) if($enreg["planif_jours"]{$i}=="1") $j[$i]="checked"; $par[$enreg["planif_par"]]="selected"; - + $mode='<td class="milieu">'; $mode.='<select name="combo_mode'.$id_bib.'" id="combo_mode'.$id_bib.'" onchange="mode_planif(this.value,'.$id_bib.')"><option value="r">Régulier</option><option value="i"'.$si .'>Irrégulier</option></select>'; $mode.='</td>'; - + $coche='<td class="milieu"><div id="coche'.$id_bib.'" style="display:'.$aff_coche.'">'; $coche.='<input type="checkbox" name="lu'.$id_bib.'" id="lu'.$id_bib.'" '.$j[0].'>Lu'; $coche.='<input type="checkbox" name="ma'.$id_bib.'" id="ma'.$id_bib.'" '.$j[1].'>Ma'; @@ -153,7 +153,7 @@ function rend_plannif($id_bib) $coche.='<input type="checkbox" name="sa'.$id_bib.'" id="sa'.$id_bib.'" '.$j[5].'>Sa'; $coche.='<input type="checkbox" name="di'.$id_bib.'" id="di'.$id_bib.'" '.$j[6].'>Di'; $coche.='</div>'; - + $irreg='<div id="irreg'.$id_bib.'" style="display:'.$aff_irreg.'">'; $irreg.='<input type="text" size="1" name="fois'.$id_bib.'" id="fois'.$id_bib.'" value="'.$enreg["planif_fois"].'"> fois par '; $irreg.='<select name="par'.$id_bib.'" id="par'.$id_bib.'"><option value="s" '.$par["s"].'>Semaine</option><option value="q" '.$par["q"].'>Quinzaine</option><option value="m" '.$par["m"].'>Mois</option><option value="a" '.$par["a"].'>An</option></select>'; @@ -163,7 +163,7 @@ function rend_plannif($id_bib) function rend_valeur_coche($jour,$id_bib) { - $cmd="\$valeur=\$_REQUEST['".$jour.$id_bib."'];"; + $cmd="\$valeur=\$_REQUEST['".$jour.$id_bib."'];"; eval($cmd); if($valeur == "on") $valeur=1; else $valeur=0; return $valeur; diff --git a/library/Class/AdminVar.php b/library/Class/AdminVar.php index c3304586dad088ee3cc83e14aaf16ea868d706ba..3bb82d319de3ed8c0d9e406d6ef2a2d53b113144 100644 --- a/library/Class/AdminVar.php +++ b/library/Class/AdminVar.php @@ -604,7 +604,7 @@ class Class_AdminVarLoader extends Storm_Model_Loader { protected function _getActivityVars() { return ['ACTIVITY' => Class_AdminVar_Meta::newOnOff($this->_('Activer ou désactiver le module d\'activité')), 'ACTIVITY_SESSION_QUOTAS' => Class_AdminVar_Meta::newOnOff($this->_('Activer ou désactiver la gestion des quotas pour les activités')), - 'ACTIVITY_NOTIFICATION_DELAY' => Class_AdminVar_Meta::newDefault($this->_('Délai d\'envoie des rappel pour les activités (en jours)'), ['value' => '0']), + 'ACTIVITY_NOTIFICATION_DELAY' => Class_AdminVar_Meta::newDefault($this->_('Délai d\'envoi des rappels pour les activités (en jours)'), ['value' => '0']), 'ACTIVITY_NOTIFICATION_SUBJECT' => Class_AdminVar_Meta::newDefault($this->_('Sujet de l\'email de rappel pour les activités'), ['value'=> 'Rappel : {session.libelle_activity}']), 'ACTIVITY_NOTIFICATION_BODY' => Class_AdminVar_Meta::newEditor($this->_('Contenu de l\'email de rappel pour les activités'), ['value' => '<p>Bonjour {stagiaire.nom_complet},</p><p>L\'activité {session.libelle_activity} à laquelle vous êtes inscrit, commencera le {session.date_debut_texte}.</p><p>Cordialement</p>']), 'ACTIVITY_ALLOW_SUBSCRIPTIONS_FOR_ALL' => Class_AdminVar_Meta::newOnOff($this->_('Activer ou désactiver la possibilité d\'ouvrir les inscriptions à l\'ensemble des comptes')), diff --git a/library/ZendAfi/Controller/Action/Helper/ListViewMode/Article.php b/library/ZendAfi/Controller/Action/Helper/ListViewMode/Article.php index bf801c2996ac2d30f22c7576bc69ec9e3b677c7b..b0e597250818686f6597484458aef28074491b1a 100644 --- a/library/ZendAfi/Controller/Action/Helper/ListViewMode/Article.php +++ b/library/ZendAfi/Controller/Action/Helper/ListViewMode/Article.php @@ -378,7 +378,7 @@ class ZendAfi_Controller_Action_Helper_ListViewMode_Article $form->removeDisplayGroup('list_search_group'); return $form->addElement('select', static::STATUS_SEARCH, - ['multiOptions' => Class_Article::getKnownStatus($this->_('Tous status')), + ['multiOptions' => Class_Article::getKnownStatus($this->_('Tous statuts')), 'value' => $this->getStatus()]) ->addUniqDisplayGroup('list_search_group'); } diff --git a/library/ZendAfi/Form/Admin/SessionActivity.php b/library/ZendAfi/Form/Admin/SessionActivity.php index 2f74cbf3c327fb4025cf645232fcd33e99e7d5a2..db66de6032c2ffb18c664dd49ea28921b603b157 100644 --- a/library/ZendAfi/Form/Admin/SessionActivity.php +++ b/library/ZendAfi/Form/Admin/SessionActivity.php @@ -51,7 +51,7 @@ class ZendAfi_Form_Admin_SessionActivity extends ZendAfi_Form { ->setMethod('post') ->addElement('dateRangePicker', 'activity_range', - ['label' => $this->_("Date de l'activitée"), + ['label' => $this->_("Date de l'activité"), 'required' => true, 'start' => ['name' => 'date_debut', 'allowEmpty' => false, @@ -62,7 +62,7 @@ class ZendAfi_Form_Admin_SessionActivity extends ZendAfi_Form { 'toggleAllDay' => 'all_day']]) ->addElement('checkbox', 'all_day', - ['label' => $this->_("L'activitée dure toute la journée")]) + ['label' => $this->_("L'activité dure toute la journée")]) ->addElement('dateRangePicker', 'activity_limit_range', diff --git a/library/templates/Intonation/View/BookmarkedSearches.php b/library/templates/Intonation/View/BookmarkedSearches.php index 1f11cd504496d6159df022754e47d5f80346ea27..8d56feb8dc3f323847f5b44715f14e039921cd1e 100644 --- a/library/templates/Intonation/View/BookmarkedSearches.php +++ b/library/templates/Intonation/View/BookmarkedSearches.php @@ -40,7 +40,7 @@ class Intonation_View_BookmarkedSearches extends ZendAfi_View_Helper_BaseHelper if (!$searches) return $html - . $this->_('Vous n\'avez pas encore suivis de recherche. %s !', + . $this->_('Vous n\'avez pas encore suivi de recherche. %s !', $this->view->tagAnchor(['controller' => 'abonne', 'action' => 'suivre-une-recherche'], $this->_('Commencer maintenant')));