{include file="header.tpl.html" extra_title="Issue #$issue_id - Upload File"}
{if $current_role > $roles.viewer}
{if $upload_file_result != ''}
{if $upload_file_result == -1}
{t}An error occurred while trying to process the uploaded file.{/t}
{elseif $upload_file_result == -2}
{t}The uploaded file is already attached to the current issue. Please rename the file and try again.{/t}
{elseif $upload_file_result == 1}
{t}Thank you, the uploaded file was associated with the issue below.{/t}
{/if}
{if not $current_user_prefs.close_popup_windows}
{t}Continue{/t}
{/if}
{else}
{literal}
{/literal}
{/if}
{else}
{t}You do not have the correct role to access this page{/t}
{/if}
{include file="footer.tpl.html"}