Revert "Temporarily remove courses catalog's random pick to avoid bug with pagination - refs #7273"

This reverts commit 2632e1db4d.

Conflicts:
	main/template/default/auth/courses_categories.php
1.9.x
Daniel Barreto 12 years ago
parent 60f3a81ecc
commit 6372960c8b
  1. 2
      main/template/default/auth/courses_categories.php
  2. 2
      main/template/default/auth/sessions_catalog.tpl

@ -138,7 +138,7 @@ $userInfo = api_get_user_info();
* it, as this can considerably slow down your system
*/
if (!empty($browse_course_categories)) {
//echo '<a class="btn" href="'.api_get_self().'?action=display_random_courses">'.get_lang('RandomPick').'</a><br /><br />';
echo '<a class="btn" href="'.api_get_self().'?action=display_random_courses">'.get_lang('RandomPick').'</a><br /><br />';
?>
</ul>
</div>

@ -71,7 +71,7 @@
{% endif %}
{% if coursesCategoriesList is not empty %}
<!-- a class="btn" href="{{ api_get_self }}?action=display_random_courses">{{ 'RandomPick' | get_lang }}</a-->
<a class="btn" href="{{ api_get_self }}?action=display_random_courses">{{ 'RandomPick' | get_lang }}</a>
{% endif %}
</div>

Loading…
Cancel
Save