Changeset 3211229
- Timestamp:
- 12/20/2024 05:39:58 PM (15 months ago)
- Location:
- hd-quiz
- Files:
-
- 2 edited
-
tags/2.0.2/includes/functions.php (modified) (1 diff)
-
trunk/includes/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
hd-quiz/tags/2.0.2/includes/functions.php
r3209440 r3211229 509 509 } 510 510 511 $quiz_start["html"] = '<div class="hdq_quiz_start hdq_button hdq_kb" role="button" tabindex="0">' . esc_attr($data["settings"]["translate_quiz_start"]) . '</div>'; 511 $label = $data["settings"]["translate_quiz_start"]; 512 $label = str_replace("%quiz%", $data["quiz"]["quiz_name"], $label); 513 514 $quiz_start["html"] = '<div class="hdq_quiz_start hdq_button hdq_kb" role="button" tabindex="0">' . esc_attr($label) . '</div>'; 512 515 $quiz_start["classes"] = "hdq_hidden"; 513 516 return $quiz_start; -
hd-quiz/trunk/includes/functions.php
r3209440 r3211229 509 509 } 510 510 511 $quiz_start["html"] = '<div class="hdq_quiz_start hdq_button hdq_kb" role="button" tabindex="0">' . esc_attr($data["settings"]["translate_quiz_start"]) . '</div>'; 511 $label = $data["settings"]["translate_quiz_start"]; 512 $label = str_replace("%quiz%", $data["quiz"]["quiz_name"], $label); 513 514 $quiz_start["html"] = '<div class="hdq_quiz_start hdq_button hdq_kb" role="button" tabindex="0">' . esc_attr($label) . '</div>'; 512 515 $quiz_start["classes"] = "hdq_hidden"; 513 516 return $quiz_start;
Note: See TracChangeset
for help on using the changeset viewer.