10 $refering_page => undef
13 <& /page/page_title.mas, title=>"Upload Image" &>
15 <p class="boxbgcolor2">Note: By pressing the "Upload" button, you are considered to be the copyright owner of the image being uploaded and that you grant a non-exclusive license to display and use the image on webpages and materials related to this website.<br /></p>
17 <p> Supported file formats include .jpg. .jpeg, .gif, .png, .pdf, .ps,
19 <form name="upload_image_form" action="/image/confirm" method="post" enctype="multipart/form-data" >
20 Upload an image, and associated with object <b><% $type %></b> id <% $type_id %><br /><br />
21 <input type="file" name="file" value="Choose image file" />
22 <input type="hidden" name="action" value="confirm" /><br /><br />
23 <input type="hidden" name="type" value="<% $type %>" />
24 <input type="hidden" name="type_id" value="<% $type_id %>" />
25 <input type="hidden" name="refering_page" value="<% $refering_page %>" />
26 <input id="upload_image_submit" class="btn btn-primary" type="submit" value="Upload" />
31 % if ($refering_page) { print "<a class=\"footer\" href=\"$refering_page\"><button class=\"btn btn-default\">Go Back</button></a>"; }