- Beeznest
* @package chamilo.auth
*/
// Acces rights: anonymous users can't do anything usefull here.
api_block_anonymous_users();
$stok = Security::get_token();
$courses_without_category = $courses_in_category[0];
?>
';
if (isset($_GET['categoryid']) && $_GET['categoryid'] == $row['id']) { ?>
"javascript: if (!confirm('".addslashes(api_htmlentities(get_lang("CourseCategoryAbout2bedeleted"), ENT_QUOTES, api_get_system_encoding()))."')) return false;"),22) ?>
';
// Show the courses inside this category
echo '';
$number_of_courses = 0;
if (isset($courses_in_category[$row['id']])) {
$number_of_courses = count($courses_in_category[$row['id']]);
}
$key = 0;
if (!empty($courses_in_category[$row['id']])) {
foreach ($courses_in_category[$row['id']] as $course) {
?>
|
';
}
}
}
echo Display::page_subheader(get_lang('NoCourseCategory'));
echo '';
// COURSES WITHOUT CATEGORY
if (!empty($courses_without_category)) {
$number_of_courses = count($courses_without_category);
$key = 0;
foreach ($courses_without_category as $course) {
echo '';
?>
|
|
|