- Timestamp:
- 03/29/09 20:43:50 (4 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.6/recordings/page.recordings.php
r7314 r7553 323 323 $sndfile_html .= recordings_display_sndfile('', $counter, $arraymax, $recordings_astsnd_path, $rec['fcode']); 324 324 if ($arraymax == 0 && isset($files[0]) && substr($files[0],0,7) == 'custom/') { 325 if ($rec['fcode']) { 326 $fcc = new featurecode("recordings", 'edit-recording-'.$id); 327 $rec_code = $fcc->getCode(); 328 unset($fcc); 329 if ($rec_code == '') { 330 $rec_code = $fcbase.$id; 331 } 332 } else { 333 $rec_code = $fcbase.$id; 334 } 325 335 ?> 326 336 <tr> … … 328 338 </td> 329 339 <td> 330 <input type='checkbox' tabindex="<?php echo ++$tabindex;?>"name='fcode' id="fcode" <?php if ($rec['fcode']=="1") { echo 'CHECKED'; }?> OnClick="resetDefaultSound();"; return true;'><?php echo sprintf(_("Optional Feature Code %s"),$ fcbase.$id)?>340 <input type='checkbox' tabindex="<?php echo ++$tabindex;?>"name='fcode' id="fcode" <?php if ($rec['fcode']=="1") { echo 'CHECKED'; }?> OnClick="resetDefaultSound();"; return true;'><?php echo sprintf(_("Optional Feature Code %s"),$rec_code)?> 331 341 </td> 332 342 </tr>
