|
@@ 1972-1974 (lines=3) @@
|
| 1969 |
|
$production_list = '<div class="files-production"><ul id="productions">'; |
| 1970 |
|
foreach ($productions as $file) { |
| 1971 |
|
$production_list .= '<li><img src="'.$add_image.'" /><a href="'.$production_dir.urlencode($file).'" target="_blank">'.htmlentities($file).'</a>'; |
| 1972 |
|
if ($showDelete) { |
| 1973 |
|
$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>'; |
| 1974 |
|
} |
| 1975 |
|
} |
| 1976 |
|
$production_list .= '</ul></div>'; |
| 1977 |
|
} |
|
@@ 2168-2170 (lines=3) @@
|
| 2165 |
|
foreach ($extra_files as $file) { |
| 2166 |
|
$filename = substr($file,strlen($extra_field)+1); |
| 2167 |
|
$extra_file_list .= '<li>'.Display::return_icon('archive.png').'<a href="'.$path.$extra_field.'/'.urlencode($filename).'" target="_blank">'.htmlentities($filename).'</a> '; |
| 2168 |
|
if ($showDelete) { |
| 2169 |
|
$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>'; |
| 2170 |
|
} |
| 2171 |
|
} |
| 2172 |
|
$extra_file_list .= '</ul></div>'; |
| 2173 |
|
} |