|
@@ 1755-1757 (lines=3) @@
|
| 1752 |
|
$production_list = '<div class="files-production"> <ul id="productions">'; |
| 1753 |
|
foreach ($productions as $file) { |
| 1754 |
|
$production_list .= '<li><img src="'.$add_image.'" /><a href="'.$production_dir.urlencode($file).'" target="_blank">'.htmlentities($file).'</a>'; |
| 1755 |
|
if ($showdelete) { |
| 1756 |
|
$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>'; |
| 1757 |
|
} |
| 1758 |
|
} |
| 1759 |
|
$production_list .= '</ul></div>'; |
| 1760 |
|
} |
|
@@ 1949-1951 (lines=3) @@
|
| 1946 |
|
foreach ($extra_files as $file) { |
| 1947 |
|
$filename = substr($file,strlen($extra_field)+1); |
| 1948 |
|
$extra_file_list .= '<li>'.Display::return_icon('archive.png').'<a href="'.$path.$extra_field.'/'.urlencode($filename).'" target="_blank">'.htmlentities($filename).'</a> '; |
| 1949 |
|
if ($showdelete) { |
| 1950 |
|
$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>'; |
| 1951 |
|
} |
| 1952 |
|
} |
| 1953 |
|
$extra_file_list .= '</ul></div>'; |
| 1954 |
|
} |