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  
    1414<html xmlns="http://www.w3.org/1999/xhtml"> 
    1515  <head> 
    1616    <TITLE>ARI</TITLE> 
     17    <link rel="stylesheet" href="../theme/main.css" type="text/css"> 
    1718    <link rel="stylesheet" href="popup.css" type="text/css"> 
    1819    <meta http-equiv="content-type" content="text/html; charset=UTF-8"> 
    1920  </head> 
     
    2122 
    2223<?php 
    2324 
    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']); 
    2926 
    3027  if (isset($path)) { 
    3128    if (isset($_GET['date'])) { 
    32       echo($_GET['date'] . "<br>"); 
     29      echo("<small>" . $_GET['date'] . "</small><br>"); 
    3330    } 
    3431    if (isset($_GET['time'])) { 
    35       echo($_GET['time'] . "<br>"); 
     32      echo("<small>" . $_GET['time'] . "</small><br>"); 
    3633    } 
     34 
    3735    echo("<br>"); 
    38     echo("<embed src='audio.php?recording=" . $path . "' width=300, height=20 autoplay=true loop=false></embed><br>"); 
     36    echo("<embed src='audio.php?recording=" . $path . "' width=300, height=25 autoplay=true loop=false></embed><br>"); 
    3937    echo("<a class='popup_download' href=/recordings/misc/audio.php?recording="  . $path . ">" . _("download") . "</a><br>"); 
    4038  } 
    4139 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads