Changeset 23862 in spip-zone


Ignore:
Timestamp:
Nov 1, 2008, 2:15:14 AM (12 years ago)
Author:
kent1@…
Message:

un output un peu mis en forme et pas un simple var_dump()

Location:
_plugins_/_test_/getID3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_test_/getID3/getid3_fonctions.php

    r23861 r23862  
    1010        $id3_content = $recuperer_id3($fichier,$info,$mime);
    1111       
    12         return $id3_content;
     12        $output = '';
     13        foreach($id3_content as $cle => $val){
     14                $output .= _T($cle).' : '.$val.'<br />';
     15        }
     16        return $output;
    1317}
    1418
  • _plugins_/_test_/getID3/test_id3.html

    r23861 r23862  
    11<BOUCLE1(DOCUMENTS){id_document ?}{!par date}{0,1}{tout}>
    22<pre>
    3 [(#ID_DOCUMENT|recuperer_id3_doc|var_dump)]
     3[(#ID_DOCUMENT|recuperer_id3_doc)]
    44</pre>
    55</BOUCLE1>
Note: See TracChangeset for help on using the changeset viewer.