Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Commonwell
/
broker-site
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
a033262e
authored
2023-04-20 20:23:24 -0400
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
badge fix
Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent
8ee5f6dd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
wp-content/plugins/import-users-from-csv/import-users-from-csv.php
wp-content/themes/commonwell-broker/badge-share.php
wp-content/themes/commonwell-broker/functions.php
wp-content/themes/commonwell-broker/scripts/script.js
wp-content/plugins/import-users-from-csv/import-users-from-csv.php
View file @
a033262
...
...
@@ -636,8 +636,8 @@ class IS_IU_Import_Users {
if
(
$userdata
[
'course_id'
]
!=
""
){
$course_id
=
$userdata
[
'course_id'
];
ld_update_course_access
(
$user_id
,
$userdata
[
'course_id'
],
false
);
learndash_process_mark_complete
(
get_current_user_id
()
,
45654
);
sci_learndash_mark_course_complete
(
$user_id
,
$userdata
[
'course_id'
]);
learndash_process_mark_complete
(
$user_id
,
45654
);
learndash_user_course_complete_all_steps
(
$user_id
,
$userdata
[
'course_id'
]);
}
}
if
(
$column_name
==
'date_completed'
){
...
...
wp-content/themes/commonwell-broker/badge-share.php
View file @
a033262
...
...
@@ -49,7 +49,7 @@ if(shared == 'true'){
</div>
</div>
<script
type=
"text/javascript"
src=
"../wp-content/themes/commonwell-
corp
/scripts/sharerbox.js?ver=6"
id=
"mc.sharerbox-js"
></script>
<script
type=
"text/javascript"
src=
"../wp-content/themes/commonwell-
broker
/scripts/sharerbox.js?ver=6"
id=
"mc.sharerbox-js"
></script>
<script>
window
.
onload
=
function
(){
sharerboxIcons
(
'facebook twitter linkedin'
,
32
);
...
...
wp-content/themes/commonwell-broker/functions.php
View file @
a033262
...
...
@@ -63,7 +63,7 @@ function theme_broker_enqueue_scripts()
wp_enqueue_style
(
'input_skins'
,
get_bloginfo
(
'template_url'
)
.
'/styles/input_skins/all.css'
,
[],
"0.0.61"
);
wp_enqueue_script
(
'icheck'
,
get_bloginfo
(
'template_url'
)
.
'/scripts/icheck.min.js'
,
[],
"0.0.1"
,
true
);
wp_enqueue_script
(
'script'
,
get_bloginfo
(
'template_url'
)
.
'/scripts/script.js'
,
[],
"0.1
1
"
,
true
);
wp_enqueue_script
(
'script'
,
get_bloginfo
(
'template_url'
)
.
'/scripts/script.js'
,
[],
"0.1
2
"
,
true
);
}
if
(
...
...
wp-content/themes/commonwell-broker/scripts/script.js
View file @
a033262
...
...
@@ -63,7 +63,7 @@ jQuery(document).ready(function($) {
var
title
=
$
(
this
).
data
(
'title'
);
// $("#dialog").dialog({modal: true, height: 590, width: 1005 });
var
w
=
window
.
open
(
"https://thecommonwell.ca/badge-share/?badge="
+
title
,
"popupWindow"
,
"width=400, height=400, scrollbars=no"
);
var
w
=
window
.
open
(
"https://
brokers.
thecommonwell.ca/badge-share/?badge="
+
title
,
"popupWindow"
,
"width=400, height=400, scrollbars=no"
);
});
...
...
Please
register
or
sign in
to post a comment