|
|
@@ -19,16 +19,17 @@ include "../pcdl/html_head.php";
|
|
|
|
|
|
<div class='section_inner'>
|
|
|
<div class="course_info_block">
|
|
|
- <h2>你发布的课程</h2>
|
|
|
+ <h2><?php echo $_local->gui->teaching_course ;?></h2>
|
|
|
<div id="course_list" >
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="course_info_block">
|
|
|
- <h2>你关注的课程</h2>
|
|
|
+ <h2><?php echo $_local->gui->watching_course ;?></h2>
|
|
|
<div id="my_like" >
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+<script src="../public/js/marked.js"></script>
|
|
|
|
|
|
<script>
|
|
|
$.get("../course/course_list.php",
|
|
|
@@ -39,7 +40,7 @@ include "../pcdl/html_head.php";
|
|
|
let arrData = JSON.parse(data);
|
|
|
let html='';
|
|
|
html +="<div style='display:flex;'>";
|
|
|
- html +="<div style='flex:5;'>"
|
|
|
+ html +="<div style='flex:10;'>"
|
|
|
html +='<iframe style="width:100%;height: 550px;" src="../fullcalendar/examples/time-zones.php"></iframe>';
|
|
|
html +="</div>";
|
|
|
html +="<div style='flex:5;'>";
|
|
|
@@ -50,11 +51,11 @@ include "../pcdl/html_head.php";
|
|
|
html += '<div style="flex:7;">';
|
|
|
html += '<div class="title" style="padding-bottom:5px;font-size:110%;font-weight:600;"><a href="../course/course.php?id='+iterator.id+'">'+iterator.title+'</a></div>';
|
|
|
html += '<div class="summary" style="padding-bottom:5px;">'+iterator.subtitle+'</div>';
|
|
|
- html += '<div class="summary" style="padding-bottom:5px;">'+iterator.summary+'</div>';
|
|
|
+ html += '<div class="summary" style="padding-bottom:5px;">'+marked(iterator.summary)+'</div>';
|
|
|
|
|
|
html += '</div>';
|
|
|
|
|
|
- html += '<div style="flex:3;max-width:15em;">';
|
|
|
+ html += '<div style="/*flex:3;max-width:15em;*/">';
|
|
|
|
|
|
html += '</div>';
|
|
|
|