|
@@ -66,7 +66,7 @@ if ($_POST['formSent']) {
|
|
|
fputs($fp, $add);
|
|
|
}
|
|
|
fclose($fp);
|
|
|
- $msg = get_lang('CoursesListHasBeenExported').'<br/><a href="'.$archiveURL.$archiveFile.'">'.get_lang('ClickHereToDownloadTheFile').'</a>';
|
|
|
+ $msg = get_lang('CoursesListHasBeenExported').'<br/><a class="btn" href="'.$archiveURL.$archiveFile.'">'.get_lang('ClickHereToDownloadTheFile').'</a>';
|
|
|
} else {
|
|
|
$msg = get_lang('ThereAreNotSelectedCoursesOrCoursesListIsEmpty');
|
|
|
}
|
|
@@ -82,14 +82,20 @@ if (!empty($msg)) {
|
|
|
<input type="hidden" name="formSent" value="1">
|
|
|
<legend><?php echo $tool_name; ?></legend>
|
|
|
<?php if (!empty($course_list)) { ?>
|
|
|
-<div>
|
|
|
-<input id="all-courses" class="checkbox" type="radio" value="1" name="select_type" <?php if(!$formSent || ($formSent && $select_type == 1)) echo 'checked="checked"'; ?> onclick="javascript: if(this.checked){document.getElementById('div-course-list').style.display='none';}"/>
|
|
|
-<label for="all-courses"><?php echo get_lang('ExportAllCoursesList')?></label>
|
|
|
-<br/>
|
|
|
-<input id="select-courses" class="checkbox" type="radio" value="2" name="select_type" <?php if($formSent && $select_type == 2) echo 'checked="checked"'; ?> onclick="javascript: if(this.checked){document.getElementById('div-course-list').style.display='block';}"/>
|
|
|
-<label for="select-courses"><?php echo get_lang('ExportSelectedCoursesFromCoursesList')?></label>
|
|
|
+<div class="control-group">
|
|
|
+
|
|
|
+ <div class="controls">
|
|
|
+ <label class="radio" for="all-courses">
|
|
|
+ <input id="all-courses" class="checkbox" type="radio" value="1" name="select_type" <?php if(!$formSent || ($formSent && $select_type == 1)) echo 'checked="checked"'; ?> onclick="javascript: if(this.checked){document.getElementById('div-course-list').style.display='none';}"/>
|
|
|
+ <?php echo get_lang('ExportAllCoursesList')?>
|
|
|
+ </label>
|
|
|
+
|
|
|
+ <label class="radio" for="select-courses">
|
|
|
+ <input id="select-courses" class="checkbox" type="radio" value="2" name="select_type" <?php if($formSent && $select_type == 2) echo 'checked="checked"'; ?> onclick="javascript: if(this.checked){document.getElementById('div-course-list').style.display='block';}"/>
|
|
|
+ <?php echo get_lang('ExportSelectedCoursesFromCoursesList')?>
|
|
|
+ </label>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
-<br />
|
|
|
<div id="div-course-list" style="<?php echo (!$formSent || ($formSent && $select_type == 1))?'display:none':'display:block';?>">
|
|
|
<table border="0" cellpadding="5" cellspacing="0">
|
|
|
<tr>
|