Code Search for Developers
 
 
  

share_options.html from AlphaMail at Krugle


Show share_options.html syntax highlighted

% # vim:set syntax=mason:
<%args>
$cancel => 0
$message => ''
</%args>
<& /mail/header.mhtml, message => $message, share => 1, title => "Sharing Options" &>
<div class="heading">Sharing Parameters</div>
<div class="section">
   <form method="post" action="/mail/share_upload.html"
         enctype="multipart/form-data">
      <p>Please specify the following:</p>
      <p>Key to use for encrypting the file: <input type="text" name="password">
      <p><input type="checkbox" name="key"> I want the key to be sent with the
      email. (If you do not check this, you will tell the recipient the key by
      some other method, i.e. by phone or a separate email).
      </p>
      <p>File: <input type="file" name="file">
      <br>
      <br>
      <input type="submit" name="upload" value="Upload and Compose a message">
      <input type="submit" name="cancel" value="Cancel">
   </form>
</div>
<& /mail/footer.mhtml &>
<%init>
my $user = Apache::SiteControl->getCurrentUser($r);
my $prefs = new AlphaMail::Preferences($user->getUsername(), 
                                   $user->getAttribute('imap'), $config);
my $number = $prefs->get('sharing_number');
my $agree = $prefs->get('sharing_agree');
my $copyright = $prefs->get('sharing_copyright');
my $expire = $prefs->get('sharing_expire');

if(!$number || !$copyright || !$agree || !$expire) {
   $m->redirect(build_url("/mail/settings/index.html", {message => "You must check all of the agreement items and click agree in order to share files", selected => "Sharing"}));
}
</%init>
<%once>
use AlphaMail::HTMLHelper qw(build_url);
</%once>




See more files for this project here

AlphaMail

AlphaMail is an accelerated web mail interface with a C++ middleware layer that is more effective than an IMAP proxy which is a highly scalable (10k+ users). The interface includes modern features, Section 508 compliance, and universal browser support.

Project homepage: http://sourceforge.net/projects/alphamail
Programming language(s): C++,Java,JavaScript,Perl
License: other

  addressbook/
    autohandler
    edit.mhtml
    import.mhtml
    import_csv.html
    import_imho.html
    index.html
    process_edit.html
    take.html
  settings/
    altfolder_update.html
    autohandler
    edit_folders.html
    folders.mhtml
    general.mhtml
    index.html
    share.mhtml
    sharing_agree.html
    signatures.mhtml
    update_folderlist.html
    update_general.html
    update_signatures.html
  viewers/
    excel.html
    html.html
    targz.html
    word.html
    zip.html
  address_mail.html
  addresslist.mhtml
  check_spelling.html
  compose.html
  filevault.html
  first_login.html
  fix_spelling.html
  folderlist.mhtml
  footer.mhtml
  get_attachment.html
  header.mhtml
  index.html
  logout.html
  menu.mhtml
  other_folders.html
  print.html
  process_compose.html
  process_messages.html
  read.html
  renew_session.html
  share_options.html
  share_upload.html
  verify_password.html
  view_attachment.html