Move upload.php constant strings to template