瀏覽代碼

Corrected preloaded icon image paths in HTML5 audio player Javascript.

Nate Jones 11 年之前
父節點
當前提交
39cd05c07e
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      themes/enhanced/template.php
  2. 2 2
      themes/minimized/template.php

+ 2 - 2
themes/enhanced/template.php

@@ -1077,8 +1077,8 @@ legend {
 
 
 <script type='text/javascript'>
 <script type='text/javascript'>
 	// preload images
 	// preload images
-	img_play = new Image();	img_play.src = "<?=$v_link_label_play?>";
-	img_pause = new Image(); img_pause.src = "<?=$v_link_label_pause?>";
+	img_play = new Image();	img_play.src = "<?php echo PROJECT_PATH; ?>/themes/enhanced/images/icon_play.png";
+	img_pause = new Image(); img_pause.src = "<?php echo PROJECT_PATH; ?>/themes/enhanced/images/icon_pause.png";
 
 
 	var recording_audio;
 	var recording_audio;
 
 

+ 2 - 2
themes/minimized/template.php

@@ -1091,8 +1091,8 @@ legend {
 
 
 <script type='text/javascript'>
 <script type='text/javascript'>
 	// preload images
 	// preload images
-	img_play = new Image();	img_play.src = "<?=$v_link_label_play?>";
-	img_pause = new Image(); img_pause.src = "<?=$v_link_label_pause?>";
+	img_play = new Image();	img_play.src = "<?php echo PROJECT_PATH; ?>/themes/minimized/images/icon_play.png";
+	img_pause = new Image(); img_pause.src = "<?php echo PROJECT_PATH; ?>/themes/minimized/images/icon_pause.png";
 
 
 	var recording_audio;
 	var recording_audio;