Commit 4f5ea278 by nadeem.qasmi

download all, https pdf file

parent 17c9b9df
Pipeline #517 passed with stage
in 0 seconds
......@@ -46,10 +46,14 @@ if ( 'POST' === $_SERVER['REQUEST_METHOD'] && isset( $_POST['download_submit'] )
$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(
'post_title' => $fname . ' ' . $lname,
......@@ -436,9 +440,13 @@ $selected_id = isset( $_GET['course'] ) ? $_GET['course'] : - 1;
echo ' selected';
} ?>><?php echo $term->name; ?></option>
<?php
} }
} } ?>
<option value="all">Download All Courses</option>
<?php
$page = get_page_by_path( 'download-all' );
?>
?>
</select>
</div>
<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