Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apex_micro_site
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Ali Arshad
apex_micro_site
Commits
1774a92d
Commit
1774a92d
authored
Apr 04, 2018
by
jenkins
Browse files
Options
Browse Files
Download
Plain Diff
Merge Request accepted by jenkins build success
parents
8c47c0a1
aefc44ed
Pipeline
#437
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
download-now.php
...content/plugins/apex_global_lms/template/download-now.php
+4
-2
No files found.
WWW_DATA/wp-content/plugins/apex_global_lms/template/download-now.php
View file @
1774a92d
...
@@ -36,14 +36,16 @@ if ( 'POST' === $_SERVER['REQUEST_METHOD'] && isset( $_POST['download_submit'] )
...
@@ -36,14 +36,16 @@ if ( 'POST' === $_SERVER['REQUEST_METHOD'] && isset( $_POST['download_submit'] )
foreach
(
$course_cat
as
$cat
){
foreach
(
$course_cat
as
$cat
){
$link
=
''
;
$id_cat
=
$cat
->
term_id
;
$id_cat
=
$cat
->
term_id
;
$link
=
get_term_meta
(
$id_cat
,
'vq_course_ct_tax_redirect'
,
true
);
if
(
$catx
==
$id_cat
)
{
if
(
$catx
==
$id_cat
)
{
$courseName
[]
=
$cat
->
name
;
$courseName
[]
=
'<a href = "'
.
$link
.
'">'
.
$cat
->
name
.
'</a>'
;
}
}
}
}
}
}
$postContent
.=
'<strong>Courses: ['
.
implode
(
', '
,
$courseName
)
.
'] </strong>'
;
$postContent
.=
'<strong>
Download
Courses: ['
.
implode
(
', '
,
$courseName
)
.
'] </strong>'
;
$newDownloadRequest
=
array
(
$newDownloadRequest
=
array
(
'post_title'
=>
$fname
.
' '
.
$lname
,
'post_title'
=>
$fname
.
' '
.
$lname
,
'post_type'
=>
'vq_lms_drequest'
,
'post_type'
=>
'vq_lms_drequest'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment