|
@@ 1757-1759 (lines=3) @@
|
| 1754 |
|
$production_list = '<div class="files-production"><ul id="productions">'; |
| 1755 |
|
foreach ($productions as $file) { |
| 1756 |
|
$production_list .= '<li><img src="'.$add_image.'" /><a href="'.$production_dir.urlencode($file).'" target="_blank">'.htmlentities($file).'</a>'; |
| 1757 |
|
if ($showdelete) { |
| 1758 |
|
$production_list .= ' <input style="width:16px;" type="image" name="remove_production['.urlencode($file).']" src="'.$del_image.'" alt="'.$del_text.'" title="'.$del_text.' '.htmlentities($file).'" onclick="javascript: return confirmation(\''.htmlentities($file).'\');" /></li>'; |
| 1759 |
|
} |
| 1760 |
|
} |
| 1761 |
|
$production_list .= '</ul></div>'; |
| 1762 |
|
} |
|
@@ 1953-1955 (lines=3) @@
|
| 1950 |
|
foreach ($extra_files as $file) { |
| 1951 |
|
$filename = substr($file,strlen($extra_field)+1); |
| 1952 |
|
$extra_file_list .= '<li>'.Display::return_icon('archive.png').'<a href="'.$path.$extra_field.'/'.urlencode($filename).'" target="_blank">'.htmlentities($filename).'</a> '; |
| 1953 |
|
if ($showdelete) { |
| 1954 |
|
$extra_file_list .= '<input style="width:16px;" type="image" name="remove_extra_' . $extra_field . '['.urlencode($file).']" src="'.$del_image.'" alt="'.$del_text.'" title="'.$del_text.' '.htmlentities($filename).'" onclick="javascript: return confirmation(\''.htmlentities($filename).'\');" /></li>'; |
| 1955 |
|
} |
| 1956 |
|
} |
| 1957 |
|
$extra_file_list .= '</ul></div>'; |
| 1958 |
|
} |