Ticket #2565: recording_popup.php.patch
| File recording_popup.php.patch, 1.4 kB (added by sasargen, 8 months ago) |
|---|
-
recording_popup.php
old new 14 14 <html xmlns="http://www.w3.org/1999/xhtml"> 15 15 <head> 16 16 <TITLE>ARI</TITLE> 17 <link rel="stylesheet" href="../theme/main.css" type="text/css"> 17 18 <link rel="stylesheet" href="popup.css" type="text/css"> 18 19 <meta http-equiv="content-type" content="text/html; charset=UTF-8"> 19 20 </head> … … 21 22 22 23 <?php 23 24 24 global $ARI_CRYPT_PASSWORD; 25 26 $crypt = new Crypt(); 27 28 $path = $crypt->encrypt($_GET['recording'],$ARI_CRYPT_PASSWORD); 25 $path = urlencode($_GET['recording']); 29 26 30 27 if (isset($path)) { 31 28 if (isset($_GET['date'])) { 32 echo( $_GET['date'] . "<br>");29 echo("<small>" . $_GET['date'] . "</small><br>"); 33 30 } 34 31 if (isset($_GET['time'])) { 35 echo( $_GET['time'] . "<br>");32 echo("<small>" . $_GET['time'] . "</small><br>"); 36 33 } 34 37 35 echo("<br>"); 38 echo("<embed src='audio.php?recording=" . $path . "' width=300, height=2 0autoplay=true loop=false></embed><br>");36 echo("<embed src='audio.php?recording=" . $path . "' width=300, height=25 autoplay=true loop=false></embed><br>"); 39 37 echo("<a class='popup_download' href=/recordings/misc/audio.php?recording=" . $path . ">" . _("download") . "</a><br>"); 40 38 } 41 39
