Show filevault.html syntax highlighted
% # vim:set syntax=mason:
<%args>
$file => ''
$message => ''
</%args>
<html>
<head>
<title>File Sharing Pickup</title>
</head>
<h1>Shared File Retrieval</h1>
% if($message) {
<h2><% $message %></h2>
% }
<p>Please type the file key and decryption password and click 'Download' in
order to start the download:</p>
<form method="get" action="<% $base %>/download.html">
<p>File Key: <input type="text" size="60" name="file" value="<% $file %>">
<p>Password (case sensitive!): <input type="text" name="password"> </p>
<br><input type="submit" name="download" value="Download"> </p>
<p>If the download button causes the data to appear in your browser, try
this button instead:</p>
<br><input type="submit" name="download" value="Download (force)"> </p>
</form>
</html>
<%init>
$m->redirect($base) if !$config->get('large_file_limit',0);
</%init>
<%once>
our $base = $config->get('base_uri');
</%once>
See more files for this project here