Ticket #2591: recordings.patch

File recordings.patch, 2.8 kB (added by ded, 4 years ago)
  • page.recordings.php

    old new  
    170170  </p> 
    171171  <p> 
    172172  <form enctype="multipart/form-data" name="upload" action="<?php echo $_SERVER['PHP_SELF'] ?>" method="POST"/> 
    173     <?php echo _('Alternatively, upload a recording in')?> <?php echo _("any supported asterisk format.")?> <?php echo _("Note that if you're using .wav, (eg, recorded with Microsoft Recorder) the file <b>must</b> be PCM Encoded, 16 Bits, at 8000Hz")?></span></a>:<br> 
     173    <?php echo _("Alternatively, upload a recording in")?> <?php echo _("any supported asterisk format.")?> <?php echo _("Note that if you're using .wav, (eg, recorded with Microsoft Recorder) the file <b>must</b> be PCM Encoded, 16 Bits, at 8000Hz")?></span></a>:<br> 
    174174    <input type="hidden" name="display" value="recordings"> 
    175175    <input type="hidden" name="action" value="recordings_start"> 
    176176                <input type="hidden" name="usersnum" value="<?php echo $usersnum ?>"> 
     
    236236  }?> 
    237237  <?php  
    238238  echo "<a href=config.php?display=recordings&amp;action=delete&amp;usersnum=".urlencode($num); 
    239   echo "&amp;id=$id>Remove Recording</a> <i style='font-size: x-small'>(Note, does not delete file from computer)</i>"; 
     239  echo "&amp;id=$id>"; 
     240  echo _("Remove Recording"); 
     241  echo "</a> <i style='font-size: x-small'>("; 
     242  echo _("Note, does not delete file from computer"); 
     243  echo ")</i>"; 
    240244  ?> 
    241245  <form name="prompt"  action="<?php $_SERVER['PHP_SELF'] ?>" method="post" onsubmit="return rec_onsubmit();"> 
    242246  <input type="hidden" name="action" value="edited"> 
     
    246250  <table> 
    247251  <tr><td colspan=2><hr></td></tr> 
    248252  <tr> 
    249     <td><a href="#" class="info">Change Name<span>This changes the short name, visible on the right, of this recording</span></a></td> 
     253    <td><a href="#" class="info"><?php echo _("Change Name");?><span><?php echo _("This changes the short name, visible on the right, of this recording");?></span></a></td> 
    250254    <td><input type="text" name="rname" value="<?php echo $this_recording['displayname'] ?>"></td> 
    251255  </tr> 
    252256  <tr> 
    253         <td><a href="#" class="info">Descriptive Name<span>This is displayed, as a hint, when selecting this recording in Queues, Digital Receptionist, etc</span></a></td> 
     257        <td><a href="#" class="info"><?php echo _("Descriptive Name");?><span><?php echo _("This is displayed, as a hint, when selecting this recording in Queues, Digital Receptionist, etc");?></span></a></td> 
    254258        <td>&nbsp;<textarea name="notes" rows="3" cols="40"><?php echo $this_recording['description'] ?></textarea></td> 
    255259  </tr> 
    256260  </table> 
    257261  <hr /> 
    258   Files:<br /> 
     262  <?php echo _("Files");?>:<br /> 
    259263  <table> 
    260264  <?php  
    261265  $rec = recordings_get($id);