fix add icons BT#12926

remotes/angel/1.11.x
Alex Aragon 8 years ago
parent b82a2ddfc0
commit 6fe6e1a80c
  1. 3
      app/Resources/public/css/base.css
  2. 7
      main/forum/viewforumcategory.php
  3. BIN
      main/img/icons/22/forum_blue.png
  4. BIN
      main/img/icons/22/forum_yellow.png
  5. BIN
      main/img/icons/32/forum_group.png

@ -4362,9 +4362,6 @@ div#chat-remote-video video {
width: 100%;
}
/* CSS Forum */
.forum {
border-color: #dddddd !important;
}
.forum .number-post{
background-color: #F7F7F9;
border: 1px solid #E1E1E1 ;

@ -254,8 +254,10 @@ if ($action_forums != 'add') {
// Step 4: We display all the forums in this category.
$forum_count = 0;
foreach ($forum_list as $key => $forum) {
if ($forum['forum_category'] == $forum_category['cat_id']) {
foreach ($forum_list as $forum) {
if(!empty($forum['forum_category'])){
if ($forum['forum_category'] == $forum_category['cat_id']) {
// The forum has to be showed if
// 1.v it is a not a group forum (teacher and student)
// 2.v it is a group forum and it is public (teacher and student)
@ -501,6 +503,7 @@ if ($action_forums != 'add') {
}
echo $html;
}
}
}
if (count($forum_list) == 0) {
echo '<div class="alert alert-warning">'.get_lang('NoForumInThisCategory').'</div>';

Binary file not shown.

After

Width:  |  Height:  |  Size: 713 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 679 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Loading…
Cancel
Save