|
@@ 1765-1767 (lines=3) @@
|
| 1762 |
|
$production_list = '<div class="files-production"><ul id="productions">'; |
| 1763 |
|
foreach ($productions as $file) { |
| 1764 |
|
$production_list .= '<li><img src="'.$add_image.'" /><a href="'.$production_dir.urlencode($file).'" target="_blank">'.htmlentities($file).'</a>'; |
| 1765 |
|
if ($showdelete) { |
| 1766 |
|
$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>'; |
| 1767 |
|
} |
| 1768 |
|
} |
| 1769 |
|
$production_list .= '</ul></div>'; |
| 1770 |
|
} |
|
@@ 1961-1963 (lines=3) @@
|
| 1958 |
|
foreach ($extra_files as $file) { |
| 1959 |
|
$filename = substr($file,strlen($extra_field)+1); |
| 1960 |
|
$extra_file_list .= '<li>'.Display::return_icon('archive.png').'<a href="'.$path.$extra_field.'/'.urlencode($filename).'" target="_blank">'.htmlentities($filename).'</a> '; |
| 1961 |
|
if ($showdelete) { |
| 1962 |
|
$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>'; |
| 1963 |
|
} |
| 1964 |
|
} |
| 1965 |
|
$extra_file_list .= '</ul></div>'; |
| 1966 |
|
} |