Commit 4fe9c9c7 by jenkins

Merge Request accepted by jenkins build success

parents 73134f55 4f5ea278
Pipeline #518 failed with stage
in 0 seconds
...@@ -46,10 +46,14 @@ if ( 'POST' === $_SERVER['REQUEST_METHOD'] && isset( $_POST['download_submit'] ) ...@@ -46,10 +46,14 @@ if ( 'POST' === $_SERVER['REQUEST_METHOD'] && isset( $_POST['download_submit'] )
$courseName[] = '<a href = "'.$link.'">'.$cat->name.'</a>'; $courseName[] = '<a href = "'.$link.'">'.$cat->name.'</a>';
} }
} }
if ($catx == 'all') {
$postContent .= '<br><strong>All Courses List: '. $listUrl .' </strong>';
}
} }
$postContent .= '<strong>Download Courses: [' . implode( ', ', $courseName ) . '] </strong>';
$postContent .= '<br><strong>Courses List File: '. $listUrl .' </strong>'; $postContent .= '<strong>Download Courses: [' . implode( ', ', $courseName ) . '] </strong>';
$newDownloadRequest = array( $newDownloadRequest = array(
'post_title' => $fname . ' ' . $lname, 'post_title' => $fname . ' ' . $lname,
...@@ -436,9 +440,13 @@ $selected_id = isset( $_GET['course'] ) ? $_GET['course'] : - 1; ...@@ -436,9 +440,13 @@ $selected_id = isset( $_GET['course'] ) ? $_GET['course'] : - 1;
echo ' selected'; echo ' selected';
} ?>><?php echo $term->name; ?></option> } ?>><?php echo $term->name; ?></option>
<?php <?php
} } } } ?>
<option value="all">Download All Courses</option>
<?php
$page = get_page_by_path( 'download-all' ); $page = get_page_by_path( 'download-all' );
?> ?>
</select> </select>
</div> </div>
<div class="col-md-12 form-group"> <div class="col-md-12 form-group">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment