forked from ZwiiCMS-Team/ZwiiCMS
user comment okay
This commit is contained in:
parent
44581b4682
commit
7c7c36a5e6
@ -164,7 +164,7 @@ class user extends common
|
||||
}
|
||||
foreach ($profilData as $key => $value) {
|
||||
self::$userProfils[$profilId][$key] = $profilData[$key]['name'];
|
||||
self::$userProfilsComments[$profilId][$key] = $profilData[$key]['comment'];
|
||||
self::$userProfilsComments[$profilId][$key] = $profilData[$key]['name'] . ' : ' . $profilData[$key]['comment'];
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -41,7 +41,9 @@ $("#userAddId").on("change keydown keyup", function(event) {
|
||||
*/
|
||||
$("#userAddGroup").on("change", function() {
|
||||
$(".userAddGroupProfil").hide();
|
||||
$(".userCommentProfil").hide();
|
||||
$("#userAddGroupProfil" + $(this).val()).show();
|
||||
$("#userCommentProfil" + $(this).val()).show();
|
||||
}).trigger("change");
|
||||
|
||||
|
||||
|
@ -109,21 +109,21 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div id="commentProfil<?php echo self::GROUP_MEMBER; ?>" class="col12">
|
||||
<div id="userCommentProfil<?php echo self::GROUP_MEMBER; ?>" class="col12 displayNone userCommentProfil">
|
||||
<?php echo template::textarea('useraddProfilComment' . self::GROUP_MEMBER, [
|
||||
"value" => implode("\n",$module::$userProfils[self::GROUP_MEMBER])
|
||||
"value" => implode("\n",$module::$userProfilsComments[self::GROUP_MEMBER])
|
||||
]);
|
||||
?>
|
||||
</div>
|
||||
<div id="commentProfil<?php echo self::GROUP_MODERATOR; ?>" class="col12">
|
||||
<div id="userCommentProfil<?php echo self::GROUP_MODERATOR; ?>" class="col12 displayNone userCommentProfil">
|
||||
<?php echo template::textarea('useraddProfilComment2' . self::GROUP_MODERATOR, [
|
||||
"value" => implode("\n",$module::$userProfils[self::GROUP_MODERATOR])
|
||||
"value" => implode("\n",$module::$userProfilsComments[self::GROUP_MODERATOR])
|
||||
]);
|
||||
?>
|
||||
</div>
|
||||
<div id="commentProfil<?php echo self::GROUP_ADMIN; ?>" class="col12">
|
||||
<div id="userCommentProfil<?php echo self::GROUP_ADMIN; ?>" class="col12 displayNone userCommentProfil">
|
||||
<?php echo template::textarea('useraddProfilComment' . self::GROUP_ADMIN, [
|
||||
"value" => implode("\n",$module::$userProfils[self::GROUP_ADMIN])
|
||||
"value" => implode("\n",$module::$userProfilsComments[self::GROUP_ADMIN])
|
||||
]);
|
||||
?>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user