root/devel/mod/file/lib/metadata_edit.php

Revision 1539, 0.6 kB (checked in by renato, 1 year ago)

Setting prop svn:eol-style in LOTS of files.

  • Property svn:eol-style set to native
Line 
1 <?php
2
3     if (array_key_exists('files:details',$data) && !empty($data['files:details'])) {
4         
5         foreach($data['files:details'] as $details) {
6
7             $run_result .= <<< END
8             
9             <tr>
10                 <td>
11                     <label for="metadata[{$details[1]}]">
12                             {$details[0]}
13                     </label>
14                 </td>
15                 <td>
16                     <input id="metadata[{$details[1]}]" name="metadata[{$details[1]}]" value="" />
17                 </td>
18             </tr>
19 END;
20         }
21         
22     }
23
24 ?>
Note: See TracBrowser for help on using the browser.