add icons views listview and nestedview BT#9892 #TMI

1.10.x
aragonc 10 years ago
parent 2ac5036a88
commit e7f388f3e5
  1. 10
      main/forum/viewthread.php
  2. BIN
      main/img/icons/128/forum_listview.png
  3. BIN
      main/img/icons/128/forum_nestedview.png
  4. BIN
      main/img/icons/22/forum_listview.png
  5. BIN
      main/img/icons/22/forum_nestedview.png
  6. BIN
      main/img/icons/32/forum_listview.png
  7. BIN
      main/img/icons/32/forum_nestedview.png
  8. BIN
      main/img/icons/48/forum_listview.png
  9. BIN
      main/img/icons/48/forum_nestedview.png
  10. BIN
      main/img/icons/64/forum_listview.png
  11. BIN
      main/img/icons/64/forum_nestedview.png

@ -174,9 +174,9 @@ if ($my_message != 'PostDeletedSpecial') {
// The different views of the thread.
if ($origin != 'learnpath') {
$my_url = '<a href="'.$forumUrl.'viewthread.php?'.api_get_cidreq().'&'.api_get_cidreq().'&forum='.Security::remove_XSS($_GET['forum']).'&thread='.Security::remove_XSS($_GET['thread']).'&search='.Security::remove_XSS(urlencode($my_search));
echo $my_url.'&amp;view=flat">'.Display::return_icon('forum_listview.gif', get_lang('FlatView')).get_lang('FlatView').'</a>';
echo $my_url.'&amp;view=threaded">'.Display::return_icon('forum_threadedview.gif', get_lang('ThreadedView')).get_lang('ThreadedView').'</a>';
echo $my_url.'&amp;view=nested">'.Display::return_icon('forum_nestedview.gif', get_lang('NestedView')).get_lang('NestedView').'</a>';
echo $my_url.'&amp;view=flat">'.Display::return_icon('forum_listview.png', get_lang('FlatView'),null,ICON_SIZE_MEDIUM).get_lang('FlatView').'</a>';
//echo $my_url.'&amp;view=threaded">'.Display::return_icon('forum_threadedview.gif', get_lang('ThreadedView')).get_lang('ThreadedView').'</a>';
echo $my_url.'&amp;view=nested">'.Display::return_icon('forum_nestedview.png', get_lang('NestedView'),null, ICON_SIZE_MEDIUM).get_lang('NestedView').'</a>';
}
$my_url = null;
@ -219,8 +219,8 @@ if ($my_message != 'PostDeletedSpecial') {
include_once 'viewthread_flat.inc.php';
break;
case 'threaded':
include_once 'viewthread_threaded.inc.php';
break;
//include_once 'viewthread_threaded.inc.php';
//break;
case 'nested':
include_once 'viewthread_nested.inc.php';
break;

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 601 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 609 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 708 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 716 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 931 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 896 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Loading…
Cancel
Save