@@ 283-288 (lines=6) @@ | ||
280 | $lesson_id = intval( $_GET['lesson_id'] ); |
|
281 | $title .= ' <span class="lesson-title">> ' . get_the_title( intval( $lesson_id ) ) . '</span>'; |
|
282 | } |
|
283 | if ( isset( $_GET['user_id'] ) && 0 < intval( $_GET['user_id'] ) ) { |
|
284 | ||
285 | $user_name = Sensei_Learner::get_full_name( $_GET['user_id'] ); |
|
286 | $title .= ' <span class="user-title">> ' . $user_name . '</span>'; |
|
287 | ||
288 | } // End If Statement |
|
289 | ?> |
|
290 | <h2><?php echo apply_filters( 'sensei_grading_nav_title', $title ); ?></h2> |
|
291 | <?php |
|
@@ 317-322 (lines=6) @@ | ||
314 | $url = add_query_arg( array( 'page' => $this->page_slug, 'lesson_id' => $lesson_id ), admin_url( 'admin.php' ) ); |
|
315 | $title .= sprintf( ' <span class="lesson-title">> <a href="%s">%s</a></span>', esc_url( $url ), get_the_title( $lesson_id ) ); |
|
316 | } |
|
317 | if ( isset( $_GET['user'] ) && 0 < intval( $_GET['user'] ) ) { |
|
318 | ||
319 | $user_name = Sensei_Learner::get_full_name( $_GET['user'] ); |
|
320 | $title .= ' <span class="user-title">> ' . $user_name . '</span>'; |
|
321 | ||
322 | } // End If Statement |
|
323 | ?> |
|
324 | <h2><?php echo apply_filters( 'sensei_grading_nav_title', $title ); ?></h2> |
|
325 | <?php |