|
@@ 1999-2001 (lines=3) @@
|
| 1996 |
|
$production_list = '<div class="files-production"><ul id="productions">'; |
| 1997 |
|
foreach ($productions as $file) { |
| 1998 |
|
$production_list .= '<li><img src="'.$add_image.'" /><a href="'.$production_dir.urlencode($file).'" target="_blank">'.htmlentities($file).'</a>'; |
| 1999 |
|
if ($showDelete) { |
| 2000 |
|
$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>'; |
| 2001 |
|
} |
| 2002 |
|
} |
| 2003 |
|
$production_list .= '</ul></div>'; |
| 2004 |
|
} |
|
@@ 2195-2197 (lines=3) @@
|
| 2192 |
|
foreach ($extra_files as $file) { |
| 2193 |
|
$filename = substr($file,strlen($extra_field)+1); |
| 2194 |
|
$extra_file_list .= '<li>'.Display::return_icon('archive.png').'<a href="'.$path.$extra_field.'/'.urlencode($filename).'" target="_blank">'.htmlentities($filename).'</a> '; |
| 2195 |
|
if ($showDelete) { |
| 2196 |
|
$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>'; |
| 2197 |
|
} |
| 2198 |
|
} |
| 2199 |
|
$extra_file_list .= '</ul></div>'; |
| 2200 |
|
} |