@@ 1956-1958 (lines=3) @@ | ||
1953 | $production_list = '<div class="files-production"><ul id="productions">'; |
|
1954 | foreach ($productions as $file) { |
|
1955 | $production_list .= '<li><img src="'.$add_image.'" /><a href="'.$production_dir.urlencode($file).'" target="_blank">'.htmlentities($file).'</a>'; |
|
1956 | if ($showDelete) { |
|
1957 | $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>'; |
|
1958 | } |
|
1959 | } |
|
1960 | $production_list .= '</ul></div>'; |
|
1961 | } |
|
@@ 2152-2154 (lines=3) @@ | ||
2149 | foreach ($extra_files as $file) { |
|
2150 | $filename = substr($file,strlen($extra_field)+1); |
|
2151 | $extra_file_list .= '<li>'.Display::return_icon('archive.png').'<a href="'.$path.$extra_field.'/'.urlencode($filename).'" target="_blank">'.htmlentities($filename).'</a> '; |
|
2152 | if ($showDelete) { |
|
2153 | $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>'; |
|
2154 | } |
|
2155 | } |
|
2156 | $extra_file_list .= '</ul></div>'; |
|
2157 | } |