Skip to content
Snippets Groups Projects
Commit 7ee09100 authored by Damien's avatar Damien
Browse files

Merge branch 'develop' of labs.maarch.org:maarch/MaarchCourrier into develop

parents e7a9d5da 40d72439
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,7 @@ try{ ...@@ -33,7 +33,7 @@ try{
include_once "core/class/class_request.php"; include_once "core/class/class_request.php";
include_once "apps".DIRECTORY_SEPARATOR.$_SESSION['config']['app_id'].DIRECTORY_SEPARATOR."class".DIRECTORY_SEPARATOR."class_list_show.php"; include_once "apps".DIRECTORY_SEPARATOR.$_SESSION['config']['app_id'].DIRECTORY_SEPARATOR."class".DIRECTORY_SEPARATOR."class_list_show.php";
} }
if ($mode == 'del' || $mode == 'up' && $entities_loaded) { if (in_array($mode, ['del', 'up', 'add']) && $entities_loaded) {
include_once "modules/entities/class/EntityControler.php"; include_once "modules/entities/class/EntityControler.php";
} }
...@@ -336,7 +336,6 @@ function display_list() ...@@ -336,7 +336,6 @@ function display_list()
function display_del($user_id) function display_del($user_id)
{ {
$uc = new users_controler(); $uc = new users_controler();
// information liste(s) de diffusion exists in users // information liste(s) de diffusion exists in users
$listDiffusion=array(); $listDiffusion=array();
...@@ -357,9 +356,6 @@ function display_del($user_id) ...@@ -357,9 +356,6 @@ function display_del($user_id)
<?php exit(); <?php exit();
} }
$user = $uc->get($user_id); $user = $uc->get($user_id);
if (isset($user)) { if (isset($user)) {
// Deletion // Deletion
...@@ -470,7 +466,7 @@ function display_del_check($user_id) ...@@ -470,7 +466,7 @@ function display_del_check($user_id)
?> ?>
<br> <br>
<br> <br>
<select name="user_id" id="user_id" onchange=''> <select name="user_id" id="user_id" data-placeholder="<?php echo _CHOOSE_USER2 ;?>">
<option value="no_user"><?php echo _NO_REPLACEMENT;?></option> <option value="no_user"><?php echo _NO_REPLACEMENT;?></option>
<?php <?php
$stmt = $db->query("select * from users order by user_id ASC"); $stmt = $db->query("select * from users order by user_id ASC");
...@@ -490,7 +486,7 @@ function display_del_check($user_id) ...@@ -490,7 +486,7 @@ function display_del_check($user_id)
</p> </p>
</form> </form>
</div> </div>
<script type="text/javascript"></script> <script type="text/javascript">new Chosen($('user_id'),{width: "auto", disable_search_threshold: 10, search_contains: true, allow_single_deselect: true});</script>
<?php <?php
exit(); exit();
} }
......
...@@ -153,7 +153,7 @@ if (!defined("_WARNING_MESSAGE_UPDATE_USER")) ...@@ -153,7 +153,7 @@ if (!defined("_WARNING_MESSAGE_UPDATE_USER"))
define("_WARNING_MESSAGE_UPDATE_USER", "Avertissement :<br>Afin de garder la confidentialité des courriers en cours de traitement du service, il est recommandé de réaffecter ceux-ci à un autre utilisateur :"); define("_WARNING_MESSAGE_UPDATE_USER", "Avertissement :<br>Afin de garder la confidentialité des courriers en cours de traitement du service, il est recommandé de réaffecter ceux-ci à un autre utilisateur :");
if (!defined("_USERS_IN_GROUPS")) if (!defined("_USERS_IN_GROUPS"))
define("_USERS_IN_GROUPS", "utilisateur(s) dans le groupe"); define("_USERS_IN_GROUPS", "utilisateur(s) dans le groupe");
if (!defined("_LISTE_DIFFUSION_IN_USER")) define("_LISTE_DIFFUSION_IN_USER", "liste(s) de diffusion pour l utilisateur"); if (!defined("_LISTE_DIFFUSION_IN_USER")) define("_LISTE_DIFFUSION_IN_USER", "liste(s) de diffusion pour l'utilisateur ");
if (!defined("_NO_REPLACEMENT")) define("_NO_REPLACEMENT", "AUCUN REMPLACEMENT"); if (!defined("_NO_REPLACEMENT")) define("_NO_REPLACEMENT", "AUCUN REMPLACEMENT");
if (!defined("_DOCS_IN_DOCTYPES")) define("_DOCS_IN_DOCTYPES", "document(s) de ce type"); if (!defined("_DOCS_IN_DOCTYPES")) define("_DOCS_IN_DOCTYPES", "document(s) de ce type");
if (!defined("_CHOOSE_REPLACEMENT_DOCTYPES")) define("_CHOOSE_REPLACEMENT_DOCTYPES", "Choisissez un type de document de remplacement"); if (!defined("_CHOOSE_REPLACEMENT_DOCTYPES")) define("_CHOOSE_REPLACEMENT_DOCTYPES", "Choisissez un type de document de remplacement");
......
...@@ -74,6 +74,7 @@ ...@@ -74,6 +74,7 @@
<enumeration value="res_attachments" /> <enumeration value="res_attachments" />
<enumeration value="mlb_coll_ext" /> <enumeration value="mlb_coll_ext" />
<enumeration value="business_coll_ext" /> <enumeration value="business_coll_ext" />
<enumeration value="folders" />
</dataType> </dataType>
<dataType name="res_view_table_list" base="string"> <dataType name="res_view_table_list" base="string">
<enumeration value="res_view_letterbox" /> <enumeration value="res_view_letterbox" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment